Codebase list gnome-shell-extensions / 63ebe5c
Import Debian changes 3.27.92-2 gnome-shell-extensions (3.27.92-2) unstable; urgency=medium * Release to unstable gnome-shell-extensions (3.27.92-1) experimental; urgency=medium [ Jeremy Bicha ] * New upstream release candidate * Drop explicit dependency on mutter's gir. gnome-shell-extensions depends on gnome-shell which depends on the gir. Dropping it will make transitions easier. [ Simon McVittie ] * Recommend gnome-tweaks instead of transitional gnome-tweak-tool gnome-shell-extensions (3.27.91-1) experimental; urgency=medium * New upstream development release * Build with meson * Build-Depend on sassc * Bump debhelper compat to 11 * Drop places-menu-Don-t-force-dispose-of-uninitialized-proxies.patch & dont-require-nautilus-classic.patch: Applied in new release Jeremy Bicha authored 6 years ago Sophie Brun committed 6 years ago
209 changed file(s) with 5205 addition(s) and 33447 deletion(s). Raw diff Collapse all Expand all
+0
-1410
ABOUT-NLS less more
0 1 Notes on the Free Translation Project
1 ***************************************
2
3 Free software is going international! The Free Translation Project is
4 a way to get maintainers of free software, translators, and users all
5 together, so that free software will gradually become able to speak many
6 languages. A few packages already provide translations for their
7 messages.
8
9 If you found this `ABOUT-NLS' file inside a distribution, you may
10 assume that the distributed package does use GNU `gettext' internally,
11 itself available at your nearest GNU archive site. But you do _not_
12 need to install GNU `gettext' prior to configuring, installing or using
13 this package with messages translated.
14
15 Installers will find here some useful hints. These notes also
16 explain how users should proceed for getting the programs to use the
17 available translations. They tell how people wanting to contribute and
18 work on translations can contact the appropriate team.
19
20 1.1 INSTALL Matters
21 ===================
22
23 Some packages are "localizable" when properly installed; the programs
24 they contain can be made to speak your own native language. Most such
25 packages use GNU `gettext'. Other packages have their own ways to
26 internationalization, predating GNU `gettext'.
27
28 By default, this package will be installed to allow translation of
29 messages. It will automatically detect whether the system already
30 provides the GNU `gettext' functions. Installers may use special
31 options at configuration time for changing the default behaviour. The
32 command:
33
34 ./configure --disable-nls
35
36 will _totally_ disable translation of messages.
37
38 When you already have GNU `gettext' installed on your system and run
39 configure without an option for your new package, `configure' will
40 probably detect the previously built and installed `libintl' library
41 and will decide to use it. If not, you may have to to use the
42 `--with-libintl-prefix' option to tell `configure' where to look for it.
43
44 Internationalized packages usually have many `po/LL.po' files, where
45 LL gives an ISO 639 two-letter code identifying the language. Unless
46 translations have been forbidden at `configure' time by using the
47 `--disable-nls' switch, all available translations are installed
48 together with the package. However, the environment variable `LINGUAS'
49 may be set, prior to configuration, to limit the installed set.
50 `LINGUAS' should then contain a space separated list of two-letter
51 codes, stating which languages are allowed.
52
53 1.2 Using This Package
54 ======================
55
56 As a user, if your language has been installed for this package, you
57 only have to set the `LANG' environment variable to the appropriate
58 `LL_CC' combination. If you happen to have the `LC_ALL' or some other
59 `LC_xxx' environment variables set, you should unset them before
60 setting `LANG', otherwise the setting of `LANG' will not have the
61 desired effect. Here `LL' is an ISO 639 two-letter language code, and
62 `CC' is an ISO 3166 two-letter country code. For example, let's
63 suppose that you speak German and live in Germany. At the shell
64 prompt, merely execute `setenv LANG de_DE' (in `csh'),
65 `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
66 This can be done from your `.login' or `.profile' file, once and for
67 all.
68
69 You might think that the country code specification is redundant.
70 But in fact, some languages have dialects in different countries. For
71 example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
72 country code serves to distinguish the dialects.
73
74 The locale naming convention of `LL_CC', with `LL' denoting the
75 language and `CC' denoting the country, is the one use on systems based
76 on GNU libc. On other systems, some variations of this scheme are
77 used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
78 locales supported by your system for your language by running the
79 command `locale -a | grep '^LL''.
80
81 Not all programs have translations for all languages. By default, an
82 English message is shown in place of a nonexistent translation. If you
83 understand other languages, you can set up a priority list of languages.
84 This is done through a different environment variable, called
85 `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
86 for the purpose of message handling, but you still need to have `LANG'
87 set to the primary language; this is required by other parts of the
88 system libraries. For example, some Swedish users who would rather
89 read translations in German than English for when Swedish is not
90 available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
91
92 Special advice for Norwegian users: The language code for Norwegian
93 bokma*l changed from `no' to `nb' recently (in 2003). During the
94 transition period, while some message catalogs for this language are
95 installed under `nb' and some older ones under `no', it's recommended
96 for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
97 older translations are used.
98
99 In the `LANGUAGE' environment variable, but not in the `LANG'
100 environment variable, `LL_CC' combinations can be abbreviated as `LL'
101 to denote the language's main dialect. For example, `de' is equivalent
102 to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
103 (Portuguese as spoken in Portugal) in this context.
104
105 1.3 Translating Teams
106 =====================
107
108 For the Free Translation Project to be a success, we need interested
109 people who like their own language and write it well, and who are also
110 able to synergize with other translators speaking the same language.
111 Each translation team has its own mailing list. The up-to-date list of
112 teams can be found at the Free Translation Project's homepage,
113 `http://translationproject.org/', in the "Teams" area.
114
115 If you'd like to volunteer to _work_ at translating messages, you
116 should become a member of the translating team for your own language.
117 The subscribing address is _not_ the same as the list itself, it has
118 `-request' appended. For example, speakers of Swedish can send a
119 message to `[email protected]', having this message body:
120
121 subscribe
122
123 Keep in mind that team members are expected to participate
124 _actively_ in translations, or at solving translational difficulties,
125 rather than merely lurking around. If your team does not exist yet and
126 you want to start one, or if you are unsure about what to do or how to
127 get started, please write to `[email protected]' to
128 reach the coordinator for all translator teams.
129
130 The English team is special. It works at improving and uniformizing
131 the terminology in use. Proven linguistic skills are praised more than
132 programming skills, here.
133
134 1.4 Available Packages
135 ======================
136
137 Languages are not equally supported in all packages. The following
138 matrix shows the current state of internationalization, as of June
139 2010. The matrix shows, in regard of each package, for which languages
140 PO files have been submitted to translation coordination, with a
141 translation percentage of at least 50%.
142
143 Ready PO files af am an ar as ast az be bg bn bn_IN bs ca crh cs
144 +---------------------------------------------------+
145 a2ps | [] [] [] |
146 aegis | |
147 anubis | |
148 aspell | [] [] [] |
149 bash | [] [] [] |
150 bfd | |
151 binutils | [] |
152 bison | |
153 bison-runtime | [] |
154 buzztrax | [] |
155 ccd2cue | |
156 ccide | |
157 cflow | |
158 clisp | |
159 coreutils | [] [] |
160 cpio | |
161 cppi | |
162 cpplib | [] |
163 cryptsetup | [] |
164 datamash | |
165 denemo | [] [] |
166 dfarc | [] |
167 dialog | [] [] [] |
168 dico | |
169 diffutils | [] |
170 dink | [] |
171 direvent | |
172 doodle | [] |
173 dos2unix | |
174 dos2unix-man | |
175 e2fsprogs | [] [] |
176 enscript | [] |
177 exif | [] |
178 fetchmail | [] [] |
179 findutils | [] |
180 flex | [] |
181 freedink | [] [] |
182 fusionforge | |
183 gas | |
184 gawk | [] |
185 gcal | [] |
186 gcc | |
187 gdbm | |
188 gettext-examples | [] [] [] [] [] |
189 gettext-runtime | [] [] [] |
190 gettext-tools | [] [] |
191 gip | [] [] |
192 gjay | |
193 glunarclock | [] [] [] |
194 gnubiff | [] |
195 gnubik | [] |
196 gnucash | () () [] |
197 gnuchess | |
198 gnulib | [] |
199 gnunet | |
200 gnunet-gtk | |
201 gold | |
202 gphoto2 | [] |
203 gprof | [] |
204 gpsdrive | |
205 gramadoir | |
206 grep | [] [] |
207 grub | [] |
208 gsasl | |
209 gss | |
210 gst-plugins-bad | [] |
211 gst-plugins-base | [] [] [] |
212 gst-plugins-good | [] [] [] |
213 gst-plugins-ugly | [] [] [] |
214 gstreamer | [] [] [] [] |
215 gtick | [] |
216 gtkam | [] [] |
217 gtkorphan | [] [] |
218 gtkspell | [] [] [] [] [] |
219 guix | |
220 guix-packages | |
221 gutenprint | [] |
222 hello | [] |
223 help2man | |
224 help2man-texi | |
225 hylafax | |
226 idutils | |
227 iso_15924 | [] |
228 iso_3166 | [] [] [] [] [] [] [] [] [] [] |
229 iso_3166_2 | |
230 iso_4217 | [] |
231 iso_639 | [] [] [] [] [] [] [] [] [] |
232 iso_639_3 | [] [] |
233 iso_639_5 | |
234 jwhois | |
235 kbd | [] |
236 klavaro | [] [] [] [] [] |
237 latrine | |
238 ld | [] |
239 leafpad | [] [] [] [] |
240 libc | [] [] [] |
241 libexif | () |
242 libextractor | |
243 libgnutls | [] |
244 libgpg-error | [] |
245 libgphoto2 | [] |
246 libgphoto2_port | [] |
247 libgsasl | |
248 libiconv | [] [] |
249 libidn | [] |
250 liferea | [] [] [] [] |
251 lilypond | [] [] |
252 lordsawar | [] |
253 lprng | |
254 lynx | [] [] |
255 m4 | [] |
256 mailfromd | |
257 mailutils | |
258 make | [] |
259 man-db | [] [] |
260 man-db-manpages | |
261 midi-instruments | [] [] [] |
262 minicom | [] |
263 mkisofs | [] |
264 myserver | [] |
265 nano | [] [] [] |
266 opcodes | |
267 parted | [] |
268 pies | |
269 popt | [] |
270 procps-ng | |
271 procps-ng-man | |
272 psmisc | [] |
273 pspp | [] |
274 pushover | [] |
275 pwdutils | |
276 pyspread | |
277 radius | [] |
278 recode | [] [] [] |
279 recutils | |
280 rpm | |
281 rush | |
282 sarg | |
283 sed | [] [] [] |
284 sharutils | [] |
285 shishi | |
286 skribilo | |
287 solfege | [] |
288 solfege-manual | |
289 spotmachine | |
290 sudo | [] [] |
291 sudoers | [] [] |
292 sysstat | [] |
293 tar | [] [] [] |
294 texinfo | [] [] |
295 texinfo_document | [] |
296 tigervnc | [] |
297 tin | |
298 tin-man | |
299 tracgoogleappsa... | |
300 trader | |
301 util-linux | [] |
302 ve | |
303 vice | |
304 vmm | |
305 vorbis-tools | [] |
306 wastesedge | |
307 wcd | |
308 wcd-man | |
309 wdiff | [] [] |
310 wget | [] [] |
311 wyslij-po | |
312 xboard | |
313 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] |
314 xkeyboard-config | [] [] [] |
315 +---------------------------------------------------+
316 af am an ar as ast az be bg bn bn_IN bs ca crh cs
317 4 0 2 4 3 11 0 8 24 3 3 1 55 4 76
318
319 da de el en en_GB en_ZA eo es et eu fa fi fr
320 +--------------------------------------------------+
321 a2ps | [] [] [] [] [] [] [] [] [] |
322 aegis | [] [] [] [] |
323 anubis | [] [] [] [] [] |
324 aspell | [] [] [] [] [] [] [] |
325 bash | [] [] [] [] [] |
326 bfd | [] [] [] [] |
327 binutils | [] [] [] |
328 bison | [] [] [] [] [] [] [] [] |
329 bison-runtime | [] [] [] [] [] [] [] [] |
330 buzztrax | [] [] [] [] |
331 ccd2cue | [] [] [] |
332 ccide | [] [] [] [] [] [] |
333 cflow | [] [] [] [] [] |
334 clisp | [] [] [] [] [] |
335 coreutils | [] [] [] [] [] |
336 cpio | [] [] [] [] [] |
337 cppi | [] [] [] [] [] |
338 cpplib | [] [] [] [] [] [] |
339 cryptsetup | [] [] [] [] [] |
340 datamash | [] [] [] [] |
341 denemo | |
342 dfarc | [] [] [] [] [] [] |
343 dialog | [] [] [] [] [] [] [] [] [] |
344 dico | [] [] [] [] |
345 diffutils | [] [] [] [] [] [] |
346 dink | [] [] [] [] [] [] |
347 direvent | [] [] [] [] |
348 doodle | [] [] [] [] |
349 dos2unix | [] [] [] [] [] |
350 dos2unix-man | [] [] [] |
351 e2fsprogs | [] [] [] [] [] |
352 enscript | [] [] [] [] [] [] |
353 exif | [] [] [] [] [] [] |
354 fetchmail | [] () [] [] [] [] [] |
355 findutils | [] [] [] [] [] [] [] [] |
356 flex | [] [] [] [] [] [] |
357 freedink | [] [] [] [] [] [] [] [] |
358 fusionforge | [] [] [] |
359 gas | [] [] [] |
360 gawk | [] [] [] [] [] |
361 gcal | [] [] [] [] |
362 gcc | [] [] |
363 gdbm | [] [] [] [] [] |
364 gettext-examples | [] [] [] [] [] [] [] |
365 gettext-runtime | [] [] [] [] [] [] |
366 gettext-tools | [] [] [] [] [] |
367 gip | [] [] [] [] [] [] [] |
368 gjay | [] [] [] [] |
369 glunarclock | [] [] [] [] [] |
370 gnubiff | () [] [] () |
371 gnubik | [] [] [] [] [] |
372 gnucash | [] () () () () () () |
373 gnuchess | [] [] [] [] |
374 gnulib | [] [] [] [] [] [] [] |
375 gnunet | [] |
376 gnunet-gtk | [] |
377 gold | [] [] [] |
378 gphoto2 | [] () [] [] |
379 gprof | [] [] [] [] [] [] |
380 gpsdrive | [] [] [] [] |
381 gramadoir | [] [] [] [] [] |
382 grep | [] [] [] [] [] [] [] |
383 grub | [] [] [] [] [] |
384 gsasl | [] [] [] [] [] |
385 gss | [] [] [] [] [] |
386 gst-plugins-bad | [] [] |
387 gst-plugins-base | [] [] [] [] [] [] |
388 gst-plugins-good | [] [] [] [] [] [] [] |
389 gst-plugins-ugly | [] [] [] [] [] [] [] [] |
390 gstreamer | [] [] [] [] [] [] [] |
391 gtick | [] () [] [] [] |
392 gtkam | [] () [] [] [] [] |
393 gtkorphan | [] [] [] [] [] |
394 gtkspell | [] [] [] [] [] [] [] [] |
395 guix | [] [] [] |
396 guix-packages | |
397 gutenprint | [] [] [] [] |
398 hello | [] [] [] [] [] [] [] [] |
399 help2man | [] [] [] [] [] [] [] |
400 help2man-texi | [] [] [] |
401 hylafax | [] [] |
402 idutils | [] [] [] [] [] |
403 iso_15924 | [] () [] [] () [] () |
404 iso_3166 | [] () [] [] [] [] () [] () |
405 iso_3166_2 | [] () () () |
406 iso_4217 | [] () [] [] [] () [] () |
407 iso_639 | [] () [] [] () [] () |
408 iso_639_3 | () () () |
409 iso_639_5 | () () () |
410 jwhois | [] [] [] [] [] |
411 kbd | [] [] [] [] [] [] |
412 klavaro | [] [] [] [] [] [] [] |
413 latrine | [] () [] [] |
414 ld | [] [] [] [] |
415 leafpad | [] [] [] [] [] [] [] [] |
416 libc | [] [] [] [] [] |
417 libexif | [] [] () [] [] |
418 libextractor | [] |
419 libgnutls | [] [] [] [] |
420 libgpg-error | [] [] [] |
421 libgphoto2 | [] () [] |
422 libgphoto2_port | [] () [] [] [] [] |
423 libgsasl | [] [] [] [] [] |
424 libiconv | [] [] [] [] [] [] [] |
425 libidn | [] [] [] [] [] |
426 liferea | [] () [] [] [] [] [] |
427 lilypond | [] [] [] [] [] [] |
428 lordsawar | [] [] |
429 lprng | |
430 lynx | [] [] [] [] [] [] |
431 m4 | [] [] [] [] [] [] |
432 mailfromd | [] |
433 mailutils | [] [] [] [] |
434 make | [] [] [] [] [] |
435 man-db | [] [] [] [] |
436 man-db-manpages | [] [] |
437 midi-instruments | [] [] [] [] [] [] [] [] [] |
438 minicom | [] [] [] [] [] |
439 mkisofs | [] [] [] |
440 myserver | [] [] [] [] |
441 nano | [] [] [] [] [] [] [] |
442 opcodes | [] [] [] [] [] |
443 parted | [] [] [] |
444 pies | [] |
445 popt | [] [] [] [] [] [] |
446 procps-ng | [] [] |
447 procps-ng-man | [] [] |
448 psmisc | [] [] [] [] [] [] [] |
449 pspp | [] [] [] |
450 pushover | () [] [] [] |
451 pwdutils | [] [] [] |
452 pyspread | [] [] |
453 radius | [] [] |
454 recode | [] [] [] [] [] [] [] |
455 recutils | [] [] [] [] |
456 rpm | [] [] [] [] [] |
457 rush | [] [] [] |
458 sarg | [] [] |
459 sed | [] [] [] [] [] [] [] [] |
460 sharutils | [] [] [] [] |
461 shishi | [] [] [] |
462 skribilo | [] [] |
463 solfege | [] [] [] [] [] [] [] [] |
464 solfege-manual | [] [] [] [] [] |
465 spotmachine | [] [] [] [] |
466 sudo | [] [] [] [] [] [] |
467 sudoers | [] [] [] [] [] [] |
468 sysstat | [] [] [] [] [] [] |
469 tar | [] [] [] [] [] [] [] |
470 texinfo | [] [] [] [] [] |
471 texinfo_document | [] [] [] [] |
472 tigervnc | [] [] [] [] [] [] |
473 tin | [] [] [] [] |
474 tin-man | [] |
475 tracgoogleappsa... | [] [] [] [] [] |
476 trader | [] [] [] [] [] [] |
477 util-linux | [] [] [] [] |
478 ve | [] [] [] [] [] |
479 vice | () () () |
480 vmm | [] [] |
481 vorbis-tools | [] [] [] [] |
482 wastesedge | [] () |
483 wcd | [] [] [] [] |
484 wcd-man | [] |
485 wdiff | [] [] [] [] [] [] [] |
486 wget | [] [] [] [] [] [] |
487 wyslij-po | [] [] [] [] |
488 xboard | [] [] [] [] |
489 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] |
490 xkeyboard-config | [] [] [] [] [] [] [] |
491 +--------------------------------------------------+
492 da de el en en_GB en_ZA eo es et eu fa fi fr
493 123 134 32 1 6 0 97 97 23 14 4 106 139
494
495 ga gd gl gu he hi hr hu hy ia id is it ja ka kk
496 +-------------------------------------------------+
497 a2ps | [] [] [] [] |
498 aegis | [] |
499 anubis | [] [] [] [] |
500 aspell | [] [] [] [] [] |
501 bash | [] [] [] [] |
502 bfd | [] [] |
503 binutils | [] [] [] |
504 bison | [] |
505 bison-runtime | [] [] [] [] [] [] [] [] |
506 buzztrax | |
507 ccd2cue | [] |
508 ccide | [] [] |
509 cflow | [] [] [] |
510 clisp | |
511 coreutils | [] [] [] |
512 cpio | [] [] [] [] [] [] |
513 cppi | [] [] [] [] [] |
514 cpplib | [] [] |
515 cryptsetup | [] |
516 datamash | |
517 denemo | [] |
518 dfarc | [] [] [] |
519 dialog | [] [] [] [] [] [] [] [] [] [] |
520 dico | |
521 diffutils | [] [] [] [] |
522 dink | [] |
523 direvent | [] |
524 doodle | [] [] |
525 dos2unix | [] [] |
526 dos2unix-man | |
527 e2fsprogs | [] |
528 enscript | [] [] [] |
529 exif | [] [] [] [] [] [] |
530 fetchmail | [] [] [] |
531 findutils | [] [] [] [] [] [] [] |
532 flex | [] |
533 freedink | [] [] [] [] |
534 fusionforge | |
535 gas | [] |
536 gawk | [] () [] |
537 gcal | |
538 gcc | |
539 gdbm | |
540 gettext-examples | [] [] [] [] [] [] [] |
541 gettext-runtime | [] [] [] [] [] [] [] |
542 gettext-tools | [] [] [] |
543 gip | [] [] [] [] [] [] |
544 gjay | [] |
545 glunarclock | [] [] [] [] [] [] |
546 gnubiff | [] [] () |
547 gnubik | [] [] [] |
548 gnucash | () () () () () [] |
549 gnuchess | |
550 gnulib | [] [] [] [] [] |
551 gnunet | |
552 gnunet-gtk | |
553 gold | [] [] |
554 gphoto2 | [] [] [] [] |
555 gprof | [] [] [] [] |
556 gpsdrive | [] [] [] [] |
557 gramadoir | [] [] [] |
558 grep | [] [] [] [] [] [] [] |
559 grub | [] [] [] |
560 gsasl | [] [] [] [] [] |
561 gss | [] [] [] [] [] |
562 gst-plugins-bad | [] |
563 gst-plugins-base | [] [] [] [] |
564 gst-plugins-good | [] [] [] [] [] [] |
565 gst-plugins-ugly | [] [] [] [] [] [] |
566 gstreamer | [] [] [] [] [] |
567 gtick | [] [] [] [] [] |
568 gtkam | [] [] [] [] [] |
569 gtkorphan | [] [] [] [] |
570 gtkspell | [] [] [] [] [] [] [] [] [] [] |
571 guix | [] |
572 guix-packages | |
573 gutenprint | [] [] [] |
574 hello | [] [] [] [] [] |
575 help2man | [] [] [] |
576 help2man-texi | |
577 hylafax | [] |
578 idutils | [] [] |
579 iso_15924 | [] [] [] [] [] [] |
580 iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] |
581 iso_3166_2 | [] [] |
582 iso_4217 | [] [] [] [] [] [] |
583 iso_639 | [] [] [] [] [] [] [] [] [] |
584 iso_639_3 | [] [] |
585 iso_639_5 | |
586 jwhois | [] [] [] [] |
587 kbd | [] [] [] |
588 klavaro | [] [] [] [] |
589 latrine | [] |
590 ld | [] [] [] [] |
591 leafpad | [] [] [] [] [] [] [] () |
592 libc | [] [] [] [] [] |
593 libexif | [] |
594 libextractor | |
595 libgnutls | [] |
596 libgpg-error | [] [] [] |
597 libgphoto2 | [] [] |
598 libgphoto2_port | [] [] |
599 libgsasl | [] [] [] [] |
600 libiconv | [] [] [] [] [] [] [] |
601 libidn | [] [] [] [] |
602 liferea | [] [] [] [] [] |
603 lilypond | [] |
604 lordsawar | |
605 lprng | [] |
606 lynx | [] [] [] [] |
607 m4 | [] [] [] [] [] |
608 mailfromd | |
609 mailutils | |
610 make | [] [] [] [] |
611 man-db | [] [] |
612 man-db-manpages | [] [] |
613 midi-instruments | [] [] [] [] [] [] [] [] [] |
614 minicom | [] [] [] |
615 mkisofs | [] [] |
616 myserver | [] |
617 nano | [] [] [] [] [] |
618 opcodes | [] [] [] |
619 parted | [] [] [] [] |
620 pies | |
621 popt | [] [] [] [] [] [] [] [] [] [] |
622 procps-ng | |
623 procps-ng-man | |
624 psmisc | [] [] [] [] |
625 pspp | [] [] |
626 pushover | [] |
627 pwdutils | [] |
628 pyspread | |
629 radius | [] |
630 recode | [] [] [] [] [] [] [] |
631 recutils | |
632 rpm | [] |
633 rush | [] |
634 sarg | |
635 sed | [] [] [] [] [] [] [] |
636 sharutils | |
637 shishi | |
638 skribilo | [] |
639 solfege | [] [] |
640 solfege-manual | |
641 spotmachine | |
642 sudo | [] [] [] [] |
643 sudoers | [] [] [] |
644 sysstat | [] [] [] |
645 tar | [] [] [] [] [] [] |
646 texinfo | [] [] [] |
647 texinfo_document | [] [] |
648 tigervnc | |
649 tin | |
650 tin-man | |
651 tracgoogleappsa... | [] [] [] [] |
652 trader | [] [] |
653 util-linux | [] |
654 ve | [] |
655 vice | () () |
656 vmm | |
657 vorbis-tools | [] [] |
658 wastesedge | () |
659 wcd | |
660 wcd-man | |
661 wdiff | [] [] [] |
662 wget | [] [] [] [] |
663 wyslij-po | [] [] [] |
664 xboard | |
665 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] |
666 xkeyboard-config | [] [] [] [] [] |
667 +-------------------------------------------------+
668 ga gd gl gu he hi hr hu hy ia id is it ja ka kk
669 36 2 49 4 8 2 54 75 2 6 84 11 89 60 0 3
670
671 kn ko ku ky lg lt lv mk ml mn mr ms mt nb ne nl
672 +--------------------------------------------------+
673 a2ps | [] [] |
674 aegis | [] |
675 anubis | [] [] [] |
676 aspell | [] [] |
677 bash | [] [] |
678 bfd | |
679 binutils | |
680 bison | [] |
681 bison-runtime | [] [] [] [] [] [] |
682 buzztrax | |
683 ccd2cue | |
684 ccide | [] [] |
685 cflow | [] |
686 clisp | [] |
687 coreutils | [] [] |
688 cpio | [] |
689 cppi | |
690 cpplib | [] |
691 cryptsetup | [] |
692 datamash | [] [] |
693 denemo | |
694 dfarc | [] [] |
695 dialog | [] [] [] [] [] [] |
696 dico | |
697 diffutils | [] [] [] |
698 dink | [] |
699 direvent | [] |
700 doodle | [] |
701 dos2unix | [] [] |
702 dos2unix-man | [] |
703 e2fsprogs | [] |
704 enscript | [] |
705 exif | [] [] |
706 fetchmail | [] |
707 findutils | [] [] |
708 flex | [] |
709 freedink | [] [] |
710 fusionforge | |
711 gas | |
712 gawk | [] |
713 gcal | |
714 gcc | |
715 gdbm | |
716 gettext-examples | [] [] [] [] [] [] |
717 gettext-runtime | [] [] |
718 gettext-tools | [] |
719 gip | [] [] [] |
720 gjay | |
721 glunarclock | [] [] |
722 gnubiff | [] |
723 gnubik | [] [] |
724 gnucash | () () () () () () () [] |
725 gnuchess | [] [] |
726 gnulib | [] |
727 gnunet | |
728 gnunet-gtk | |
729 gold | |
730 gphoto2 | [] |
731 gprof | [] [] |
732 gpsdrive | [] |
733 gramadoir | [] |
734 grep | [] [] |
735 grub | [] [] [] |
736 gsasl | [] |
737 gss | |
738 gst-plugins-bad | [] |
739 gst-plugins-base | [] [] [] |
740 gst-plugins-good | [] [] [] [] |
741 gst-plugins-ugly | [] [] [] [] [] |
742 gstreamer | [] [] |
743 gtick | [] |
744 gtkam | [] [] |
745 gtkorphan | [] [] |
746 gtkspell | [] [] [] [] [] [] [] |
747 guix | |
748 guix-packages | |
749 gutenprint | [] |
750 hello | [] [] [] |
751 help2man | [] |
752 help2man-texi | |
753 hylafax | [] |
754 idutils | [] |
755 iso_15924 | () [] [] |
756 iso_3166 | [] [] [] () [] [] [] [] [] [] |
757 iso_3166_2 | () [] |
758 iso_4217 | () [] [] [] |
759 iso_639 | [] [] () [] [] [] [] |
760 iso_639_3 | [] () [] |
761 iso_639_5 | () |
762 jwhois | [] [] |
763 kbd | [] |
764 klavaro | [] [] |
765 latrine | |
766 ld | |
767 leafpad | [] [] [] [] [] |
768 libc | [] [] |
769 libexif | [] |
770 libextractor | [] |
771 libgnutls | [] [] |
772 libgpg-error | [] |
773 libgphoto2 | [] |
774 libgphoto2_port | [] |
775 libgsasl | [] |
776 libiconv | [] [] |
777 libidn | [] |
778 liferea | [] [] [] |
779 lilypond | |
780 lordsawar | |
781 lprng | |
782 lynx | [] |
783 m4 | [] |
784 mailfromd | |
785 mailutils | |
786 make | [] [] |
787 man-db | [] |
788 man-db-manpages | [] |
789 midi-instruments | [] [] [] [] [] [] [] |
790 minicom | [] |
791 mkisofs | [] |
792 myserver | |
793 nano | [] [] [] |
794 opcodes | [] |
795 parted | [] |
796 pies | |
797 popt | [] [] [] [] [] |
798 procps-ng | |
799 procps-ng-man | |
800 psmisc | [] |
801 pspp | [] [] |
802 pushover | |
803 pwdutils | [] |
804 pyspread | |
805 radius | [] |
806 recode | [] [] |
807 recutils | [] |
808 rpm | [] |
809 rush | [] |
810 sarg | |
811 sed | [] [] |
812 sharutils | [] |
813 shishi | |
814 skribilo | |
815 solfege | [] [] |
816 solfege-manual | [] |
817 spotmachine | [] |
818 sudo | [] [] |
819 sudoers | [] [] |
820 sysstat | [] [] |
821 tar | [] [] [] |
822 texinfo | [] |
823 texinfo_document | [] |
824 tigervnc | [] |
825 tin | |
826 tin-man | |
827 tracgoogleappsa... | [] [] [] |
828 trader | [] |
829 util-linux | [] |
830 ve | [] |
831 vice | [] |
832 vmm | [] |
833 vorbis-tools | [] |
834 wastesedge | [] |
835 wcd | [] |
836 wcd-man | [] |
837 wdiff | [] |
838 wget | [] [] |
839 wyslij-po | [] |
840 xboard | [] |
841 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] |
842 xkeyboard-config | [] [] [] |
843 +--------------------------------------------------+
844 kn ko ku ky lg lt lv mk ml mn mr ms mt nb ne nl
845 5 11 4 6 0 13 24 3 3 3 4 12 2 40 1 126
846
847 nn or os pa pl ps pt pt_BR ro ru rw sk sl sq sr
848 +--------------------------------------------------+
849 a2ps | [] [] [] [] [] [] [] |
850 aegis | [] [] |
851 anubis | [] [] [] |
852 aspell | [] [] [] [] [] [] [] |
853 bash | [] [] [] [] [] |
854 bfd | [] |
855 binutils | [] [] |
856 bison | [] [] [] |
857 bison-runtime | [] [] [] [] [] [] [] [] |
858 buzztrax | |
859 ccd2cue | [] |
860 ccide | [] [] [] |
861 cflow | [] [] |
862 clisp | [] |
863 coreutils | [] [] [] [] |
864 cpio | [] [] [] |
865 cppi | [] [] [] |
866 cpplib | [] [] [] |
867 cryptsetup | [] [] |
868 datamash | [] [] |
869 denemo | |
870 dfarc | [] [] [] |
871 dialog | [] [] [] [] [] [] [] |
872 dico | [] |
873 diffutils | [] [] |
874 dink | |
875 direvent | [] [] |
876 doodle | [] [] |
877 dos2unix | [] [] [] [] |
878 dos2unix-man | [] [] |
879 e2fsprogs | [] |
880 enscript | [] [] [] [] [] [] |
881 exif | [] [] [] [] [] [] |
882 fetchmail | [] [] [] |
883 findutils | [] [] [] [] [] |
884 flex | [] [] [] [] [] |
885 freedink | [] [] [] [] [] |
886 fusionforge | |
887 gas | |
888 gawk | [] |
889 gcal | |
890 gcc | |
891 gdbm | [] [] [] |
892 gettext-examples | [] [] [] [] [] [] [] [] |
893 gettext-runtime | [] [] [] [] [] [] [] [] [] |
894 gettext-tools | [] [] [] [] [] [] [] |
895 gip | [] [] [] [] [] |
896 gjay | [] |
897 glunarclock | [] [] [] [] [] [] |
898 gnubiff | [] |
899 gnubik | [] [] [] [] |
900 gnucash | () () () () [] |
901 gnuchess | [] [] |
902 gnulib | [] [] [] [] [] |
903 gnunet | |
904 gnunet-gtk | |
905 gold | |
906 gphoto2 | [] [] [] [] [] |
907 gprof | [] [] [] [] |
908 gpsdrive | [] |
909 gramadoir | [] [] |
910 grep | [] [] [] [] [] [] |
911 grub | [] [] [] [] [] |
912 gsasl | [] [] [] |
913 gss | [] [] [] [] |
914 gst-plugins-bad | [] [] [] [] |
915 gst-plugins-base | [] [] [] [] [] [] |
916 gst-plugins-good | [] [] [] [] [] [] [] |
917 gst-plugins-ugly | [] [] [] [] [] [] [] |
918 gstreamer | [] [] [] [] [] [] [] |
919 gtick | [] [] [] [] [] |
920 gtkam | [] [] [] [] [] [] |
921 gtkorphan | [] [] [] [] |
922 gtkspell | [] [] [] [] [] [] [] [] [] |
923 guix | |
924 guix-packages | |
925 gutenprint | [] |
926 hello | [] [] [] [] [] [] |
927 help2man | [] [] [] [] |
928 help2man-texi | [] |
929 hylafax | |
930 idutils | [] [] [] |
931 iso_15924 | [] () [] [] [] [] |
932 iso_3166 | [] [] [] [] () [] [] [] [] [] [] [] [] |
933 iso_3166_2 | [] () [] |
934 iso_4217 | [] [] () [] [] [] [] [] |
935 iso_639 | [] [] [] () [] [] [] [] [] [] |
936 iso_639_3 | [] () |
937 iso_639_5 | () [] |
938 jwhois | [] [] [] [] |
939 kbd | [] [] |
940 klavaro | [] [] [] [] [] |
941 latrine | [] |
942 ld | |
943 leafpad | [] [] [] [] [] [] [] [] [] |
944 libc | [] [] [] |
945 libexif | [] () [] |
946 libextractor | [] |
947 libgnutls | [] |
948 libgpg-error | [] [] [] |
949 libgphoto2 | [] |
950 libgphoto2_port | [] [] [] [] [] |
951 libgsasl | [] [] [] [] |
952 libiconv | [] [] [] [] [] |
953 libidn | [] [] [] |
954 liferea | [] [] [] [] () [] [] |
955 lilypond | |
956 lordsawar | |
957 lprng | [] |
958 lynx | [] [] |
959 m4 | [] [] [] [] [] |
960 mailfromd | [] |
961 mailutils | [] |
962 make | [] [] [] |
963 man-db | [] [] [] |
964 man-db-manpages | [] [] [] |
965 midi-instruments | [] [] [] [] [] [] [] [] |
966 minicom | [] [] [] [] |
967 mkisofs | [] [] [] |
968 myserver | [] [] |
969 nano | [] [] [] [] [] [] |
970 opcodes | |
971 parted | [] [] [] [] [] [] |
972 pies | [] |
973 popt | [] [] [] [] [] [] |
974 procps-ng | [] |
975 procps-ng-man | [] |
976 psmisc | [] [] [] [] |
977 pspp | [] [] |
978 pushover | |
979 pwdutils | [] |
980 pyspread | [] [] |
981 radius | [] [] |
982 recode | [] [] [] [] [] [] [] [] |
983 recutils | [] |
984 rpm | [] |
985 rush | [] [] [] |
986 sarg | [] [] |
987 sed | [] [] [] [] [] [] [] [] |
988 sharutils | [] [] [] |
989 shishi | [] [] |
990 skribilo | |
991 solfege | [] [] [] |
992 solfege-manual | [] [] |
993 spotmachine | [] [] |
994 sudo | [] [] [] [] [] |
995 sudoers | [] [] [] [] |
996 sysstat | [] [] [] [] [] |
997 tar | [] [] [] [] [] |
998 texinfo | [] [] [] |
999 texinfo_document | [] [] |
1000 tigervnc | |
1001 tin | [] |
1002 tin-man | |
1003 tracgoogleappsa... | [] [] [] [] |
1004 trader | [] |
1005 util-linux | [] [] |
1006 ve | [] [] [] |
1007 vice | |
1008 vmm | |
1009 vorbis-tools | [] [] [] |
1010 wastesedge | |
1011 wcd | |
1012 wcd-man | |
1013 wdiff | [] [] [] [] [] |
1014 wget | [] [] [] [] [] |
1015 wyslij-po | [] [] [] [] |
1016 xboard | [] [] |
1017 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] |
1018 xkeyboard-config | [] [] [] [] |
1019 +--------------------------------------------------+
1020 nn or os pa pl ps pt pt_BR ro ru rw sk sl sq sr
1021 7 3 1 6 117 1 12 84 33 82 3 37 45 7 98
1022
1023 sv sw ta te tg th tr uk ur vi wa wo zh_CN zh_HK
1024 +---------------------------------------------------+
1025 a2ps | [] [] [] [] [] |
1026 aegis | [] |
1027 anubis | [] [] [] [] |
1028 aspell | [] [] [] [] |
1029 bash | [] [] [] [] [] |
1030 bfd | [] [] |
1031 binutils | [] [] [] |
1032 bison | [] [] [] [] |
1033 bison-runtime | [] [] [] [] [] [] |
1034 buzztrax | [] [] [] |
1035 ccd2cue | [] [] |
1036 ccide | [] [] [] |
1037 cflow | [] [] [] [] |
1038 clisp | |
1039 coreutils | [] [] [] [] |
1040 cpio | [] [] [] [] [] |
1041 cppi | [] [] [] |
1042 cpplib | [] [] [] [] [] |
1043 cryptsetup | [] [] [] |
1044 datamash | [] [] [] |
1045 denemo | |
1046 dfarc | [] |
1047 dialog | [] [] [] [] [] [] |
1048 dico | [] |
1049 diffutils | [] [] [] [] [] |
1050 dink | |
1051 direvent | [] [] |
1052 doodle | [] [] |
1053 dos2unix | [] [] [] |
1054 dos2unix-man | [] [] |
1055 e2fsprogs | [] [] [] [] |
1056 enscript | [] [] [] [] |
1057 exif | [] [] [] [] [] |
1058 fetchmail | [] [] [] [] |
1059 findutils | [] [] [] [] [] |
1060 flex | [] [] [] |
1061 freedink | [] [] |
1062 fusionforge | |
1063 gas | [] |
1064 gawk | [] [] |
1065 gcal | [] [] |
1066 gcc | [] [] |
1067 gdbm | [] [] |
1068 gettext-examples | [] [] [] [] [] [] |
1069 gettext-runtime | [] [] [] [] [] [] |
1070 gettext-tools | [] [] [] [] [] |
1071 gip | [] [] [] [] |
1072 gjay | [] [] |
1073 glunarclock | [] [] [] [] |
1074 gnubiff | [] [] |
1075 gnubik | [] [] [] |
1076 gnucash | () () () () [] |
1077 gnuchess | [] [] |
1078 gnulib | [] [] [] [] |
1079 gnunet | |
1080 gnunet-gtk | |
1081 gold | [] [] |
1082 gphoto2 | [] [] [] [] |
1083 gprof | [] [] [] [] |
1084 gpsdrive | [] [] [] |
1085 gramadoir | [] [] [] |
1086 grep | [] [] [] [] [] |
1087 grub | [] [] [] [] |
1088 gsasl | [] [] [] [] |
1089 gss | [] [] [] |
1090 gst-plugins-bad | [] [] [] [] |
1091 gst-plugins-base | [] [] [] [] [] |
1092 gst-plugins-good | [] [] [] [] [] |
1093 gst-plugins-ugly | [] [] [] [] [] |
1094 gstreamer | [] [] [] [] [] |
1095 gtick | [] [] [] |
1096 gtkam | [] [] [] [] |
1097 gtkorphan | [] [] [] |
1098 gtkspell | [] [] [] [] [] [] [] [] |
1099 guix | [] |
1100 guix-packages | |
1101 gutenprint | [] [] [] |
1102 hello | [] [] [] [] [] |
1103 help2man | [] [] [] |
1104 help2man-texi | [] |
1105 hylafax | [] |
1106 idutils | [] [] [] |
1107 iso_15924 | [] () [] [] () [] |
1108 iso_3166 | [] [] () [] [] () [] [] [] |
1109 iso_3166_2 | () [] [] () [] |
1110 iso_4217 | [] () [] [] () [] [] |
1111 iso_639 | [] [] [] () [] [] () [] [] [] |
1112 iso_639_3 | [] () [] [] () |
1113 iso_639_5 | () [] () |
1114 jwhois | [] [] [] [] |
1115 kbd | [] [] [] |
1116 klavaro | [] [] [] [] [] [] |
1117 latrine | [] [] |
1118 ld | [] [] [] [] [] |
1119 leafpad | [] [] [] [] [] [] |
1120 libc | [] [] [] [] [] |
1121 libexif | [] () |
1122 libextractor | [] [] |
1123 libgnutls | [] [] [] [] |
1124 libgpg-error | [] [] [] [] |
1125 libgphoto2 | [] [] |
1126 libgphoto2_port | [] [] [] [] |
1127 libgsasl | [] [] [] [] |
1128 libiconv | [] [] [] [] [] |
1129 libidn | () [] [] [] |
1130 liferea | [] [] [] [] [] |
1131 lilypond | [] |
1132 lordsawar | |
1133 lprng | [] |
1134 lynx | [] [] [] [] |
1135 m4 | [] [] [] |
1136 mailfromd | [] [] |
1137 mailutils | [] |
1138 make | [] [] [] |
1139 man-db | [] [] |
1140 man-db-manpages | [] |
1141 midi-instruments | [] [] [] [] [] [] |
1142 minicom | [] [] |
1143 mkisofs | [] [] [] |
1144 myserver | [] |
1145 nano | [] [] [] [] |
1146 opcodes | [] [] |
1147 parted | [] [] [] [] [] |
1148 pies | [] [] |
1149 popt | [] [] [] [] [] [] [] |
1150 procps-ng | [] [] |
1151 procps-ng-man | [] |
1152 psmisc | [] [] [] |
1153 pspp | [] [] [] |
1154 pushover | [] |
1155 pwdutils | [] [] |
1156 pyspread | [] |
1157 radius | [] [] |
1158 recode | [] [] [] [] |
1159 recutils | [] [] [] |
1160 rpm | [] [] [] [] |
1161 rush | [] [] |
1162 sarg | |
1163 sed | [] [] [] [] [] |
1164 sharutils | [] [] [] |
1165 shishi | [] |
1166 skribilo | |
1167 solfege | [] [] [] |
1168 solfege-manual | [] |
1169 spotmachine | [] [] |
1170 sudo | [] [] [] [] |
1171 sudoers | [] [] [] |
1172 sysstat | [] [] [] [] |
1173 tar | [] [] [] [] [] |
1174 texinfo | [] [] [] |
1175 texinfo_document | [] |
1176 tigervnc | [] [] |
1177 tin | [] |
1178 tin-man | |
1179 tracgoogleappsa... | [] [] [] [] [] |
1180 trader | [] |
1181 util-linux | [] [] [] |
1182 ve | [] [] [] [] |
1183 vice | () () |
1184 vmm | |
1185 vorbis-tools | [] [] |
1186 wastesedge | |
1187 wcd | [] [] |
1188 wcd-man | [] |
1189 wdiff | [] [] [] |
1190 wget | [] [] [] |
1191 wyslij-po | [] [] |
1192 xboard | [] |
1193 xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
1194 xkeyboard-config | [] [] [] [] |
1195 +---------------------------------------------------+
1196 sv sw ta te tg th tr uk ur vi wa wo zh_CN zh_HK
1197 87 1 4 3 0 14 52 114 1 130 7 1 88 7
1198
1199 zh_TW
1200 +-------+
1201 a2ps | | 30
1202 aegis | | 9
1203 anubis | | 19
1204 aspell | | 28
1205 bash | [] | 25
1206 bfd | | 9
1207 binutils | | 12
1208 bison | [] | 18
1209 bison-runtime | [] | 38
1210 buzztrax | | 8
1211 ccd2cue | | 7
1212 ccide | | 16
1213 cflow | | 15
1214 clisp | | 10
1215 coreutils | | 20
1216 cpio | [] | 21
1217 cppi | | 16
1218 cpplib | [] | 19
1219 cryptsetup | | 13
1220 datamash | | 11
1221 denemo | | 3
1222 dfarc | | 16
1223 dialog | [] | 42
1224 dico | | 6
1225 diffutils | | 21
1226 dink | | 9
1227 direvent | | 10
1228 doodle | | 12
1229 dos2unix | [] | 17
1230 dos2unix-man | | 8
1231 e2fsprogs | | 14
1232 enscript | | 21
1233 exif | | 26
1234 fetchmail | | 19
1235 findutils | | 28
1236 flex | [] | 18
1237 freedink | | 23
1238 fusionforge | | 3
1239 gas | | 5
1240 gawk | | 12
1241 gcal | | 7
1242 gcc | | 4
1243 gdbm | | 10
1244 gettext-examples | [] | 40
1245 gettext-runtime | [] | 34
1246 gettext-tools | [] | 24
1247 gip | [] | 28
1248 gjay | | 8
1249 glunarclock | [] | 27
1250 gnubiff | | 9
1251 gnubik | | 18
1252 gnucash | () | 6
1253 gnuchess | | 10
1254 gnulib | | 23
1255 gnunet | | 1
1256 gnunet-gtk | | 1
1257 gold | | 7
1258 gphoto2 | [] | 19
1259 gprof | | 21
1260 gpsdrive | | 13
1261 gramadoir | | 14
1262 grep | [] | 30
1263 grub | | 21
1264 gsasl | [] | 19
1265 gss | | 17
1266 gst-plugins-bad | | 13
1267 gst-plugins-base | | 27
1268 gst-plugins-good | | 32
1269 gst-plugins-ugly | | 34
1270 gstreamer | [] | 31
1271 gtick | | 19
1272 gtkam | | 24
1273 gtkorphan | | 20
1274 gtkspell | [] | 48
1275 guix | | 5
1276 guix-packages | | 0
1277 gutenprint | | 13
1278 hello | [] | 29
1279 help2man | | 18
1280 help2man-texi | | 5
1281 hylafax | | 5
1282 idutils | | 14
1283 iso_15924 | [] | 23
1284 iso_3166 | [] | 58
1285 iso_3166_2 | | 9
1286 iso_4217 | [] | 28
1287 iso_639 | [] | 46
1288 iso_639_3 | | 10
1289 iso_639_5 | | 2
1290 jwhois | [] | 20
1291 kbd | | 16
1292 klavaro | | 29
1293 latrine | | 7
1294 ld | [] | 15
1295 leafpad | [] | 40
1296 libc | [] | 24
1297 libexif | | 9
1298 libextractor | | 5
1299 libgnutls | | 13
1300 libgpg-error | | 15
1301 libgphoto2 | | 9
1302 libgphoto2_port | [] | 19
1303 libgsasl | | 18
1304 libiconv | [] | 29
1305 libidn | | 17
1306 liferea | | 29
1307 lilypond | | 10
1308 lordsawar | | 3
1309 lprng | | 3
1310 lynx | | 19
1311 m4 | [] | 22
1312 mailfromd | | 4
1313 mailutils | | 6
1314 make | | 18
1315 man-db | | 14
1316 man-db-manpages | | 9
1317 midi-instruments | [] | 43
1318 minicom | [] | 17
1319 mkisofs | | 13
1320 myserver | | 9
1321 nano | [] | 29
1322 opcodes | | 11
1323 parted | [] | 21
1324 pies | | 4
1325 popt | [] | 36
1326 procps-ng | | 5
1327 procps-ng-man | | 4
1328 psmisc | [] | 21
1329 pspp | | 13
1330 pushover | | 6
1331 pwdutils | | 8
1332 pyspread | | 5
1333 radius | | 9
1334 recode | | 31
1335 recutils | | 9
1336 rpm | [] | 13
1337 rush | | 10
1338 sarg | | 4
1339 sed | [] | 34
1340 sharutils | | 12
1341 shishi | | 6
1342 skribilo | | 3
1343 solfege | | 19
1344 solfege-manual | | 9
1345 spotmachine | | 9
1346 sudo | | 23
1347 sudoers | | 20
1348 sysstat | | 21
1349 tar | [] | 30
1350 texinfo | | 17
1351 texinfo_document | | 11
1352 tigervnc | | 10
1353 tin | [] | 7
1354 tin-man | | 1
1355 tracgoogleappsa... | [] | 22
1356 trader | | 11
1357 util-linux | | 12
1358 ve | | 14
1359 vice | | 1
1360 vmm | | 3
1361 vorbis-tools | | 13
1362 wastesedge | | 2
1363 wcd | | 7
1364 wcd-man | | 3
1365 wdiff | [] | 22
1366 wget | | 22
1367 wyslij-po | | 14
1368 xboard | | 8
1369 xdg-user-dirs | [] | 68
1370 xkeyboard-config | [] | 27
1371 +-------+
1372 90 teams zh_TW
1373 170 domains 44 2805
1374
1375 Some counters in the preceding matrix are higher than the number of
1376 visible blocks let us expect. This is because a few extra PO files are
1377 used for implementing regional variants of languages, or language
1378 dialects.
1379
1380 For a PO file in the matrix above to be effective, the package to
1381 which it applies should also have been internationalized and
1382 distributed as such by its maintainer. There might be an observable
1383 lag between the mere existence a PO file and its wide availability in a
1384 distribution.
1385
1386 If June 2010 seems to be old, you may fetch a more recent copy of
1387 this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
1388 matrix with full percentage details can be found at
1389 `http://translationproject.org/extra/matrix.html'.
1390
1391 1.5 Using `gettext' in new packages
1392 ===================================
1393
1394 If you are writing a freely available program and want to
1395 internationalize it you are welcome to use GNU `gettext' in your
1396 package. Of course you have to respect the GNU Library General Public
1397 License which covers the use of the GNU `gettext' library. This means
1398 in particular that even non-free programs can use `libintl' as a shared
1399 library, whereas only free software can use `libintl' as a static
1400 library or use modified versions of `libintl'.
1401
1402 Once the sources are changed appropriately and the setup can handle
1403 the use of `gettext' the only thing missing are the translations. The
1404 Free Translation Project is also available for packages which are not
1405 developed inside the GNU project. Therefore the information given above
1406 applies also for every other Free Software Project. Contact
1407 `[email protected]' to make the `.pot' files available
1408 to the translation teams.
1409
0 ## Creating a New Extension
1
2 To create a new extension, add a subdirectory in extensions. Then create
3 a meson.build from the provided [template](extensions/meson.build.template).
4 If you need additional sources, add them to extension_sources. Similarily add
5 GSettings schemas to extension_schemas and other files to extension_data.
6
7 Then modify the [toplevel Meson file](meson.build) to add the new
8 extension name in the appropriate set (that is one of classic_extensions,
9 default_extensions or all_extensions).
10
11 Don't forget to add any translatable file to po/POTFILES.in, and
12 then you're done.
13 The Gettext domain you should choose is gnome-shell-extensions,
14 not gnome-shell, unless you're sure there is the string you
15 need in gnome-shell.
16
17 ## Coding Style
18
19 Generally, we follow [GJS coding style][coding-style], which in short is:
20 indent 4 spaces, no tabs, space after comma, no space after function call.
21
22 The Emacs mode line for this
23 /* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
24
25 Imports should be at the top, in two groups, one for standard
26 imports (like imports.lang or imports.dbus) and introspection,
27 the other for Shell API. Within the same group, put everything
28 in alphabetic order.
29
30 [coding-style]: https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Style_Guide.md
+0
-52
Makefile.am less more
0 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
1
2 DIST_SUBDIRS = data extensions po
3
4 SUBDIRS = extensions po
5
6 if CLASSIC_MODE
7 SUBDIRS += data
8 endif
9
10 EXTRA_DIST = lib/convenience.js
11
12 DISTCHECK_CONFIGURE_FLAGS = --enable-extensions=all
13
14 include include.mk
15
16 zip-file: all
17 -rm -fR $(builddir)/_build
18 -rm -fR $(builddir)/zip-files
19 $(MKDIR_P) $(builddir)/_build; \
20 $(MKDIR_P) $(builddir)/zip-files; \
21 $(MAKE) install DESTDIR="$(abs_builddir)/_build"; \
22 for i in $(ENABLED_EXTENSIONS); do \
23 mv "$(builddir)/_build$(topextensiondir)/$${i}$(extensionbase)" "$(builddir)/_build/"; \
24 cp -r "$(builddir)/_build$(datadir)/locale" "$(builddir)/_build/$${i}$(extensionbase)"; \
25 cp "$(srcdir)/COPYING" -t "$(builddir)/_build/$${i}$(extensionbase)"; \
26 cp "$(srcdir)/NEWS" -t "$(builddir)/_build/$${i}$(extensionbase)"; \
27 if [ -f "$(builddir)/_build$(datadir)/glib-2.0/schemas/$(gschemabase).$${i}.gschema.xml" ]; then \
28 $(MKDIR_P) "$(builddir)/_build/$${i}$(extensionbase)/schemas"; \
29 mv "$(builddir)/_build$(datadir)/glib-2.0/schemas/$(gschemabase).$${i}.gschema.xml" "$(builddir)/_build/$${i}$(extensionbase)/schemas"; \
30 glib-compile-schemas "$(builddir)/_build/$${i}$(extensionbase)/schemas"; \
31 fi; \
32 (cd "$(builddir)/_build/$${i}$(extensionbase)"; \
33 zip -qr "$(abs_builddir)/zip-files/$${i}$(extensionbase).shell-extension.zip" .; \
34 ); \
35 done
36 -rm -fR $(builddir)/_build
37
38 localprefix = $(HOME)/.local/share/gnome-shell/extensions
39
40 local-install: zip-file
41 for i in $(ENABLED_EXTENSIONS); do \
42 uuid="$${i}$(extensionbase)"; \
43 zip_file="$(abs_builddir)/zip-files/$${uuid}.shell-extension.zip"; \
44 if [ -d "$(localprefix)/$${uuid}" ]; then \
45 rm -fR "$(localprefix)/$${uuid}"; \
46 fi; \
47 $(MKDIR_P) $(localprefix)/$${uuid}; \
48 (cd $(localprefix)/$${uuid}; \
49 unzip -q $${zip_file}; \
50 ); \
51 done
+0
-845
Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73 pkglibdir = $(libdir)/@PACKAGE@
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
75 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
76 install_sh_DATA = $(install_sh) -c -m 644
77 install_sh_PROGRAM = $(install_sh) -c
78 install_sh_SCRIPT = $(install_sh) -c
79 INSTALL_HEADER = $(INSTALL_DATA)
80 transform = $(program_transform_name)
81 NORMAL_INSTALL = :
82 PRE_INSTALL = :
83 POST_INSTALL = :
84 NORMAL_UNINSTALL = :
85 PRE_UNINSTALL = :
86 POST_UNINSTALL = :
87 build_triplet = @build@
88 host_triplet = @host@
89 @CLASSIC_MODE_TRUE@am__append_1 = data
90 subdir = .
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
101 $(am__configure_deps) $(am__DIST_COMMON)
102 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
103 configure.lineno config.status.lineno
104 mkinstalldirs = $(install_sh) -d
105 CONFIG_CLEAN_FILES =
106 CONFIG_CLEAN_VPATH_FILES =
107 AM_V_P = $(am__v_P_@AM_V@)
108 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
109 am__v_P_0 = false
110 am__v_P_1 = :
111 AM_V_GEN = $(am__v_GEN_@AM_V@)
112 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
113 am__v_GEN_0 = @echo " GEN " $@;
114 am__v_GEN_1 =
115 AM_V_at = $(am__v_at_@AM_V@)
116 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
117 am__v_at_0 = @
118 am__v_at_1 =
119 SOURCES =
120 DIST_SOURCES =
121 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
122 ctags-recursive dvi-recursive html-recursive info-recursive \
123 install-data-recursive install-dvi-recursive \
124 install-exec-recursive install-html-recursive \
125 install-info-recursive install-pdf-recursive \
126 install-ps-recursive install-recursive installcheck-recursive \
127 installdirs-recursive pdf-recursive ps-recursive \
128 tags-recursive uninstall-recursive
129 am__can_run_installinfo = \
130 case $$AM_UPDATE_INFO_DIR in \
131 n|no|NO) false;; \
132 *) (install-info --version) >/dev/null 2>&1;; \
133 esac
134 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
135 distclean-recursive maintainer-clean-recursive
136 am__recursive_targets = \
137 $(RECURSIVE_TARGETS) \
138 $(RECURSIVE_CLEAN_TARGETS) \
139 $(am__extra_recursive_targets)
140 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
141 cscope distdir dist dist-all distcheck
142 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
143 # Read a list of newline-separated strings from the standard input,
144 # and print each of them once, without duplicates. Input order is
145 # *not* preserved.
146 am__uniquify_input = $(AWK) '\
147 BEGIN { nonempty = 0; } \
148 { items[$$0] = 1; nonempty = 1; } \
149 END { if (nonempty) { for (i in items) print i; }; } \
150 '
151 # Make sure the list of sources is unique. This is necessary because,
152 # e.g., the same source file might be shared among _SOURCES variables
153 # for different programs/libraries.
154 am__define_uniq_tagged_files = \
155 list='$(am__tagged_files)'; \
156 unique=`for i in $$list; do \
157 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
158 done | $(am__uniquify_input)`
159 ETAGS = etags
160 CTAGS = ctags
161 CSCOPE = cscope
162 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/include.mk \
163 $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \
164 $(top_srcdir)/config/config.rpath \
165 $(top_srcdir)/config/config.sub \
166 $(top_srcdir)/config/install-sh $(top_srcdir)/config/missing \
167 ABOUT-NLS COPYING NEWS README config/compile \
168 config/config.guess config/config.rpath config/config.sub \
169 config/install-sh config/missing
170 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
171 distdir = $(PACKAGE)-$(VERSION)
172 top_distdir = $(distdir)
173 am__remove_distdir = \
174 if test -d "$(distdir)"; then \
175 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
176 && rm -rf "$(distdir)" \
177 || { sleep 5 && rm -rf "$(distdir)"; }; \
178 else :; fi
179 am__post_remove_distdir = $(am__remove_distdir)
180 am__relativize = \
181 dir0=`pwd`; \
182 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
183 sed_rest='s,^[^/]*/*,,'; \
184 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
185 sed_butlast='s,/*[^/]*$$,,'; \
186 while test -n "$$dir1"; do \
187 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
188 if test "$$first" != "."; then \
189 if test "$$first" = ".."; then \
190 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
191 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
192 else \
193 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
194 if test "$$first2" = "$$first"; then \
195 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
196 else \
197 dir2="../$$dir2"; \
198 fi; \
199 dir0="$$dir0"/"$$first"; \
200 fi; \
201 fi; \
202 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
203 done; \
204 reldir="$$dir2"
205 GZIP_ENV = --best
206 DIST_ARCHIVES = $(distdir).tar.xz
207 DIST_TARGETS = dist-xz
208 distuninstallcheck_listfiles = find . -type f -print
209 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
210 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
211 distcleancheck_listfiles = find . -type f -print
212 ACLOCAL = @ACLOCAL@
213 ALL_EXTENSIONS = @ALL_EXTENSIONS@
214 AMTAR = @AMTAR@
215 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
216 AUTOCONF = @AUTOCONF@
217 AUTOHEADER = @AUTOHEADER@
218 AUTOMAKE = @AUTOMAKE@
219 AWK = @AWK@
220 CC = @CC@
221 CCDEPMODE = @CCDEPMODE@
222 CFLAGS = @CFLAGS@
223 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
224 CPP = @CPP@
225 CPPFLAGS = @CPPFLAGS@
226 CYGPATH_W = @CYGPATH_W@
227 DEFS = @DEFS@
228 DEPDIR = @DEPDIR@
229 ECHO_C = @ECHO_C@
230 ECHO_N = @ECHO_N@
231 ECHO_T = @ECHO_T@
232 EGREP = @EGREP@
233 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
234 EXEEXT = @EXEEXT@
235 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
236 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
237 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
238 GMSGFMT = @GMSGFMT@
239 GMSGFMT_015 = @GMSGFMT_015@
240 GREP = @GREP@
241 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
242 INSTALL = @INSTALL@
243 INSTALL_DATA = @INSTALL_DATA@
244 INSTALL_PROGRAM = @INSTALL_PROGRAM@
245 INSTALL_SCRIPT = @INSTALL_SCRIPT@
246 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
247 INTLLIBS = @INTLLIBS@
248 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
249 LDFLAGS = @LDFLAGS@
250 LIBICONV = @LIBICONV@
251 LIBINTL = @LIBINTL@
252 LIBOBJS = @LIBOBJS@
253 LIBS = @LIBS@
254 LTLIBICONV = @LTLIBICONV@
255 LTLIBINTL = @LTLIBINTL@
256 LTLIBOBJS = @LTLIBOBJS@
257 MAKEINFO = @MAKEINFO@
258 MKDIR_P = @MKDIR_P@
259 MSGFMT = @MSGFMT@
260 MSGFMT_015 = @MSGFMT_015@
261 MSGMERGE = @MSGMERGE@
262 OBJEXT = @OBJEXT@
263 PACKAGE = @PACKAGE@
264 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
265 PACKAGE_NAME = @PACKAGE_NAME@
266 PACKAGE_STRING = @PACKAGE_STRING@
267 PACKAGE_TARNAME = @PACKAGE_TARNAME@
268 PACKAGE_URL = @PACKAGE_URL@
269 PACKAGE_VERSION = @PACKAGE_VERSION@
270 PATH_SEPARATOR = @PATH_SEPARATOR@
271 PKG_CONFIG = @PKG_CONFIG@
272 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
273 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
274 POSUB = @POSUB@
275 SASSC = @SASSC@
276 SED = @SED@
277 SET_MAKE = @SET_MAKE@
278 SHELL = @SHELL@
279 SHELL_VERSION = @SHELL_VERSION@
280 STRIP = @STRIP@
281 USE_NLS = @USE_NLS@
282 VERSION = @VERSION@
283 XGETTEXT = @XGETTEXT@
284 XGETTEXT_015 = @XGETTEXT_015@
285 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
286 abs_builddir = @abs_builddir@
287 abs_srcdir = @abs_srcdir@
288 abs_top_builddir = @abs_top_builddir@
289 abs_top_srcdir = @abs_top_srcdir@
290 ac_ct_CC = @ac_ct_CC@
291 am__include = @am__include@
292 am__leading_dot = @am__leading_dot@
293 am__quote = @am__quote@
294 am__tar = @am__tar@
295 am__untar = @am__untar@
296 bindir = @bindir@
297 build = @build@
298 build_alias = @build_alias@
299 build_cpu = @build_cpu@
300 build_os = @build_os@
301 build_vendor = @build_vendor@
302 builddir = @builddir@
303 datadir = @datadir@
304 datarootdir = @datarootdir@
305 docdir = @docdir@
306 dvidir = @dvidir@
307 exec_prefix = @exec_prefix@
308 gsettingsschemadir = @gsettingsschemadir@
309 host = @host@
310 host_alias = @host_alias@
311 host_cpu = @host_cpu@
312 host_os = @host_os@
313 host_vendor = @host_vendor@
314 htmldir = @htmldir@
315 includedir = @includedir@
316 infodir = @infodir@
317 install_sh = @install_sh@
318 libdir = @libdir@
319 libexecdir = @libexecdir@
320 localedir = @localedir@
321 localstatedir = @localstatedir@
322 mandir = @mandir@
323 mkdir_p = @mkdir_p@
324 oldincludedir = @oldincludedir@
325 pdfdir = @pdfdir@
326 prefix = @prefix@
327 program_transform_name = @program_transform_name@
328 psdir = @psdir@
329 sbindir = @sbindir@
330 sharedstatedir = @sharedstatedir@
331 srcdir = @srcdir@
332 sysconfdir = @sysconfdir@
333 target_alias = @target_alias@
334 top_build_prefix = @top_build_prefix@
335 top_builddir = @top_builddir@
336 top_srcdir = @top_srcdir@
337 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
338 DIST_SUBDIRS = data extensions po
339 SUBDIRS = extensions po $(am__append_1)
340 EXTRA_DIST = lib/convenience.js
341 DISTCHECK_CONFIGURE_FLAGS = --enable-extensions=all
342 extensionurl = http://git.gnome.org/gnome-shell-extensions
343
344 # Change these to modify how installation is performed
345 topextensiondir = $(datadir)/gnome-shell/extensions
346 extensionbase = @gnome-shell-extensions.gcampax.github.com
347 gschemabase = org.gnome.shell.extensions
348 uuid = $(EXTENSION_ID)$(extensionbase)
349 gschemaname = $(gschemabase).$(EXTENSION_ID)
350 extensiondir = $(topextensiondir)/$(uuid)
351 localprefix = $(HOME)/.local/share/gnome-shell/extensions
352 all: all-recursive
353
354 .SUFFIXES:
355 am--refresh: Makefile
356 @:
357 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/include.mk $(am__configure_deps)
358 @for dep in $?; do \
359 case '$(am__configure_deps)' in \
360 *$$dep*) \
361 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
362 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
363 && exit 0; \
364 exit 1;; \
365 esac; \
366 done; \
367 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
368 $(am__cd) $(top_srcdir) && \
369 $(AUTOMAKE) --foreign Makefile
370 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
371 @case '$?' in \
372 *config.status*) \
373 echo ' $(SHELL) ./config.status'; \
374 $(SHELL) ./config.status;; \
375 *) \
376 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
377 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
378 esac;
379 $(srcdir)/include.mk $(am__empty):
380
381 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
382 $(SHELL) ./config.status --recheck
383
384 $(top_srcdir)/configure: $(am__configure_deps)
385 $(am__cd) $(srcdir) && $(AUTOCONF)
386 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
387 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
388 $(am__aclocal_m4_deps):
389
390 # This directory's subdirectories are mostly independent; you can cd
391 # into them and run 'make' without going through this Makefile.
392 # To change the values of 'make' variables: instead of editing Makefiles,
393 # (1) if the variable is set in 'config.status', edit 'config.status'
394 # (which will cause the Makefiles to be regenerated when you run 'make');
395 # (2) otherwise, pass the desired values on the 'make' command line.
396 $(am__recursive_targets):
397 @fail=; \
398 if $(am__make_keepgoing); then \
399 failcom='fail=yes'; \
400 else \
401 failcom='exit 1'; \
402 fi; \
403 dot_seen=no; \
404 target=`echo $@ | sed s/-recursive//`; \
405 case "$@" in \
406 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
407 *) list='$(SUBDIRS)' ;; \
408 esac; \
409 for subdir in $$list; do \
410 echo "Making $$target in $$subdir"; \
411 if test "$$subdir" = "."; then \
412 dot_seen=yes; \
413 local_target="$$target-am"; \
414 else \
415 local_target="$$target"; \
416 fi; \
417 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
418 || eval $$failcom; \
419 done; \
420 if test "$$dot_seen" = "no"; then \
421 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
422 fi; test -z "$$fail"
423
424 ID: $(am__tagged_files)
425 $(am__define_uniq_tagged_files); mkid -fID $$unique
426 tags: tags-recursive
427 TAGS: tags
428
429 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
430 set x; \
431 here=`pwd`; \
432 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
433 include_option=--etags-include; \
434 empty_fix=.; \
435 else \
436 include_option=--include; \
437 empty_fix=; \
438 fi; \
439 list='$(SUBDIRS)'; for subdir in $$list; do \
440 if test "$$subdir" = .; then :; else \
441 test ! -f $$subdir/TAGS || \
442 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
443 fi; \
444 done; \
445 $(am__define_uniq_tagged_files); \
446 shift; \
447 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
448 test -n "$$unique" || unique=$$empty_fix; \
449 if test $$# -gt 0; then \
450 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
451 "$$@" $$unique; \
452 else \
453 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
454 $$unique; \
455 fi; \
456 fi
457 ctags: ctags-recursive
458
459 CTAGS: ctags
460 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
461 $(am__define_uniq_tagged_files); \
462 test -z "$(CTAGS_ARGS)$$unique" \
463 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
464 $$unique
465
466 GTAGS:
467 here=`$(am__cd) $(top_builddir) && pwd` \
468 && $(am__cd) $(top_srcdir) \
469 && gtags -i $(GTAGS_ARGS) "$$here"
470 cscope: cscope.files
471 test ! -s cscope.files \
472 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
473 clean-cscope:
474 -rm -f cscope.files
475 cscope.files: clean-cscope cscopelist
476 cscopelist: cscopelist-recursive
477
478 cscopelist-am: $(am__tagged_files)
479 list='$(am__tagged_files)'; \
480 case "$(srcdir)" in \
481 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
482 *) sdir=$(subdir)/$(srcdir) ;; \
483 esac; \
484 for i in $$list; do \
485 if test -f "$$i"; then \
486 echo "$(subdir)/$$i"; \
487 else \
488 echo "$$sdir/$$i"; \
489 fi; \
490 done >> $(top_builddir)/cscope.files
491
492 distclean-tags:
493 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
494 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
495
496 distdir: $(DISTFILES)
497 $(am__remove_distdir)
498 test -d "$(distdir)" || mkdir "$(distdir)"
499 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
500 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
501 list='$(DISTFILES)'; \
502 dist_files=`for file in $$list; do echo $$file; done | \
503 sed -e "s|^$$srcdirstrip/||;t" \
504 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
505 case $$dist_files in \
506 */*) $(MKDIR_P) `echo "$$dist_files" | \
507 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
508 sort -u` ;; \
509 esac; \
510 for file in $$dist_files; do \
511 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
512 if test -d $$d/$$file; then \
513 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
514 if test -d "$(distdir)/$$file"; then \
515 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
516 fi; \
517 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
518 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
519 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
520 fi; \
521 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
522 else \
523 test -f "$(distdir)/$$file" \
524 || cp -p $$d/$$file "$(distdir)/$$file" \
525 || exit 1; \
526 fi; \
527 done
528 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
529 if test "$$subdir" = .; then :; else \
530 $(am__make_dryrun) \
531 || test -d "$(distdir)/$$subdir" \
532 || $(MKDIR_P) "$(distdir)/$$subdir" \
533 || exit 1; \
534 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
535 $(am__relativize); \
536 new_distdir=$$reldir; \
537 dir1=$$subdir; dir2="$(top_distdir)"; \
538 $(am__relativize); \
539 new_top_distdir=$$reldir; \
540 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
541 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
542 ($(am__cd) $$subdir && \
543 $(MAKE) $(AM_MAKEFLAGS) \
544 top_distdir="$$new_top_distdir" \
545 distdir="$$new_distdir" \
546 am__remove_distdir=: \
547 am__skip_length_check=: \
548 am__skip_mode_fix=: \
549 distdir) \
550 || exit 1; \
551 fi; \
552 done
553 -test -n "$(am__skip_mode_fix)" \
554 || find "$(distdir)" -type d ! -perm -755 \
555 -exec chmod u+rwx,go+rx {} \; -o \
556 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
557 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
558 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
559 || chmod -R a+r "$(distdir)"
560 dist-gzip: distdir
561 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
562 $(am__post_remove_distdir)
563
564 dist-bzip2: distdir
565 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
566 $(am__post_remove_distdir)
567
568 dist-lzip: distdir
569 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
570 $(am__post_remove_distdir)
571 dist-xz: distdir
572 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
573 $(am__post_remove_distdir)
574
575 dist-tarZ: distdir
576 @echo WARNING: "Support for distribution archives compressed with" \
577 "legacy program 'compress' is deprecated." >&2
578 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
579 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
580 $(am__post_remove_distdir)
581
582 dist-shar: distdir
583 @echo WARNING: "Support for shar distribution archives is" \
584 "deprecated." >&2
585 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
586 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
587 $(am__post_remove_distdir)
588
589 dist-zip: distdir
590 -rm -f $(distdir).zip
591 zip -rq $(distdir).zip $(distdir)
592 $(am__post_remove_distdir)
593
594 dist dist-all:
595 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
596 $(am__post_remove_distdir)
597
598 # This target untars the dist file and tries a VPATH configuration. Then
599 # it guarantees that the distribution is self-contained by making another
600 # tarfile.
601 distcheck: dist
602 case '$(DIST_ARCHIVES)' in \
603 *.tar.gz*) \
604 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
605 *.tar.bz2*) \
606 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
607 *.tar.lz*) \
608 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
609 *.tar.xz*) \
610 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
611 *.tar.Z*) \
612 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
613 *.shar.gz*) \
614 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
615 *.zip*) \
616 unzip $(distdir).zip ;;\
617 esac
618 chmod -R a-w $(distdir)
619 chmod u+w $(distdir)
620 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
621 chmod a-w $(distdir)
622 test -d $(distdir)/_build || exit 0; \
623 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
624 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
625 && am__cwd=`pwd` \
626 && $(am__cd) $(distdir)/_build/sub \
627 && ../../configure \
628 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
629 $(DISTCHECK_CONFIGURE_FLAGS) \
630 --srcdir=../.. --prefix="$$dc_install_base" \
631 && $(MAKE) $(AM_MAKEFLAGS) \
632 && $(MAKE) $(AM_MAKEFLAGS) dvi \
633 && $(MAKE) $(AM_MAKEFLAGS) check \
634 && $(MAKE) $(AM_MAKEFLAGS) install \
635 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
636 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
637 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
638 distuninstallcheck \
639 && chmod -R a-w "$$dc_install_base" \
640 && ({ \
641 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
642 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
643 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
644 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
645 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
646 } || { rm -rf "$$dc_destdir"; exit 1; }) \
647 && rm -rf "$$dc_destdir" \
648 && $(MAKE) $(AM_MAKEFLAGS) dist \
649 && rm -rf $(DIST_ARCHIVES) \
650 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
651 && cd "$$am__cwd" \
652 || exit 1
653 $(am__post_remove_distdir)
654 @(echo "$(distdir) archives ready for distribution: "; \
655 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
656 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
657 distuninstallcheck:
658 @test -n '$(distuninstallcheck_dir)' || { \
659 echo 'ERROR: trying to run $@ with an empty' \
660 '$$(distuninstallcheck_dir)' >&2; \
661 exit 1; \
662 }; \
663 $(am__cd) '$(distuninstallcheck_dir)' || { \
664 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
665 exit 1; \
666 }; \
667 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
668 || { echo "ERROR: files left after uninstall:" ; \
669 if test -n "$(DESTDIR)"; then \
670 echo " (check DESTDIR support)"; \
671 fi ; \
672 $(distuninstallcheck_listfiles) ; \
673 exit 1; } >&2
674 distcleancheck: distclean
675 @if test '$(srcdir)' = . ; then \
676 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
677 exit 1 ; \
678 fi
679 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
680 || { echo "ERROR: files left in build directory after distclean:" ; \
681 $(distcleancheck_listfiles) ; \
682 exit 1; } >&2
683 check-am: all-am
684 check: check-recursive
685 all-am: Makefile
686 installdirs: installdirs-recursive
687 installdirs-am:
688 install: install-recursive
689 install-exec: install-exec-recursive
690 install-data: install-data-recursive
691 uninstall: uninstall-recursive
692
693 install-am: all-am
694 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
695
696 installcheck: installcheck-recursive
697 install-strip:
698 if test -z '$(STRIP)'; then \
699 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
700 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
701 install; \
702 else \
703 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
704 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
705 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
706 fi
707 mostlyclean-generic:
708
709 clean-generic:
710
711 distclean-generic:
712 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
713 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
714
715 maintainer-clean-generic:
716 @echo "This command is intended for maintainers to use"
717 @echo "it deletes files that may require special tools to rebuild."
718 clean: clean-recursive
719
720 clean-am: clean-generic mostlyclean-am
721
722 distclean: distclean-recursive
723 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
724 -rm -f Makefile
725 distclean-am: clean-am distclean-generic distclean-tags
726
727 dvi: dvi-recursive
728
729 dvi-am:
730
731 html: html-recursive
732
733 html-am:
734
735 info: info-recursive
736
737 info-am:
738
739 install-data-am:
740
741 install-dvi: install-dvi-recursive
742
743 install-dvi-am:
744
745 install-exec-am:
746
747 install-html: install-html-recursive
748
749 install-html-am:
750
751 install-info: install-info-recursive
752
753 install-info-am:
754
755 install-man:
756
757 install-pdf: install-pdf-recursive
758
759 install-pdf-am:
760
761 install-ps: install-ps-recursive
762
763 install-ps-am:
764
765 installcheck-am:
766
767 maintainer-clean: maintainer-clean-recursive
768 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
769 -rm -rf $(top_srcdir)/autom4te.cache
770 -rm -f Makefile
771 maintainer-clean-am: distclean-am maintainer-clean-generic
772
773 mostlyclean: mostlyclean-recursive
774
775 mostlyclean-am: mostlyclean-generic
776
777 pdf: pdf-recursive
778
779 pdf-am:
780
781 ps: ps-recursive
782
783 ps-am:
784
785 uninstall-am:
786
787 .MAKE: $(am__recursive_targets) install-am install-strip
788
789 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
790 am--refresh check check-am clean clean-cscope clean-generic \
791 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
792 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
793 distcheck distclean distclean-generic distclean-tags \
794 distcleancheck distdir distuninstallcheck dvi dvi-am html \
795 html-am info info-am install install-am install-data \
796 install-data-am install-dvi install-dvi-am install-exec \
797 install-exec-am install-html install-html-am install-info \
798 install-info-am install-man install-pdf install-pdf-am \
799 install-ps install-ps-am install-strip installcheck \
800 installcheck-am installdirs installdirs-am maintainer-clean \
801 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
802 pdf-am ps ps-am tags tags-am uninstall uninstall-am
803
804 .PRECIOUS: Makefile
805
806
807 zip-file: all
808 -rm -fR $(builddir)/_build
809 -rm -fR $(builddir)/zip-files
810 $(MKDIR_P) $(builddir)/_build; \
811 $(MKDIR_P) $(builddir)/zip-files; \
812 $(MAKE) install DESTDIR="$(abs_builddir)/_build"; \
813 for i in $(ENABLED_EXTENSIONS); do \
814 mv "$(builddir)/_build$(topextensiondir)/$${i}$(extensionbase)" "$(builddir)/_build/"; \
815 cp -r "$(builddir)/_build$(datadir)/locale" "$(builddir)/_build/$${i}$(extensionbase)"; \
816 cp "$(srcdir)/COPYING" -t "$(builddir)/_build/$${i}$(extensionbase)"; \
817 cp "$(srcdir)/NEWS" -t "$(builddir)/_build/$${i}$(extensionbase)"; \
818 if [ -f "$(builddir)/_build$(datadir)/glib-2.0/schemas/$(gschemabase).$${i}.gschema.xml" ]; then \
819 $(MKDIR_P) "$(builddir)/_build/$${i}$(extensionbase)/schemas"; \
820 mv "$(builddir)/_build$(datadir)/glib-2.0/schemas/$(gschemabase).$${i}.gschema.xml" "$(builddir)/_build/$${i}$(extensionbase)/schemas"; \
821 glib-compile-schemas "$(builddir)/_build/$${i}$(extensionbase)/schemas"; \
822 fi; \
823 (cd "$(builddir)/_build/$${i}$(extensionbase)"; \
824 zip -qr "$(abs_builddir)/zip-files/$${i}$(extensionbase).shell-extension.zip" .; \
825 ); \
826 done
827 -rm -fR $(builddir)/_build
828
829 local-install: zip-file
830 for i in $(ENABLED_EXTENSIONS); do \
831 uuid="$${i}$(extensionbase)"; \
832 zip_file="$(abs_builddir)/zip-files/$${uuid}.shell-extension.zip"; \
833 if [ -d "$(localprefix)/$${uuid}" ]; then \
834 rm -fR "$(localprefix)/$${uuid}"; \
835 fi; \
836 $(MKDIR_P) $(localprefix)/$${uuid}; \
837 (cd $(localprefix)/$${uuid}; \
838 unzip -q $${zip_file}; \
839 ); \
840 done
841
842 # Tell versions [3.59,3.63) of GNU make to not export all variables.
843 # Otherwise a system limit (for SysV at least) may be exceeded.
844 .NOEXPORT:
0 3.26.2
1 ======
2 * updated translations: (ca@valencia)
0 3.27.92
1 =======
2
3 Contributors:
4 Florian Müllner
5
6 Translators:
7 Piotr Drąg [es], GNOME Translation Robot [gd], Daniel Șerbănescu [ro]
8
9 3.27.91
10 =======
11 * places-menu: Support unmounting ejectable places [Rémy; #17]
12 * apps-menu: Support separators and custom sort order [Florian; #27]
13 * Port to meson [Florian; #31, #45]
14 * window-list: Fix missing icons on wayland [Florian; #10]
15 * places-menu: Fix terminating gnome-shell with recent gjs [Florian; #44]
16 * auto-move: Make it work with wayland windows [Florian; #33]
17 * Classic theme fixes [Florian, Jonas; #26, #41, #39, #40]
18 * Require sassc for classic styling [Florian; !28]
19 * Misc. bug fixes [Piotr, Florian; #772211, #32, #30]
20
21 Contributors:
22 Jeremy Bicha, Piotr Drąg, Jonas Kümmerlin, Rémy Lefevre, Iñigo Martínez,
23 Florian Müllner
24
25 Translators:
26 Matej Urbančič [sl], Kjartan Maraas [nb]
27
28 3.27.1
29 ======
30 * updated translations (ca@valencia)
331
432 3.26.1
533 ======
+0
-74
README less more
0 GNOME Shell Extensions is a collection of extensions providing additional
1 and optional functionality to GNOME Shell.
2
3 Since GNOME Shell is not API stable, extensions work only against a very
4 specific version of the shell, usually the same as this package (see
5 "configure --version"). The extensions in this package are supported by GNOME
6 and will be updated to reflect future API changes in GNOME Shell.
7
8 For more information about GNOME Shell Extensions
9 https://wiki.gnome.org/Projects/GnomeShell/Extensions
10
11 For general information about GNOME Shell
12 https://wiki.gnome.org/Projects/GnomeShell
13
14 Bugs should be reported at https://bugzilla.gnome.org against the 'gnome-shell'
15 product, with the 'extensions' component.
16
17 Extensions
18 ==========
19
20 alternate-tab
21
22 Lets you use classic Alt+Tab (window-based instead of app-based) in GNOME Shell.
23
24 apps-menu
25
26 Lets you reach an application using gnome 2.x style menu on the panel.
27
28 auto-move-windows
29
30 Lets you manage your workspaces more easily, assigning a specific workspace to
31 each application as soon as it creates a window, in a manner configurable with a
32 GSettings key.
33
34 dock
35
36 Shows a dock-style task switcher on the right side of the screen.
37
38 drive-menu
39 Shows a status menu for rapid unmount and power off of external storage devices
40 (i.e. pendrives)
41
42 example
43
44 A minimal example illustrating how to write extensions.
45
46 gajim
47
48 Integration with Gajim, a Jabber/XMPP instant messaging client.
49
50 native-window-placement
51
52 An alternative algorithm for layouting the thumbnails in the windows overview, that
53 more closely reflects the actual positions and sizes.
54
55 places-menu
56
57 Shows a status Indicator for navigating to Places.
58
59 user-theme
60
61 Loads a shell theme from ~/.themes/<name>/gnome-shell.
62
63 windowsNavigator
64
65 Allow keyboard selection of windows and workspaces in overlay mode.
66
67 License
68 =======
69 GNOME Shell Extensions are distributed under the terms of the GNU General Public License,
70 version 2 or later. See the COPYING file for details.
71 Individual extensions may be licensed under different terms, see each source
72 file for details.
73
0 # GNOME Shell Extensions
1
2 GNOME Shell Extensions is a collection of extensions providing additional
3 and optional functionality to GNOME Shell.
4
5 Since GNOME Shell is not API stable, extensions work only against a very
6 specific version of the shell, usually the same as this package (see
7 "configure --version"). The extensions in this package are supported by GNOME
8 and will be updated to reflect future API changes in GNOME Shell.
9
10 The GNOME wiki has more information about [GNOME Shell Extensions][project-page],
11 as well as some general information about [GNOME Shell][shell-page].
12
13 Bugs should be reported to the GNOME [bug tracking system][bug-tracker].
14
15 ## Extensions
16
17 * alternate-tab
18
19 Lets you use classic Alt+Tab (window-based instead of app-based) in GNOME Shell.
20
21 * apps-menu
22
23 Lets you reach an application using gnome 2.x style menu on the panel.
24
25 * auto-move-windows
26
27 Lets you manage your workspaces more easily, assigning a specific workspace to
28 each application as soon as it creates a window, in a manner configurable with a
29 GSettings key.
30
31 * drive-menu
32
33 Shows a status menu for rapid unmount and power off of external storage devices
34 (i.e. pendrives)
35
36 * example
37
38 A minimal example illustrating how to write extensions.
39
40 * launch-new-instance
41
42 Changes application icons to always launch a new instance when activated.
43
44 * native-window-placement
45
46 An alternative algorithm for layouting the thumbnails in the windows overview, that
47 more closely reflects the actual positions and sizes.
48
49 * places-menu
50
51 Shows a status Indicator for navigating to Places.
52
53 * screenshot-window-sizer
54
55 Adds a shortcut for resizing the focus window to a size that is suitable for GNOME Software screenshots
56
57 * user-theme
58
59 Loads a shell theme from ~/.themes/<name>/gnome-shell.
60
61 * window-list
62
63 Adds a bottom panel with a traditional window list.
64
65 * windowsNavigator
66
67 Allow keyboard selection of windows and workspaces in overlay mode.
68
69 * workspace-indicator
70
71 Adds a simple workspace switcher to the top bar.
72
73 ## License
74
75 GNOME Shell Extensions are distributed under the terms of the GNU General
76 Public License, version 2 or later. See the [COPYING file][license] for details.
77 Individual extensions may be licensed under different terms, see each source
78 file for details.
79
80 [project-page]: https://wiki.gnome.org/Projects/GnomeShell/Extensions
81 [shell-page]: https://wiki.gnome.org/Projects/GnomeShell
82 [bug-tracker]: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues
83 [license]: COPYING
+0
-1589
aclocal.m4 less more
0 # generated automatically by aclocal 1.15.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
3
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14 m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
18 You have another version of autoconf. It may work, but is not guaranteed to.
19 If you have problems, you may need to regenerate the build system entirely.
20 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23 # serial 11 (pkg-config-0.29.1)
24
25 dnl Copyright © 2004 Scott James Remnant <[email protected]>.
26 dnl Copyright © 2012-2015 Dan Nicholson <[email protected]>
27 dnl
28 dnl This program is free software; you can redistribute it and/or modify
29 dnl it under the terms of the GNU General Public License as published by
30 dnl the Free Software Foundation; either version 2 of the License, or
31 dnl (at your option) any later version.
32 dnl
33 dnl This program is distributed in the hope that it will be useful, but
34 dnl WITHOUT ANY WARRANTY; without even the implied warranty of
35 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36 dnl General Public License for more details.
37 dnl
38 dnl You should have received a copy of the GNU General Public License
39 dnl along with this program; if not, write to the Free Software
40 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
41 dnl 02111-1307, USA.
42 dnl
43 dnl As a special exception to the GNU General Public License, if you
44 dnl distribute this file as part of a program that contains a
45 dnl configuration script generated by Autoconf, you may include it under
46 dnl the same distribution terms that you use for the rest of that
47 dnl program.
48
49 dnl PKG_PREREQ(MIN-VERSION)
50 dnl -----------------------
51 dnl Since: 0.29
52 dnl
53 dnl Verify that the version of the pkg-config macros are at least
54 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
55 dnl installed version of pkg-config, this checks the developer's version
56 dnl of pkg.m4 when generating configure.
57 dnl
58 dnl To ensure that this macro is defined, also add:
59 dnl m4_ifndef([PKG_PREREQ],
60 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
61 dnl
62 dnl See the "Since" comment for each macro you use to see what version
63 dnl of the macros you require.
64 m4_defun([PKG_PREREQ],
65 [m4_define([PKG_MACROS_VERSION], [0.29.1])
66 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
67 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
68 ])dnl PKG_PREREQ
69
70 dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
71 dnl ----------------------------------
72 dnl Since: 0.16
73 dnl
74 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
75 dnl first found in the path. Checks that the version of pkg-config found
76 dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
77 dnl used since that's the first version where most current features of
78 dnl pkg-config existed.
79 AC_DEFUN([PKG_PROG_PKG_CONFIG],
80 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
81 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
82 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
83 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
84 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
85 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
86
87 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
88 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
89 fi
90 if test -n "$PKG_CONFIG"; then
91 _pkg_min_version=m4_default([$1], [0.9.0])
92 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
93 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
94 AC_MSG_RESULT([yes])
95 else
96 AC_MSG_RESULT([no])
97 PKG_CONFIG=""
98 fi
99 fi[]dnl
100 ])dnl PKG_PROG_PKG_CONFIG
101
102 dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
103 dnl -------------------------------------------------------------------
104 dnl Since: 0.18
105 dnl
106 dnl Check to see whether a particular set of modules exists. Similar to
107 dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
108 dnl
109 dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
110 dnl only at the first occurence in configure.ac, so if the first place
111 dnl it's called might be skipped (such as if it is within an "if", you
112 dnl have to call PKG_CHECK_EXISTS manually
113 AC_DEFUN([PKG_CHECK_EXISTS],
114 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
115 if test -n "$PKG_CONFIG" && \
116 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
117 m4_default([$2], [:])
118 m4_ifvaln([$3], [else
119 $3])dnl
120 fi])
121
122 dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
123 dnl ---------------------------------------------
124 dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
125 dnl pkg_failed based on the result.
126 m4_define([_PKG_CONFIG],
127 [if test -n "$$1"; then
128 pkg_cv_[]$1="$$1"
129 elif test -n "$PKG_CONFIG"; then
130 PKG_CHECK_EXISTS([$3],
131 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
132 test "x$?" != "x0" && pkg_failed=yes ],
133 [pkg_failed=yes])
134 else
135 pkg_failed=untried
136 fi[]dnl
137 ])dnl _PKG_CONFIG
138
139 dnl _PKG_SHORT_ERRORS_SUPPORTED
140 dnl ---------------------------
141 dnl Internal check to see if pkg-config supports short errors.
142 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
143 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
145 _pkg_short_errors_supported=yes
146 else
147 _pkg_short_errors_supported=no
148 fi[]dnl
149 ])dnl _PKG_SHORT_ERRORS_SUPPORTED
150
151
152 dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
153 dnl [ACTION-IF-NOT-FOUND])
154 dnl --------------------------------------------------------------
155 dnl Since: 0.4.0
156 dnl
157 dnl Note that if there is a possibility the first call to
158 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
159 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
160 AC_DEFUN([PKG_CHECK_MODULES],
161 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
162 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
163 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
164
165 pkg_failed=no
166 AC_MSG_CHECKING([for $1])
167
168 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
169 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
170
171 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
172 and $1[]_LIBS to avoid the need to call pkg-config.
173 See the pkg-config man page for more details.])
174
175 if test $pkg_failed = yes; then
176 AC_MSG_RESULT([no])
177 _PKG_SHORT_ERRORS_SUPPORTED
178 if test $_pkg_short_errors_supported = yes; then
179 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
180 else
181 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
182 fi
183 # Put the nasty error message in config.log where it belongs
184 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
185
186 m4_default([$4], [AC_MSG_ERROR(
187 [Package requirements ($2) were not met:
188
189 $$1_PKG_ERRORS
190
191 Consider adjusting the PKG_CONFIG_PATH environment variable if you
192 installed software in a non-standard prefix.
193
194 _PKG_TEXT])[]dnl
195 ])
196 elif test $pkg_failed = untried; then
197 AC_MSG_RESULT([no])
198 m4_default([$4], [AC_MSG_FAILURE(
199 [The pkg-config script could not be found or is too old. Make sure it
200 is in your PATH or set the PKG_CONFIG environment variable to the full
201 path to pkg-config.
202
203 _PKG_TEXT
204
205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
206 ])
207 else
208 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
209 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
210 AC_MSG_RESULT([yes])
211 $3
212 fi[]dnl
213 ])dnl PKG_CHECK_MODULES
214
215
216 dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
217 dnl [ACTION-IF-NOT-FOUND])
218 dnl ---------------------------------------------------------------------
219 dnl Since: 0.29
220 dnl
221 dnl Checks for existence of MODULES and gathers its build flags with
222 dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
223 dnl and VARIABLE-PREFIX_LIBS from --libs.
224 dnl
225 dnl Note that if there is a possibility the first call to
226 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
227 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
228 dnl configure.ac.
229 AC_DEFUN([PKG_CHECK_MODULES_STATIC],
230 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
231 _save_PKG_CONFIG=$PKG_CONFIG
232 PKG_CONFIG="$PKG_CONFIG --static"
233 PKG_CHECK_MODULES($@)
234 PKG_CONFIG=$_save_PKG_CONFIG[]dnl
235 ])dnl PKG_CHECK_MODULES_STATIC
236
237
238 dnl PKG_INSTALLDIR([DIRECTORY])
239 dnl -------------------------
240 dnl Since: 0.27
241 dnl
242 dnl Substitutes the variable pkgconfigdir as the location where a module
243 dnl should install pkg-config .pc files. By default the directory is
244 dnl $libdir/pkgconfig, but the default can be changed by passing
245 dnl DIRECTORY. The user can override through the --with-pkgconfigdir
246 dnl parameter.
247 AC_DEFUN([PKG_INSTALLDIR],
248 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
249 m4_pushdef([pkg_description],
250 [pkg-config installation directory @<:@]pkg_default[@:>@])
251 AC_ARG_WITH([pkgconfigdir],
252 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
253 [with_pkgconfigdir=]pkg_default)
254 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
255 m4_popdef([pkg_default])
256 m4_popdef([pkg_description])
257 ])dnl PKG_INSTALLDIR
258
259
260 dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
261 dnl --------------------------------
262 dnl Since: 0.27
263 dnl
264 dnl Substitutes the variable noarch_pkgconfigdir as the location where a
265 dnl module should install arch-independent pkg-config .pc files. By
266 dnl default the directory is $datadir/pkgconfig, but the default can be
267 dnl changed by passing DIRECTORY. The user can override through the
268 dnl --with-noarch-pkgconfigdir parameter.
269 AC_DEFUN([PKG_NOARCH_INSTALLDIR],
270 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
271 m4_pushdef([pkg_description],
272 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
273 AC_ARG_WITH([noarch-pkgconfigdir],
274 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
275 [with_noarch_pkgconfigdir=]pkg_default)
276 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
277 m4_popdef([pkg_default])
278 m4_popdef([pkg_description])
279 ])dnl PKG_NOARCH_INSTALLDIR
280
281
282 dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
283 dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
284 dnl -------------------------------------------
285 dnl Since: 0.28
286 dnl
287 dnl Retrieves the value of the pkg-config variable for the given module.
288 AC_DEFUN([PKG_CHECK_VAR],
289 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
290 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
291
292 _PKG_CONFIG([$1], [variable="][$3]["], [$2])
293 AS_VAR_COPY([$1], [pkg_cv_][$1])
294
295 AS_VAR_IF([$1], [""], [$5], [$4])dnl
296 ])dnl PKG_CHECK_VAR
297
298 dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,
299 dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],
300 dnl [DESCRIPTION], [DEFAULT])
301 dnl ------------------------------------------
302 dnl
303 dnl Prepare a "--with-" configure option using the lowercase
304 dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and
305 dnl PKG_CHECK_MODULES in a single macro.
306 AC_DEFUN([PKG_WITH_MODULES],
307 [
308 m4_pushdef([with_arg], m4_tolower([$1]))
309
310 m4_pushdef([description],
311 [m4_default([$5], [build with ]with_arg[ support])])
312
313 m4_pushdef([def_arg], [m4_default([$6], [auto])])
314 m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes])
315 m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no])
316
317 m4_case(def_arg,
318 [yes],[m4_pushdef([with_without], [--without-]with_arg)],
319 [m4_pushdef([with_without],[--with-]with_arg)])
320
321 AC_ARG_WITH(with_arg,
322 AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),,
323 [AS_TR_SH([with_]with_arg)=def_arg])
324
325 AS_CASE([$AS_TR_SH([with_]with_arg)],
326 [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)],
327 [auto],[PKG_CHECK_MODULES([$1],[$2],
328 [m4_n([def_action_if_found]) $3],
329 [m4_n([def_action_if_not_found]) $4])])
330
331 m4_popdef([with_arg])
332 m4_popdef([description])
333 m4_popdef([def_arg])
334
335 ])dnl PKG_WITH_MODULES
336
337 dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
338 dnl [DESCRIPTION], [DEFAULT])
339 dnl -----------------------------------------------
340 dnl
341 dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES
342 dnl check._[VARIABLE-PREFIX] is exported as make variable.
343 AC_DEFUN([PKG_HAVE_WITH_MODULES],
344 [
345 PKG_WITH_MODULES([$1],[$2],,,[$3],[$4])
346
347 AM_CONDITIONAL([HAVE_][$1],
348 [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"])
349 ])dnl PKG_HAVE_WITH_MODULES
350
351 dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
352 dnl [DESCRIPTION], [DEFAULT])
353 dnl ------------------------------------------------------
354 dnl
355 dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after
356 dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make
357 dnl and preprocessor variable.
358 AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES],
359 [
360 PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4])
361
362 AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
363 [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
364 ])dnl PKG_HAVE_DEFINE_WITH_MODULES
365
366 dnl GLIB_GSETTINGS
367 dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
368 dnl the schema should be compiled
369 dnl
370
371 AC_DEFUN([GLIB_GSETTINGS],
372 [
373 m4_pattern_allow([AM_V_GEN])
374 AC_ARG_ENABLE(schemas-compile,
375 AS_HELP_STRING([--disable-schemas-compile],
376 [Disable regeneration of gschemas.compiled on install]),
377 [case ${enableval} in
378 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
379 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
380 *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;;
381 esac])
382 AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE])
383 PKG_PROG_PKG_CONFIG([0.16])
384 AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas])
385 if test x$cross_compiling != xyes; then
386 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
387 else
388 AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas)
389 fi
390 AC_SUBST(GLIB_COMPILE_SCHEMAS)
391 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
392 ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2])
393 else
394 ifelse([$1],,[:],[$1])
395 fi
396
397 GSETTINGS_RULES='
398 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
399
400 mostlyclean-am: clean-gsettings-schemas
401
402 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
403
404 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
405 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@
406
407 all-am: $(gsettings_SCHEMAS:.xml=.valid)
408 uninstall-am: uninstall-gsettings-schemas
409 install-data-am: install-gsettings-schemas
410
411 .SECONDARY: $(gsettings_SCHEMAS)
412
413 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
414 @$(NORMAL_INSTALL)
415 if test -n "$^"; then \
416 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
417 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
418 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
419 fi
420
421 uninstall-gsettings-schemas:
422 @$(NORMAL_UNINSTALL)
423 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
424 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
425 test -n "$$files" || exit 0; \
426 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
427 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
428 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
429
430 clean-gsettings-schemas:
431 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
432
433 ifdef gsettings_ENUM_NAMESPACE
434 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
435 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@
436 endif
437 '
438 _GSETTINGS_SUBST(GSETTINGS_RULES)
439 ])
440
441 dnl _GSETTINGS_SUBST(VARIABLE)
442 dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
443 AC_DEFUN([_GSETTINGS_SUBST],
444 [
445 AC_SUBST([$1])
446 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
447 ]
448 )
449
450 # Copyright (C) 2002-2017 Free Software Foundation, Inc.
451 #
452 # This file is free software; the Free Software Foundation
453 # gives unlimited permission to copy and/or distribute it,
454 # with or without modifications, as long as this notice is preserved.
455
456 # AM_AUTOMAKE_VERSION(VERSION)
457 # ----------------------------
458 # Automake X.Y traces this macro to ensure aclocal.m4 has been
459 # generated from the m4 files accompanying Automake X.Y.
460 # (This private macro should not be called outside this file.)
461 AC_DEFUN([AM_AUTOMAKE_VERSION],
462 [am__api_version='1.15'
463 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
464 dnl require some minimum version. Point them to the right macro.
465 m4_if([$1], [1.15.1], [],
466 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
467 ])
468
469 # _AM_AUTOCONF_VERSION(VERSION)
470 # -----------------------------
471 # aclocal traces this macro to find the Autoconf version.
472 # This is a private macro too. Using m4_define simplifies
473 # the logic in aclocal, which can simply ignore this definition.
474 m4_define([_AM_AUTOCONF_VERSION], [])
475
476 # AM_SET_CURRENT_AUTOMAKE_VERSION
477 # -------------------------------
478 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
479 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
480 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
481 [AM_AUTOMAKE_VERSION([1.15.1])dnl
482 m4_ifndef([AC_AUTOCONF_VERSION],
483 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
484 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
485
486 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
487
488 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
489 #
490 # This file is free software; the Free Software Foundation
491 # gives unlimited permission to copy and/or distribute it,
492 # with or without modifications, as long as this notice is preserved.
493
494 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
495 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
496 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
497 #
498 # Of course, Automake must honor this variable whenever it calls a
499 # tool from the auxiliary directory. The problem is that $srcdir (and
500 # therefore $ac_aux_dir as well) can be either absolute or relative,
501 # depending on how configure is run. This is pretty annoying, since
502 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
503 # source directory, any form will work fine, but in subdirectories a
504 # relative path needs to be adjusted first.
505 #
506 # $ac_aux_dir/missing
507 # fails when called from a subdirectory if $ac_aux_dir is relative
508 # $top_srcdir/$ac_aux_dir/missing
509 # fails if $ac_aux_dir is absolute,
510 # fails when called from a subdirectory in a VPATH build with
511 # a relative $ac_aux_dir
512 #
513 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
514 # are both prefixed by $srcdir. In an in-source build this is usually
515 # harmless because $srcdir is '.', but things will broke when you
516 # start a VPATH build or use an absolute $srcdir.
517 #
518 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
519 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
520 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
521 # and then we would define $MISSING as
522 # MISSING="\${SHELL} $am_aux_dir/missing"
523 # This will work as long as MISSING is not called from configure, because
524 # unfortunately $(top_srcdir) has no meaning in configure.
525 # However there are other variables, like CC, which are often used in
526 # configure, and could therefore not use this "fixed" $ac_aux_dir.
527 #
528 # Another solution, used here, is to always expand $ac_aux_dir to an
529 # absolute PATH. The drawback is that using absolute paths prevent a
530 # configured tree to be moved without reconfiguration.
531
532 AC_DEFUN([AM_AUX_DIR_EXPAND],
533 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
534 # Expand $ac_aux_dir to an absolute path.
535 am_aux_dir=`cd "$ac_aux_dir" && pwd`
536 ])
537
538 # AM_CONDITIONAL -*- Autoconf -*-
539
540 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
541 #
542 # This file is free software; the Free Software Foundation
543 # gives unlimited permission to copy and/or distribute it,
544 # with or without modifications, as long as this notice is preserved.
545
546 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
547 # -------------------------------------
548 # Define a conditional.
549 AC_DEFUN([AM_CONDITIONAL],
550 [AC_PREREQ([2.52])dnl
551 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
552 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
553 AC_SUBST([$1_TRUE])dnl
554 AC_SUBST([$1_FALSE])dnl
555 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
556 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
557 m4_define([_AM_COND_VALUE_$1], [$2])dnl
558 if $2; then
559 $1_TRUE=
560 $1_FALSE='#'
561 else
562 $1_TRUE='#'
563 $1_FALSE=
564 fi
565 AC_CONFIG_COMMANDS_PRE(
566 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
567 AC_MSG_ERROR([[conditional "$1" was never defined.
568 Usually this means the macro was only invoked conditionally.]])
569 fi])])
570
571 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
572 #
573 # This file is free software; the Free Software Foundation
574 # gives unlimited permission to copy and/or distribute it,
575 # with or without modifications, as long as this notice is preserved.
576
577
578 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
579 # written in clear, in which case automake, when reading aclocal.m4,
580 # will think it sees a *use*, and therefore will trigger all it's
581 # C support machinery. Also note that it means that autoscan, seeing
582 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
583
584
585 # _AM_DEPENDENCIES(NAME)
586 # ----------------------
587 # See how the compiler implements dependency checking.
588 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
589 # We try a few techniques and use that to set a single cache variable.
590 #
591 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
592 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
593 # dependency, and given that the user is not expected to run this macro,
594 # just rely on AC_PROG_CC.
595 AC_DEFUN([_AM_DEPENDENCIES],
596 [AC_REQUIRE([AM_SET_DEPDIR])dnl
597 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
598 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
599 AC_REQUIRE([AM_DEP_TRACK])dnl
600
601 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
602 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
603 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
604 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
605 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
606 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
607 [depcc="$$1" am_compiler_list=])
608
609 AC_CACHE_CHECK([dependency style of $depcc],
610 [am_cv_$1_dependencies_compiler_type],
611 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
612 # We make a subdir and do the tests there. Otherwise we can end up
613 # making bogus files that we don't know about and never remove. For
614 # instance it was reported that on HP-UX the gcc test will end up
615 # making a dummy file named 'D' -- because '-MD' means "put the output
616 # in D".
617 rm -rf conftest.dir
618 mkdir conftest.dir
619 # Copy depcomp to subdir because otherwise we won't find it if we're
620 # using a relative directory.
621 cp "$am_depcomp" conftest.dir
622 cd conftest.dir
623 # We will build objects and dependencies in a subdirectory because
624 # it helps to detect inapplicable dependency modes. For instance
625 # both Tru64's cc and ICC support -MD to output dependencies as a
626 # side effect of compilation, but ICC will put the dependencies in
627 # the current directory while Tru64 will put them in the object
628 # directory.
629 mkdir sub
630
631 am_cv_$1_dependencies_compiler_type=none
632 if test "$am_compiler_list" = ""; then
633 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
634 fi
635 am__universal=false
636 m4_case([$1], [CC],
637 [case " $depcc " in #(
638 *\ -arch\ *\ -arch\ *) am__universal=true ;;
639 esac],
640 [CXX],
641 [case " $depcc " in #(
642 *\ -arch\ *\ -arch\ *) am__universal=true ;;
643 esac])
644
645 for depmode in $am_compiler_list; do
646 # Setup a source with many dependencies, because some compilers
647 # like to wrap large dependency lists on column 80 (with \), and
648 # we should not choose a depcomp mode which is confused by this.
649 #
650 # We need to recreate these files for each test, as the compiler may
651 # overwrite some of them when testing with obscure command lines.
652 # This happens at least with the AIX C compiler.
653 : > sub/conftest.c
654 for i in 1 2 3 4 5 6; do
655 echo '#include "conftst'$i'.h"' >> sub/conftest.c
656 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
657 # Solaris 10 /bin/sh.
658 echo '/* dummy */' > sub/conftst$i.h
659 done
660 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
661
662 # We check with '-c' and '-o' for the sake of the "dashmstdout"
663 # mode. It turns out that the SunPro C++ compiler does not properly
664 # handle '-M -o', and we need to detect this. Also, some Intel
665 # versions had trouble with output in subdirs.
666 am__obj=sub/conftest.${OBJEXT-o}
667 am__minus_obj="-o $am__obj"
668 case $depmode in
669 gcc)
670 # This depmode causes a compiler race in universal mode.
671 test "$am__universal" = false || continue
672 ;;
673 nosideeffect)
674 # After this tag, mechanisms are not by side-effect, so they'll
675 # only be used when explicitly requested.
676 if test "x$enable_dependency_tracking" = xyes; then
677 continue
678 else
679 break
680 fi
681 ;;
682 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
683 # This compiler won't grok '-c -o', but also, the minuso test has
684 # not run yet. These depmodes are late enough in the game, and
685 # so weak that their functioning should not be impacted.
686 am__obj=conftest.${OBJEXT-o}
687 am__minus_obj=
688 ;;
689 none) break ;;
690 esac
691 if depmode=$depmode \
692 source=sub/conftest.c object=$am__obj \
693 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
694 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
695 >/dev/null 2>conftest.err &&
696 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
697 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
698 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
699 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
700 # icc doesn't choke on unknown options, it will just issue warnings
701 # or remarks (even with -Werror). So we grep stderr for any message
702 # that says an option was ignored or not supported.
703 # When given -MP, icc 7.0 and 7.1 complain thusly:
704 # icc: Command line warning: ignoring option '-M'; no argument required
705 # The diagnosis changed in icc 8.0:
706 # icc: Command line remark: option '-MP' not supported
707 if (grep 'ignoring option' conftest.err ||
708 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
709 am_cv_$1_dependencies_compiler_type=$depmode
710 break
711 fi
712 fi
713 done
714
715 cd ..
716 rm -rf conftest.dir
717 else
718 am_cv_$1_dependencies_compiler_type=none
719 fi
720 ])
721 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
722 AM_CONDITIONAL([am__fastdep$1], [
723 test "x$enable_dependency_tracking" != xno \
724 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
725 ])
726
727
728 # AM_SET_DEPDIR
729 # -------------
730 # Choose a directory name for dependency files.
731 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
732 AC_DEFUN([AM_SET_DEPDIR],
733 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
734 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
735 ])
736
737
738 # AM_DEP_TRACK
739 # ------------
740 AC_DEFUN([AM_DEP_TRACK],
741 [AC_ARG_ENABLE([dependency-tracking], [dnl
742 AS_HELP_STRING(
743 [--enable-dependency-tracking],
744 [do not reject slow dependency extractors])
745 AS_HELP_STRING(
746 [--disable-dependency-tracking],
747 [speeds up one-time build])])
748 if test "x$enable_dependency_tracking" != xno; then
749 am_depcomp="$ac_aux_dir/depcomp"
750 AMDEPBACKSLASH='\'
751 am__nodep='_no'
752 fi
753 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
754 AC_SUBST([AMDEPBACKSLASH])dnl
755 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
756 AC_SUBST([am__nodep])dnl
757 _AM_SUBST_NOTMAKE([am__nodep])dnl
758 ])
759
760 # Generate code to set up dependency tracking. -*- Autoconf -*-
761
762 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
763 #
764 # This file is free software; the Free Software Foundation
765 # gives unlimited permission to copy and/or distribute it,
766 # with or without modifications, as long as this notice is preserved.
767
768
769 # _AM_OUTPUT_DEPENDENCY_COMMANDS
770 # ------------------------------
771 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
772 [{
773 # Older Autoconf quotes --file arguments for eval, but not when files
774 # are listed without --file. Let's play safe and only enable the eval
775 # if we detect the quoting.
776 case $CONFIG_FILES in
777 *\'*) eval set x "$CONFIG_FILES" ;;
778 *) set x $CONFIG_FILES ;;
779 esac
780 shift
781 for mf
782 do
783 # Strip MF so we end up with the name of the file.
784 mf=`echo "$mf" | sed -e 's/:.*$//'`
785 # Check whether this is an Automake generated Makefile or not.
786 # We used to match only the files named 'Makefile.in', but
787 # some people rename them; so instead we look at the file content.
788 # Grep'ing the first line is not enough: some people post-process
789 # each Makefile.in and add a new line on top of each file to say so.
790 # Grep'ing the whole file is not good either: AIX grep has a line
791 # limit of 2048, but all sed's we know have understand at least 4000.
792 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
793 dirpart=`AS_DIRNAME("$mf")`
794 else
795 continue
796 fi
797 # Extract the definition of DEPDIR, am__include, and am__quote
798 # from the Makefile without running 'make'.
799 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
800 test -z "$DEPDIR" && continue
801 am__include=`sed -n 's/^am__include = //p' < "$mf"`
802 test -z "$am__include" && continue
803 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
804 # Find all dependency output files, they are included files with
805 # $(DEPDIR) in their names. We invoke sed twice because it is the
806 # simplest approach to changing $(DEPDIR) to its actual value in the
807 # expansion.
808 for file in `sed -n "
809 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
810 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
811 # Make sure the directory exists.
812 test -f "$dirpart/$file" && continue
813 fdir=`AS_DIRNAME(["$file"])`
814 AS_MKDIR_P([$dirpart/$fdir])
815 # echo "creating $dirpart/$file"
816 echo '# dummy' > "$dirpart/$file"
817 done
818 done
819 }
820 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
821
822
823 # AM_OUTPUT_DEPENDENCY_COMMANDS
824 # -----------------------------
825 # This macro should only be invoked once -- use via AC_REQUIRE.
826 #
827 # This code is only required when automatic dependency tracking
828 # is enabled. FIXME. This creates each '.P' file that we will
829 # need in order to bootstrap the dependency handling code.
830 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
831 [AC_CONFIG_COMMANDS([depfiles],
832 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
833 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
834 ])
835
836 # Do all the work for Automake. -*- Autoconf -*-
837
838 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
839 #
840 # This file is free software; the Free Software Foundation
841 # gives unlimited permission to copy and/or distribute it,
842 # with or without modifications, as long as this notice is preserved.
843
844 # This macro actually does too much. Some checks are only needed if
845 # your package does certain things. But this isn't really a big deal.
846
847 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
848 m4_define([AC_PROG_CC],
849 m4_defn([AC_PROG_CC])
850 [_AM_PROG_CC_C_O
851 ])
852
853 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
854 # AM_INIT_AUTOMAKE([OPTIONS])
855 # -----------------------------------------------
856 # The call with PACKAGE and VERSION arguments is the old style
857 # call (pre autoconf-2.50), which is being phased out. PACKAGE
858 # and VERSION should now be passed to AC_INIT and removed from
859 # the call to AM_INIT_AUTOMAKE.
860 # We support both call styles for the transition. After
861 # the next Automake release, Autoconf can make the AC_INIT
862 # arguments mandatory, and then we can depend on a new Autoconf
863 # release and drop the old call support.
864 AC_DEFUN([AM_INIT_AUTOMAKE],
865 [AC_PREREQ([2.65])dnl
866 dnl Autoconf wants to disallow AM_ names. We explicitly allow
867 dnl the ones we care about.
868 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
869 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
870 AC_REQUIRE([AC_PROG_INSTALL])dnl
871 if test "`cd $srcdir && pwd`" != "`pwd`"; then
872 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
873 # is not polluted with repeated "-I."
874 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
875 # test to see if srcdir already configured
876 if test -f $srcdir/config.status; then
877 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
878 fi
879 fi
880
881 # test whether we have cygpath
882 if test -z "$CYGPATH_W"; then
883 if (cygpath --version) >/dev/null 2>/dev/null; then
884 CYGPATH_W='cygpath -w'
885 else
886 CYGPATH_W=echo
887 fi
888 fi
889 AC_SUBST([CYGPATH_W])
890
891 # Define the identity of the package.
892 dnl Distinguish between old-style and new-style calls.
893 m4_ifval([$2],
894 [AC_DIAGNOSE([obsolete],
895 [$0: two- and three-arguments forms are deprecated.])
896 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
897 AC_SUBST([PACKAGE], [$1])dnl
898 AC_SUBST([VERSION], [$2])],
899 [_AM_SET_OPTIONS([$1])dnl
900 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
901 m4_if(
902 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
903 [ok:ok],,
904 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
905 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
906 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
907
908 _AM_IF_OPTION([no-define],,
909 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
910 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
911
912 # Some tools Automake needs.
913 AC_REQUIRE([AM_SANITY_CHECK])dnl
914 AC_REQUIRE([AC_ARG_PROGRAM])dnl
915 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
916 AM_MISSING_PROG([AUTOCONF], [autoconf])
917 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
918 AM_MISSING_PROG([AUTOHEADER], [autoheader])
919 AM_MISSING_PROG([MAKEINFO], [makeinfo])
920 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
921 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
922 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
923 # For better backward compatibility. To be removed once Automake 1.9.x
924 # dies out for good. For more background, see:
925 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
926 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
927 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
928 # We need awk for the "check" target (and possibly the TAP driver). The
929 # system "awk" is bad on some platforms.
930 AC_REQUIRE([AC_PROG_AWK])dnl
931 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
932 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
933 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
934 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
935 [_AM_PROG_TAR([v7])])])
936 _AM_IF_OPTION([no-dependencies],,
937 [AC_PROVIDE_IFELSE([AC_PROG_CC],
938 [_AM_DEPENDENCIES([CC])],
939 [m4_define([AC_PROG_CC],
940 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
941 AC_PROVIDE_IFELSE([AC_PROG_CXX],
942 [_AM_DEPENDENCIES([CXX])],
943 [m4_define([AC_PROG_CXX],
944 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
945 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
946 [_AM_DEPENDENCIES([OBJC])],
947 [m4_define([AC_PROG_OBJC],
948 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
949 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
950 [_AM_DEPENDENCIES([OBJCXX])],
951 [m4_define([AC_PROG_OBJCXX],
952 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
953 ])
954 AC_REQUIRE([AM_SILENT_RULES])dnl
955 dnl The testsuite driver may need to know about EXEEXT, so add the
956 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
957 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
958 AC_CONFIG_COMMANDS_PRE(dnl
959 [m4_provide_if([_AM_COMPILER_EXEEXT],
960 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
961
962 # POSIX will say in a future version that running "rm -f" with no argument
963 # is OK; and we want to be able to make that assumption in our Makefile
964 # recipes. So use an aggressive probe to check that the usage we want is
965 # actually supported "in the wild" to an acceptable degree.
966 # See automake bug#10828.
967 # To make any issue more visible, cause the running configure to be aborted
968 # by default if the 'rm' program in use doesn't match our expectations; the
969 # user can still override this though.
970 if rm -f && rm -fr && rm -rf; then : OK; else
971 cat >&2 <<'END'
972 Oops!
973
974 Your 'rm' program seems unable to run without file operands specified
975 on the command line, even when the '-f' option is present. This is contrary
976 to the behaviour of most rm programs out there, and not conforming with
977 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
978
979 Please tell [email protected] about your system, including the value
980 of your $PATH and any error possibly output before this message. This
981 can help us improve future automake versions.
982
983 END
984 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
985 echo 'Configuration will proceed anyway, since you have set the' >&2
986 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
987 echo >&2
988 else
989 cat >&2 <<'END'
990 Aborting the configuration process, to ensure you take notice of the issue.
991
992 You can download and install GNU coreutils to get an 'rm' implementation
993 that behaves properly: <http://www.gnu.org/software/coreutils/>.
994
995 If you want to complete the configuration process using your problematic
996 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
997 to "yes", and re-run configure.
998
999 END
1000 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1001 fi
1002 fi
1003 dnl The trailing newline in this macro's definition is deliberate, for
1004 dnl backward compatibility and to allow trailing 'dnl'-style comments
1005 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
1006 ])
1007
1008 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1009 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1010 dnl mangled by Autoconf and run in a shell conditional statement.
1011 m4_define([_AC_COMPILER_EXEEXT],
1012 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1013
1014 # When config.status generates a header, we must update the stamp-h file.
1015 # This file resides in the same directory as the config header
1016 # that is generated. The stamp files are numbered to have different names.
1017
1018 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1019 # loop where config.status creates the headers, so we can generate
1020 # our stamp files there.
1021 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1022 [# Compute $1's index in $config_headers.
1023 _am_arg=$1
1024 _am_stamp_count=1
1025 for _am_header in $config_headers :; do
1026 case $_am_header in
1027 $_am_arg | $_am_arg:* )
1028 break ;;
1029 * )
1030 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1031 esac
1032 done
1033 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1034
1035 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1036 #
1037 # This file is free software; the Free Software Foundation
1038 # gives unlimited permission to copy and/or distribute it,
1039 # with or without modifications, as long as this notice is preserved.
1040
1041 # AM_PROG_INSTALL_SH
1042 # ------------------
1043 # Define $install_sh.
1044 AC_DEFUN([AM_PROG_INSTALL_SH],
1045 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1046 if test x"${install_sh+set}" != xset; then
1047 case $am_aux_dir in
1048 *\ * | *\ *)
1049 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1050 *)
1051 install_sh="\${SHELL} $am_aux_dir/install-sh"
1052 esac
1053 fi
1054 AC_SUBST([install_sh])])
1055
1056 # Copyright (C) 2003-2017 Free Software Foundation, Inc.
1057 #
1058 # This file is free software; the Free Software Foundation
1059 # gives unlimited permission to copy and/or distribute it,
1060 # with or without modifications, as long as this notice is preserved.
1061
1062 # Check whether the underlying file-system supports filenames
1063 # with a leading dot. For instance MS-DOS doesn't.
1064 AC_DEFUN([AM_SET_LEADING_DOT],
1065 [rm -rf .tst 2>/dev/null
1066 mkdir .tst 2>/dev/null
1067 if test -d .tst; then
1068 am__leading_dot=.
1069 else
1070 am__leading_dot=_
1071 fi
1072 rmdir .tst 2>/dev/null
1073 AC_SUBST([am__leading_dot])])
1074
1075 # Check to see how 'make' treats includes. -*- Autoconf -*-
1076
1077 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1078 #
1079 # This file is free software; the Free Software Foundation
1080 # gives unlimited permission to copy and/or distribute it,
1081 # with or without modifications, as long as this notice is preserved.
1082
1083 # AM_MAKE_INCLUDE()
1084 # -----------------
1085 # Check to see how make treats includes.
1086 AC_DEFUN([AM_MAKE_INCLUDE],
1087 [am_make=${MAKE-make}
1088 cat > confinc << 'END'
1089 am__doit:
1090 @echo this is the am__doit target
1091 .PHONY: am__doit
1092 END
1093 # If we don't find an include directive, just comment out the code.
1094 AC_MSG_CHECKING([for style of include used by $am_make])
1095 am__include="#"
1096 am__quote=
1097 _am_result=none
1098 # First try GNU make style include.
1099 echo "include confinc" > confmf
1100 # Ignore all kinds of additional output from 'make'.
1101 case `$am_make -s -f confmf 2> /dev/null` in #(
1102 *the\ am__doit\ target*)
1103 am__include=include
1104 am__quote=
1105 _am_result=GNU
1106 ;;
1107 esac
1108 # Now try BSD make style include.
1109 if test "$am__include" = "#"; then
1110 echo '.include "confinc"' > confmf
1111 case `$am_make -s -f confmf 2> /dev/null` in #(
1112 *the\ am__doit\ target*)
1113 am__include=.include
1114 am__quote="\""
1115 _am_result=BSD
1116 ;;
1117 esac
1118 fi
1119 AC_SUBST([am__include])
1120 AC_SUBST([am__quote])
1121 AC_MSG_RESULT([$_am_result])
1122 rm -f confinc confmf
1123 ])
1124
1125 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1126
1127 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
1128 #
1129 # This file is free software; the Free Software Foundation
1130 # gives unlimited permission to copy and/or distribute it,
1131 # with or without modifications, as long as this notice is preserved.
1132
1133 # AM_MISSING_PROG(NAME, PROGRAM)
1134 # ------------------------------
1135 AC_DEFUN([AM_MISSING_PROG],
1136 [AC_REQUIRE([AM_MISSING_HAS_RUN])
1137 $1=${$1-"${am_missing_run}$2"}
1138 AC_SUBST($1)])
1139
1140 # AM_MISSING_HAS_RUN
1141 # ------------------
1142 # Define MISSING if not defined so far and test if it is modern enough.
1143 # If it is, set am_missing_run to use it, otherwise, to nothing.
1144 AC_DEFUN([AM_MISSING_HAS_RUN],
1145 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1146 AC_REQUIRE_AUX_FILE([missing])dnl
1147 if test x"${MISSING+set}" != xset; then
1148 case $am_aux_dir in
1149 *\ * | *\ *)
1150 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1151 *)
1152 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1153 esac
1154 fi
1155 # Use eval to expand $SHELL
1156 if eval "$MISSING --is-lightweight"; then
1157 am_missing_run="$MISSING "
1158 else
1159 am_missing_run=
1160 AC_MSG_WARN(['missing' script is too old or missing])
1161 fi
1162 ])
1163
1164 # Helper functions for option handling. -*- Autoconf -*-
1165
1166 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1167 #
1168 # This file is free software; the Free Software Foundation
1169 # gives unlimited permission to copy and/or distribute it,
1170 # with or without modifications, as long as this notice is preserved.
1171
1172 # _AM_MANGLE_OPTION(NAME)
1173 # -----------------------
1174 AC_DEFUN([_AM_MANGLE_OPTION],
1175 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1176
1177 # _AM_SET_OPTION(NAME)
1178 # --------------------
1179 # Set option NAME. Presently that only means defining a flag for this option.
1180 AC_DEFUN([_AM_SET_OPTION],
1181 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1182
1183 # _AM_SET_OPTIONS(OPTIONS)
1184 # ------------------------
1185 # OPTIONS is a space-separated list of Automake options.
1186 AC_DEFUN([_AM_SET_OPTIONS],
1187 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1188
1189 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1190 # -------------------------------------------
1191 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1192 AC_DEFUN([_AM_IF_OPTION],
1193 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1194
1195 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
1196 #
1197 # This file is free software; the Free Software Foundation
1198 # gives unlimited permission to copy and/or distribute it,
1199 # with or without modifications, as long as this notice is preserved.
1200
1201 # _AM_PROG_CC_C_O
1202 # ---------------
1203 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
1204 # to automatically call this.
1205 AC_DEFUN([_AM_PROG_CC_C_O],
1206 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1207 AC_REQUIRE_AUX_FILE([compile])dnl
1208 AC_LANG_PUSH([C])dnl
1209 AC_CACHE_CHECK(
1210 [whether $CC understands -c and -o together],
1211 [am_cv_prog_cc_c_o],
1212 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1213 # Make sure it works both with $CC and with simple cc.
1214 # Following AC_PROG_CC_C_O, we do the test twice because some
1215 # compilers refuse to overwrite an existing .o file with -o,
1216 # though they will create one.
1217 am_cv_prog_cc_c_o=yes
1218 for am_i in 1 2; do
1219 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1220 && test -f conftest2.$ac_objext; then
1221 : OK
1222 else
1223 am_cv_prog_cc_c_o=no
1224 break
1225 fi
1226 done
1227 rm -f core conftest*
1228 unset am_i])
1229 if test "$am_cv_prog_cc_c_o" != yes; then
1230 # Losing compiler, so override with the script.
1231 # FIXME: It is wrong to rewrite CC.
1232 # But if we don't then we get into trouble of one sort or another.
1233 # A longer-term fix would be to have automake use am__CC in this case,
1234 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1235 CC="$am_aux_dir/compile $CC"
1236 fi
1237 AC_LANG_POP([C])])
1238
1239 # For backward compatibility.
1240 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1241
1242 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1243 #
1244 # This file is free software; the Free Software Foundation
1245 # gives unlimited permission to copy and/or distribute it,
1246 # with or without modifications, as long as this notice is preserved.
1247
1248 # AM_RUN_LOG(COMMAND)
1249 # -------------------
1250 # Run COMMAND, save the exit status in ac_status, and log it.
1251 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1252 AC_DEFUN([AM_RUN_LOG],
1253 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1254 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1255 ac_status=$?
1256 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1257 (exit $ac_status); }])
1258
1259 # Check to make sure that the build environment is sane. -*- Autoconf -*-
1260
1261 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
1262 #
1263 # This file is free software; the Free Software Foundation
1264 # gives unlimited permission to copy and/or distribute it,
1265 # with or without modifications, as long as this notice is preserved.
1266
1267 # AM_SANITY_CHECK
1268 # ---------------
1269 AC_DEFUN([AM_SANITY_CHECK],
1270 [AC_MSG_CHECKING([whether build environment is sane])
1271 # Reject unsafe characters in $srcdir or the absolute working directory
1272 # name. Accept space and tab only in the latter.
1273 am_lf='
1274 '
1275 case `pwd` in
1276 *[[\\\"\#\$\&\'\`$am_lf]]*)
1277 AC_MSG_ERROR([unsafe absolute working directory name]);;
1278 esac
1279 case $srcdir in
1280 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1281 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1282 esac
1283
1284 # Do 'set' in a subshell so we don't clobber the current shell's
1285 # arguments. Must try -L first in case configure is actually a
1286 # symlink; some systems play weird games with the mod time of symlinks
1287 # (eg FreeBSD returns the mod time of the symlink's containing
1288 # directory).
1289 if (
1290 am_has_slept=no
1291 for am_try in 1 2; do
1292 echo "timestamp, slept: $am_has_slept" > conftest.file
1293 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1294 if test "$[*]" = "X"; then
1295 # -L didn't work.
1296 set X `ls -t "$srcdir/configure" conftest.file`
1297 fi
1298 if test "$[*]" != "X $srcdir/configure conftest.file" \
1299 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1300
1301 # If neither matched, then we have a broken ls. This can happen
1302 # if, for instance, CONFIG_SHELL is bash and it inherits a
1303 # broken ls alias from the environment. This has actually
1304 # happened. Such a system could not be considered "sane".
1305 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1306 alias in your environment])
1307 fi
1308 if test "$[2]" = conftest.file || test $am_try -eq 2; then
1309 break
1310 fi
1311 # Just in case.
1312 sleep 1
1313 am_has_slept=yes
1314 done
1315 test "$[2]" = conftest.file
1316 )
1317 then
1318 # Ok.
1319 :
1320 else
1321 AC_MSG_ERROR([newly created file is older than distributed files!
1322 Check your system clock])
1323 fi
1324 AC_MSG_RESULT([yes])
1325 # If we didn't sleep, we still need to ensure time stamps of config.status and
1326 # generated files are strictly newer.
1327 am_sleep_pid=
1328 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1329 ( sleep 1 ) &
1330 am_sleep_pid=$!
1331 fi
1332 AC_CONFIG_COMMANDS_PRE(
1333 [AC_MSG_CHECKING([that generated files are newer than configure])
1334 if test -n "$am_sleep_pid"; then
1335 # Hide warnings about reused PIDs.
1336 wait $am_sleep_pid 2>/dev/null
1337 fi
1338 AC_MSG_RESULT([done])])
1339 rm -f conftest.file
1340 ])
1341
1342 # Copyright (C) 2009-2017 Free Software Foundation, Inc.
1343 #
1344 # This file is free software; the Free Software Foundation
1345 # gives unlimited permission to copy and/or distribute it,
1346 # with or without modifications, as long as this notice is preserved.
1347
1348 # AM_SILENT_RULES([DEFAULT])
1349 # --------------------------
1350 # Enable less verbose build rules; with the default set to DEFAULT
1351 # ("yes" being less verbose, "no" or empty being verbose).
1352 AC_DEFUN([AM_SILENT_RULES],
1353 [AC_ARG_ENABLE([silent-rules], [dnl
1354 AS_HELP_STRING(
1355 [--enable-silent-rules],
1356 [less verbose build output (undo: "make V=1")])
1357 AS_HELP_STRING(
1358 [--disable-silent-rules],
1359 [verbose build output (undo: "make V=0")])dnl
1360 ])
1361 case $enable_silent_rules in @%:@ (((
1362 yes) AM_DEFAULT_VERBOSITY=0;;
1363 no) AM_DEFAULT_VERBOSITY=1;;
1364 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1365 esac
1366 dnl
1367 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1368 dnl do not support nested variable expansions.
1369 dnl See automake bug#9928 and bug#10237.
1370 am_make=${MAKE-make}
1371 AC_CACHE_CHECK([whether $am_make supports nested variables],
1372 [am_cv_make_support_nested_variables],
1373 [if AS_ECHO([['TRUE=$(BAR$(V))
1374 BAR0=false
1375 BAR1=true
1376 V=1
1377 am__doit:
1378 @$(TRUE)
1379 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1380 am_cv_make_support_nested_variables=yes
1381 else
1382 am_cv_make_support_nested_variables=no
1383 fi])
1384 if test $am_cv_make_support_nested_variables = yes; then
1385 dnl Using '$V' instead of '$(V)' breaks IRIX make.
1386 AM_V='$(V)'
1387 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1388 else
1389 AM_V=$AM_DEFAULT_VERBOSITY
1390 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1391 fi
1392 AC_SUBST([AM_V])dnl
1393 AM_SUBST_NOTMAKE([AM_V])dnl
1394 AC_SUBST([AM_DEFAULT_V])dnl
1395 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1396 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1397 AM_BACKSLASH='\'
1398 AC_SUBST([AM_BACKSLASH])dnl
1399 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1400 ])
1401
1402 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1403 #
1404 # This file is free software; the Free Software Foundation
1405 # gives unlimited permission to copy and/or distribute it,
1406 # with or without modifications, as long as this notice is preserved.
1407
1408 # AM_PROG_INSTALL_STRIP
1409 # ---------------------
1410 # One issue with vendor 'install' (even GNU) is that you can't
1411 # specify the program used to strip binaries. This is especially
1412 # annoying in cross-compiling environments, where the build's strip
1413 # is unlikely to handle the host's binaries.
1414 # Fortunately install-sh will honor a STRIPPROG variable, so we
1415 # always use install-sh in "make install-strip", and initialize
1416 # STRIPPROG with the value of the STRIP variable (set by the user).
1417 AC_DEFUN([AM_PROG_INSTALL_STRIP],
1418 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1419 # Installed binaries are usually stripped using 'strip' when the user
1420 # run "make install-strip". However 'strip' might not be the right
1421 # tool to use in cross-compilation environments, therefore Automake
1422 # will honor the 'STRIP' environment variable to overrule this program.
1423 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1424 if test "$cross_compiling" != no; then
1425 AC_CHECK_TOOL([STRIP], [strip], :)
1426 fi
1427 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1428 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1429
1430 # Copyright (C) 2006-2017 Free Software Foundation, Inc.
1431 #
1432 # This file is free software; the Free Software Foundation
1433 # gives unlimited permission to copy and/or distribute it,
1434 # with or without modifications, as long as this notice is preserved.
1435
1436 # _AM_SUBST_NOTMAKE(VARIABLE)
1437 # ---------------------------
1438 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1439 # This macro is traced by Automake.
1440 AC_DEFUN([_AM_SUBST_NOTMAKE])
1441
1442 # AM_SUBST_NOTMAKE(VARIABLE)
1443 # --------------------------
1444 # Public sister of _AM_SUBST_NOTMAKE.
1445 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1446
1447 # Check how to create a tarball. -*- Autoconf -*-
1448
1449 # Copyright (C) 2004-2017 Free Software Foundation, Inc.
1450 #
1451 # This file is free software; the Free Software Foundation
1452 # gives unlimited permission to copy and/or distribute it,
1453 # with or without modifications, as long as this notice is preserved.
1454
1455 # _AM_PROG_TAR(FORMAT)
1456 # --------------------
1457 # Check how to create a tarball in format FORMAT.
1458 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
1459 #
1460 # Substitute a variable $(am__tar) that is a command
1461 # writing to stdout a FORMAT-tarball containing the directory
1462 # $tardir.
1463 # tardir=directory && $(am__tar) > result.tar
1464 #
1465 # Substitute a variable $(am__untar) that extract such
1466 # a tarball read from stdin.
1467 # $(am__untar) < result.tar
1468 #
1469 AC_DEFUN([_AM_PROG_TAR],
1470 [# Always define AMTAR for backward compatibility. Yes, it's still used
1471 # in the wild :-( We should find a proper way to deprecate it ...
1472 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1473
1474 # We'll loop over all known methods to create a tar archive until one works.
1475 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1476
1477 m4_if([$1], [v7],
1478 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1479
1480 [m4_case([$1],
1481 [ustar],
1482 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1483 # There is notably a 21 bits limit for the UID and the GID. In fact,
1484 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1485 # and bug#13588).
1486 am_max_uid=2097151 # 2^21 - 1
1487 am_max_gid=$am_max_uid
1488 # The $UID and $GID variables are not portable, so we need to resort
1489 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1490 # below are definitely unexpected, so allow the users to see them
1491 # (that is, avoid stderr redirection).
1492 am_uid=`id -u || echo unknown`
1493 am_gid=`id -g || echo unknown`
1494 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1495 if test $am_uid -le $am_max_uid; then
1496 AC_MSG_RESULT([yes])
1497 else
1498 AC_MSG_RESULT([no])
1499 _am_tools=none
1500 fi
1501 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1502 if test $am_gid -le $am_max_gid; then
1503 AC_MSG_RESULT([yes])
1504 else
1505 AC_MSG_RESULT([no])
1506 _am_tools=none
1507 fi],
1508
1509 [pax],
1510 [],
1511
1512 [m4_fatal([Unknown tar format])])
1513
1514 AC_MSG_CHECKING([how to create a $1 tar archive])
1515
1516 # Go ahead even if we have the value already cached. We do so because we
1517 # need to set the values for the 'am__tar' and 'am__untar' variables.
1518 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1519
1520 for _am_tool in $_am_tools; do
1521 case $_am_tool in
1522 gnutar)
1523 for _am_tar in tar gnutar gtar; do
1524 AM_RUN_LOG([$_am_tar --version]) && break
1525 done
1526 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1527 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1528 am__untar="$_am_tar -xf -"
1529 ;;
1530 plaintar)
1531 # Must skip GNU tar: if it does not support --format= it doesn't create
1532 # ustar tarball either.
1533 (tar --version) >/dev/null 2>&1 && continue
1534 am__tar='tar chf - "$$tardir"'
1535 am__tar_='tar chf - "$tardir"'
1536 am__untar='tar xf -'
1537 ;;
1538 pax)
1539 am__tar='pax -L -x $1 -w "$$tardir"'
1540 am__tar_='pax -L -x $1 -w "$tardir"'
1541 am__untar='pax -r'
1542 ;;
1543 cpio)
1544 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1545 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1546 am__untar='cpio -i -H $1 -d'
1547 ;;
1548 none)
1549 am__tar=false
1550 am__tar_=false
1551 am__untar=false
1552 ;;
1553 esac
1554
1555 # If the value was cached, stop now. We just wanted to have am__tar
1556 # and am__untar set.
1557 test -n "${am_cv_prog_tar_$1}" && break
1558
1559 # tar/untar a dummy directory, and stop if the command works.
1560 rm -rf conftest.dir
1561 mkdir conftest.dir
1562 echo GrepMe > conftest.dir/file
1563 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1564 rm -rf conftest.dir
1565 if test -s conftest.tar; then
1566 AM_RUN_LOG([$am__untar <conftest.tar])
1567 AM_RUN_LOG([cat conftest.dir/file])
1568 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1569 fi
1570 done
1571 rm -rf conftest.dir
1572
1573 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1574 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1575
1576 AC_SUBST([am__tar])
1577 AC_SUBST([am__untar])
1578 ]) # _AM_PROG_TAR
1579
1580 m4_include([m4/gettext.m4])
1581 m4_include([m4/iconv.m4])
1582 m4_include([m4/intlmacosx.m4])
1583 m4_include([m4/lib-ld.m4])
1584 m4_include([m4/lib-link.m4])
1585 m4_include([m4/lib-prefix.m4])
1586 m4_include([m4/nls.m4])
1587 m4_include([m4/po.m4])
1588 m4_include([m4/progtest.m4])
+0
-348
config/compile less more
0 #! /bin/sh
1 # Wrapper for compilers which do not understand '-c -o'.
2
3 scriptversion=2016-01-11.22; # UTC
4
5 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
6 # Written by Tom Tromey <[email protected]>.
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 # As a special exception to the GNU General Public License, if you
22 # distribute this file as part of a program that contains a
23 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26 # This file is maintained in Automake, please report
27 # bugs to <[email protected]> or send patches to
28 # <[email protected]>.
29
30 nl='
31 '
32
33 # We need space, tab and new line, in precisely that order. Quoting is
34 # there to prevent tools from complaining about whitespace usage.
35 IFS=" "" $nl"
36
37 file_conv=
38
39 # func_file_conv build_file lazy
40 # Convert a $build file to $host form and store it in $file
41 # Currently only supports Windows hosts. If the determined conversion
42 # type is listed in (the comma separated) LAZY, no conversion will
43 # take place.
44 func_file_conv ()
45 {
46 file=$1
47 case $file in
48 / | /[!/]*) # absolute file, and not a UNC file
49 if test -z "$file_conv"; then
50 # lazily determine how to convert abs files
51 case `uname -s` in
52 MINGW*)
53 file_conv=mingw
54 ;;
55 CYGWIN*)
56 file_conv=cygwin
57 ;;
58 *)
59 file_conv=wine
60 ;;
61 esac
62 fi
63 case $file_conv/,$2, in
64 *,$file_conv,*)
65 ;;
66 mingw/*)
67 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
68 ;;
69 cygwin/*)
70 file=`cygpath -m "$file" || echo "$file"`
71 ;;
72 wine/*)
73 file=`winepath -w "$file" || echo "$file"`
74 ;;
75 esac
76 ;;
77 esac
78 }
79
80 # func_cl_dashL linkdir
81 # Make cl look for libraries in LINKDIR
82 func_cl_dashL ()
83 {
84 func_file_conv "$1"
85 if test -z "$lib_path"; then
86 lib_path=$file
87 else
88 lib_path="$lib_path;$file"
89 fi
90 linker_opts="$linker_opts -LIBPATH:$file"
91 }
92
93 # func_cl_dashl library
94 # Do a library search-path lookup for cl
95 func_cl_dashl ()
96 {
97 lib=$1
98 found=no
99 save_IFS=$IFS
100 IFS=';'
101 for dir in $lib_path $LIB
102 do
103 IFS=$save_IFS
104 if $shared && test -f "$dir/$lib.dll.lib"; then
105 found=yes
106 lib=$dir/$lib.dll.lib
107 break
108 fi
109 if test -f "$dir/$lib.lib"; then
110 found=yes
111 lib=$dir/$lib.lib
112 break
113 fi
114 if test -f "$dir/lib$lib.a"; then
115 found=yes
116 lib=$dir/lib$lib.a
117 break
118 fi
119 done
120 IFS=$save_IFS
121
122 if test "$found" != yes; then
123 lib=$lib.lib
124 fi
125 }
126
127 # func_cl_wrapper cl arg...
128 # Adjust compile command to suit cl
129 func_cl_wrapper ()
130 {
131 # Assume a capable shell
132 lib_path=
133 shared=:
134 linker_opts=
135 for arg
136 do
137 if test -n "$eat"; then
138 eat=
139 else
140 case $1 in
141 -o)
142 # configure might choose to run compile as 'compile cc -o foo foo.c'.
143 eat=1
144 case $2 in
145 *.o | *.[oO][bB][jJ])
146 func_file_conv "$2"
147 set x "$@" -Fo"$file"
148 shift
149 ;;
150 *)
151 func_file_conv "$2"
152 set x "$@" -Fe"$file"
153 shift
154 ;;
155 esac
156 ;;
157 -I)
158 eat=1
159 func_file_conv "$2" mingw
160 set x "$@" -I"$file"
161 shift
162 ;;
163 -I*)
164 func_file_conv "${1#-I}" mingw
165 set x "$@" -I"$file"
166 shift
167 ;;
168 -l)
169 eat=1
170 func_cl_dashl "$2"
171 set x "$@" "$lib"
172 shift
173 ;;
174 -l*)
175 func_cl_dashl "${1#-l}"
176 set x "$@" "$lib"
177 shift
178 ;;
179 -L)
180 eat=1
181 func_cl_dashL "$2"
182 ;;
183 -L*)
184 func_cl_dashL "${1#-L}"
185 ;;
186 -static)
187 shared=false
188 ;;
189 -Wl,*)
190 arg=${1#-Wl,}
191 save_ifs="$IFS"; IFS=','
192 for flag in $arg; do
193 IFS="$save_ifs"
194 linker_opts="$linker_opts $flag"
195 done
196 IFS="$save_ifs"
197 ;;
198 -Xlinker)
199 eat=1
200 linker_opts="$linker_opts $2"
201 ;;
202 -*)
203 set x "$@" "$1"
204 shift
205 ;;
206 *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
207 func_file_conv "$1"
208 set x "$@" -Tp"$file"
209 shift
210 ;;
211 *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
212 func_file_conv "$1" mingw
213 set x "$@" "$file"
214 shift
215 ;;
216 *)
217 set x "$@" "$1"
218 shift
219 ;;
220 esac
221 fi
222 shift
223 done
224 if test -n "$linker_opts"; then
225 linker_opts="-link$linker_opts"
226 fi
227 exec "$@" $linker_opts
228 exit 1
229 }
230
231 eat=
232
233 case $1 in
234 '')
235 echo "$0: No command. Try '$0 --help' for more information." 1>&2
236 exit 1;
237 ;;
238 -h | --h*)
239 cat <<\EOF
240 Usage: compile [--help] [--version] PROGRAM [ARGS]
241
242 Wrapper for compilers which do not understand '-c -o'.
243 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
244 arguments, and rename the output as expected.
245
246 If you are trying to build a whole package this is not the
247 right script to run: please start by reading the file 'INSTALL'.
248
249 Report bugs to <[email protected]>.
250 EOF
251 exit $?
252 ;;
253 -v | --v*)
254 echo "compile $scriptversion"
255 exit $?
256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
258 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
259 func_cl_wrapper "$@" # Doesn't return...
260 ;;
261 esac
262
263 ofile=
264 cfile=
265
266 for arg
267 do
268 if test -n "$eat"; then
269 eat=
270 else
271 case $1 in
272 -o)
273 # configure might choose to run compile as 'compile cc -o foo foo.c'.
274 # So we strip '-o arg' only if arg is an object.
275 eat=1
276 case $2 in
277 *.o | *.obj)
278 ofile=$2
279 ;;
280 *)
281 set x "$@" -o "$2"
282 shift
283 ;;
284 esac
285 ;;
286 *.c)
287 cfile=$1
288 set x "$@" "$1"
289 shift
290 ;;
291 *)
292 set x "$@" "$1"
293 shift
294 ;;
295 esac
296 fi
297 shift
298 done
299
300 if test -z "$ofile" || test -z "$cfile"; then
301 # If no '-o' option was seen then we might have been invoked from a
302 # pattern rule where we don't need one. That is ok -- this is a
303 # normal compilation that the losing compiler can handle. If no
304 # '.c' file was seen then we are probably linking. That is also
305 # ok.
306 exec "$@"
307 fi
308
309 # Name of file we expect compiler to create.
310 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
311
312 # Create the lock directory.
313 # Note: use '[/\\:.-]' here to ensure that we don't use the same name
314 # that we are using for the .o file. Also, base the name on the expected
315 # object file name, since that is what matters with a parallel build.
316 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
317 while true; do
318 if mkdir "$lockdir" >/dev/null 2>&1; then
319 break
320 fi
321 sleep 1
322 done
323 # FIXME: race condition here if user kills between mkdir and trap.
324 trap "rmdir '$lockdir'; exit 1" 1 2 15
325
326 # Run the compile.
327 "$@"
328 ret=$?
329
330 if test -f "$cofile"; then
331 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
332 elif test -f "${cofile}bj"; then
333 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
334 fi
335
336 rmdir "$lockdir"
337 exit $ret
338
339 # Local Variables:
340 # mode: shell-script
341 # sh-indentation: 2
342 # eval: (add-hook 'write-file-hooks 'time-stamp)
343 # time-stamp-start: "scriptversion="
344 # time-stamp-format: "%:y-%02m-%02d.%02H"
345 # time-stamp-time-zone: "UTC0"
346 # time-stamp-end: "; # UTC"
347 # End:
+0
-1476
config/config.guess less more
0 #! /bin/sh
1 # Attempt to guess a canonical system name.
2 # Copyright 1992-2017 Free Software Foundation, Inc.
3
4 timestamp='2017-08-08'
5
6 # This file is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
18 #
19 # As a special exception to the GNU General Public License, if you
20 # distribute this file as part of a program that contains a
21 # configuration script generated by Autoconf, you may include it under
22 # the same distribution terms that you use for the rest of that
23 # program. This Exception is an additional permission under section 7
24 # of the GNU General Public License, version 3 ("GPLv3").
25 #
26 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
27 #
28 # You can get the latest version of this script from:
29 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
30 #
31 # Please send patches to <[email protected]>.
32
33
34 me=`echo "$0" | sed -e 's,.*/,,'`
35
36 usage="\
37 Usage: $0 [OPTION]
38
39 Output the configuration name of the system \`$me' is run on.
40
41 Operation modes:
42 -h, --help print this help, then exit
43 -t, --time-stamp print date of last modification, then exit
44 -v, --version print version number, then exit
45
46 Report bugs and patches to <[email protected]>."
47
48 version="\
49 GNU config.guess ($timestamp)
50
51 Originally written by Per Bothner.
52 Copyright 1992-2017 Free Software Foundation, Inc.
53
54 This is free software; see the source for copying conditions. There is NO
55 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
56
57 help="
58 Try \`$me --help' for more information."
59
60 # Parse command line
61 while test $# -gt 0 ; do
62 case $1 in
63 --time-stamp | --time* | -t )
64 echo "$timestamp" ; exit ;;
65 --version | -v )
66 echo "$version" ; exit ;;
67 --help | --h* | -h )
68 echo "$usage"; exit ;;
69 -- ) # Stop option processing
70 shift; break ;;
71 - ) # Use stdin as input.
72 break ;;
73 -* )
74 echo "$me: invalid option $1$help" >&2
75 exit 1 ;;
76 * )
77 break ;;
78 esac
79 done
80
81 if test $# != 0; then
82 echo "$me: too many arguments$help" >&2
83 exit 1
84 fi
85
86 trap 'exit 1' 1 2 15
87
88 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
89 # compiler to aid in system detection is discouraged as it requires
90 # temporary files to be created and, as you can see below, it is a
91 # headache to deal with in a portable fashion.
92
93 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
94 # use `HOST_CC' if defined, but it is deprecated.
95
96 # Portable tmp directory creation inspired by the Autoconf team.
97
98 set_cc_for_build='
99 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
100 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
101 : ${TMPDIR=/tmp} ;
102 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
103 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
104 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
105 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
106 dummy=$tmp/dummy ;
107 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108 case $CC_FOR_BUILD,$HOST_CC,$CC in
109 ,,) echo "int x;" > $dummy.c ;
110 for c in cc gcc c89 c99 ; do
111 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
112 CC_FOR_BUILD="$c"; break ;
113 fi ;
114 done ;
115 if test x"$CC_FOR_BUILD" = x ; then
116 CC_FOR_BUILD=no_compiler_found ;
117 fi
118 ;;
119 ,,*) CC_FOR_BUILD=$CC ;;
120 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
121 esac ; set_cc_for_build= ;'
122
123 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
124 # ([email protected] 1994-08-24)
125 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
126 PATH=$PATH:/.attbin ; export PATH
127 fi
128
129 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
130 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
132 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
133
134 case "${UNAME_SYSTEM}" in
135 Linux|GNU|GNU/*)
136 # If the system lacks a compiler, then just pick glibc.
137 # We could probably try harder.
138 LIBC=gnu
139
140 eval $set_cc_for_build
141 cat <<-EOF > $dummy.c
142 #include <features.h>
143 #if defined(__UCLIBC__)
144 LIBC=uclibc
145 #elif defined(__dietlibc__)
146 LIBC=dietlibc
147 #else
148 LIBC=gnu
149 #endif
150 EOF
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
152 ;;
153 esac
154
155 # Note: order is significant - the case branches are not exclusive.
156
157 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
158 *:NetBSD:*:*)
159 # NetBSD (nbsd) targets should (where applicable) match one or
160 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
161 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
162 # switched to ELF, *-*-netbsd* would select the old
163 # object file format. This provides both forward
164 # compatibility and a consistent mechanism for selecting the
165 # object file format.
166 #
167 # Note: NetBSD doesn't particularly care about the vendor
168 # portion of the name. We always set it to "unknown".
169 sysctl="sysctl -n hw.machine_arch"
170 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
171 /sbin/$sysctl 2>/dev/null || \
172 /usr/sbin/$sysctl 2>/dev/null || \
173 echo unknown)`
174 case "${UNAME_MACHINE_ARCH}" in
175 armeb) machine=armeb-unknown ;;
176 arm*) machine=arm-unknown ;;
177 sh3el) machine=shl-unknown ;;
178 sh3eb) machine=sh-unknown ;;
179 sh5el) machine=sh5le-unknown ;;
180 earmv*)
181 arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
182 endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
183 machine=${arch}${endian}-unknown
184 ;;
185 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
186 esac
187 # The Operating System including object format, if it has switched
188 # to ELF recently (or will in the future) and ABI.
189 case "${UNAME_MACHINE_ARCH}" in
190 earm*)
191 os=netbsdelf
192 ;;
193 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
194 eval $set_cc_for_build
195 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
196 | grep -q __ELF__
197 then
198 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
199 # Return netbsd for either. FIX?
200 os=netbsd
201 else
202 os=netbsdelf
203 fi
204 ;;
205 *)
206 os=netbsd
207 ;;
208 esac
209 # Determine ABI tags.
210 case "${UNAME_MACHINE_ARCH}" in
211 earm*)
212 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
213 abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
214 ;;
215 esac
216 # The OS release
217 # Debian GNU/NetBSD machines have a different userland, and
218 # thus, need a distinct triplet. However, they do not need
219 # kernel version information, so it can be replaced with a
220 # suitable tag, in the style of linux-gnu.
221 case "${UNAME_VERSION}" in
222 Debian*)
223 release='-gnu'
224 ;;
225 *)
226 release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
227 ;;
228 esac
229 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
230 # contains redundant information, the shorter form:
231 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
232 echo "${machine}-${os}${release}${abi}"
233 exit ;;
234 *:Bitrig:*:*)
235 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
236 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
237 exit ;;
238 *:OpenBSD:*:*)
239 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
240 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
241 exit ;;
242 *:LibertyBSD:*:*)
243 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
244 echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
245 exit ;;
246 *:ekkoBSD:*:*)
247 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
248 exit ;;
249 *:SolidBSD:*:*)
250 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
251 exit ;;
252 macppc:MirBSD:*:*)
253 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
254 exit ;;
255 *:MirBSD:*:*)
256 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
257 exit ;;
258 *:Sortix:*:*)
259 echo ${UNAME_MACHINE}-unknown-sortix
260 exit ;;
261 *:Redox:*:*)
262 echo ${UNAME_MACHINE}-unknown-redox
263 exit ;;
264 alpha:OSF1:*:*)
265 case $UNAME_RELEASE in
266 *4.0)
267 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
268 ;;
269 *5.*)
270 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
271 ;;
272 esac
273 # According to Compaq, /usr/sbin/psrinfo has been available on
274 # OSF/1 and Tru64 systems produced since 1995. I hope that
275 # covers most systems running today. This code pipes the CPU
276 # types through head -n 1, so we only detect the type of CPU 0.
277 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
278 case "$ALPHA_CPU_TYPE" in
279 "EV4 (21064)")
280 UNAME_MACHINE=alpha ;;
281 "EV4.5 (21064)")
282 UNAME_MACHINE=alpha ;;
283 "LCA4 (21066/21068)")
284 UNAME_MACHINE=alpha ;;
285 "EV5 (21164)")
286 UNAME_MACHINE=alphaev5 ;;
287 "EV5.6 (21164A)")
288 UNAME_MACHINE=alphaev56 ;;
289 "EV5.6 (21164PC)")
290 UNAME_MACHINE=alphapca56 ;;
291 "EV5.7 (21164PC)")
292 UNAME_MACHINE=alphapca57 ;;
293 "EV6 (21264)")
294 UNAME_MACHINE=alphaev6 ;;
295 "EV6.7 (21264A)")
296 UNAME_MACHINE=alphaev67 ;;
297 "EV6.8CB (21264C)")
298 UNAME_MACHINE=alphaev68 ;;
299 "EV6.8AL (21264B)")
300 UNAME_MACHINE=alphaev68 ;;
301 "EV6.8CX (21264D)")
302 UNAME_MACHINE=alphaev68 ;;
303 "EV6.9A (21264/EV69A)")
304 UNAME_MACHINE=alphaev69 ;;
305 "EV7 (21364)")
306 UNAME_MACHINE=alphaev7 ;;
307 "EV7.9 (21364A)")
308 UNAME_MACHINE=alphaev79 ;;
309 esac
310 # A Pn.n version is a patched version.
311 # A Vn.n version is a released version.
312 # A Tn.n version is a released field test version.
313 # A Xn.n version is an unreleased experimental baselevel.
314 # 1.2 uses "1.2" for uname -r.
315 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
316 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
317 exitcode=$?
318 trap '' 0
319 exit $exitcode ;;
320 Alpha\ *:Windows_NT*:*)
321 # How do we know it's Interix rather than the generic POSIX subsystem?
322 # Should we change UNAME_MACHINE based on the output of uname instead
323 # of the specific Alpha model?
324 echo alpha-pc-interix
325 exit ;;
326 21064:Windows_NT:50:3)
327 echo alpha-dec-winnt3.5
328 exit ;;
329 Amiga*:UNIX_System_V:4.0:*)
330 echo m68k-unknown-sysv4
331 exit ;;
332 *:[Aa]miga[Oo][Ss]:*:*)
333 echo ${UNAME_MACHINE}-unknown-amigaos
334 exit ;;
335 *:[Mm]orph[Oo][Ss]:*:*)
336 echo ${UNAME_MACHINE}-unknown-morphos
337 exit ;;
338 *:OS/390:*:*)
339 echo i370-ibm-openedition
340 exit ;;
341 *:z/VM:*:*)
342 echo s390-ibm-zvmoe
343 exit ;;
344 *:OS400:*:*)
345 echo powerpc-ibm-os400
346 exit ;;
347 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
348 echo arm-acorn-riscix${UNAME_RELEASE}
349 exit ;;
350 arm*:riscos:*:*|arm*:RISCOS:*:*)
351 echo arm-unknown-riscos
352 exit ;;
353 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
354 echo hppa1.1-hitachi-hiuxmpp
355 exit ;;
356 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
357 # [email protected] (Earle F. Ake) contributed MIS and NILE.
358 if test "`(/bin/universe) 2>/dev/null`" = att ; then
359 echo pyramid-pyramid-sysv3
360 else
361 echo pyramid-pyramid-bsd
362 fi
363 exit ;;
364 NILE*:*:*:dcosx)
365 echo pyramid-pyramid-svr4
366 exit ;;
367 DRS?6000:unix:4.0:6*)
368 echo sparc-icl-nx6
369 exit ;;
370 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
371 case `/usr/bin/uname -p` in
372 sparc) echo sparc-icl-nx7; exit ;;
373 esac ;;
374 s390x:SunOS:*:*)
375 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
376 exit ;;
377 sun4H:SunOS:5.*:*)
378 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
379 exit ;;
380 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
381 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
382 exit ;;
383 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
384 echo i386-pc-auroraux${UNAME_RELEASE}
385 exit ;;
386 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
387 eval $set_cc_for_build
388 SUN_ARCH=i386
389 # If there is a compiler, see if it is configured for 64-bit objects.
390 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
391 # This test works for both compilers.
392 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
393 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
394 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
395 grep IS_64BIT_ARCH >/dev/null
396 then
397 SUN_ARCH=x86_64
398 fi
399 fi
400 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
401 exit ;;
402 sun4*:SunOS:6*:*)
403 # According to config.sub, this is the proper way to canonicalize
404 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
405 # it's likely to be more like Solaris than SunOS4.
406 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
407 exit ;;
408 sun4*:SunOS:*:*)
409 case "`/usr/bin/arch -k`" in
410 Series*|S4*)
411 UNAME_RELEASE=`uname -v`
412 ;;
413 esac
414 # Japanese Language versions have a version number like `4.1.3-JL'.
415 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
416 exit ;;
417 sun3*:SunOS:*:*)
418 echo m68k-sun-sunos${UNAME_RELEASE}
419 exit ;;
420 sun*:*:4.2BSD:*)
421 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
422 test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
423 case "`/bin/arch`" in
424 sun3)
425 echo m68k-sun-sunos${UNAME_RELEASE}
426 ;;
427 sun4)
428 echo sparc-sun-sunos${UNAME_RELEASE}
429 ;;
430 esac
431 exit ;;
432 aushp:SunOS:*:*)
433 echo sparc-auspex-sunos${UNAME_RELEASE}
434 exit ;;
435 # The situation for MiNT is a little confusing. The machine name
436 # can be virtually everything (everything which is not
437 # "atarist" or "atariste" at least should have a processor
438 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
439 # to the lowercase version "mint" (or "freemint"). Finally
440 # the system name "TOS" denotes a system which is actually not
441 # MiNT. But MiNT is downward compatible to TOS, so this should
442 # be no problem.
443 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
444 echo m68k-atari-mint${UNAME_RELEASE}
445 exit ;;
446 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
447 echo m68k-atari-mint${UNAME_RELEASE}
448 exit ;;
449 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
450 echo m68k-atari-mint${UNAME_RELEASE}
451 exit ;;
452 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
453 echo m68k-milan-mint${UNAME_RELEASE}
454 exit ;;
455 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
456 echo m68k-hades-mint${UNAME_RELEASE}
457 exit ;;
458 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
459 echo m68k-unknown-mint${UNAME_RELEASE}
460 exit ;;
461 m68k:machten:*:*)
462 echo m68k-apple-machten${UNAME_RELEASE}
463 exit ;;
464 powerpc:machten:*:*)
465 echo powerpc-apple-machten${UNAME_RELEASE}
466 exit ;;
467 RISC*:Mach:*:*)
468 echo mips-dec-mach_bsd4.3
469 exit ;;
470 RISC*:ULTRIX:*:*)
471 echo mips-dec-ultrix${UNAME_RELEASE}
472 exit ;;
473 VAX*:ULTRIX*:*:*)
474 echo vax-dec-ultrix${UNAME_RELEASE}
475 exit ;;
476 2020:CLIX:*:* | 2430:CLIX:*:*)
477 echo clipper-intergraph-clix${UNAME_RELEASE}
478 exit ;;
479 mips:*:*:UMIPS | mips:*:*:RISCos)
480 eval $set_cc_for_build
481 sed 's/^ //' << EOF >$dummy.c
482 #ifdef __cplusplus
483 #include <stdio.h> /* for printf() prototype */
484 int main (int argc, char *argv[]) {
485 #else
486 int main (argc, argv) int argc; char *argv[]; {
487 #endif
488 #if defined (host_mips) && defined (MIPSEB)
489 #if defined (SYSTYPE_SYSV)
490 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
491 #endif
492 #if defined (SYSTYPE_SVR4)
493 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
494 #endif
495 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
496 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
497 #endif
498 #endif
499 exit (-1);
500 }
501 EOF
502 $CC_FOR_BUILD -o $dummy $dummy.c &&
503 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
504 SYSTEM_NAME=`$dummy $dummyarg` &&
505 { echo "$SYSTEM_NAME"; exit; }
506 echo mips-mips-riscos${UNAME_RELEASE}
507 exit ;;
508 Motorola:PowerMAX_OS:*:*)
509 echo powerpc-motorola-powermax
510 exit ;;
511 Motorola:*:4.3:PL8-*)
512 echo powerpc-harris-powermax
513 exit ;;
514 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
515 echo powerpc-harris-powermax
516 exit ;;
517 Night_Hawk:Power_UNIX:*:*)
518 echo powerpc-harris-powerunix
519 exit ;;
520 m88k:CX/UX:7*:*)
521 echo m88k-harris-cxux7
522 exit ;;
523 m88k:*:4*:R4*)
524 echo m88k-motorola-sysv4
525 exit ;;
526 m88k:*:3*:R3*)
527 echo m88k-motorola-sysv3
528 exit ;;
529 AViiON:dgux:*:*)
530 # DG/UX returns AViiON for all architectures
531 UNAME_PROCESSOR=`/usr/bin/uname -p`
532 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
533 then
534 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
535 [ ${TARGET_BINARY_INTERFACE}x = x ]
536 then
537 echo m88k-dg-dgux${UNAME_RELEASE}
538 else
539 echo m88k-dg-dguxbcs${UNAME_RELEASE}
540 fi
541 else
542 echo i586-dg-dgux${UNAME_RELEASE}
543 fi
544 exit ;;
545 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
546 echo m88k-dolphin-sysv3
547 exit ;;
548 M88*:*:R3*:*)
549 # Delta 88k system running SVR3
550 echo m88k-motorola-sysv3
551 exit ;;
552 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
553 echo m88k-tektronix-sysv3
554 exit ;;
555 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
556 echo m68k-tektronix-bsd
557 exit ;;
558 *:IRIX*:*:*)
559 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
560 exit ;;
561 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
562 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
563 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
564 i*86:AIX:*:*)
565 echo i386-ibm-aix
566 exit ;;
567 ia64:AIX:*:*)
568 if [ -x /usr/bin/oslevel ] ; then
569 IBM_REV=`/usr/bin/oslevel`
570 else
571 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
572 fi
573 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
574 exit ;;
575 *:AIX:2:3)
576 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
577 eval $set_cc_for_build
578 sed 's/^ //' << EOF >$dummy.c
579 #include <sys/systemcfg.h>
580
581 main()
582 {
583 if (!__power_pc())
584 exit(1);
585 puts("powerpc-ibm-aix3.2.5");
586 exit(0);
587 }
588 EOF
589 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
590 then
591 echo "$SYSTEM_NAME"
592 else
593 echo rs6000-ibm-aix3.2.5
594 fi
595 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
596 echo rs6000-ibm-aix3.2.4
597 else
598 echo rs6000-ibm-aix3.2
599 fi
600 exit ;;
601 *:AIX:*:[4567])
602 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
603 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
604 IBM_ARCH=rs6000
605 else
606 IBM_ARCH=powerpc
607 fi
608 if [ -x /usr/bin/lslpp ] ; then
609 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
610 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
611 else
612 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
613 fi
614 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
615 exit ;;
616 *:AIX:*:*)
617 echo rs6000-ibm-aix
618 exit ;;
619 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
620 echo romp-ibm-bsd4.4
621 exit ;;
622 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
623 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
624 exit ;; # report: romp-ibm BSD 4.3
625 *:BOSX:*:*)
626 echo rs6000-bull-bosx
627 exit ;;
628 DPX/2?00:B.O.S.:*:*)
629 echo m68k-bull-sysv3
630 exit ;;
631 9000/[34]??:4.3bsd:1.*:*)
632 echo m68k-hp-bsd
633 exit ;;
634 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
635 echo m68k-hp-bsd4.4
636 exit ;;
637 9000/[34678]??:HP-UX:*:*)
638 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
639 case "${UNAME_MACHINE}" in
640 9000/31? ) HP_ARCH=m68000 ;;
641 9000/[34]?? ) HP_ARCH=m68k ;;
642 9000/[678][0-9][0-9])
643 if [ -x /usr/bin/getconf ]; then
644 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
645 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
646 case "${sc_cpu_version}" in
647 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
648 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
649 532) # CPU_PA_RISC2_0
650 case "${sc_kernel_bits}" in
651 32) HP_ARCH=hppa2.0n ;;
652 64) HP_ARCH=hppa2.0w ;;
653 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
654 esac ;;
655 esac
656 fi
657 if [ "${HP_ARCH}" = "" ]; then
658 eval $set_cc_for_build
659 sed 's/^ //' << EOF >$dummy.c
660
661 #define _HPUX_SOURCE
662 #include <stdlib.h>
663 #include <unistd.h>
664
665 int main ()
666 {
667 #if defined(_SC_KERNEL_BITS)
668 long bits = sysconf(_SC_KERNEL_BITS);
669 #endif
670 long cpu = sysconf (_SC_CPU_VERSION);
671
672 switch (cpu)
673 {
674 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
675 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
676 case CPU_PA_RISC2_0:
677 #if defined(_SC_KERNEL_BITS)
678 switch (bits)
679 {
680 case 64: puts ("hppa2.0w"); break;
681 case 32: puts ("hppa2.0n"); break;
682 default: puts ("hppa2.0"); break;
683 } break;
684 #else /* !defined(_SC_KERNEL_BITS) */
685 puts ("hppa2.0"); break;
686 #endif
687 default: puts ("hppa1.0"); break;
688 }
689 exit (0);
690 }
691 EOF
692 (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
693 test -z "$HP_ARCH" && HP_ARCH=hppa
694 fi ;;
695 esac
696 if [ ${HP_ARCH} = hppa2.0w ]
697 then
698 eval $set_cc_for_build
699
700 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
701 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
702 # generating 64-bit code. GNU and HP use different nomenclature:
703 #
704 # $ CC_FOR_BUILD=cc ./config.guess
705 # => hppa2.0w-hp-hpux11.23
706 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
707 # => hppa64-hp-hpux11.23
708
709 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
710 grep -q __LP64__
711 then
712 HP_ARCH=hppa2.0w
713 else
714 HP_ARCH=hppa64
715 fi
716 fi
717 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
718 exit ;;
719 ia64:HP-UX:*:*)
720 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
721 echo ia64-hp-hpux${HPUX_REV}
722 exit ;;
723 3050*:HI-UX:*:*)
724 eval $set_cc_for_build
725 sed 's/^ //' << EOF >$dummy.c
726 #include <unistd.h>
727 int
728 main ()
729 {
730 long cpu = sysconf (_SC_CPU_VERSION);
731 /* The order matters, because CPU_IS_HP_MC68K erroneously returns
732 true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
733 results, however. */
734 if (CPU_IS_PA_RISC (cpu))
735 {
736 switch (cpu)
737 {
738 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
739 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
740 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
741 default: puts ("hppa-hitachi-hiuxwe2"); break;
742 }
743 }
744 else if (CPU_IS_HP_MC68K (cpu))
745 puts ("m68k-hitachi-hiuxwe2");
746 else puts ("unknown-hitachi-hiuxwe2");
747 exit (0);
748 }
749 EOF
750 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
751 { echo "$SYSTEM_NAME"; exit; }
752 echo unknown-hitachi-hiuxwe2
753 exit ;;
754 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
755 echo hppa1.1-hp-bsd
756 exit ;;
757 9000/8??:4.3bsd:*:*)
758 echo hppa1.0-hp-bsd
759 exit ;;
760 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
761 echo hppa1.0-hp-mpeix
762 exit ;;
763 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
764 echo hppa1.1-hp-osf
765 exit ;;
766 hp8??:OSF1:*:*)
767 echo hppa1.0-hp-osf
768 exit ;;
769 i*86:OSF1:*:*)
770 if [ -x /usr/sbin/sysversion ] ; then
771 echo ${UNAME_MACHINE}-unknown-osf1mk
772 else
773 echo ${UNAME_MACHINE}-unknown-osf1
774 fi
775 exit ;;
776 parisc*:Lites*:*:*)
777 echo hppa1.1-hp-lites
778 exit ;;
779 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
780 echo c1-convex-bsd
781 exit ;;
782 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
783 if getsysinfo -f scalar_acc
784 then echo c32-convex-bsd
785 else echo c2-convex-bsd
786 fi
787 exit ;;
788 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
789 echo c34-convex-bsd
790 exit ;;
791 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
792 echo c38-convex-bsd
793 exit ;;
794 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
795 echo c4-convex-bsd
796 exit ;;
797 CRAY*Y-MP:*:*:*)
798 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
799 exit ;;
800 CRAY*[A-Z]90:*:*:*)
801 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
802 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
803 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
804 -e 's/\.[^.]*$/.X/'
805 exit ;;
806 CRAY*TS:*:*:*)
807 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
808 exit ;;
809 CRAY*T3E:*:*:*)
810 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
811 exit ;;
812 CRAY*SV1:*:*:*)
813 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
814 exit ;;
815 *:UNICOS/mp:*:*)
816 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
817 exit ;;
818 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
819 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
820 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
821 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
822 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
823 exit ;;
824 5000:UNIX_System_V:4.*:*)
825 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
826 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
827 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
828 exit ;;
829 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
830 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
831 exit ;;
832 sparc*:BSD/OS:*:*)
833 echo sparc-unknown-bsdi${UNAME_RELEASE}
834 exit ;;
835 *:BSD/OS:*:*)
836 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
837 exit ;;
838 *:FreeBSD:*:*)
839 UNAME_PROCESSOR=`/usr/bin/uname -p`
840 case ${UNAME_PROCESSOR} in
841 amd64)
842 UNAME_PROCESSOR=x86_64 ;;
843 i386)
844 UNAME_PROCESSOR=i586 ;;
845 esac
846 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
847 exit ;;
848 i*:CYGWIN*:*)
849 echo ${UNAME_MACHINE}-pc-cygwin
850 exit ;;
851 *:MINGW64*:*)
852 echo ${UNAME_MACHINE}-pc-mingw64
853 exit ;;
854 *:MINGW*:*)
855 echo ${UNAME_MACHINE}-pc-mingw32
856 exit ;;
857 *:MSYS*:*)
858 echo ${UNAME_MACHINE}-pc-msys
859 exit ;;
860 i*:windows32*:*)
861 # uname -m includes "-pc" on this system.
862 echo ${UNAME_MACHINE}-mingw32
863 exit ;;
864 i*:PW*:*)
865 echo ${UNAME_MACHINE}-pc-pw32
866 exit ;;
867 *:Interix*:*)
868 case ${UNAME_MACHINE} in
869 x86)
870 echo i586-pc-interix${UNAME_RELEASE}
871 exit ;;
872 authenticamd | genuineintel | EM64T)
873 echo x86_64-unknown-interix${UNAME_RELEASE}
874 exit ;;
875 IA64)
876 echo ia64-unknown-interix${UNAME_RELEASE}
877 exit ;;
878 esac ;;
879 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
880 echo i${UNAME_MACHINE}-pc-mks
881 exit ;;
882 8664:Windows_NT:*)
883 echo x86_64-pc-mks
884 exit ;;
885 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
886 # How do we know it's Interix rather than the generic POSIX subsystem?
887 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
888 # UNAME_MACHINE based on the output of uname instead of i386?
889 echo i586-pc-interix
890 exit ;;
891 i*:UWIN*:*)
892 echo ${UNAME_MACHINE}-pc-uwin
893 exit ;;
894 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
895 echo x86_64-unknown-cygwin
896 exit ;;
897 p*:CYGWIN*:*)
898 echo powerpcle-unknown-cygwin
899 exit ;;
900 prep*:SunOS:5.*:*)
901 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
902 exit ;;
903 *:GNU:*:*)
904 # the GNU system
905 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
906 exit ;;
907 *:GNU/*:*:*)
908 # other systems with GNU libc and userland
909 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
910 exit ;;
911 i*86:Minix:*:*)
912 echo ${UNAME_MACHINE}-pc-minix
913 exit ;;
914 aarch64:Linux:*:*)
915 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
916 exit ;;
917 aarch64_be:Linux:*:*)
918 UNAME_MACHINE=aarch64_be
919 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
920 exit ;;
921 alpha:Linux:*:*)
922 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
923 EV5) UNAME_MACHINE=alphaev5 ;;
924 EV56) UNAME_MACHINE=alphaev56 ;;
925 PCA56) UNAME_MACHINE=alphapca56 ;;
926 PCA57) UNAME_MACHINE=alphapca56 ;;
927 EV6) UNAME_MACHINE=alphaev6 ;;
928 EV67) UNAME_MACHINE=alphaev67 ;;
929 EV68*) UNAME_MACHINE=alphaev68 ;;
930 esac
931 objdump --private-headers /bin/sh | grep -q ld.so.1
932 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
933 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
934 exit ;;
935 arc:Linux:*:* | arceb:Linux:*:*)
936 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
937 exit ;;
938 arm*:Linux:*:*)
939 eval $set_cc_for_build
940 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
941 | grep -q __ARM_EABI__
942 then
943 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
944 else
945 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
946 | grep -q __ARM_PCS_VFP
947 then
948 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
949 else
950 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
951 fi
952 fi
953 exit ;;
954 avr32*:Linux:*:*)
955 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
956 exit ;;
957 cris:Linux:*:*)
958 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
959 exit ;;
960 crisv32:Linux:*:*)
961 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
962 exit ;;
963 e2k:Linux:*:*)
964 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
965 exit ;;
966 frv:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
968 exit ;;
969 hexagon:Linux:*:*)
970 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
971 exit ;;
972 i*86:Linux:*:*)
973 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
974 exit ;;
975 ia64:Linux:*:*)
976 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
977 exit ;;
978 k1om:Linux:*:*)
979 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
980 exit ;;
981 m32r*:Linux:*:*)
982 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
983 exit ;;
984 m68*:Linux:*:*)
985 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
986 exit ;;
987 mips:Linux:*:* | mips64:Linux:*:*)
988 eval $set_cc_for_build
989 sed 's/^ //' << EOF >$dummy.c
990 #undef CPU
991 #undef ${UNAME_MACHINE}
992 #undef ${UNAME_MACHINE}el
993 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
994 CPU=${UNAME_MACHINE}el
995 #else
996 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
997 CPU=${UNAME_MACHINE}
998 #else
999 CPU=
1000 #endif
1001 #endif
1002 EOF
1003 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
1004 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
1005 ;;
1006 mips64el:Linux:*:*)
1007 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1008 exit ;;
1009 openrisc*:Linux:*:*)
1010 echo or1k-unknown-linux-${LIBC}
1011 exit ;;
1012 or32:Linux:*:* | or1k*:Linux:*:*)
1013 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1014 exit ;;
1015 padre:Linux:*:*)
1016 echo sparc-unknown-linux-${LIBC}
1017 exit ;;
1018 parisc64:Linux:*:* | hppa64:Linux:*:*)
1019 echo hppa64-unknown-linux-${LIBC}
1020 exit ;;
1021 parisc:Linux:*:* | hppa:Linux:*:*)
1022 # Look for CPU level
1023 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
1024 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
1025 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
1026 *) echo hppa-unknown-linux-${LIBC} ;;
1027 esac
1028 exit ;;
1029 ppc64:Linux:*:*)
1030 echo powerpc64-unknown-linux-${LIBC}
1031 exit ;;
1032 ppc:Linux:*:*)
1033 echo powerpc-unknown-linux-${LIBC}
1034 exit ;;
1035 ppc64le:Linux:*:*)
1036 echo powerpc64le-unknown-linux-${LIBC}
1037 exit ;;
1038 ppcle:Linux:*:*)
1039 echo powerpcle-unknown-linux-${LIBC}
1040 exit ;;
1041 riscv32:Linux:*:* | riscv64:Linux:*:*)
1042 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1043 exit ;;
1044 s390:Linux:*:* | s390x:Linux:*:*)
1045 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1046 exit ;;
1047 sh64*:Linux:*:*)
1048 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1049 exit ;;
1050 sh*:Linux:*:*)
1051 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1052 exit ;;
1053 sparc:Linux:*:* | sparc64:Linux:*:*)
1054 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1055 exit ;;
1056 tile*:Linux:*:*)
1057 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1058 exit ;;
1059 vax:Linux:*:*)
1060 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1061 exit ;;
1062 x86_64:Linux:*:*)
1063 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
1064 exit ;;
1065 xtensa*:Linux:*:*)
1066 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1067 exit ;;
1068 i*86:DYNIX/ptx:4*:*)
1069 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1070 # earlier versions are messed up and put the nodename in both
1071 # sysname and nodename.
1072 echo i386-sequent-sysv4
1073 exit ;;
1074 i*86:UNIX_SV:4.2MP:2.*)
1075 # Unixware is an offshoot of SVR4, but it has its own version
1076 # number series starting with 2...
1077 # I am not positive that other SVR4 systems won't match this,
1078 # I just have to hope. -- rms.
1079 # Use sysv4.2uw... so that sysv4* matches it.
1080 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1081 exit ;;
1082 i*86:OS/2:*:*)
1083 # If we were able to find `uname', then EMX Unix compatibility
1084 # is probably installed.
1085 echo ${UNAME_MACHINE}-pc-os2-emx
1086 exit ;;
1087 i*86:XTS-300:*:STOP)
1088 echo ${UNAME_MACHINE}-unknown-stop
1089 exit ;;
1090 i*86:atheos:*:*)
1091 echo ${UNAME_MACHINE}-unknown-atheos
1092 exit ;;
1093 i*86:syllable:*:*)
1094 echo ${UNAME_MACHINE}-pc-syllable
1095 exit ;;
1096 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1097 echo i386-unknown-lynxos${UNAME_RELEASE}
1098 exit ;;
1099 i*86:*DOS:*:*)
1100 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1101 exit ;;
1102 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1103 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1104 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1105 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1106 else
1107 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1108 fi
1109 exit ;;
1110 i*86:*:5:[678]*)
1111 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1112 case `/bin/uname -X | grep "^Machine"` in
1113 *486*) UNAME_MACHINE=i486 ;;
1114 *Pentium) UNAME_MACHINE=i586 ;;
1115 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1116 esac
1117 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1118 exit ;;
1119 i*86:*:3.2:*)
1120 if test -f /usr/options/cb.name; then
1121 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1122 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1123 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1124 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1125 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1126 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1127 && UNAME_MACHINE=i586
1128 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1129 && UNAME_MACHINE=i686
1130 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1131 && UNAME_MACHINE=i686
1132 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1133 else
1134 echo ${UNAME_MACHINE}-pc-sysv32
1135 fi
1136 exit ;;
1137 pc:*:*:*)
1138 # Left here for compatibility:
1139 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1140 # the processor, so we play safe by assuming i586.
1141 # Note: whatever this is, it MUST be the same as what config.sub
1142 # prints for the "djgpp" host, or else GDB configure will decide that
1143 # this is a cross-build.
1144 echo i586-pc-msdosdjgpp
1145 exit ;;
1146 Intel:Mach:3*:*)
1147 echo i386-pc-mach3
1148 exit ;;
1149 paragon:*:*:*)
1150 echo i860-intel-osf1
1151 exit ;;
1152 i860:*:4.*:*) # i860-SVR4
1153 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1154 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1155 else # Add other i860-SVR4 vendors below as they are discovered.
1156 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1157 fi
1158 exit ;;
1159 mini*:CTIX:SYS*5:*)
1160 # "miniframe"
1161 echo m68010-convergent-sysv
1162 exit ;;
1163 mc68k:UNIX:SYSTEM5:3.51m)
1164 echo m68k-convergent-sysv
1165 exit ;;
1166 M680?0:D-NIX:5.3:*)
1167 echo m68k-diab-dnix
1168 exit ;;
1169 M68*:*:R3V[5678]*:*)
1170 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1171 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1172 OS_REL=''
1173 test -r /etc/.relid \
1174 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1175 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1176 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1177 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1178 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1179 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1180 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1181 && { echo i486-ncr-sysv4; exit; } ;;
1182 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1183 OS_REL='.3'
1184 test -r /etc/.relid \
1185 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1186 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1187 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1188 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1189 && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1190 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1191 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1192 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1193 echo m68k-unknown-lynxos${UNAME_RELEASE}
1194 exit ;;
1195 mc68030:UNIX_System_V:4.*:*)
1196 echo m68k-atari-sysv4
1197 exit ;;
1198 TSUNAMI:LynxOS:2.*:*)
1199 echo sparc-unknown-lynxos${UNAME_RELEASE}
1200 exit ;;
1201 rs6000:LynxOS:2.*:*)
1202 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1203 exit ;;
1204 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1205 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1206 exit ;;
1207 SM[BE]S:UNIX_SV:*:*)
1208 echo mips-dde-sysv${UNAME_RELEASE}
1209 exit ;;
1210 RM*:ReliantUNIX-*:*:*)
1211 echo mips-sni-sysv4
1212 exit ;;
1213 RM*:SINIX-*:*:*)
1214 echo mips-sni-sysv4
1215 exit ;;
1216 *:SINIX-*:*:*)
1217 if uname -p 2>/dev/null >/dev/null ; then
1218 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1219 echo ${UNAME_MACHINE}-sni-sysv4
1220 else
1221 echo ns32k-sni-sysv
1222 fi
1223 exit ;;
1224 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1225 # says <[email protected]>
1226 echo i586-unisys-sysv4
1227 exit ;;
1228 *:UNIX_System_V:4*:FTX*)
1229 # From Gerald Hewes <[email protected]>.
1230 # How about differentiating between stratus architectures? -djm
1231 echo hppa1.1-stratus-sysv4
1232 exit ;;
1233 *:*:*:FTX*)
1234 # From [email protected].
1235 echo i860-stratus-sysv4
1236 exit ;;
1237 i*86:VOS:*:*)
1238 # From [email protected].
1239 echo ${UNAME_MACHINE}-stratus-vos
1240 exit ;;
1241 *:VOS:*:*)
1242 # From [email protected].
1243 echo hppa1.1-stratus-vos
1244 exit ;;
1245 mc68*:A/UX:*:*)
1246 echo m68k-apple-aux${UNAME_RELEASE}
1247 exit ;;
1248 news*:NEWS-OS:6*:*)
1249 echo mips-sony-newsos6
1250 exit ;;
1251 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1252 if [ -d /usr/nec ]; then
1253 echo mips-nec-sysv${UNAME_RELEASE}
1254 else
1255 echo mips-unknown-sysv${UNAME_RELEASE}
1256 fi
1257 exit ;;
1258 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1259 echo powerpc-be-beos
1260 exit ;;
1261 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1262 echo powerpc-apple-beos
1263 exit ;;
1264 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1265 echo i586-pc-beos
1266 exit ;;
1267 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1268 echo i586-pc-haiku
1269 exit ;;
1270 x86_64:Haiku:*:*)
1271 echo x86_64-unknown-haiku
1272 exit ;;
1273 SX-4:SUPER-UX:*:*)
1274 echo sx4-nec-superux${UNAME_RELEASE}
1275 exit ;;
1276 SX-5:SUPER-UX:*:*)
1277 echo sx5-nec-superux${UNAME_RELEASE}
1278 exit ;;
1279 SX-6:SUPER-UX:*:*)
1280 echo sx6-nec-superux${UNAME_RELEASE}
1281 exit ;;
1282 SX-7:SUPER-UX:*:*)
1283 echo sx7-nec-superux${UNAME_RELEASE}
1284 exit ;;
1285 SX-8:SUPER-UX:*:*)
1286 echo sx8-nec-superux${UNAME_RELEASE}
1287 exit ;;
1288 SX-8R:SUPER-UX:*:*)
1289 echo sx8r-nec-superux${UNAME_RELEASE}
1290 exit ;;
1291 SX-ACE:SUPER-UX:*:*)
1292 echo sxace-nec-superux${UNAME_RELEASE}
1293 exit ;;
1294 Power*:Rhapsody:*:*)
1295 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1296 exit ;;
1297 *:Rhapsody:*:*)
1298 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1299 exit ;;
1300 *:Darwin:*:*)
1301 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1302 eval $set_cc_for_build
1303 if test "$UNAME_PROCESSOR" = unknown ; then
1304 UNAME_PROCESSOR=powerpc
1305 fi
1306 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1307 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1308 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1309 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1310 grep IS_64BIT_ARCH >/dev/null
1311 then
1312 case $UNAME_PROCESSOR in
1313 i386) UNAME_PROCESSOR=x86_64 ;;
1314 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1315 esac
1316 fi
1317 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1318 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1319 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1320 grep IS_PPC >/dev/null
1321 then
1322 UNAME_PROCESSOR=powerpc
1323 fi
1324 fi
1325 elif test "$UNAME_PROCESSOR" = i386 ; then
1326 # Avoid executing cc on OS X 10.9, as it ships with a stub
1327 # that puts up a graphical alert prompting to install
1328 # developer tools. Any system running Mac OS X 10.7 or
1329 # later (Darwin 11 and later) is required to have a 64-bit
1330 # processor. This is not true of the ARM version of Darwin
1331 # that Apple uses in portable devices.
1332 UNAME_PROCESSOR=x86_64
1333 fi
1334 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1335 exit ;;
1336 *:procnto*:*:* | *:QNX:[0123456789]*:*)
1337 UNAME_PROCESSOR=`uname -p`
1338 if test "$UNAME_PROCESSOR" = x86; then
1339 UNAME_PROCESSOR=i386
1340 UNAME_MACHINE=pc
1341 fi
1342 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1343 exit ;;
1344 *:QNX:*:4*)
1345 echo i386-pc-qnx
1346 exit ;;
1347 NEO-*:NONSTOP_KERNEL:*:*)
1348 echo neo-tandem-nsk${UNAME_RELEASE}
1349 exit ;;
1350 NSE-*:NONSTOP_KERNEL:*:*)
1351 echo nse-tandem-nsk${UNAME_RELEASE}
1352 exit ;;
1353 NSR-*:NONSTOP_KERNEL:*:*)
1354 echo nsr-tandem-nsk${UNAME_RELEASE}
1355 exit ;;
1356 NSX-*:NONSTOP_KERNEL:*:*)
1357 echo nsx-tandem-nsk${UNAME_RELEASE}
1358 exit ;;
1359 *:NonStop-UX:*:*)
1360 echo mips-compaq-nonstopux
1361 exit ;;
1362 BS2000:POSIX*:*:*)
1363 echo bs2000-siemens-sysv
1364 exit ;;
1365 DS/*:UNIX_System_V:*:*)
1366 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1367 exit ;;
1368 *:Plan9:*:*)
1369 # "uname -m" is not consistent, so use $cputype instead. 386
1370 # is converted to i386 for consistency with other x86
1371 # operating systems.
1372 if test "$cputype" = 386; then
1373 UNAME_MACHINE=i386
1374 else
1375 UNAME_MACHINE="$cputype"
1376 fi
1377 echo ${UNAME_MACHINE}-unknown-plan9
1378 exit ;;
1379 *:TOPS-10:*:*)
1380 echo pdp10-unknown-tops10
1381 exit ;;
1382 *:TENEX:*:*)
1383 echo pdp10-unknown-tenex
1384 exit ;;
1385 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1386 echo pdp10-dec-tops20
1387 exit ;;
1388 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1389 echo pdp10-xkl-tops20
1390 exit ;;
1391 *:TOPS-20:*:*)
1392 echo pdp10-unknown-tops20
1393 exit ;;
1394 *:ITS:*:*)
1395 echo pdp10-unknown-its
1396 exit ;;
1397 SEI:*:*:SEIUX)
1398 echo mips-sei-seiux${UNAME_RELEASE}
1399 exit ;;
1400 *:DragonFly:*:*)
1401 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1402 exit ;;
1403 *:*VMS:*:*)
1404 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1405 case "${UNAME_MACHINE}" in
1406 A*) echo alpha-dec-vms ; exit ;;
1407 I*) echo ia64-dec-vms ; exit ;;
1408 V*) echo vax-dec-vms ; exit ;;
1409 esac ;;
1410 *:XENIX:*:SysV)
1411 echo i386-pc-xenix
1412 exit ;;
1413 i*86:skyos:*:*)
1414 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
1415 exit ;;
1416 i*86:rdos:*:*)
1417 echo ${UNAME_MACHINE}-pc-rdos
1418 exit ;;
1419 i*86:AROS:*:*)
1420 echo ${UNAME_MACHINE}-pc-aros
1421 exit ;;
1422 x86_64:VMkernel:*:*)
1423 echo ${UNAME_MACHINE}-unknown-esx
1424 exit ;;
1425 amd64:Isilon\ OneFS:*:*)
1426 echo x86_64-unknown-onefs
1427 exit ;;
1428 esac
1429
1430 cat >&2 <<EOF
1431 $0: unable to guess system type
1432
1433 This script (version $timestamp), has failed to recognize the
1434 operating system you are using. If your script is old, overwrite *all*
1435 copies of config.guess and config.sub with the latest versions from:
1436
1437 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1438 and
1439 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1440
1441 If $0 has already been updated, send the following data and any
1442 information you think might be pertinent to [email protected] to
1443 provide the necessary information to handle your system.
1444
1445 config.guess timestamp = $timestamp
1446
1447 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1448 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1449 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1450 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1451
1452 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1453 /bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1454
1455 hostinfo = `(hostinfo) 2>/dev/null`
1456 /bin/universe = `(/bin/universe) 2>/dev/null`
1457 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1458 /bin/arch = `(/bin/arch) 2>/dev/null`
1459 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1460 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1461
1462 UNAME_MACHINE = ${UNAME_MACHINE}
1463 UNAME_RELEASE = ${UNAME_RELEASE}
1464 UNAME_SYSTEM = ${UNAME_SYSTEM}
1465 UNAME_VERSION = ${UNAME_VERSION}
1466 EOF
1467
1468 exit 1
1469
1470 # Local variables:
1471 # eval: (add-hook 'write-file-hooks 'time-stamp)
1472 # time-stamp-start: "timestamp='"
1473 # time-stamp-format: "%:y-%02m-%02d"
1474 # time-stamp-end: "'"
1475 # End:
+0
-684
config/config.rpath less more
0 #! /bin/sh
1 # Output a system dependent set of variables, describing how to set the
2 # run time search path of shared libraries in an executable.
3 #
4 # Copyright 1996-2015 Free Software Foundation, Inc.
5 # Taken from GNU libtool, 2001
6 # Originally by Gordon Matzigkeit <[email protected]>, 1996
7 #
8 # This file is free software; the Free Software Foundation gives
9 # unlimited permission to copy and/or distribute it, with or without
10 # modifications, as long as this notice is preserved.
11 #
12 # The first argument passed to this file is the canonical host specification,
13 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
14 # or
15 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
16 # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
17 # should be set by the caller.
18 #
19 # The set of defined variables is at the end of this script.
20
21 # Known limitations:
22 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
23 # than 256 bytes, otherwise the compiler driver will dump core. The only
24 # known workaround is to choose shorter directory names for the build
25 # directory and/or the installation directory.
26
27 # All known linkers require a '.a' archive for static linking (except MSVC,
28 # which needs '.lib').
29 libext=a
30 shrext=.so
31
32 host="$1"
33 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
34 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
35 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
36
37 # Code taken from libtool.m4's _LT_CC_BASENAME.
38
39 for cc_temp in $CC""; do
40 case $cc_temp in
41 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
42 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
43 \-*) ;;
44 *) break;;
45 esac
46 done
47 cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
48
49 # Code taken from libtool.m4's _LT_COMPILER_PIC.
50
51 wl=
52 if test "$GCC" = yes; then
53 wl='-Wl,'
54 else
55 case "$host_os" in
56 aix*)
57 wl='-Wl,'
58 ;;
59 mingw* | cygwin* | pw32* | os2* | cegcc*)
60 ;;
61 hpux9* | hpux10* | hpux11*)
62 wl='-Wl,'
63 ;;
64 irix5* | irix6* | nonstopux*)
65 wl='-Wl,'
66 ;;
67 linux* | k*bsd*-gnu | kopensolaris*-gnu)
68 case $cc_basename in
69 ecc*)
70 wl='-Wl,'
71 ;;
72 icc* | ifort*)
73 wl='-Wl,'
74 ;;
75 lf95*)
76 wl='-Wl,'
77 ;;
78 nagfor*)
79 wl='-Wl,-Wl,,'
80 ;;
81 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
82 wl='-Wl,'
83 ;;
84 ccc*)
85 wl='-Wl,'
86 ;;
87 xl* | bgxl* | bgf* | mpixl*)
88 wl='-Wl,'
89 ;;
90 como)
91 wl='-lopt='
92 ;;
93 *)
94 case `$CC -V 2>&1 | sed 5q` in
95 *Sun\ F* | *Sun*Fortran*)
96 wl=
97 ;;
98 *Sun\ C*)
99 wl='-Wl,'
100 ;;
101 esac
102 ;;
103 esac
104 ;;
105 newsos6)
106 ;;
107 *nto* | *qnx*)
108 ;;
109 osf3* | osf4* | osf5*)
110 wl='-Wl,'
111 ;;
112 rdos*)
113 ;;
114 solaris*)
115 case $cc_basename in
116 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
117 wl='-Qoption ld '
118 ;;
119 *)
120 wl='-Wl,'
121 ;;
122 esac
123 ;;
124 sunos4*)
125 wl='-Qoption ld '
126 ;;
127 sysv4 | sysv4.2uw2* | sysv4.3*)
128 wl='-Wl,'
129 ;;
130 sysv4*MP*)
131 ;;
132 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
133 wl='-Wl,'
134 ;;
135 unicos*)
136 wl='-Wl,'
137 ;;
138 uts4*)
139 ;;
140 esac
141 fi
142
143 # Code taken from libtool.m4's _LT_LINKER_SHLIBS.
144
145 hardcode_libdir_flag_spec=
146 hardcode_libdir_separator=
147 hardcode_direct=no
148 hardcode_minus_L=no
149
150 case "$host_os" in
151 cygwin* | mingw* | pw32* | cegcc*)
152 # FIXME: the MSVC++ port hasn't been tested in a loooong time
153 # When not using gcc, we currently assume that we are using
154 # Microsoft Visual C++.
155 if test "$GCC" != yes; then
156 with_gnu_ld=no
157 fi
158 ;;
159 interix*)
160 # we just hope/assume this is gcc and not c89 (= MSVC++)
161 with_gnu_ld=yes
162 ;;
163 openbsd*)
164 with_gnu_ld=no
165 ;;
166 esac
167
168 ld_shlibs=yes
169 if test "$with_gnu_ld" = yes; then
170 # Set some defaults for GNU ld with shared library support. These
171 # are reset later if shared libraries are not supported. Putting them
172 # here allows them to be overridden if necessary.
173 # Unlike libtool, we use -rpath here, not --rpath, since the documented
174 # option of GNU ld is called -rpath, not --rpath.
175 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
176 case "$host_os" in
177 aix[3-9]*)
178 # On AIX/PPC, the GNU linker is very broken
179 if test "$host_cpu" != ia64; then
180 ld_shlibs=no
181 fi
182 ;;
183 amigaos*)
184 case "$host_cpu" in
185 powerpc)
186 ;;
187 m68k)
188 hardcode_libdir_flag_spec='-L$libdir'
189 hardcode_minus_L=yes
190 ;;
191 esac
192 ;;
193 beos*)
194 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
195 :
196 else
197 ld_shlibs=no
198 fi
199 ;;
200 cygwin* | mingw* | pw32* | cegcc*)
201 # hardcode_libdir_flag_spec is actually meaningless, as there is
202 # no search path for DLLs.
203 hardcode_libdir_flag_spec='-L$libdir'
204 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
205 :
206 else
207 ld_shlibs=no
208 fi
209 ;;
210 haiku*)
211 ;;
212 interix[3-9]*)
213 hardcode_direct=no
214 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
215 ;;
216 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
217 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
218 :
219 else
220 ld_shlibs=no
221 fi
222 ;;
223 netbsd*)
224 ;;
225 solaris*)
226 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
227 ld_shlibs=no
228 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
229 :
230 else
231 ld_shlibs=no
232 fi
233 ;;
234 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
235 case `$LD -v 2>&1` in
236 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
237 ld_shlibs=no
238 ;;
239 *)
240 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
241 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
242 else
243 ld_shlibs=no
244 fi
245 ;;
246 esac
247 ;;
248 sunos4*)
249 hardcode_direct=yes
250 ;;
251 *)
252 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
253 :
254 else
255 ld_shlibs=no
256 fi
257 ;;
258 esac
259 if test "$ld_shlibs" = no; then
260 hardcode_libdir_flag_spec=
261 fi
262 else
263 case "$host_os" in
264 aix3*)
265 # Note: this linker hardcodes the directories in LIBPATH if there
266 # are no directories specified by -L.
267 hardcode_minus_L=yes
268 if test "$GCC" = yes; then
269 # Neither direct hardcoding nor static linking is supported with a
270 # broken collect2.
271 hardcode_direct=unsupported
272 fi
273 ;;
274 aix[4-9]*)
275 if test "$host_cpu" = ia64; then
276 # On IA64, the linker does run time linking by default, so we don't
277 # have to do anything special.
278 aix_use_runtimelinking=no
279 else
280 aix_use_runtimelinking=no
281 # Test if we are trying to use run time linking or normal
282 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
283 # need to do runtime linking.
284 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
285 for ld_flag in $LDFLAGS; do
286 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
287 aix_use_runtimelinking=yes
288 break
289 fi
290 done
291 ;;
292 esac
293 fi
294 hardcode_direct=yes
295 hardcode_libdir_separator=':'
296 if test "$GCC" = yes; then
297 case $host_os in aix4.[012]|aix4.[012].*)
298 collect2name=`${CC} -print-prog-name=collect2`
299 if test -f "$collect2name" && \
300 strings "$collect2name" | grep resolve_lib_name >/dev/null
301 then
302 # We have reworked collect2
303 :
304 else
305 # We have old collect2
306 hardcode_direct=unsupported
307 hardcode_minus_L=yes
308 hardcode_libdir_flag_spec='-L$libdir'
309 hardcode_libdir_separator=
310 fi
311 ;;
312 esac
313 fi
314 # Begin _LT_AC_SYS_LIBPATH_AIX.
315 echo 'int main () { return 0; }' > conftest.c
316 ${CC} ${LDFLAGS} conftest.c -o conftest
317 aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
318 }'`
319 if test -z "$aix_libpath"; then
320 aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
321 }'`
322 fi
323 if test -z "$aix_libpath"; then
324 aix_libpath="/usr/lib:/lib"
325 fi
326 rm -f conftest.c conftest
327 # End _LT_AC_SYS_LIBPATH_AIX.
328 if test "$aix_use_runtimelinking" = yes; then
329 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
330 else
331 if test "$host_cpu" = ia64; then
332 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
333 else
334 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
335 fi
336 fi
337 ;;
338 amigaos*)
339 case "$host_cpu" in
340 powerpc)
341 ;;
342 m68k)
343 hardcode_libdir_flag_spec='-L$libdir'
344 hardcode_minus_L=yes
345 ;;
346 esac
347 ;;
348 bsdi[45]*)
349 ;;
350 cygwin* | mingw* | pw32* | cegcc*)
351 # When not using gcc, we currently assume that we are using
352 # Microsoft Visual C++.
353 # hardcode_libdir_flag_spec is actually meaningless, as there is
354 # no search path for DLLs.
355 hardcode_libdir_flag_spec=' '
356 libext=lib
357 ;;
358 darwin* | rhapsody*)
359 hardcode_direct=no
360 if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
361 :
362 else
363 ld_shlibs=no
364 fi
365 ;;
366 dgux*)
367 hardcode_libdir_flag_spec='-L$libdir'
368 ;;
369 freebsd2.[01]*)
370 hardcode_direct=yes
371 hardcode_minus_L=yes
372 ;;
373 freebsd* | dragonfly*)
374 hardcode_libdir_flag_spec='-R$libdir'
375 hardcode_direct=yes
376 ;;
377 hpux9*)
378 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
379 hardcode_libdir_separator=:
380 hardcode_direct=yes
381 # hardcode_minus_L: Not really in the search PATH,
382 # but as the default location of the library.
383 hardcode_minus_L=yes
384 ;;
385 hpux10*)
386 if test "$with_gnu_ld" = no; then
387 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
388 hardcode_libdir_separator=:
389 hardcode_direct=yes
390 # hardcode_minus_L: Not really in the search PATH,
391 # but as the default location of the library.
392 hardcode_minus_L=yes
393 fi
394 ;;
395 hpux11*)
396 if test "$with_gnu_ld" = no; then
397 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
398 hardcode_libdir_separator=:
399 case $host_cpu in
400 hppa*64*|ia64*)
401 hardcode_direct=no
402 ;;
403 *)
404 hardcode_direct=yes
405 # hardcode_minus_L: Not really in the search PATH,
406 # but as the default location of the library.
407 hardcode_minus_L=yes
408 ;;
409 esac
410 fi
411 ;;
412 irix5* | irix6* | nonstopux*)
413 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
414 hardcode_libdir_separator=:
415 ;;
416 netbsd*)
417 hardcode_libdir_flag_spec='-R$libdir'
418 hardcode_direct=yes
419 ;;
420 newsos6)
421 hardcode_direct=yes
422 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
423 hardcode_libdir_separator=:
424 ;;
425 *nto* | *qnx*)
426 ;;
427 openbsd*)
428 if test -f /usr/libexec/ld.so; then
429 hardcode_direct=yes
430 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
431 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
432 else
433 case "$host_os" in
434 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
435 hardcode_libdir_flag_spec='-R$libdir'
436 ;;
437 *)
438 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
439 ;;
440 esac
441 fi
442 else
443 ld_shlibs=no
444 fi
445 ;;
446 os2*)
447 hardcode_libdir_flag_spec='-L$libdir'
448 hardcode_minus_L=yes
449 ;;
450 osf3*)
451 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
452 hardcode_libdir_separator=:
453 ;;
454 osf4* | osf5*)
455 if test "$GCC" = yes; then
456 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
457 else
458 # Both cc and cxx compiler support -rpath directly
459 hardcode_libdir_flag_spec='-rpath $libdir'
460 fi
461 hardcode_libdir_separator=:
462 ;;
463 solaris*)
464 hardcode_libdir_flag_spec='-R$libdir'
465 ;;
466 sunos4*)
467 hardcode_libdir_flag_spec='-L$libdir'
468 hardcode_direct=yes
469 hardcode_minus_L=yes
470 ;;
471 sysv4)
472 case $host_vendor in
473 sni)
474 hardcode_direct=yes # is this really true???
475 ;;
476 siemens)
477 hardcode_direct=no
478 ;;
479 motorola)
480 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
481 ;;
482 esac
483 ;;
484 sysv4.3*)
485 ;;
486 sysv4*MP*)
487 if test -d /usr/nec; then
488 ld_shlibs=yes
489 fi
490 ;;
491 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
492 ;;
493 sysv5* | sco3.2v5* | sco5v6*)
494 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
495 hardcode_libdir_separator=':'
496 ;;
497 uts4*)
498 hardcode_libdir_flag_spec='-L$libdir'
499 ;;
500 *)
501 ld_shlibs=no
502 ;;
503 esac
504 fi
505
506 # Check dynamic linker characteristics
507 # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
508 # Unlike libtool.m4, here we don't care about _all_ names of the library, but
509 # only about the one the linker finds when passed -lNAME. This is the last
510 # element of library_names_spec in libtool.m4, or possibly two of them if the
511 # linker has special search rules.
512 library_names_spec= # the last element of library_names_spec in libtool.m4
513 libname_spec='lib$name'
514 case "$host_os" in
515 aix3*)
516 library_names_spec='$libname.a'
517 ;;
518 aix[4-9]*)
519 library_names_spec='$libname$shrext'
520 ;;
521 amigaos*)
522 case "$host_cpu" in
523 powerpc*)
524 library_names_spec='$libname$shrext' ;;
525 m68k)
526 library_names_spec='$libname.a' ;;
527 esac
528 ;;
529 beos*)
530 library_names_spec='$libname$shrext'
531 ;;
532 bsdi[45]*)
533 library_names_spec='$libname$shrext'
534 ;;
535 cygwin* | mingw* | pw32* | cegcc*)
536 shrext=.dll
537 library_names_spec='$libname.dll.a $libname.lib'
538 ;;
539 darwin* | rhapsody*)
540 shrext=.dylib
541 library_names_spec='$libname$shrext'
542 ;;
543 dgux*)
544 library_names_spec='$libname$shrext'
545 ;;
546 freebsd[23].*)
547 library_names_spec='$libname$shrext$versuffix'
548 ;;
549 freebsd* | dragonfly*)
550 library_names_spec='$libname$shrext'
551 ;;
552 gnu*)
553 library_names_spec='$libname$shrext'
554 ;;
555 haiku*)
556 library_names_spec='$libname$shrext'
557 ;;
558 hpux9* | hpux10* | hpux11*)
559 case $host_cpu in
560 ia64*)
561 shrext=.so
562 ;;
563 hppa*64*)
564 shrext=.sl
565 ;;
566 *)
567 shrext=.sl
568 ;;
569 esac
570 library_names_spec='$libname$shrext'
571 ;;
572 interix[3-9]*)
573 library_names_spec='$libname$shrext'
574 ;;
575 irix5* | irix6* | nonstopux*)
576 library_names_spec='$libname$shrext'
577 case "$host_os" in
578 irix5* | nonstopux*)
579 libsuff= shlibsuff=
580 ;;
581 *)
582 case $LD in
583 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
584 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
585 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
586 *) libsuff= shlibsuff= ;;
587 esac
588 ;;
589 esac
590 ;;
591 linux*oldld* | linux*aout* | linux*coff*)
592 ;;
593 linux* | k*bsd*-gnu | kopensolaris*-gnu)
594 library_names_spec='$libname$shrext'
595 ;;
596 knetbsd*-gnu)
597 library_names_spec='$libname$shrext'
598 ;;
599 netbsd*)
600 library_names_spec='$libname$shrext'
601 ;;
602 newsos6)
603 library_names_spec='$libname$shrext'
604 ;;
605 *nto* | *qnx*)
606 library_names_spec='$libname$shrext'
607 ;;
608 openbsd*)
609 library_names_spec='$libname$shrext$versuffix'
610 ;;
611 os2*)
612 libname_spec='$name'
613 shrext=.dll
614 library_names_spec='$libname.a'
615 ;;
616 osf3* | osf4* | osf5*)
617 library_names_spec='$libname$shrext'
618 ;;
619 rdos*)
620 ;;
621 solaris*)
622 library_names_spec='$libname$shrext'
623 ;;
624 sunos4*)
625 library_names_spec='$libname$shrext$versuffix'
626 ;;
627 sysv4 | sysv4.3*)
628 library_names_spec='$libname$shrext'
629 ;;
630 sysv4*MP*)
631 library_names_spec='$libname$shrext'
632 ;;
633 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
634 library_names_spec='$libname$shrext'
635 ;;
636 tpf*)
637 library_names_spec='$libname$shrext'
638 ;;
639 uts4*)
640 library_names_spec='$libname$shrext'
641 ;;
642 esac
643
644 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
645 escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
646 shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
647 escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
648 escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
649 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
650
651 LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
652
653 # How to pass a linker flag through the compiler.
654 wl="$escaped_wl"
655
656 # Static library suffix (normally "a").
657 libext="$libext"
658
659 # Shared library suffix (normally "so").
660 shlibext="$shlibext"
661
662 # Format of library name prefix.
663 libname_spec="$escaped_libname_spec"
664
665 # Library names that the linker finds when passed -lNAME.
666 library_names_spec="$escaped_library_names_spec"
667
668 # Flag to hardcode \$libdir into a binary during linking.
669 # This must work even if \$libdir does not exist.
670 hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
671
672 # Whether we need a single -rpath flag with a separated argument.
673 hardcode_libdir_separator="$hardcode_libdir_separator"
674
675 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
676 # resulting binary.
677 hardcode_direct="$hardcode_direct"
678
679 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
680 # resulting binary.
681 hardcode_minus_L="$hardcode_minus_L"
682
683 EOF
+0
-1836
config/config.sub less more
0 #! /bin/sh
1 # Configuration validation subroutine script.
2 # Copyright 1992-2017 Free Software Foundation, Inc.
3
4 timestamp='2017-04-02'
5
6 # This file is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
18 #
19 # As a special exception to the GNU General Public License, if you
20 # distribute this file as part of a program that contains a
21 # configuration script generated by Autoconf, you may include it under
22 # the same distribution terms that you use for the rest of that
23 # program. This Exception is an additional permission under section 7
24 # of the GNU General Public License, version 3 ("GPLv3").
25
26
27 # Please send patches to <[email protected]>.
28 #
29 # Configuration subroutine to validate and canonicalize a configuration type.
30 # Supply the specified configuration type as an argument.
31 # If it is invalid, we print an error message on stderr and exit with code 1.
32 # Otherwise, we print the canonical config type on stdout and succeed.
33
34 # You can get the latest version of this script from:
35 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
36
37 # This file is supposed to be the same for all GNU packages
38 # and recognize all the CPU types, system types and aliases
39 # that are meaningful with *any* GNU software.
40 # Each package is responsible for reporting which valid configurations
41 # it does not support. The user should be able to distinguish
42 # a failure to support a valid configuration from a meaningless
43 # configuration.
44
45 # The goal of this file is to map all the various variations of a given
46 # machine specification into a single specification in the form:
47 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
48 # or in some cases, the newer four-part form:
49 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
50 # It is wrong to echo any other type of specification.
51
52 me=`echo "$0" | sed -e 's,.*/,,'`
53
54 usage="\
55 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
56
57 Canonicalize a configuration name.
58
59 Operation modes:
60 -h, --help print this help, then exit
61 -t, --time-stamp print date of last modification, then exit
62 -v, --version print version number, then exit
63
64 Report bugs and patches to <[email protected]>."
65
66 version="\
67 GNU config.sub ($timestamp)
68
69 Copyright 1992-2017 Free Software Foundation, Inc.
70
71 This is free software; see the source for copying conditions. There is NO
72 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
73
74 help="
75 Try \`$me --help' for more information."
76
77 # Parse command line
78 while test $# -gt 0 ; do
79 case $1 in
80 --time-stamp | --time* | -t )
81 echo "$timestamp" ; exit ;;
82 --version | -v )
83 echo "$version" ; exit ;;
84 --help | --h* | -h )
85 echo "$usage"; exit ;;
86 -- ) # Stop option processing
87 shift; break ;;
88 - ) # Use stdin as input.
89 break ;;
90 -* )
91 echo "$me: invalid option $1$help"
92 exit 1 ;;
93
94 *local*)
95 # First pass through any local machine types.
96 echo $1
97 exit ;;
98
99 * )
100 break ;;
101 esac
102 done
103
104 case $# in
105 0) echo "$me: missing argument$help" >&2
106 exit 1;;
107 1) ;;
108 *) echo "$me: too many arguments$help" >&2
109 exit 1;;
110 esac
111
112 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
113 # Here we must recognize all the valid KERNEL-OS combinations.
114 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
115 case $maybe_os in
116 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
117 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
118 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
119 kopensolaris*-gnu* | cloudabi*-eabi* | \
120 storm-chaos* | os2-emx* | rtmk-nova*)
121 os=-$maybe_os
122 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
123 ;;
124 android-linux)
125 os=-linux-android
126 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
127 ;;
128 *)
129 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
130 if [ $basic_machine != $1 ]
131 then os=`echo $1 | sed 's/.*-/-/'`
132 else os=; fi
133 ;;
134 esac
135
136 ### Let's recognize common machines as not being operating systems so
137 ### that things like config.sub decstation-3100 work. We also
138 ### recognize some manufacturers as not being operating systems, so we
139 ### can provide default operating systems below.
140 case $os in
141 -sun*os*)
142 # Prevent following clause from handling this invalid input.
143 ;;
144 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
145 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
146 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
147 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
148 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
149 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
150 -apple | -axis | -knuth | -cray | -microblaze*)
151 os=
152 basic_machine=$1
153 ;;
154 -bluegene*)
155 os=-cnk
156 ;;
157 -sim | -cisco | -oki | -wec | -winbond)
158 os=
159 basic_machine=$1
160 ;;
161 -scout)
162 ;;
163 -wrs)
164 os=-vxworks
165 basic_machine=$1
166 ;;
167 -chorusos*)
168 os=-chorusos
169 basic_machine=$1
170 ;;
171 -chorusrdb)
172 os=-chorusrdb
173 basic_machine=$1
174 ;;
175 -hiux*)
176 os=-hiuxwe2
177 ;;
178 -sco6)
179 os=-sco5v6
180 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
181 ;;
182 -sco5)
183 os=-sco3.2v5
184 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
185 ;;
186 -sco4)
187 os=-sco3.2v4
188 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
189 ;;
190 -sco3.2.[4-9]*)
191 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
192 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193 ;;
194 -sco3.2v[4-9]*)
195 # Don't forget version if it is 3.2v4 or newer.
196 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
197 ;;
198 -sco5v6*)
199 # Don't forget version if it is 3.2v4 or newer.
200 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
201 ;;
202 -sco*)
203 os=-sco3.2v2
204 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
205 ;;
206 -udk*)
207 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
208 ;;
209 -isc)
210 os=-isc2.2
211 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
212 ;;
213 -clix*)
214 basic_machine=clipper-intergraph
215 ;;
216 -isc*)
217 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
218 ;;
219 -lynx*178)
220 os=-lynxos178
221 ;;
222 -lynx*5)
223 os=-lynxos5
224 ;;
225 -lynx*)
226 os=-lynxos
227 ;;
228 -ptx*)
229 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
230 ;;
231 -windowsnt*)
232 os=`echo $os | sed -e 's/windowsnt/winnt/'`
233 ;;
234 -psos*)
235 os=-psos
236 ;;
237 -mint | -mint[0-9]*)
238 basic_machine=m68k-atari
239 os=-mint
240 ;;
241 esac
242
243 # Decode aliases for certain CPU-COMPANY combinations.
244 case $basic_machine in
245 # Recognize the basic CPU types without company name.
246 # Some are omitted here because they have special meanings below.
247 1750a | 580 \
248 | a29k \
249 | aarch64 | aarch64_be \
250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
252 | am33_2.0 \
253 | arc | arceb \
254 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
255 | avr | avr32 \
256 | ba \
257 | be32 | be64 \
258 | bfin \
259 | c4x | c8051 | clipper \
260 | d10v | d30v | dlx | dsp16xx \
261 | e2k | epiphany \
262 | fido | fr30 | frv | ft32 \
263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264 | hexagon \
265 | i370 | i860 | i960 | ia16 | ia64 \
266 | ip2k | iq2000 \
267 | k1om \
268 | le32 | le64 \
269 | lm32 \
270 | m32c | m32r | m32rle | m68000 | m68k | m88k \
271 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
272 | mips | mipsbe | mipseb | mipsel | mipsle \
273 | mips16 \
274 | mips64 | mips64el \
275 | mips64octeon | mips64octeonel \
276 | mips64orion | mips64orionel \
277 | mips64r5900 | mips64r5900el \
278 | mips64vr | mips64vrel \
279 | mips64vr4100 | mips64vr4100el \
280 | mips64vr4300 | mips64vr4300el \
281 | mips64vr5000 | mips64vr5000el \
282 | mips64vr5900 | mips64vr5900el \
283 | mipsisa32 | mipsisa32el \
284 | mipsisa32r2 | mipsisa32r2el \
285 | mipsisa32r6 | mipsisa32r6el \
286 | mipsisa64 | mipsisa64el \
287 | mipsisa64r2 | mipsisa64r2el \
288 | mipsisa64r6 | mipsisa64r6el \
289 | mipsisa64sb1 | mipsisa64sb1el \
290 | mipsisa64sr71k | mipsisa64sr71kel \
291 | mipsr5900 | mipsr5900el \
292 | mipstx39 | mipstx39el \
293 | mn10200 | mn10300 \
294 | moxie \
295 | mt \
296 | msp430 \
297 | nds32 | nds32le | nds32be \
298 | nios | nios2 | nios2eb | nios2el \
299 | ns16k | ns32k \
300 | open8 | or1k | or1knd | or32 \
301 | pdp10 | pdp11 | pj | pjl \
302 | powerpc | powerpc64 | powerpc64le | powerpcle \
303 | pru \
304 | pyramid \
305 | riscv32 | riscv64 \
306 | rl78 | rx \
307 | score \
308 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
309 | sh64 | sh64le \
310 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
311 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
312 | spu \
313 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
314 | ubicom32 \
315 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
316 | visium \
317 | wasm32 \
318 | we32k \
319 | x86 | xc16x | xstormy16 | xtensa \
320 | z8k | z80)
321 basic_machine=$basic_machine-unknown
322 ;;
323 c54x)
324 basic_machine=tic54x-unknown
325 ;;
326 c55x)
327 basic_machine=tic55x-unknown
328 ;;
329 c6x)
330 basic_machine=tic6x-unknown
331 ;;
332 leon|leon[3-9])
333 basic_machine=sparc-$basic_machine
334 ;;
335 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
336 basic_machine=$basic_machine-unknown
337 os=-none
338 ;;
339 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
340 ;;
341 ms1)
342 basic_machine=mt-unknown
343 ;;
344
345 strongarm | thumb | xscale)
346 basic_machine=arm-unknown
347 ;;
348 xgate)
349 basic_machine=$basic_machine-unknown
350 os=-none
351 ;;
352 xscaleeb)
353 basic_machine=armeb-unknown
354 ;;
355
356 xscaleel)
357 basic_machine=armel-unknown
358 ;;
359
360 # We use `pc' rather than `unknown'
361 # because (1) that's what they normally are, and
362 # (2) the word "unknown" tends to confuse beginning users.
363 i*86 | x86_64)
364 basic_machine=$basic_machine-pc
365 ;;
366 # Object if more than one company name word.
367 *-*-*)
368 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
369 exit 1
370 ;;
371 # Recognize the basic CPU types with company name.
372 580-* \
373 | a29k-* \
374 | aarch64-* | aarch64_be-* \
375 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
376 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
377 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
378 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
379 | avr-* | avr32-* \
380 | ba-* \
381 | be32-* | be64-* \
382 | bfin-* | bs2000-* \
383 | c[123]* | c30-* | [cjt]90-* | c4x-* \
384 | c8051-* | clipper-* | craynv-* | cydra-* \
385 | d10v-* | d30v-* | dlx-* \
386 | e2k-* | elxsi-* \
387 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
388 | h8300-* | h8500-* \
389 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
390 | hexagon-* \
391 | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
392 | ip2k-* | iq2000-* \
393 | k1om-* \
394 | le32-* | le64-* \
395 | lm32-* \
396 | m32c-* | m32r-* | m32rle-* \
397 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
398 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
399 | microblaze-* | microblazeel-* \
400 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
401 | mips16-* \
402 | mips64-* | mips64el-* \
403 | mips64octeon-* | mips64octeonel-* \
404 | mips64orion-* | mips64orionel-* \
405 | mips64r5900-* | mips64r5900el-* \
406 | mips64vr-* | mips64vrel-* \
407 | mips64vr4100-* | mips64vr4100el-* \
408 | mips64vr4300-* | mips64vr4300el-* \
409 | mips64vr5000-* | mips64vr5000el-* \
410 | mips64vr5900-* | mips64vr5900el-* \
411 | mipsisa32-* | mipsisa32el-* \
412 | mipsisa32r2-* | mipsisa32r2el-* \
413 | mipsisa32r6-* | mipsisa32r6el-* \
414 | mipsisa64-* | mipsisa64el-* \
415 | mipsisa64r2-* | mipsisa64r2el-* \
416 | mipsisa64r6-* | mipsisa64r6el-* \
417 | mipsisa64sb1-* | mipsisa64sb1el-* \
418 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
419 | mipsr5900-* | mipsr5900el-* \
420 | mipstx39-* | mipstx39el-* \
421 | mmix-* \
422 | mt-* \
423 | msp430-* \
424 | nds32-* | nds32le-* | nds32be-* \
425 | nios-* | nios2-* | nios2eb-* | nios2el-* \
426 | none-* | np1-* | ns16k-* | ns32k-* \
427 | open8-* \
428 | or1k*-* \
429 | orion-* \
430 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
431 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
432 | pru-* \
433 | pyramid-* \
434 | riscv32-* | riscv64-* \
435 | rl78-* | romp-* | rs6000-* | rx-* \
436 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
437 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
438 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
439 | sparclite-* \
440 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
441 | tahoe-* \
442 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
443 | tile*-* \
444 | tron-* \
445 | ubicom32-* \
446 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
447 | vax-* \
448 | visium-* \
449 | wasm32-* \
450 | we32k-* \
451 | x86-* | x86_64-* | xc16x-* | xps100-* \
452 | xstormy16-* | xtensa*-* \
453 | ymp-* \
454 | z8k-* | z80-*)
455 ;;
456 # Recognize the basic CPU types without company name, with glob match.
457 xtensa*)
458 basic_machine=$basic_machine-unknown
459 ;;
460 # Recognize the various machine names and aliases which stand
461 # for a CPU type and a company and sometimes even an OS.
462 386bsd)
463 basic_machine=i386-unknown
464 os=-bsd
465 ;;
466 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
467 basic_machine=m68000-att
468 ;;
469 3b*)
470 basic_machine=we32k-att
471 ;;
472 a29khif)
473 basic_machine=a29k-amd
474 os=-udi
475 ;;
476 abacus)
477 basic_machine=abacus-unknown
478 ;;
479 adobe68k)
480 basic_machine=m68010-adobe
481 os=-scout
482 ;;
483 alliant | fx80)
484 basic_machine=fx80-alliant
485 ;;
486 altos | altos3068)
487 basic_machine=m68k-altos
488 ;;
489 am29k)
490 basic_machine=a29k-none
491 os=-bsd
492 ;;
493 amd64)
494 basic_machine=x86_64-pc
495 ;;
496 amd64-*)
497 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
498 ;;
499 amdahl)
500 basic_machine=580-amdahl
501 os=-sysv
502 ;;
503 amiga | amiga-*)
504 basic_machine=m68k-unknown
505 ;;
506 amigaos | amigados)
507 basic_machine=m68k-unknown
508 os=-amigaos
509 ;;
510 amigaunix | amix)
511 basic_machine=m68k-unknown
512 os=-sysv4
513 ;;
514 apollo68)
515 basic_machine=m68k-apollo
516 os=-sysv
517 ;;
518 apollo68bsd)
519 basic_machine=m68k-apollo
520 os=-bsd
521 ;;
522 aros)
523 basic_machine=i386-pc
524 os=-aros
525 ;;
526 asmjs)
527 basic_machine=asmjs-unknown
528 ;;
529 aux)
530 basic_machine=m68k-apple
531 os=-aux
532 ;;
533 balance)
534 basic_machine=ns32k-sequent
535 os=-dynix
536 ;;
537 blackfin)
538 basic_machine=bfin-unknown
539 os=-linux
540 ;;
541 blackfin-*)
542 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
543 os=-linux
544 ;;
545 bluegene*)
546 basic_machine=powerpc-ibm
547 os=-cnk
548 ;;
549 c54x-*)
550 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
551 ;;
552 c55x-*)
553 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
554 ;;
555 c6x-*)
556 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
557 ;;
558 c90)
559 basic_machine=c90-cray
560 os=-unicos
561 ;;
562 cegcc)
563 basic_machine=arm-unknown
564 os=-cegcc
565 ;;
566 convex-c1)
567 basic_machine=c1-convex
568 os=-bsd
569 ;;
570 convex-c2)
571 basic_machine=c2-convex
572 os=-bsd
573 ;;
574 convex-c32)
575 basic_machine=c32-convex
576 os=-bsd
577 ;;
578 convex-c34)
579 basic_machine=c34-convex
580 os=-bsd
581 ;;
582 convex-c38)
583 basic_machine=c38-convex
584 os=-bsd
585 ;;
586 cray | j90)
587 basic_machine=j90-cray
588 os=-unicos
589 ;;
590 craynv)
591 basic_machine=craynv-cray
592 os=-unicosmp
593 ;;
594 cr16 | cr16-*)
595 basic_machine=cr16-unknown
596 os=-elf
597 ;;
598 crds | unos)
599 basic_machine=m68k-crds
600 ;;
601 crisv32 | crisv32-* | etraxfs*)
602 basic_machine=crisv32-axis
603 ;;
604 cris | cris-* | etrax*)
605 basic_machine=cris-axis
606 ;;
607 crx)
608 basic_machine=crx-unknown
609 os=-elf
610 ;;
611 da30 | da30-*)
612 basic_machine=m68k-da30
613 ;;
614 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
615 basic_machine=mips-dec
616 ;;
617 decsystem10* | dec10*)
618 basic_machine=pdp10-dec
619 os=-tops10
620 ;;
621 decsystem20* | dec20*)
622 basic_machine=pdp10-dec
623 os=-tops20
624 ;;
625 delta | 3300 | motorola-3300 | motorola-delta \
626 | 3300-motorola | delta-motorola)
627 basic_machine=m68k-motorola
628 ;;
629 delta88)
630 basic_machine=m88k-motorola
631 os=-sysv3
632 ;;
633 dicos)
634 basic_machine=i686-pc
635 os=-dicos
636 ;;
637 djgpp)
638 basic_machine=i586-pc
639 os=-msdosdjgpp
640 ;;
641 dpx20 | dpx20-*)
642 basic_machine=rs6000-bull
643 os=-bosx
644 ;;
645 dpx2* | dpx2*-bull)
646 basic_machine=m68k-bull
647 os=-sysv3
648 ;;
649 e500v[12])
650 basic_machine=powerpc-unknown
651 os=$os"spe"
652 ;;
653 e500v[12]-*)
654 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
655 os=$os"spe"
656 ;;
657 ebmon29k)
658 basic_machine=a29k-amd
659 os=-ebmon
660 ;;
661 elxsi)
662 basic_machine=elxsi-elxsi
663 os=-bsd
664 ;;
665 encore | umax | mmax)
666 basic_machine=ns32k-encore
667 ;;
668 es1800 | OSE68k | ose68k | ose | OSE)
669 basic_machine=m68k-ericsson
670 os=-ose
671 ;;
672 fx2800)
673 basic_machine=i860-alliant
674 ;;
675 genix)
676 basic_machine=ns32k-ns
677 ;;
678 gmicro)
679 basic_machine=tron-gmicro
680 os=-sysv
681 ;;
682 go32)
683 basic_machine=i386-pc
684 os=-go32
685 ;;
686 h3050r* | hiux*)
687 basic_machine=hppa1.1-hitachi
688 os=-hiuxwe2
689 ;;
690 h8300hms)
691 basic_machine=h8300-hitachi
692 os=-hms
693 ;;
694 h8300xray)
695 basic_machine=h8300-hitachi
696 os=-xray
697 ;;
698 h8500hms)
699 basic_machine=h8500-hitachi
700 os=-hms
701 ;;
702 harris)
703 basic_machine=m88k-harris
704 os=-sysv3
705 ;;
706 hp300-*)
707 basic_machine=m68k-hp
708 ;;
709 hp300bsd)
710 basic_machine=m68k-hp
711 os=-bsd
712 ;;
713 hp300hpux)
714 basic_machine=m68k-hp
715 os=-hpux
716 ;;
717 hp3k9[0-9][0-9] | hp9[0-9][0-9])
718 basic_machine=hppa1.0-hp
719 ;;
720 hp9k2[0-9][0-9] | hp9k31[0-9])
721 basic_machine=m68000-hp
722 ;;
723 hp9k3[2-9][0-9])
724 basic_machine=m68k-hp
725 ;;
726 hp9k6[0-9][0-9] | hp6[0-9][0-9])
727 basic_machine=hppa1.0-hp
728 ;;
729 hp9k7[0-79][0-9] | hp7[0-79][0-9])
730 basic_machine=hppa1.1-hp
731 ;;
732 hp9k78[0-9] | hp78[0-9])
733 # FIXME: really hppa2.0-hp
734 basic_machine=hppa1.1-hp
735 ;;
736 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
737 # FIXME: really hppa2.0-hp
738 basic_machine=hppa1.1-hp
739 ;;
740 hp9k8[0-9][13679] | hp8[0-9][13679])
741 basic_machine=hppa1.1-hp
742 ;;
743 hp9k8[0-9][0-9] | hp8[0-9][0-9])
744 basic_machine=hppa1.0-hp
745 ;;
746 hppa-next)
747 os=-nextstep3
748 ;;
749 hppaosf)
750 basic_machine=hppa1.1-hp
751 os=-osf
752 ;;
753 hppro)
754 basic_machine=hppa1.1-hp
755 os=-proelf
756 ;;
757 i370-ibm* | ibm*)
758 basic_machine=i370-ibm
759 ;;
760 i*86v32)
761 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
762 os=-sysv32
763 ;;
764 i*86v4*)
765 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
766 os=-sysv4
767 ;;
768 i*86v)
769 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
770 os=-sysv
771 ;;
772 i*86sol2)
773 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
774 os=-solaris2
775 ;;
776 i386mach)
777 basic_machine=i386-mach
778 os=-mach
779 ;;
780 i386-vsta | vsta)
781 basic_machine=i386-unknown
782 os=-vsta
783 ;;
784 iris | iris4d)
785 basic_machine=mips-sgi
786 case $os in
787 -irix*)
788 ;;
789 *)
790 os=-irix4
791 ;;
792 esac
793 ;;
794 isi68 | isi)
795 basic_machine=m68k-isi
796 os=-sysv
797 ;;
798 leon-*|leon[3-9]-*)
799 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
800 ;;
801 m68knommu)
802 basic_machine=m68k-unknown
803 os=-linux
804 ;;
805 m68knommu-*)
806 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
807 os=-linux
808 ;;
809 m88k-omron*)
810 basic_machine=m88k-omron
811 ;;
812 magnum | m3230)
813 basic_machine=mips-mips
814 os=-sysv
815 ;;
816 merlin)
817 basic_machine=ns32k-utek
818 os=-sysv
819 ;;
820 microblaze*)
821 basic_machine=microblaze-xilinx
822 ;;
823 mingw64)
824 basic_machine=x86_64-pc
825 os=-mingw64
826 ;;
827 mingw32)
828 basic_machine=i686-pc
829 os=-mingw32
830 ;;
831 mingw32ce)
832 basic_machine=arm-unknown
833 os=-mingw32ce
834 ;;
835 miniframe)
836 basic_machine=m68000-convergent
837 ;;
838 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
839 basic_machine=m68k-atari
840 os=-mint
841 ;;
842 mips3*-*)
843 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
844 ;;
845 mips3*)
846 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
847 ;;
848 monitor)
849 basic_machine=m68k-rom68k
850 os=-coff
851 ;;
852 morphos)
853 basic_machine=powerpc-unknown
854 os=-morphos
855 ;;
856 moxiebox)
857 basic_machine=moxie-unknown
858 os=-moxiebox
859 ;;
860 msdos)
861 basic_machine=i386-pc
862 os=-msdos
863 ;;
864 ms1-*)
865 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
866 ;;
867 msys)
868 basic_machine=i686-pc
869 os=-msys
870 ;;
871 mvs)
872 basic_machine=i370-ibm
873 os=-mvs
874 ;;
875 nacl)
876 basic_machine=le32-unknown
877 os=-nacl
878 ;;
879 ncr3000)
880 basic_machine=i486-ncr
881 os=-sysv4
882 ;;
883 netbsd386)
884 basic_machine=i386-unknown
885 os=-netbsd
886 ;;
887 netwinder)
888 basic_machine=armv4l-rebel
889 os=-linux
890 ;;
891 news | news700 | news800 | news900)
892 basic_machine=m68k-sony
893 os=-newsos
894 ;;
895 news1000)
896 basic_machine=m68030-sony
897 os=-newsos
898 ;;
899 news-3600 | risc-news)
900 basic_machine=mips-sony
901 os=-newsos
902 ;;
903 necv70)
904 basic_machine=v70-nec
905 os=-sysv
906 ;;
907 next | m*-next )
908 basic_machine=m68k-next
909 case $os in
910 -nextstep* )
911 ;;
912 -ns2*)
913 os=-nextstep2
914 ;;
915 *)
916 os=-nextstep3
917 ;;
918 esac
919 ;;
920 nh3000)
921 basic_machine=m68k-harris
922 os=-cxux
923 ;;
924 nh[45]000)
925 basic_machine=m88k-harris
926 os=-cxux
927 ;;
928 nindy960)
929 basic_machine=i960-intel
930 os=-nindy
931 ;;
932 mon960)
933 basic_machine=i960-intel
934 os=-mon960
935 ;;
936 nonstopux)
937 basic_machine=mips-compaq
938 os=-nonstopux
939 ;;
940 np1)
941 basic_machine=np1-gould
942 ;;
943 neo-tandem)
944 basic_machine=neo-tandem
945 ;;
946 nse-tandem)
947 basic_machine=nse-tandem
948 ;;
949 nsr-tandem)
950 basic_machine=nsr-tandem
951 ;;
952 nsx-tandem)
953 basic_machine=nsx-tandem
954 ;;
955 op50n-* | op60c-*)
956 basic_machine=hppa1.1-oki
957 os=-proelf
958 ;;
959 openrisc | openrisc-*)
960 basic_machine=or32-unknown
961 ;;
962 os400)
963 basic_machine=powerpc-ibm
964 os=-os400
965 ;;
966 OSE68000 | ose68000)
967 basic_machine=m68000-ericsson
968 os=-ose
969 ;;
970 os68k)
971 basic_machine=m68k-none
972 os=-os68k
973 ;;
974 pa-hitachi)
975 basic_machine=hppa1.1-hitachi
976 os=-hiuxwe2
977 ;;
978 paragon)
979 basic_machine=i860-intel
980 os=-osf
981 ;;
982 parisc)
983 basic_machine=hppa-unknown
984 os=-linux
985 ;;
986 parisc-*)
987 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
988 os=-linux
989 ;;
990 pbd)
991 basic_machine=sparc-tti
992 ;;
993 pbb)
994 basic_machine=m68k-tti
995 ;;
996 pc532 | pc532-*)
997 basic_machine=ns32k-pc532
998 ;;
999 pc98)
1000 basic_machine=i386-pc
1001 ;;
1002 pc98-*)
1003 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
1004 ;;
1005 pentium | p5 | k5 | k6 | nexgen | viac3)
1006 basic_machine=i586-pc
1007 ;;
1008 pentiumpro | p6 | 6x86 | athlon | athlon_*)
1009 basic_machine=i686-pc
1010 ;;
1011 pentiumii | pentium2 | pentiumiii | pentium3)
1012 basic_machine=i686-pc
1013 ;;
1014 pentium4)
1015 basic_machine=i786-pc
1016 ;;
1017 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1018 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
1019 ;;
1020 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1021 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1022 ;;
1023 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1024 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1025 ;;
1026 pentium4-*)
1027 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
1028 ;;
1029 pn)
1030 basic_machine=pn-gould
1031 ;;
1032 power) basic_machine=power-ibm
1033 ;;
1034 ppc | ppcbe) basic_machine=powerpc-unknown
1035 ;;
1036 ppc-* | ppcbe-*)
1037 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1038 ;;
1039 ppcle | powerpclittle)
1040 basic_machine=powerpcle-unknown
1041 ;;
1042 ppcle-* | powerpclittle-*)
1043 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
1044 ;;
1045 ppc64) basic_machine=powerpc64-unknown
1046 ;;
1047 ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1048 ;;
1049 ppc64le | powerpc64little)
1050 basic_machine=powerpc64le-unknown
1051 ;;
1052 ppc64le-* | powerpc64little-*)
1053 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
1054 ;;
1055 ps2)
1056 basic_machine=i386-ibm
1057 ;;
1058 pw32)
1059 basic_machine=i586-unknown
1060 os=-pw32
1061 ;;
1062 rdos | rdos64)
1063 basic_machine=x86_64-pc
1064 os=-rdos
1065 ;;
1066 rdos32)
1067 basic_machine=i386-pc
1068 os=-rdos
1069 ;;
1070 rom68k)
1071 basic_machine=m68k-rom68k
1072 os=-coff
1073 ;;
1074 rm[46]00)
1075 basic_machine=mips-siemens
1076 ;;
1077 rtpc | rtpc-*)
1078 basic_machine=romp-ibm
1079 ;;
1080 s390 | s390-*)
1081 basic_machine=s390-ibm
1082 ;;
1083 s390x | s390x-*)
1084 basic_machine=s390x-ibm
1085 ;;
1086 sa29200)
1087 basic_machine=a29k-amd
1088 os=-udi
1089 ;;
1090 sb1)
1091 basic_machine=mipsisa64sb1-unknown
1092 ;;
1093 sb1el)
1094 basic_machine=mipsisa64sb1el-unknown
1095 ;;
1096 sde)
1097 basic_machine=mipsisa32-sde
1098 os=-elf
1099 ;;
1100 sei)
1101 basic_machine=mips-sei
1102 os=-seiux
1103 ;;
1104 sequent)
1105 basic_machine=i386-sequent
1106 ;;
1107 sh)
1108 basic_machine=sh-hitachi
1109 os=-hms
1110 ;;
1111 sh5el)
1112 basic_machine=sh5le-unknown
1113 ;;
1114 sh64)
1115 basic_machine=sh64-unknown
1116 ;;
1117 sparclite-wrs | simso-wrs)
1118 basic_machine=sparclite-wrs
1119 os=-vxworks
1120 ;;
1121 sps7)
1122 basic_machine=m68k-bull
1123 os=-sysv2
1124 ;;
1125 spur)
1126 basic_machine=spur-unknown
1127 ;;
1128 st2000)
1129 basic_machine=m68k-tandem
1130 ;;
1131 stratus)
1132 basic_machine=i860-stratus
1133 os=-sysv4
1134 ;;
1135 strongarm-* | thumb-*)
1136 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1137 ;;
1138 sun2)
1139 basic_machine=m68000-sun
1140 ;;
1141 sun2os3)
1142 basic_machine=m68000-sun
1143 os=-sunos3
1144 ;;
1145 sun2os4)
1146 basic_machine=m68000-sun
1147 os=-sunos4
1148 ;;
1149 sun3os3)
1150 basic_machine=m68k-sun
1151 os=-sunos3
1152 ;;
1153 sun3os4)
1154 basic_machine=m68k-sun
1155 os=-sunos4
1156 ;;
1157 sun4os3)
1158 basic_machine=sparc-sun
1159 os=-sunos3
1160 ;;
1161 sun4os4)
1162 basic_machine=sparc-sun
1163 os=-sunos4
1164 ;;
1165 sun4sol2)
1166 basic_machine=sparc-sun
1167 os=-solaris2
1168 ;;
1169 sun3 | sun3-*)
1170 basic_machine=m68k-sun
1171 ;;
1172 sun4)
1173 basic_machine=sparc-sun
1174 ;;
1175 sun386 | sun386i | roadrunner)
1176 basic_machine=i386-sun
1177 ;;
1178 sv1)
1179 basic_machine=sv1-cray
1180 os=-unicos
1181 ;;
1182 symmetry)
1183 basic_machine=i386-sequent
1184 os=-dynix
1185 ;;
1186 t3e)
1187 basic_machine=alphaev5-cray
1188 os=-unicos
1189 ;;
1190 t90)
1191 basic_machine=t90-cray
1192 os=-unicos
1193 ;;
1194 tile*)
1195 basic_machine=$basic_machine-unknown
1196 os=-linux-gnu
1197 ;;
1198 tx39)
1199 basic_machine=mipstx39-unknown
1200 ;;
1201 tx39el)
1202 basic_machine=mipstx39el-unknown
1203 ;;
1204 toad1)
1205 basic_machine=pdp10-xkl
1206 os=-tops20
1207 ;;
1208 tower | tower-32)
1209 basic_machine=m68k-ncr
1210 ;;
1211 tpf)
1212 basic_machine=s390x-ibm
1213 os=-tpf
1214 ;;
1215 udi29k)
1216 basic_machine=a29k-amd
1217 os=-udi
1218 ;;
1219 ultra3)
1220 basic_machine=a29k-nyu
1221 os=-sym1
1222 ;;
1223 v810 | necv810)
1224 basic_machine=v810-nec
1225 os=-none
1226 ;;
1227 vaxv)
1228 basic_machine=vax-dec
1229 os=-sysv
1230 ;;
1231 vms)
1232 basic_machine=vax-dec
1233 os=-vms
1234 ;;
1235 vpp*|vx|vx-*)
1236 basic_machine=f301-fujitsu
1237 ;;
1238 vxworks960)
1239 basic_machine=i960-wrs
1240 os=-vxworks
1241 ;;
1242 vxworks68)
1243 basic_machine=m68k-wrs
1244 os=-vxworks
1245 ;;
1246 vxworks29k)
1247 basic_machine=a29k-wrs
1248 os=-vxworks
1249 ;;
1250 wasm32)
1251 basic_machine=wasm32-unknown
1252 ;;
1253 w65*)
1254 basic_machine=w65-wdc
1255 os=-none
1256 ;;
1257 w89k-*)
1258 basic_machine=hppa1.1-winbond
1259 os=-proelf
1260 ;;
1261 xbox)
1262 basic_machine=i686-pc
1263 os=-mingw32
1264 ;;
1265 xps | xps100)
1266 basic_machine=xps100-honeywell
1267 ;;
1268 xscale-* | xscalee[bl]-*)
1269 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1270 ;;
1271 ymp)
1272 basic_machine=ymp-cray
1273 os=-unicos
1274 ;;
1275 z8k-*-coff)
1276 basic_machine=z8k-unknown
1277 os=-sim
1278 ;;
1279 z80-*-coff)
1280 basic_machine=z80-unknown
1281 os=-sim
1282 ;;
1283 none)
1284 basic_machine=none-none
1285 os=-none
1286 ;;
1287
1288 # Here we handle the default manufacturer of certain CPU types. It is in
1289 # some cases the only manufacturer, in others, it is the most popular.
1290 w89k)
1291 basic_machine=hppa1.1-winbond
1292 ;;
1293 op50n)
1294 basic_machine=hppa1.1-oki
1295 ;;
1296 op60c)
1297 basic_machine=hppa1.1-oki
1298 ;;
1299 romp)
1300 basic_machine=romp-ibm
1301 ;;
1302 mmix)
1303 basic_machine=mmix-knuth
1304 ;;
1305 rs6000)
1306 basic_machine=rs6000-ibm
1307 ;;
1308 vax)
1309 basic_machine=vax-dec
1310 ;;
1311 pdp10)
1312 # there are many clones, so DEC is not a safe bet
1313 basic_machine=pdp10-unknown
1314 ;;
1315 pdp11)
1316 basic_machine=pdp11-dec
1317 ;;
1318 we32k)
1319 basic_machine=we32k-att
1320 ;;
1321 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1322 basic_machine=sh-unknown
1323 ;;
1324 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1325 basic_machine=sparc-sun
1326 ;;
1327 cydra)
1328 basic_machine=cydra-cydrome
1329 ;;
1330 orion)
1331 basic_machine=orion-highlevel
1332 ;;
1333 orion105)
1334 basic_machine=clipper-highlevel
1335 ;;
1336 mac | mpw | mac-mpw)
1337 basic_machine=m68k-apple
1338 ;;
1339 pmac | pmac-mpw)
1340 basic_machine=powerpc-apple
1341 ;;
1342 *-unknown)
1343 # Make sure to match an already-canonicalized machine name.
1344 ;;
1345 *)
1346 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1347 exit 1
1348 ;;
1349 esac
1350
1351 # Here we canonicalize certain aliases for manufacturers.
1352 case $basic_machine in
1353 *-digital*)
1354 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1355 ;;
1356 *-commodore*)
1357 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1358 ;;
1359 *)
1360 ;;
1361 esac
1362
1363 # Decode manufacturer-specific aliases for certain operating systems.
1364
1365 if [ x"$os" != x"" ]
1366 then
1367 case $os in
1368 # First match some system type aliases
1369 # that might get confused with valid system types.
1370 # -solaris* is a basic system type, with this one exception.
1371 -auroraux)
1372 os=-auroraux
1373 ;;
1374 -solaris1 | -solaris1.*)
1375 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1376 ;;
1377 -solaris)
1378 os=-solaris2
1379 ;;
1380 -svr4*)
1381 os=-sysv4
1382 ;;
1383 -unixware*)
1384 os=-sysv4.2uw
1385 ;;
1386 -gnu/linux*)
1387 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1388 ;;
1389 # First accept the basic system types.
1390 # The portable systems comes first.
1391 # Each alternative MUST END IN A *, to match a version number.
1392 # -sysv* is not here because it comes later, after sysvr4.
1393 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1394 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1395 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1396 | -sym* | -kopensolaris* | -plan9* \
1397 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1398 | -aos* | -aros* | -cloudabi* | -sortix* \
1399 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1400 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1401 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1402 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
1403 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1404 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1405 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1406 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1407 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
1408 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1409 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1410 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1411 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1412 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1413 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1414 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1415 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1416 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1417 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1418 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1419 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
1420 # Remember, each alternative MUST END IN *, to match a version number.
1421 ;;
1422 -qnx*)
1423 case $basic_machine in
1424 x86-* | i*86-*)
1425 ;;
1426 *)
1427 os=-nto$os
1428 ;;
1429 esac
1430 ;;
1431 -nto-qnx*)
1432 ;;
1433 -nto*)
1434 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1435 ;;
1436 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1437 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1438 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1439 ;;
1440 -mac*)
1441 os=`echo $os | sed -e 's|mac|macos|'`
1442 ;;
1443 -linux-dietlibc)
1444 os=-linux-dietlibc
1445 ;;
1446 -linux*)
1447 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1448 ;;
1449 -sunos5*)
1450 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1451 ;;
1452 -sunos6*)
1453 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1454 ;;
1455 -opened*)
1456 os=-openedition
1457 ;;
1458 -os400*)
1459 os=-os400
1460 ;;
1461 -wince*)
1462 os=-wince
1463 ;;
1464 -osfrose*)
1465 os=-osfrose
1466 ;;
1467 -osf*)
1468 os=-osf
1469 ;;
1470 -utek*)
1471 os=-bsd
1472 ;;
1473 -dynix*)
1474 os=-bsd
1475 ;;
1476 -acis*)
1477 os=-aos
1478 ;;
1479 -atheos*)
1480 os=-atheos
1481 ;;
1482 -syllable*)
1483 os=-syllable
1484 ;;
1485 -386bsd)
1486 os=-bsd
1487 ;;
1488 -ctix* | -uts*)
1489 os=-sysv
1490 ;;
1491 -nova*)
1492 os=-rtmk-nova
1493 ;;
1494 -ns2 )
1495 os=-nextstep2
1496 ;;
1497 -nsk*)
1498 os=-nsk
1499 ;;
1500 # Preserve the version number of sinix5.
1501 -sinix5.*)
1502 os=`echo $os | sed -e 's|sinix|sysv|'`
1503 ;;
1504 -sinix*)
1505 os=-sysv4
1506 ;;
1507 -tpf*)
1508 os=-tpf
1509 ;;
1510 -triton*)
1511 os=-sysv3
1512 ;;
1513 -oss*)
1514 os=-sysv3
1515 ;;
1516 -svr4)
1517 os=-sysv4
1518 ;;
1519 -svr3)
1520 os=-sysv3
1521 ;;
1522 -sysvr4)
1523 os=-sysv4
1524 ;;
1525 # This must come after -sysvr4.
1526 -sysv*)
1527 ;;
1528 -ose*)
1529 os=-ose
1530 ;;
1531 -es1800*)
1532 os=-ose
1533 ;;
1534 -xenix)
1535 os=-xenix
1536 ;;
1537 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1538 os=-mint
1539 ;;
1540 -aros*)
1541 os=-aros
1542 ;;
1543 -zvmoe)
1544 os=-zvmoe
1545 ;;
1546 -dicos*)
1547 os=-dicos
1548 ;;
1549 -nacl*)
1550 ;;
1551 -ios)
1552 ;;
1553 -none)
1554 ;;
1555 *)
1556 # Get rid of the `-' at the beginning of $os.
1557 os=`echo $os | sed 's/[^-]*-//'`
1558 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1559 exit 1
1560 ;;
1561 esac
1562 else
1563
1564 # Here we handle the default operating systems that come with various machines.
1565 # The value should be what the vendor currently ships out the door with their
1566 # machine or put another way, the most popular os provided with the machine.
1567
1568 # Note that if you're going to try to match "-MANUFACTURER" here (say,
1569 # "-sun"), then you have to tell the case statement up towards the top
1570 # that MANUFACTURER isn't an operating system. Otherwise, code above
1571 # will signal an error saying that MANUFACTURER isn't an operating
1572 # system, and we'll never get to this point.
1573
1574 case $basic_machine in
1575 score-*)
1576 os=-elf
1577 ;;
1578 spu-*)
1579 os=-elf
1580 ;;
1581 *-acorn)
1582 os=-riscix1.2
1583 ;;
1584 arm*-rebel)
1585 os=-linux
1586 ;;
1587 arm*-semi)
1588 os=-aout
1589 ;;
1590 c4x-* | tic4x-*)
1591 os=-coff
1592 ;;
1593 c8051-*)
1594 os=-elf
1595 ;;
1596 hexagon-*)
1597 os=-elf
1598 ;;
1599 tic54x-*)
1600 os=-coff
1601 ;;
1602 tic55x-*)
1603 os=-coff
1604 ;;
1605 tic6x-*)
1606 os=-coff
1607 ;;
1608 # This must come before the *-dec entry.
1609 pdp10-*)
1610 os=-tops20
1611 ;;
1612 pdp11-*)
1613 os=-none
1614 ;;
1615 *-dec | vax-*)
1616 os=-ultrix4.2
1617 ;;
1618 m68*-apollo)
1619 os=-domain
1620 ;;
1621 i386-sun)
1622 os=-sunos4.0.2
1623 ;;
1624 m68000-sun)
1625 os=-sunos3
1626 ;;
1627 m68*-cisco)
1628 os=-aout
1629 ;;
1630 mep-*)
1631 os=-elf
1632 ;;
1633 mips*-cisco)
1634 os=-elf
1635 ;;
1636 mips*-*)
1637 os=-elf
1638 ;;
1639 or32-*)
1640 os=-coff
1641 ;;
1642 *-tti) # must be before sparc entry or we get the wrong os.
1643 os=-sysv3
1644 ;;
1645 sparc-* | *-sun)
1646 os=-sunos4.1.1
1647 ;;
1648 pru-*)
1649 os=-elf
1650 ;;
1651 *-be)
1652 os=-beos
1653 ;;
1654 *-haiku)
1655 os=-haiku
1656 ;;
1657 *-ibm)
1658 os=-aix
1659 ;;
1660 *-knuth)
1661 os=-mmixware
1662 ;;
1663 *-wec)
1664 os=-proelf
1665 ;;
1666 *-winbond)
1667 os=-proelf
1668 ;;
1669 *-oki)
1670 os=-proelf
1671 ;;
1672 *-hp)
1673 os=-hpux
1674 ;;
1675 *-hitachi)
1676 os=-hiux
1677 ;;
1678 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1679 os=-sysv
1680 ;;
1681 *-cbm)
1682 os=-amigaos
1683 ;;
1684 *-dg)
1685 os=-dgux
1686 ;;
1687 *-dolphin)
1688 os=-sysv3
1689 ;;
1690 m68k-ccur)
1691 os=-rtu
1692 ;;
1693 m88k-omron*)
1694 os=-luna
1695 ;;
1696 *-next )
1697 os=-nextstep
1698 ;;
1699 *-sequent)
1700 os=-ptx
1701 ;;
1702 *-crds)
1703 os=-unos
1704 ;;
1705 *-ns)
1706 os=-genix
1707 ;;
1708 i370-*)
1709 os=-mvs
1710 ;;
1711 *-next)
1712 os=-nextstep3
1713 ;;
1714 *-gould)
1715 os=-sysv
1716 ;;
1717 *-highlevel)
1718 os=-bsd
1719 ;;
1720 *-encore)
1721 os=-bsd
1722 ;;
1723 *-sgi)
1724 os=-irix
1725 ;;
1726 *-siemens)
1727 os=-sysv4
1728 ;;
1729 *-masscomp)
1730 os=-rtu
1731 ;;
1732 f30[01]-fujitsu | f700-fujitsu)
1733 os=-uxpv
1734 ;;
1735 *-rom68k)
1736 os=-coff
1737 ;;
1738 *-*bug)
1739 os=-coff
1740 ;;
1741 *-apple)
1742 os=-macos
1743 ;;
1744 *-atari*)
1745 os=-mint
1746 ;;
1747 *)
1748 os=-none
1749 ;;
1750 esac
1751 fi
1752
1753 # Here we handle the case where we know the os, and the CPU type, but not the
1754 # manufacturer. We pick the logical manufacturer.
1755 vendor=unknown
1756 case $basic_machine in
1757 *-unknown)
1758 case $os in
1759 -riscix*)
1760 vendor=acorn
1761 ;;
1762 -sunos*)
1763 vendor=sun
1764 ;;
1765 -cnk*|-aix*)
1766 vendor=ibm
1767 ;;
1768 -beos*)
1769 vendor=be
1770 ;;
1771 -hpux*)
1772 vendor=hp
1773 ;;
1774 -mpeix*)
1775 vendor=hp
1776 ;;
1777 -hiux*)
1778 vendor=hitachi
1779 ;;
1780 -unos*)
1781 vendor=crds
1782 ;;
1783 -dgux*)
1784 vendor=dg
1785 ;;
1786 -luna*)
1787 vendor=omron
1788 ;;
1789 -genix*)
1790 vendor=ns
1791 ;;
1792 -mvs* | -opened*)
1793 vendor=ibm
1794 ;;
1795 -os400*)
1796 vendor=ibm
1797 ;;
1798 -ptx*)
1799 vendor=sequent
1800 ;;
1801 -tpf*)
1802 vendor=ibm
1803 ;;
1804 -vxsim* | -vxworks* | -windiss*)
1805 vendor=wrs
1806 ;;
1807 -aux*)
1808 vendor=apple
1809 ;;
1810 -hms*)
1811 vendor=hitachi
1812 ;;
1813 -mpw* | -macos*)
1814 vendor=apple
1815 ;;
1816 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1817 vendor=atari
1818 ;;
1819 -vos*)
1820 vendor=stratus
1821 ;;
1822 esac
1823 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1824 ;;
1825 esac
1826
1827 echo $basic_machine$os
1828 exit
1829
1830 # Local variables:
1831 # eval: (add-hook 'write-file-hooks 'time-stamp)
1832 # time-stamp-start: "timestamp='"
1833 # time-stamp-format: "%:y-%02m-%02d"
1834 # time-stamp-end: "'"
1835 # End:
+0
-501
config/install-sh less more
0 #!/bin/sh
1 # install - install a program, script, or datafile
2
3 scriptversion=2016-01-11.22; # UTC
4
5 # This originates from X11R5 (mit/util/scripts/install.sh), which was
6 # later released in X11R6 (xc/config/util/install.sh) with the
7 # following copyright and license.
8 #
9 # Copyright (C) 1994 X Consortium
10 #
11 # Permission is hereby granted, free of charge, to any person obtaining a copy
12 # of this software and associated documentation files (the "Software"), to
13 # deal in the Software without restriction, including without limitation the
14 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
15 # sell copies of the Software, and to permit persons to whom the Software is
16 # furnished to do so, subject to the following conditions:
17 #
18 # The above copyright notice and this permission notice shall be included in
19 # all copies or substantial portions of the Software.
20 #
21 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
26 # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 #
28 # Except as contained in this notice, the name of the X Consortium shall not
29 # be used in advertising or otherwise to promote the sale, use or other deal-
30 # ings in this Software without prior written authorization from the X Consor-
31 # tium.
32 #
33 #
34 # FSF changes to this file are in the public domain.
35 #
36 # Calling this script install-sh is preferred over install.sh, to prevent
37 # 'make' implicit rules from creating a file called install from it
38 # when there is no Makefile.
39 #
40 # This script is compatible with the BSD install script, but was written
41 # from scratch.
42
43 tab=' '
44 nl='
45 '
46 IFS=" $tab$nl"
47
48 # Set DOITPROG to "echo" to test this script.
49
50 doit=${DOITPROG-}
51 doit_exec=${doit:-exec}
52
53 # Put in absolute file names if you don't have them in your path;
54 # or use environment vars.
55
56 chgrpprog=${CHGRPPROG-chgrp}
57 chmodprog=${CHMODPROG-chmod}
58 chownprog=${CHOWNPROG-chown}
59 cmpprog=${CMPPROG-cmp}
60 cpprog=${CPPROG-cp}
61 mkdirprog=${MKDIRPROG-mkdir}
62 mvprog=${MVPROG-mv}
63 rmprog=${RMPROG-rm}
64 stripprog=${STRIPPROG-strip}
65
66 posix_mkdir=
67
68 # Desired mode of installed file.
69 mode=0755
70
71 chgrpcmd=
72 chmodcmd=$chmodprog
73 chowncmd=
74 mvcmd=$mvprog
75 rmcmd="$rmprog -f"
76 stripcmd=
77
78 src=
79 dst=
80 dir_arg=
81 dst_arg=
82
83 copy_on_change=false
84 is_target_a_directory=possibly
85
86 usage="\
87 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
88 or: $0 [OPTION]... SRCFILES... DIRECTORY
89 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
90 or: $0 [OPTION]... -d DIRECTORIES...
91
92 In the 1st form, copy SRCFILE to DSTFILE.
93 In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
94 In the 4th, create DIRECTORIES.
95
96 Options:
97 --help display this help and exit.
98 --version display version info and exit.
99
100 -c (ignored)
101 -C install only if different (preserve the last data modification time)
102 -d create directories instead of installing files.
103 -g GROUP $chgrpprog installed files to GROUP.
104 -m MODE $chmodprog installed files to MODE.
105 -o USER $chownprog installed files to USER.
106 -s $stripprog installed files.
107 -t DIRECTORY install into DIRECTORY.
108 -T report an error if DSTFILE is a directory.
109
110 Environment variables override the default commands:
111 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
112 RMPROG STRIPPROG
113 "
114
115 while test $# -ne 0; do
116 case $1 in
117 -c) ;;
118
119 -C) copy_on_change=true;;
120
121 -d) dir_arg=true;;
122
123 -g) chgrpcmd="$chgrpprog $2"
124 shift;;
125
126 --help) echo "$usage"; exit $?;;
127
128 -m) mode=$2
129 case $mode in
130 *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
131 echo "$0: invalid mode: $mode" >&2
132 exit 1;;
133 esac
134 shift;;
135
136 -o) chowncmd="$chownprog $2"
137 shift;;
138
139 -s) stripcmd=$stripprog;;
140
141 -t)
142 is_target_a_directory=always
143 dst_arg=$2
144 # Protect names problematic for 'test' and other utilities.
145 case $dst_arg in
146 -* | [=\(\)!]) dst_arg=./$dst_arg;;
147 esac
148 shift;;
149
150 -T) is_target_a_directory=never;;
151
152 --version) echo "$0 $scriptversion"; exit $?;;
153
154 --) shift
155 break;;
156
157 -*) echo "$0: invalid option: $1" >&2
158 exit 1;;
159
160 *) break;;
161 esac
162 shift
163 done
164
165 # We allow the use of options -d and -T together, by making -d
166 # take the precedence; this is for compatibility with GNU install.
167
168 if test -n "$dir_arg"; then
169 if test -n "$dst_arg"; then
170 echo "$0: target directory not allowed when installing a directory." >&2
171 exit 1
172 fi
173 fi
174
175 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
176 # When -d is used, all remaining arguments are directories to create.
177 # When -t is used, the destination is already specified.
178 # Otherwise, the last argument is the destination. Remove it from $@.
179 for arg
180 do
181 if test -n "$dst_arg"; then
182 # $@ is not empty: it contains at least $arg.
183 set fnord "$@" "$dst_arg"
184 shift # fnord
185 fi
186 shift # arg
187 dst_arg=$arg
188 # Protect names problematic for 'test' and other utilities.
189 case $dst_arg in
190 -* | [=\(\)!]) dst_arg=./$dst_arg;;
191 esac
192 done
193 fi
194
195 if test $# -eq 0; then
196 if test -z "$dir_arg"; then
197 echo "$0: no input file specified." >&2
198 exit 1
199 fi
200 # It's OK to call 'install-sh -d' without argument.
201 # This can happen when creating conditional directories.
202 exit 0
203 fi
204
205 if test -z "$dir_arg"; then
206 if test $# -gt 1 || test "$is_target_a_directory" = always; then
207 if test ! -d "$dst_arg"; then
208 echo "$0: $dst_arg: Is not a directory." >&2
209 exit 1
210 fi
211 fi
212 fi
213
214 if test -z "$dir_arg"; then
215 do_exit='(exit $ret); exit $ret'
216 trap "ret=129; $do_exit" 1
217 trap "ret=130; $do_exit" 2
218 trap "ret=141; $do_exit" 13
219 trap "ret=143; $do_exit" 15
220
221 # Set umask so as not to create temps with too-generous modes.
222 # However, 'strip' requires both read and write access to temps.
223 case $mode in
224 # Optimize common cases.
225 *644) cp_umask=133;;
226 *755) cp_umask=22;;
227
228 *[0-7])
229 if test -z "$stripcmd"; then
230 u_plus_rw=
231 else
232 u_plus_rw='% 200'
233 fi
234 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
235 *)
236 if test -z "$stripcmd"; then
237 u_plus_rw=
238 else
239 u_plus_rw=,u+rw
240 fi
241 cp_umask=$mode$u_plus_rw;;
242 esac
243 fi
244
245 for src
246 do
247 # Protect names problematic for 'test' and other utilities.
248 case $src in
249 -* | [=\(\)!]) src=./$src;;
250 esac
251
252 if test -n "$dir_arg"; then
253 dst=$src
254 dstdir=$dst
255 test -d "$dstdir"
256 dstdir_status=$?
257 else
258
259 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
260 # might cause directories to be created, which would be especially bad
261 # if $src (and thus $dsttmp) contains '*'.
262 if test ! -f "$src" && test ! -d "$src"; then
263 echo "$0: $src does not exist." >&2
264 exit 1
265 fi
266
267 if test -z "$dst_arg"; then
268 echo "$0: no destination specified." >&2
269 exit 1
270 fi
271 dst=$dst_arg
272
273 # If destination is a directory, append the input filename; won't work
274 # if double slashes aren't ignored.
275 if test -d "$dst"; then
276 if test "$is_target_a_directory" = never; then
277 echo "$0: $dst_arg: Is a directory" >&2
278 exit 1
279 fi
280 dstdir=$dst
281 dst=$dstdir/`basename "$src"`
282 dstdir_status=0
283 else
284 dstdir=`dirname "$dst"`
285 test -d "$dstdir"
286 dstdir_status=$?
287 fi
288 fi
289
290 obsolete_mkdir_used=false
291
292 if test $dstdir_status != 0; then
293 case $posix_mkdir in
294 '')
295 # Create intermediate dirs using mode 755 as modified by the umask.
296 # This is like FreeBSD 'install' as of 1997-10-28.
297 umask=`umask`
298 case $stripcmd.$umask in
299 # Optimize common cases.
300 *[2367][2367]) mkdir_umask=$umask;;
301 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
302
303 *[0-7])
304 mkdir_umask=`expr $umask + 22 \
305 - $umask % 100 % 40 + $umask % 20 \
306 - $umask % 10 % 4 + $umask % 2
307 `;;
308 *) mkdir_umask=$umask,go-w;;
309 esac
310
311 # With -d, create the new directory with the user-specified mode.
312 # Otherwise, rely on $mkdir_umask.
313 if test -n "$dir_arg"; then
314 mkdir_mode=-m$mode
315 else
316 mkdir_mode=
317 fi
318
319 posix_mkdir=false
320 case $umask in
321 *[123567][0-7][0-7])
322 # POSIX mkdir -p sets u+wx bits regardless of umask, which
323 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
324 ;;
325 *)
326 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
327 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
328
329 if (umask $mkdir_umask &&
330 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
331 then
332 if test -z "$dir_arg" || {
333 # Check for POSIX incompatibilities with -m.
334 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
335 # other-writable bit of parent directory when it shouldn't.
336 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
337 ls_ld_tmpdir=`ls -ld "$tmpdir"`
338 case $ls_ld_tmpdir in
339 d????-?r-*) different_mode=700;;
340 d????-?--*) different_mode=755;;
341 *) false;;
342 esac &&
343 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
344 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
345 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
346 }
347 }
348 then posix_mkdir=:
349 fi
350 rmdir "$tmpdir/d" "$tmpdir"
351 else
352 # Remove any dirs left behind by ancient mkdir implementations.
353 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
354 fi
355 trap '' 0;;
356 esac;;
357 esac
358
359 if
360 $posix_mkdir && (
361 umask $mkdir_umask &&
362 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
363 )
364 then :
365 else
366
367 # The umask is ridiculous, or mkdir does not conform to POSIX,
368 # or it failed possibly due to a race condition. Create the
369 # directory the slow way, step by step, checking for races as we go.
370
371 case $dstdir in
372 /*) prefix='/';;
373 [-=\(\)!]*) prefix='./';;
374 *) prefix='';;
375 esac
376
377 oIFS=$IFS
378 IFS=/
379 set -f
380 set fnord $dstdir
381 shift
382 set +f
383 IFS=$oIFS
384
385 prefixes=
386
387 for d
388 do
389 test X"$d" = X && continue
390
391 prefix=$prefix$d
392 if test -d "$prefix"; then
393 prefixes=
394 else
395 if $posix_mkdir; then
396 (umask=$mkdir_umask &&
397 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
398 # Don't fail if two instances are running concurrently.
399 test -d "$prefix" || exit 1
400 else
401 case $prefix in
402 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
403 *) qprefix=$prefix;;
404 esac
405 prefixes="$prefixes '$qprefix'"
406 fi
407 fi
408 prefix=$prefix/
409 done
410
411 if test -n "$prefixes"; then
412 # Don't fail if two instances are running concurrently.
413 (umask $mkdir_umask &&
414 eval "\$doit_exec \$mkdirprog $prefixes") ||
415 test -d "$dstdir" || exit 1
416 obsolete_mkdir_used=true
417 fi
418 fi
419 fi
420
421 if test -n "$dir_arg"; then
422 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
423 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
424 { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
425 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
426 else
427
428 # Make a couple of temp file names in the proper directory.
429 dsttmp=$dstdir/_inst.$$_
430 rmtmp=$dstdir/_rm.$$_
431
432 # Trap to clean up those temp files at exit.
433 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
434
435 # Copy the file name to the temp name.
436 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
437
438 # and set any options; do chmod last to preserve setuid bits.
439 #
440 # If any of these fail, we abort the whole thing. If we want to
441 # ignore errors from any of these, just make sure not to ignore
442 # errors from the above "$doit $cpprog $src $dsttmp" command.
443 #
444 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
445 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
446 { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
447 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
448
449 # If -C, don't bother to copy if it wouldn't change the file.
450 if $copy_on_change &&
451 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
452 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
453 set -f &&
454 set X $old && old=:$2:$4:$5:$6 &&
455 set X $new && new=:$2:$4:$5:$6 &&
456 set +f &&
457 test "$old" = "$new" &&
458 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
459 then
460 rm -f "$dsttmp"
461 else
462 # Rename the file to the real destination.
463 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
464
465 # The rename failed, perhaps because mv can't rename something else
466 # to itself, or perhaps because mv is so ancient that it does not
467 # support -f.
468 {
469 # Now remove or move aside any old file at destination location.
470 # We try this two ways since rm can't unlink itself on some
471 # systems and the destination file might be busy for other
472 # reasons. In this case, the final cleanup might fail but the new
473 # file should still install successfully.
474 {
475 test ! -f "$dst" ||
476 $doit $rmcmd -f "$dst" 2>/dev/null ||
477 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
478 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
479 } ||
480 { echo "$0: cannot unlink or rename $dst" >&2
481 (exit 1); exit 1
482 }
483 } &&
484
485 # Now rename the file to the real destination.
486 $doit $mvcmd "$dsttmp" "$dst"
487 }
488 fi || exit 1
489
490 trap '' 0
491 fi
492 done
493
494 # Local variables:
495 # eval: (add-hook 'write-file-hooks 'time-stamp)
496 # time-stamp-start: "scriptversion="
497 # time-stamp-format: "%:y-%02m-%02d.%02H"
498 # time-stamp-time-zone: "UTC0"
499 # time-stamp-end: "; # UTC"
500 # End:
+0
-215
config/missing less more
0 #! /bin/sh
1 # Common wrapper for a few potentially missing GNU programs.
2
3 scriptversion=2016-01-11.22; # UTC
4
5 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
6 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 # As a special exception to the GNU General Public License, if you
22 # distribute this file as part of a program that contains a
23 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26 if test $# -eq 0; then
27 echo 1>&2 "Try '$0 --help' for more information"
28 exit 1
29 fi
30
31 case $1 in
32
33 --is-lightweight)
34 # Used by our autoconf macros to check whether the available missing
35 # script is modern enough.
36 exit 0
37 ;;
38
39 --run)
40 # Back-compat with the calling convention used by older automake.
41 shift
42 ;;
43
44 -h|--h|--he|--hel|--help)
45 echo "\
46 $0 [OPTION]... PROGRAM [ARGUMENT]...
47
48 Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
49 to PROGRAM being missing or too old.
50
51 Options:
52 -h, --help display this help and exit
53 -v, --version output version information and exit
54
55 Supported PROGRAM values:
56 aclocal autoconf autoheader autom4te automake makeinfo
57 bison yacc flex lex help2man
58
59 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
60 'g' are ignored when checking the name.
61
62 Send bug reports to <[email protected]>."
63 exit $?
64 ;;
65
66 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
67 echo "missing $scriptversion (GNU Automake)"
68 exit $?
69 ;;
70
71 -*)
72 echo 1>&2 "$0: unknown '$1' option"
73 echo 1>&2 "Try '$0 --help' for more information"
74 exit 1
75 ;;
76
77 esac
78
79 # Run the given program, remember its exit status.
80 "$@"; st=$?
81
82 # If it succeeded, we are done.
83 test $st -eq 0 && exit 0
84
85 # Also exit now if we it failed (or wasn't found), and '--version' was
86 # passed; such an option is passed most likely to detect whether the
87 # program is present and works.
88 case $2 in --version|--help) exit $st;; esac
89
90 # Exit code 63 means version mismatch. This often happens when the user
91 # tries to use an ancient version of a tool on a file that requires a
92 # minimum version.
93 if test $st -eq 63; then
94 msg="probably too old"
95 elif test $st -eq 127; then
96 # Program was missing.
97 msg="missing on your system"
98 else
99 # Program was found and executed, but failed. Give up.
100 exit $st
101 fi
102
103 perl_URL=http://www.perl.org/
104 flex_URL=http://flex.sourceforge.net/
105 gnu_software_URL=http://www.gnu.org/software
106
107 program_details ()
108 {
109 case $1 in
110 aclocal|automake)
111 echo "The '$1' program is part of the GNU Automake package:"
112 echo "<$gnu_software_URL/automake>"
113 echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
114 echo "<$gnu_software_URL/autoconf>"
115 echo "<$gnu_software_URL/m4/>"
116 echo "<$perl_URL>"
117 ;;
118 autoconf|autom4te|autoheader)
119 echo "The '$1' program is part of the GNU Autoconf package:"
120 echo "<$gnu_software_URL/autoconf/>"
121 echo "It also requires GNU m4 and Perl in order to run:"
122 echo "<$gnu_software_URL/m4/>"
123 echo "<$perl_URL>"
124 ;;
125 esac
126 }
127
128 give_advice ()
129 {
130 # Normalize program name to check for.
131 normalized_program=`echo "$1" | sed '
132 s/^gnu-//; t
133 s/^gnu//; t
134 s/^g//; t'`
135
136 printf '%s\n' "'$1' is $msg."
137
138 configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
139 case $normalized_program in
140 autoconf*)
141 echo "You should only need it if you modified 'configure.ac',"
142 echo "or m4 files included by it."
143 program_details 'autoconf'
144 ;;
145 autoheader*)
146 echo "You should only need it if you modified 'acconfig.h' or"
147 echo "$configure_deps."
148 program_details 'autoheader'
149 ;;
150 automake*)
151 echo "You should only need it if you modified 'Makefile.am' or"
152 echo "$configure_deps."
153 program_details 'automake'
154 ;;
155 aclocal*)
156 echo "You should only need it if you modified 'acinclude.m4' or"
157 echo "$configure_deps."
158 program_details 'aclocal'
159 ;;
160 autom4te*)
161 echo "You might have modified some maintainer files that require"
162 echo "the 'autom4te' program to be rebuilt."
163 program_details 'autom4te'
164 ;;
165 bison*|yacc*)
166 echo "You should only need it if you modified a '.y' file."
167 echo "You may want to install the GNU Bison package:"
168 echo "<$gnu_software_URL/bison/>"
169 ;;
170 lex*|flex*)
171 echo "You should only need it if you modified a '.l' file."
172 echo "You may want to install the Fast Lexical Analyzer package:"
173 echo "<$flex_URL>"
174 ;;
175 help2man*)
176 echo "You should only need it if you modified a dependency" \
177 "of a man page."
178 echo "You may want to install the GNU Help2man package:"
179 echo "<$gnu_software_URL/help2man/>"
180 ;;
181 makeinfo*)
182 echo "You should only need it if you modified a '.texi' file, or"
183 echo "any other file indirectly affecting the aspect of the manual."
184 echo "You might want to install the Texinfo package:"
185 echo "<$gnu_software_URL/texinfo/>"
186 echo "The spurious makeinfo call might also be the consequence of"
187 echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
188 echo "want to install GNU make:"
189 echo "<$gnu_software_URL/make/>"
190 ;;
191 *)
192 echo "You might have modified some files without having the proper"
193 echo "tools for further handling them. Check the 'README' file, it"
194 echo "often tells you about the needed prerequisites for installing"
195 echo "this package. You may also peek at any GNU archive site, in"
196 echo "case some other package contains this missing '$1' program."
197 ;;
198 esac
199 }
200
201 give_advice "$1" | sed -e '1s/^/WARNING: /' \
202 -e '2,$s/^/ /' >&2
203
204 # Propagate the correct exit status (expected to be 127 for a program
205 # not found, 63 for a program that failed due to version mismatch).
206 exit $st
207
208 # Local variables:
209 # eval: (add-hook 'write-file-hooks 'time-stamp)
210 # time-stamp-start: "scriptversion="
211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212 # time-stamp-time-zone: "UTC0"
213 # time-stamp-end: "; # UTC"
214 # End:
+0
-8207
configure less more
0 #! /bin/sh
1 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for gnome-shell-extensions 3.26.2.
3 #
4 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions>.
5 #
6 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in # ((((
148 *v*x* | *x*v* ) as_opts=-vx ;;
149 *v* ) as_opts=-v ;;
150 *x* ) as_opts=-x ;;
151 * ) as_opts= ;;
152 esac
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
158 fi
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163 emulate sh
164 NULLCMD=:
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168 setopt NO_GLOB_SUBST
169 else
170 case \`(set -o) 2>/dev/null\` in #(
171 *posix*) :
172 set -o posix ;; #(
173 *) :
174 ;;
175 esac
176 fi
177 "
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
183
184 exitcode=0
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
192 exitcode=1; echo positional parameters were not saved.
193 fi
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test \$(( 1 + 1 )) = 2 || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell [email protected] and
269 $0: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
273 $0: have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302 return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381 else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398 else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512 *)
513 ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537 else
538 as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='gnome-shell-extensions'
582 PACKAGE_TARNAME='gnome-shell-extensions'
583 PACKAGE_VERSION='3.26.2'
584 PACKAGE_STRING='gnome-shell-extensions 3.26.2'
585 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions'
586 PACKAGE_URL=''
587
588 gt_needs=
589 ac_subst_vars='am__EXEEXT_FALSE
590 am__EXEEXT_TRUE
591 LTLIBOBJS
592 LIBOBJS
593 SASSC
594 ENABLED_EXTENSIONS
595 CLASSIC_MODE_FALSE
596 CLASSIC_MODE_TRUE
597 ALL_EXTENSIONS
598 CLASSIC_EXTENSIONS
599 SHELL_VERSION
600 GSETTINGS_RULES
601 GLIB_COMPILE_SCHEMAS
602 gsettingsschemadir
603 GSETTINGS_DISABLE_SCHEMAS_COMPILE
604 PKG_CONFIG_LIBDIR
605 PKG_CONFIG_PATH
606 PKG_CONFIG
607 POSUB
608 LTLIBINTL
609 LIBINTL
610 INTLLIBS
611 LTLIBICONV
612 LIBICONV
613 INTL_MACOSX_LIBS
614 EGREP
615 GREP
616 CPP
617 host_os
618 host_vendor
619 host_cpu
620 host
621 build_os
622 build_vendor
623 build_cpu
624 build
625 am__fastdepCC_FALSE
626 am__fastdepCC_TRUE
627 CCDEPMODE
628 am__nodep
629 AMDEPBACKSLASH
630 AMDEP_FALSE
631 AMDEP_TRUE
632 am__quote
633 am__include
634 DEPDIR
635 OBJEXT
636 EXEEXT
637 ac_ct_CC
638 CPPFLAGS
639 LDFLAGS
640 CFLAGS
641 CC
642 XGETTEXT_EXTRA_OPTIONS
643 MSGMERGE
644 XGETTEXT_015
645 XGETTEXT
646 GMSGFMT_015
647 MSGFMT_015
648 GMSGFMT
649 MSGFMT
650 GETTEXT_MACRO_VERSION
651 USE_NLS
652 SED
653 GETTEXT_PACKAGE
654 AM_BACKSLASH
655 AM_DEFAULT_VERBOSITY
656 AM_DEFAULT_V
657 AM_V
658 am__untar
659 am__tar
660 AMTAR
661 am__leading_dot
662 SET_MAKE
663 AWK
664 mkdir_p
665 MKDIR_P
666 INSTALL_STRIP_PROGRAM
667 STRIP
668 install_sh
669 MAKEINFO
670 AUTOHEADER
671 AUTOMAKE
672 AUTOCONF
673 ACLOCAL
674 VERSION
675 PACKAGE
676 CYGPATH_W
677 am__isrc
678 INSTALL_DATA
679 INSTALL_SCRIPT
680 INSTALL_PROGRAM
681 target_alias
682 host_alias
683 build_alias
684 LIBS
685 ECHO_T
686 ECHO_N
687 ECHO_C
688 DEFS
689 mandir
690 localedir
691 libdir
692 psdir
693 pdfdir
694 dvidir
695 htmldir
696 infodir
697 docdir
698 oldincludedir
699 includedir
700 localstatedir
701 sharedstatedir
702 sysconfdir
703 datadir
704 datarootdir
705 libexecdir
706 sbindir
707 bindir
708 program_transform_name
709 prefix
710 exec_prefix
711 PACKAGE_URL
712 PACKAGE_BUGREPORT
713 PACKAGE_STRING
714 PACKAGE_VERSION
715 PACKAGE_TARNAME
716 PACKAGE_NAME
717 PATH_SEPARATOR
718 SHELL'
719 ac_subst_files=''
720 ac_user_opts='
721 enable_option_checking
722 enable_silent_rules
723 enable_nls
724 enable_dependency_tracking
725 with_gnu_ld
726 enable_rpath
727 with_libiconv_prefix
728 with_libintl_prefix
729 enable_schemas_compile
730 enable_extensions
731 enable_classic_mode
732 '
733 ac_precious_vars='build_alias
734 host_alias
735 target_alias
736 CC
737 CFLAGS
738 LDFLAGS
739 LIBS
740 CPPFLAGS
741 CPP
742 PKG_CONFIG
743 PKG_CONFIG_PATH
744 PKG_CONFIG_LIBDIR'
745
746
747 # Initialize some variables set by options.
748 ac_init_help=
749 ac_init_version=false
750 ac_unrecognized_opts=
751 ac_unrecognized_sep=
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
754 cache_file=/dev/null
755 exec_prefix=NONE
756 no_create=
757 no_recursion=
758 prefix=NONE
759 program_prefix=NONE
760 program_suffix=NONE
761 program_transform_name=s,x,x,
762 silent=
763 site=
764 srcdir=
765 verbose=
766 x_includes=NONE
767 x_libraries=NONE
768
769 # Installation directory options.
770 # These are left unexpanded so users can "make install exec_prefix=/foo"
771 # and all the variables that are supposed to be based on exec_prefix
772 # by default will actually change.
773 # Use braces instead of parens because sh, perl, etc. also accept them.
774 # (The list follows the same order as the GNU Coding Standards.)
775 bindir='${exec_prefix}/bin'
776 sbindir='${exec_prefix}/sbin'
777 libexecdir='${exec_prefix}/libexec'
778 datarootdir='${prefix}/share'
779 datadir='${datarootdir}'
780 sysconfdir='${prefix}/etc'
781 sharedstatedir='${prefix}/com'
782 localstatedir='${prefix}/var'
783 includedir='${prefix}/include'
784 oldincludedir='/usr/include'
785 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
786 infodir='${datarootdir}/info'
787 htmldir='${docdir}'
788 dvidir='${docdir}'
789 pdfdir='${docdir}'
790 psdir='${docdir}'
791 libdir='${exec_prefix}/lib'
792 localedir='${datarootdir}/locale'
793 mandir='${datarootdir}/man'
794
795 ac_prev=
796 ac_dashdash=
797 for ac_option
798 do
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\$ac_option
802 ac_prev=
803 continue
804 fi
805
806 case $ac_option in
807 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 *=) ac_optarg= ;;
809 *) ac_optarg=yes ;;
810 esac
811
812 # Accept the important Cygnus configure options, so we can diagnose typos.
813
814 case $ac_dashdash$ac_option in
815 --)
816 ac_dashdash=yes ;;
817
818 -bindir | --bindir | --bindi | --bind | --bin | --bi)
819 ac_prev=bindir ;;
820 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
821 bindir=$ac_optarg ;;
822
823 -build | --build | --buil | --bui | --bu)
824 ac_prev=build_alias ;;
825 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
826 build_alias=$ac_optarg ;;
827
828 -cache-file | --cache-file | --cache-fil | --cache-fi \
829 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
830 ac_prev=cache_file ;;
831 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
832 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
833 cache_file=$ac_optarg ;;
834
835 --config-cache | -C)
836 cache_file=config.cache ;;
837
838 -datadir | --datadir | --datadi | --datad)
839 ac_prev=datadir ;;
840 -datadir=* | --datadir=* | --datadi=* | --datad=*)
841 datadir=$ac_optarg ;;
842
843 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
844 | --dataroo | --dataro | --datar)
845 ac_prev=datarootdir ;;
846 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
847 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
848 datarootdir=$ac_optarg ;;
849
850 -disable-* | --disable-*)
851 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
854 as_fn_error $? "invalid feature name: $ac_useropt"
855 ac_useropt_orig=$ac_useropt
856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
858 *"
859 "enable_$ac_useropt"
860 "*) ;;
861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862 ac_unrecognized_sep=', ';;
863 esac
864 eval enable_$ac_useropt=no ;;
865
866 -docdir | --docdir | --docdi | --doc | --do)
867 ac_prev=docdir ;;
868 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
869 docdir=$ac_optarg ;;
870
871 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872 ac_prev=dvidir ;;
873 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
874 dvidir=$ac_optarg ;;
875
876 -enable-* | --enable-*)
877 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
880 as_fn_error $? "invalid feature name: $ac_useropt"
881 ac_useropt_orig=$ac_useropt
882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
884 *"
885 "enable_$ac_useropt"
886 "*) ;;
887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888 ac_unrecognized_sep=', ';;
889 esac
890 eval enable_$ac_useropt=\$ac_optarg ;;
891
892 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
893 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
894 | --exec | --exe | --ex)
895 ac_prev=exec_prefix ;;
896 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
897 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
898 | --exec=* | --exe=* | --ex=*)
899 exec_prefix=$ac_optarg ;;
900
901 -gas | --gas | --ga | --g)
902 # Obsolete; use --with-gas.
903 with_gas=yes ;;
904
905 -help | --help | --hel | --he | -h)
906 ac_init_help=long ;;
907 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
908 ac_init_help=recursive ;;
909 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
910 ac_init_help=short ;;
911
912 -host | --host | --hos | --ho)
913 ac_prev=host_alias ;;
914 -host=* | --host=* | --hos=* | --ho=*)
915 host_alias=$ac_optarg ;;
916
917 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
918 ac_prev=htmldir ;;
919 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
920 | --ht=*)
921 htmldir=$ac_optarg ;;
922
923 -includedir | --includedir | --includedi | --included | --include \
924 | --includ | --inclu | --incl | --inc)
925 ac_prev=includedir ;;
926 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
927 | --includ=* | --inclu=* | --incl=* | --inc=*)
928 includedir=$ac_optarg ;;
929
930 -infodir | --infodir | --infodi | --infod | --info | --inf)
931 ac_prev=infodir ;;
932 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
933 infodir=$ac_optarg ;;
934
935 -libdir | --libdir | --libdi | --libd)
936 ac_prev=libdir ;;
937 -libdir=* | --libdir=* | --libdi=* | --libd=*)
938 libdir=$ac_optarg ;;
939
940 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
941 | --libexe | --libex | --libe)
942 ac_prev=libexecdir ;;
943 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
944 | --libexe=* | --libex=* | --libe=*)
945 libexecdir=$ac_optarg ;;
946
947 -localedir | --localedir | --localedi | --localed | --locale)
948 ac_prev=localedir ;;
949 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
950 localedir=$ac_optarg ;;
951
952 -localstatedir | --localstatedir | --localstatedi | --localstated \
953 | --localstate | --localstat | --localsta | --localst | --locals)
954 ac_prev=localstatedir ;;
955 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
956 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
957 localstatedir=$ac_optarg ;;
958
959 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
960 ac_prev=mandir ;;
961 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
962 mandir=$ac_optarg ;;
963
964 -nfp | --nfp | --nf)
965 # Obsolete; use --without-fp.
966 with_fp=no ;;
967
968 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
969 | --no-cr | --no-c | -n)
970 no_create=yes ;;
971
972 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
973 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
974 no_recursion=yes ;;
975
976 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
977 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
978 | --oldin | --oldi | --old | --ol | --o)
979 ac_prev=oldincludedir ;;
980 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
981 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
982 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
983 oldincludedir=$ac_optarg ;;
984
985 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
986 ac_prev=prefix ;;
987 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
988 prefix=$ac_optarg ;;
989
990 -program-prefix | --program-prefix | --program-prefi | --program-pref \
991 | --program-pre | --program-pr | --program-p)
992 ac_prev=program_prefix ;;
993 -program-prefix=* | --program-prefix=* | --program-prefi=* \
994 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
995 program_prefix=$ac_optarg ;;
996
997 -program-suffix | --program-suffix | --program-suffi | --program-suff \
998 | --program-suf | --program-su | --program-s)
999 ac_prev=program_suffix ;;
1000 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1001 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1002 program_suffix=$ac_optarg ;;
1003
1004 -program-transform-name | --program-transform-name \
1005 | --program-transform-nam | --program-transform-na \
1006 | --program-transform-n | --program-transform- \
1007 | --program-transform | --program-transfor \
1008 | --program-transfo | --program-transf \
1009 | --program-trans | --program-tran \
1010 | --progr-tra | --program-tr | --program-t)
1011 ac_prev=program_transform_name ;;
1012 -program-transform-name=* | --program-transform-name=* \
1013 | --program-transform-nam=* | --program-transform-na=* \
1014 | --program-transform-n=* | --program-transform-=* \
1015 | --program-transform=* | --program-transfor=* \
1016 | --program-transfo=* | --program-transf=* \
1017 | --program-trans=* | --program-tran=* \
1018 | --progr-tra=* | --program-tr=* | --program-t=*)
1019 program_transform_name=$ac_optarg ;;
1020
1021 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1022 ac_prev=pdfdir ;;
1023 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1024 pdfdir=$ac_optarg ;;
1025
1026 -psdir | --psdir | --psdi | --psd | --ps)
1027 ac_prev=psdir ;;
1028 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1029 psdir=$ac_optarg ;;
1030
1031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1032 | -silent | --silent | --silen | --sile | --sil)
1033 silent=yes ;;
1034
1035 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1036 ac_prev=sbindir ;;
1037 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1038 | --sbi=* | --sb=*)
1039 sbindir=$ac_optarg ;;
1040
1041 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1042 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1043 | --sharedst | --shareds | --shared | --share | --shar \
1044 | --sha | --sh)
1045 ac_prev=sharedstatedir ;;
1046 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1047 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1048 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1049 | --sha=* | --sh=*)
1050 sharedstatedir=$ac_optarg ;;
1051
1052 -site | --site | --sit)
1053 ac_prev=site ;;
1054 -site=* | --site=* | --sit=*)
1055 site=$ac_optarg ;;
1056
1057 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1058 ac_prev=srcdir ;;
1059 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1060 srcdir=$ac_optarg ;;
1061
1062 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1063 | --syscon | --sysco | --sysc | --sys | --sy)
1064 ac_prev=sysconfdir ;;
1065 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1066 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1067 sysconfdir=$ac_optarg ;;
1068
1069 -target | --target | --targe | --targ | --tar | --ta | --t)
1070 ac_prev=target_alias ;;
1071 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1072 target_alias=$ac_optarg ;;
1073
1074 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1075 verbose=yes ;;
1076
1077 -version | --version | --versio | --versi | --vers | -V)
1078 ac_init_version=: ;;
1079
1080 -with-* | --with-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid package name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1088 *"
1089 "with_$ac_useropt"
1090 "*) ;;
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1093 esac
1094 eval with_$ac_useropt=\$ac_optarg ;;
1095
1096 -without-* | --without-*)
1097 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid package name: $ac_useropt"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1104 *"
1105 "with_$ac_useropt"
1106 "*) ;;
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1109 esac
1110 eval with_$ac_useropt=no ;;
1111
1112 --x)
1113 # Obsolete; use --with-x.
1114 with_x=yes ;;
1115
1116 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1117 | --x-incl | --x-inc | --x-in | --x-i)
1118 ac_prev=x_includes ;;
1119 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1120 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1121 x_includes=$ac_optarg ;;
1122
1123 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1124 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1125 ac_prev=x_libraries ;;
1126 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1127 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1128 x_libraries=$ac_optarg ;;
1129
1130 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1131 Try \`$0 --help' for more information"
1132 ;;
1133
1134 *=*)
1135 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1136 # Reject names that are not valid shell variable names.
1137 case $ac_envvar in #(
1138 '' | [0-9]* | *[!_$as_cr_alnum]* )
1139 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1140 esac
1141 eval $ac_envvar=\$ac_optarg
1142 export $ac_envvar ;;
1143
1144 *)
1145 # FIXME: should be removed in autoconf 3.0.
1146 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1147 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1148 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1149 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1150 ;;
1151
1152 esac
1153 done
1154
1155 if test -n "$ac_prev"; then
1156 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1157 as_fn_error $? "missing argument to $ac_option"
1158 fi
1159
1160 if test -n "$ac_unrecognized_opts"; then
1161 case $enable_option_checking in
1162 no) ;;
1163 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1164 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1165 esac
1166 fi
1167
1168 # Check all directory arguments for consistency.
1169 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170 datadir sysconfdir sharedstatedir localstatedir includedir \
1171 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172 libdir localedir mandir
1173 do
1174 eval ac_val=\$$ac_var
1175 # Remove trailing slashes.
1176 case $ac_val in
1177 */ )
1178 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1179 eval $ac_var=\$ac_val;;
1180 esac
1181 # Be sure to have absolute directory names.
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1187 done
1188
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1195
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 elif test "x$build_alias" != "x$host_alias"; then
1201 cross_compiling=yes
1202 fi
1203 fi
1204
1205 ac_tool_prefix=
1206 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1207
1208 test "$silent" = yes && exec 6>/dev/null
1209
1210
1211 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di=`ls -di .` &&
1213 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error $? "working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error $? "pwd does not report name of working directory"
1217
1218
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1230 s//\1/
1231 q
1232 }
1233 /^X\(\/\/\)[^/].*/{
1234 s//\1/
1235 q
1236 }
1237 /^X\(\/\/\)$/{
1238 s//\1/
1239 q
1240 }
1241 /^X\(\/\).*/{
1242 s//\1/
1243 q
1244 }
1245 s/.*/./; q'`
1246 srcdir=$ac_confdir
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 srcdir=..
1249 fi
1250 else
1251 ac_srcdir_defaulted=no
1252 fi
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1255 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1256 fi
1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 ac_abs_confdir=`(
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1260 pwd)`
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263 srcdir=.
1264 fi
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1268 case $srcdir in
1269 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 esac
1271 for ac_var in $ac_precious_vars; do
1272 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_${ac_var}_value=\$${ac_var}
1274 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1276 done
1277
1278 #
1279 # Report the --help message.
1280 #
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1284 cat <<_ACEOF
1285 \`configure' configures gnome-shell-extensions 3.26.2 to adapt to many kinds of systems.
1286
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1288
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1291
1292 Defaults for the options are specified in brackets.
1293
1294 Configuration:
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking ...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1309 [PREFIX]
1310
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1315
1316 For better control, use the options below.
1317
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root
1334 [DATAROOTDIR/doc/gnome-shell-extensions]
1335 --htmldir=DIR html documentation [DOCDIR]
1336 --dvidir=DIR dvi documentation [DOCDIR]
1337 --pdfdir=DIR pdf documentation [DOCDIR]
1338 --psdir=DIR ps documentation [DOCDIR]
1339 _ACEOF
1340
1341 cat <<\_ACEOF
1342
1343 Program names:
1344 --program-prefix=PREFIX prepend PREFIX to installed program names
1345 --program-suffix=SUFFIX append SUFFIX to installed program names
1346 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1347
1348 System types:
1349 --build=BUILD configure for building on BUILD [guessed]
1350 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1351 _ACEOF
1352 fi
1353
1354 if test -n "$ac_init_help"; then
1355 case $ac_init_help in
1356 short | recursive ) echo "Configuration of gnome-shell-extensions 3.26.2:";;
1357 esac
1358 cat <<\_ACEOF
1359
1360 Optional Features:
1361 --disable-option-checking ignore unrecognized --enable/--with options
1362 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1363 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1364 --enable-silent-rules less verbose build output (undo: "make V=1")
1365 --disable-silent-rules verbose build output (undo: "make V=0")
1366 --disable-nls do not use Native Language Support
1367 --enable-dependency-tracking
1368 do not reject slow dependency extractors
1369 --disable-dependency-tracking
1370 speeds up one-time build
1371 --disable-rpath do not hardcode runtime library paths
1372 --disable-schemas-compile
1373 Disable regeneration of gschemas.compiled on install
1374 --enable-extensions Space separated list of extensions to enable. The
1375 default is to build and distribute all extensions
1376 that can be installed in the home directory and have
1377 no external depedencies. Use "all" to enable all
1378 available extensions, or "classic-mode" to enable
1379 extensions that restore GNOME 2 functionality.
1380 --enable-classic-mode Enable installing data files for classic mode.
1381 Defaults to yes if enabling all or classic-mode
1382 extensions, and no otherwise.
1383
1384 Optional Packages:
1385 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1386 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1387 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1388 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1389 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1390 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1391 --without-libintl-prefix don't search for libintl in includedir and libdir
1392
1393 Some influential environment variables:
1394 CC C compiler command
1395 CFLAGS C compiler flags
1396 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1397 nonstandard directory <lib dir>
1398 LIBS libraries to pass to the linker, e.g. -l<library>
1399 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1400 you have headers in a nonstandard directory <include dir>
1401 CPP C preprocessor
1402 PKG_CONFIG path to pkg-config utility
1403 PKG_CONFIG_PATH
1404 directories to add to pkg-config's search path
1405 PKG_CONFIG_LIBDIR
1406 path overriding pkg-config's built-in search path
1407
1408 Use these variables to override the choices made by `configure' or to help
1409 it to find libraries and programs with nonstandard names/locations.
1410
1411 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions>.
1412 _ACEOF
1413 ac_status=$?
1414 fi
1415
1416 if test "$ac_init_help" = "recursive"; then
1417 # If there are subdirs, report their specific --help.
1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419 test -d "$ac_dir" ||
1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421 continue
1422 ac_builddir=.
1423
1424 case "$ac_dir" in
1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 *)
1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428 # A ".." for each directory in $ac_dir_suffix.
1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430 case $ac_top_builddir_sub in
1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433 esac ;;
1434 esac
1435 ac_abs_top_builddir=$ac_pwd
1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir=$ac_top_build_prefix
1439
1440 case $srcdir in
1441 .) # We are building in place.
1442 ac_srcdir=.
1443 ac_top_srcdir=$ac_top_builddir_sub
1444 ac_abs_top_srcdir=$ac_pwd ;;
1445 [\\/]* | ?:[\\/]* ) # Absolute name.
1446 ac_srcdir=$srcdir$ac_dir_suffix;
1447 ac_top_srcdir=$srcdir
1448 ac_abs_top_srcdir=$srcdir ;;
1449 *) # Relative name.
1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451 ac_top_srcdir=$ac_top_build_prefix$srcdir
1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453 esac
1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455
1456 cd "$ac_dir" || { ac_status=$?; continue; }
1457 # Check for guested configure.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1459 echo &&
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1462 echo &&
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1464 else
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 fi || ac_status=$?
1467 cd "$ac_pwd" || { ac_status=$?; break; }
1468 done
1469 fi
1470
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1473 cat <<\_ACEOF
1474 gnome-shell-extensions configure 3.26.2
1475 generated by GNU Autoconf 2.69
1476
1477 Copyright (C) 2012 Free Software Foundation, Inc.
1478 This configure script is free software; the Free Software Foundation
1479 gives unlimited permission to copy, distribute and modify it.
1480 _ACEOF
1481 exit
1482 fi
1483
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1487
1488 # ac_fn_c_try_compile LINENO
1489 # --------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_c_try_compile ()
1492 {
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 rm -f conftest.$ac_objext
1495 if { { ac_try="$ac_compile"
1496 case "(($ac_try" in
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1499 esac
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1503 ac_status=$?
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1508 fi
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext; then :
1514 ac_retval=0
1515 else
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1518
1519 ac_retval=1
1520 fi
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1523
1524 } # ac_fn_c_try_compile
1525
1526 # ac_fn_c_try_cpp LINENO
1527 # ----------------------
1528 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_cpp ()
1530 {
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 if { { ac_try="$ac_cpp conftest.$ac_ext"
1533 case "(($ac_try" in
1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535 *) ac_try_echo=$ac_try;;
1536 esac
1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538 $as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1540 ac_status=$?
1541 if test -s conftest.err; then
1542 grep -v '^ *+' conftest.err >conftest.er1
1543 cat conftest.er1 >&5
1544 mv -f conftest.er1 conftest.err
1545 fi
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } > conftest.i && {
1548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1549 test ! -s conftest.err
1550 }; then :
1551 ac_retval=0
1552 else
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1555
1556 ac_retval=1
1557 fi
1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 as_fn_set_status $ac_retval
1560
1561 } # ac_fn_c_try_cpp
1562
1563 # ac_fn_c_try_link LINENO
1564 # -----------------------
1565 # Try to link conftest.$ac_ext, and return whether this succeeded.
1566 ac_fn_c_try_link ()
1567 {
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 rm -f conftest.$ac_objext conftest$ac_exeext
1570 if { { ac_try="$ac_link"
1571 case "(($ac_try" in
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1574 esac
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_link") 2>conftest.err
1578 ac_status=$?
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1583 fi
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest$ac_exeext && {
1589 test "$cross_compiling" = yes ||
1590 test -x conftest$ac_exeext
1591 }; then :
1592 ac_retval=0
1593 else
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1596
1597 ac_retval=1
1598 fi
1599 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1600 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1601 # interfere with the next link command; also delete a directory that is
1602 # left behind by Apple's compiler. We do this before executing the actions.
1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status $ac_retval
1606
1607 } # ac_fn_c_try_link
1608
1609 # ac_fn_c_try_run LINENO
1610 # ----------------------
1611 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1612 # that executables *can* be run.
1613 ac_fn_c_try_run ()
1614 {
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 if { { ac_try="$ac_link"
1617 case "(($ac_try" in
1618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1620 esac
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_link") 2>&5
1624 ac_status=$?
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1627 { { case "(($ac_try" in
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1630 esac
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_try") 2>&5
1634 ac_status=$?
1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636 test $ac_status = 0; }; }; then :
1637 ac_retval=0
1638 else
1639 $as_echo "$as_me: program exited with status $ac_status" >&5
1640 $as_echo "$as_me: failed program was:" >&5
1641 sed 's/^/| /' conftest.$ac_ext >&5
1642
1643 ac_retval=$ac_status
1644 fi
1645 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 as_fn_set_status $ac_retval
1648
1649 } # ac_fn_c_try_run
1650 cat >config.log <<_ACEOF
1651 This file contains any messages produced by compilers while
1652 running configure, to aid debugging if configure makes a mistake.
1653
1654 It was created by gnome-shell-extensions $as_me 3.26.2, which was
1655 generated by GNU Autoconf 2.69. Invocation command line was
1656
1657 $ $0 $@
1658
1659 _ACEOF
1660 exec 5>>config.log
1661 {
1662 cat <<_ASUNAME
1663 ## --------- ##
1664 ## Platform. ##
1665 ## --------- ##
1666
1667 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1668 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1669 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1670 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1671 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1672
1673 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1674 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1675
1676 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1677 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1678 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1679 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1680 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1681 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1682 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1683
1684 _ASUNAME
1685
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1687 for as_dir in $PATH
1688 do
1689 IFS=$as_save_IFS
1690 test -z "$as_dir" && as_dir=.
1691 $as_echo "PATH: $as_dir"
1692 done
1693 IFS=$as_save_IFS
1694
1695 } >&5
1696
1697 cat >&5 <<_ACEOF
1698
1699
1700 ## ----------- ##
1701 ## Core tests. ##
1702 ## ----------- ##
1703
1704 _ACEOF
1705
1706
1707 # Keep a trace of the command line.
1708 # Strip out --no-create and --no-recursion so they do not pile up.
1709 # Strip out --silent because we don't want to record it for future runs.
1710 # Also quote any args containing shell meta-characters.
1711 # Make two passes to allow for proper duplicate-argument suppression.
1712 ac_configure_args=
1713 ac_configure_args0=
1714 ac_configure_args1=
1715 ac_must_keep_next=false
1716 for ac_pass in 1 2
1717 do
1718 for ac_arg
1719 do
1720 case $ac_arg in
1721 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1723 | -silent | --silent | --silen | --sile | --sil)
1724 continue ;;
1725 *\'*)
1726 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1727 esac
1728 case $ac_pass in
1729 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1730 2)
1731 as_fn_append ac_configure_args1 " '$ac_arg'"
1732 if test $ac_must_keep_next = true; then
1733 ac_must_keep_next=false # Got value, back to normal.
1734 else
1735 case $ac_arg in
1736 *=* | --config-cache | -C | -disable-* | --disable-* \
1737 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1738 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1739 | -with-* | --with-* | -without-* | --without-* | --x)
1740 case "$ac_configure_args0 " in
1741 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1742 esac
1743 ;;
1744 -* ) ac_must_keep_next=true ;;
1745 esac
1746 fi
1747 as_fn_append ac_configure_args " '$ac_arg'"
1748 ;;
1749 esac
1750 done
1751 done
1752 { ac_configure_args0=; unset ac_configure_args0;}
1753 { ac_configure_args1=; unset ac_configure_args1;}
1754
1755 # When interrupted or exit'd, cleanup temporary files, and complete
1756 # config.log. We remove comments because anyway the quotes in there
1757 # would cause problems or look ugly.
1758 # WARNING: Use '\'' to represent an apostrophe within the trap.
1759 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1760 trap 'exit_status=$?
1761 # Save into config.log some information that might help in debugging.
1762 {
1763 echo
1764
1765 $as_echo "## ---------------- ##
1766 ## Cache variables. ##
1767 ## ---------------- ##"
1768 echo
1769 # The following way of writing the cache mishandles newlines in values,
1770 (
1771 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1772 eval ac_val=\$$ac_var
1773 case $ac_val in #(
1774 *${as_nl}*)
1775 case $ac_var in #(
1776 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1777 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1778 esac
1779 case $ac_var in #(
1780 _ | IFS | as_nl) ;; #(
1781 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1782 *) { eval $ac_var=; unset $ac_var;} ;;
1783 esac ;;
1784 esac
1785 done
1786 (set) 2>&1 |
1787 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1788 *${as_nl}ac_space=\ *)
1789 sed -n \
1790 "s/'\''/'\''\\\\'\'''\''/g;
1791 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1792 ;; #(
1793 *)
1794 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1795 ;;
1796 esac |
1797 sort
1798 )
1799 echo
1800
1801 $as_echo "## ----------------- ##
1802 ## Output variables. ##
1803 ## ----------------- ##"
1804 echo
1805 for ac_var in $ac_subst_vars
1806 do
1807 eval ac_val=\$$ac_var
1808 case $ac_val in
1809 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1810 esac
1811 $as_echo "$ac_var='\''$ac_val'\''"
1812 done | sort
1813 echo
1814
1815 if test -n "$ac_subst_files"; then
1816 $as_echo "## ------------------- ##
1817 ## File substitutions. ##
1818 ## ------------------- ##"
1819 echo
1820 for ac_var in $ac_subst_files
1821 do
1822 eval ac_val=\$$ac_var
1823 case $ac_val in
1824 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1825 esac
1826 $as_echo "$ac_var='\''$ac_val'\''"
1827 done | sort
1828 echo
1829 fi
1830
1831 if test -s confdefs.h; then
1832 $as_echo "## ----------- ##
1833 ## confdefs.h. ##
1834 ## ----------- ##"
1835 echo
1836 cat confdefs.h
1837 echo
1838 fi
1839 test "$ac_signal" != 0 &&
1840 $as_echo "$as_me: caught signal $ac_signal"
1841 $as_echo "$as_me: exit $exit_status"
1842 } >&5
1843 rm -f core *.core core.conftest.* &&
1844 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1845 exit $exit_status
1846 ' 0
1847 for ac_signal in 1 2 13 15; do
1848 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1849 done
1850 ac_signal=0
1851
1852 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1853 rm -f -r conftest* confdefs.h
1854
1855 $as_echo "/* confdefs.h */" > confdefs.h
1856
1857 # Predefined preprocessor variables.
1858
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_NAME "$PACKAGE_NAME"
1861 _ACEOF
1862
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1865 _ACEOF
1866
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1869 _ACEOF
1870
1871 cat >>confdefs.h <<_ACEOF
1872 #define PACKAGE_STRING "$PACKAGE_STRING"
1873 _ACEOF
1874
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1877 _ACEOF
1878
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_URL "$PACKAGE_URL"
1881 _ACEOF
1882
1883
1884 # Let the site file select an alternate cache file if it wants to.
1885 # Prefer an explicitly selected file to automatically selected ones.
1886 ac_site_file1=NONE
1887 ac_site_file2=NONE
1888 if test -n "$CONFIG_SITE"; then
1889 # We do not want a PATH search for config.site.
1890 case $CONFIG_SITE in #((
1891 -*) ac_site_file1=./$CONFIG_SITE;;
1892 */*) ac_site_file1=$CONFIG_SITE;;
1893 *) ac_site_file1=./$CONFIG_SITE;;
1894 esac
1895 elif test "x$prefix" != xNONE; then
1896 ac_site_file1=$prefix/share/config.site
1897 ac_site_file2=$prefix/etc/config.site
1898 else
1899 ac_site_file1=$ac_default_prefix/share/config.site
1900 ac_site_file2=$ac_default_prefix/etc/config.site
1901 fi
1902 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1903 do
1904 test "x$ac_site_file" = xNONE && continue
1905 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1907 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1908 sed 's/^/| /' "$ac_site_file" >&5
1909 . "$ac_site_file" \
1910 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1912 as_fn_error $? "failed to load site script $ac_site_file
1913 See \`config.log' for more details" "$LINENO" 5; }
1914 fi
1915 done
1916
1917 if test -r "$cache_file"; then
1918 # Some versions of bash will fail to source /dev/null (special files
1919 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1920 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1922 $as_echo "$as_me: loading cache $cache_file" >&6;}
1923 case $cache_file in
1924 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1925 *) . "./$cache_file";;
1926 esac
1927 fi
1928 else
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1930 $as_echo "$as_me: creating cache $cache_file" >&6;}
1931 >$cache_file
1932 fi
1933
1934 gt_needs="$gt_needs "
1935 # Check that the precious variables saved in the cache have kept the same
1936 # value.
1937 ac_cache_corrupted=false
1938 for ac_var in $ac_precious_vars; do
1939 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1940 eval ac_new_set=\$ac_env_${ac_var}_set
1941 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1942 eval ac_new_val=\$ac_env_${ac_var}_value
1943 case $ac_old_set,$ac_new_set in
1944 set,)
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1946 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1947 ac_cache_corrupted=: ;;
1948 ,set)
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1950 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1951 ac_cache_corrupted=: ;;
1952 ,);;
1953 *)
1954 if test "x$ac_old_val" != "x$ac_new_val"; then
1955 # differences in whitespace do not lead to failure.
1956 ac_old_val_w=`echo x $ac_old_val`
1957 ac_new_val_w=`echo x $ac_new_val`
1958 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1960 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1961 ac_cache_corrupted=:
1962 else
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1964 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1965 eval $ac_var=\$ac_old_val
1966 fi
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1968 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1970 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1971 fi;;
1972 esac
1973 # Pass precious variables to config.status.
1974 if test "$ac_new_set" = set; then
1975 case $ac_new_val in
1976 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1977 *) ac_arg=$ac_var=$ac_new_val ;;
1978 esac
1979 case " $ac_configure_args " in
1980 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1981 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1982 esac
1983 fi
1984 done
1985 if $ac_cache_corrupted; then
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1989 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1990 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1991 fi
1992 ## -------------------- ##
1993 ## Main body of script. ##
1994 ## -------------------- ##
1995
1996 ac_ext=c
1997 ac_cpp='$CPP $CPPFLAGS'
1998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2001
2002
2003
2004
2005 ac_aux_dir=
2006 for ac_dir in config "$srcdir"/config; do
2007 if test -f "$ac_dir/install-sh"; then
2008 ac_aux_dir=$ac_dir
2009 ac_install_sh="$ac_aux_dir/install-sh -c"
2010 break
2011 elif test -f "$ac_dir/install.sh"; then
2012 ac_aux_dir=$ac_dir
2013 ac_install_sh="$ac_aux_dir/install.sh -c"
2014 break
2015 elif test -f "$ac_dir/shtool"; then
2016 ac_aux_dir=$ac_dir
2017 ac_install_sh="$ac_aux_dir/shtool install -c"
2018 break
2019 fi
2020 done
2021 if test -z "$ac_aux_dir"; then
2022 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2023 fi
2024
2025 # These three variables are undocumented and unsupported,
2026 # and are intended to be withdrawn in a future Autoconf release.
2027 # They can cause serious problems if a builder's source tree is in a directory
2028 # whose full name contains unusual characters.
2029 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2030 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2031 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2032
2033
2034
2035 am__api_version='1.15'
2036
2037 # Find a good install program. We prefer a C program (faster),
2038 # so one script is as good as another. But avoid the broken or
2039 # incompatible versions:
2040 # SysV /etc/install, /usr/sbin/install
2041 # SunOS /usr/etc/install
2042 # IRIX /sbin/install
2043 # AIX /bin/install
2044 # AmigaOS /C/install, which installs bootblocks on floppy discs
2045 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2046 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2047 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2048 # OS/2's system install, which has a completely different semantic
2049 # ./install, which can be erroneously created by make from ./install.sh.
2050 # Reject install programs that cannot install multiple files.
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2052 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2053 if test -z "$INSTALL"; then
2054 if ${ac_cv_path_install+:} false; then :
2055 $as_echo_n "(cached) " >&6
2056 else
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2059 do
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 # Account for people who put trailing slashes in PATH elements.
2063 case $as_dir/ in #((
2064 ./ | .// | /[cC]/* | \
2065 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2066 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2067 /usr/ucb/* ) ;;
2068 *)
2069 # OSF1 and SCO ODT 3.0 have their own names for install.
2070 # Don't use installbsd from OSF since it installs stuff as root
2071 # by default.
2072 for ac_prog in ginstall scoinst install; do
2073 for ac_exec_ext in '' $ac_executable_extensions; do
2074 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2075 if test $ac_prog = install &&
2076 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2077 # AIX install. It has an incompatible calling convention.
2078 :
2079 elif test $ac_prog = install &&
2080 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2081 # program-specific install script used by HP pwplus--don't use.
2082 :
2083 else
2084 rm -rf conftest.one conftest.two conftest.dir
2085 echo one > conftest.one
2086 echo two > conftest.two
2087 mkdir conftest.dir
2088 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2089 test -s conftest.one && test -s conftest.two &&
2090 test -s conftest.dir/conftest.one &&
2091 test -s conftest.dir/conftest.two
2092 then
2093 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2094 break 3
2095 fi
2096 fi
2097 fi
2098 done
2099 done
2100 ;;
2101 esac
2102
2103 done
2104 IFS=$as_save_IFS
2105
2106 rm -rf conftest.one conftest.two conftest.dir
2107
2108 fi
2109 if test "${ac_cv_path_install+set}" = set; then
2110 INSTALL=$ac_cv_path_install
2111 else
2112 # As a last resort, use the slow shell script. Don't cache a
2113 # value for INSTALL within a source directory, because that will
2114 # break other packages using the cache if that directory is
2115 # removed, or if the value is a relative name.
2116 INSTALL=$ac_install_sh
2117 fi
2118 fi
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2120 $as_echo "$INSTALL" >&6; }
2121
2122 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2123 # It thinks the first close brace ends the variable substitution.
2124 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2125
2126 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2127
2128 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2129
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2131 $as_echo_n "checking whether build environment is sane... " >&6; }
2132 # Reject unsafe characters in $srcdir or the absolute working directory
2133 # name. Accept space and tab only in the latter.
2134 am_lf='
2135 '
2136 case `pwd` in
2137 *[\\\"\#\$\&\'\`$am_lf]*)
2138 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2139 esac
2140 case $srcdir in
2141 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2142 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2143 esac
2144
2145 # Do 'set' in a subshell so we don't clobber the current shell's
2146 # arguments. Must try -L first in case configure is actually a
2147 # symlink; some systems play weird games with the mod time of symlinks
2148 # (eg FreeBSD returns the mod time of the symlink's containing
2149 # directory).
2150 if (
2151 am_has_slept=no
2152 for am_try in 1 2; do
2153 echo "timestamp, slept: $am_has_slept" > conftest.file
2154 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2155 if test "$*" = "X"; then
2156 # -L didn't work.
2157 set X `ls -t "$srcdir/configure" conftest.file`
2158 fi
2159 if test "$*" != "X $srcdir/configure conftest.file" \
2160 && test "$*" != "X conftest.file $srcdir/configure"; then
2161
2162 # If neither matched, then we have a broken ls. This can happen
2163 # if, for instance, CONFIG_SHELL is bash and it inherits a
2164 # broken ls alias from the environment. This has actually
2165 # happened. Such a system could not be considered "sane".
2166 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2167 alias in your environment" "$LINENO" 5
2168 fi
2169 if test "$2" = conftest.file || test $am_try -eq 2; then
2170 break
2171 fi
2172 # Just in case.
2173 sleep 1
2174 am_has_slept=yes
2175 done
2176 test "$2" = conftest.file
2177 )
2178 then
2179 # Ok.
2180 :
2181 else
2182 as_fn_error $? "newly created file is older than distributed files!
2183 Check your system clock" "$LINENO" 5
2184 fi
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2186 $as_echo "yes" >&6; }
2187 # If we didn't sleep, we still need to ensure time stamps of config.status and
2188 # generated files are strictly newer.
2189 am_sleep_pid=
2190 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2191 ( sleep 1 ) &
2192 am_sleep_pid=$!
2193 fi
2194
2195 rm -f conftest.file
2196
2197 test "$program_prefix" != NONE &&
2198 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2199 # Use a double $ so make ignores it.
2200 test "$program_suffix" != NONE &&
2201 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2202 # Double any \ or $.
2203 # By default was `s,x,x', remove it if useless.
2204 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2205 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2206
2207 # Expand $ac_aux_dir to an absolute path.
2208 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2209
2210 if test x"${MISSING+set}" != xset; then
2211 case $am_aux_dir in
2212 *\ * | *\ *)
2213 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2214 *)
2215 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2216 esac
2217 fi
2218 # Use eval to expand $SHELL
2219 if eval "$MISSING --is-lightweight"; then
2220 am_missing_run="$MISSING "
2221 else
2222 am_missing_run=
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2224 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2225 fi
2226
2227 if test x"${install_sh+set}" != xset; then
2228 case $am_aux_dir in
2229 *\ * | *\ *)
2230 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2231 *)
2232 install_sh="\${SHELL} $am_aux_dir/install-sh"
2233 esac
2234 fi
2235
2236 # Installed binaries are usually stripped using 'strip' when the user
2237 # run "make install-strip". However 'strip' might not be the right
2238 # tool to use in cross-compilation environments, therefore Automake
2239 # will honor the 'STRIP' environment variable to overrule this program.
2240 if test "$cross_compiling" != no; then
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}strip; ac_word=$2
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2245 $as_echo_n "checking for $ac_word... " >&6; }
2246 if ${ac_cv_prog_STRIP+:} false; then :
2247 $as_echo_n "(cached) " >&6
2248 else
2249 if test -n "$STRIP"; then
2250 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2254 do
2255 IFS=$as_save_IFS
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 break 2
2262 fi
2263 done
2264 done
2265 IFS=$as_save_IFS
2266
2267 fi
2268 fi
2269 STRIP=$ac_cv_prog_STRIP
2270 if test -n "$STRIP"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2272 $as_echo "$STRIP" >&6; }
2273 else
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 $as_echo "no" >&6; }
2276 fi
2277
2278
2279 fi
2280 if test -z "$ac_cv_prog_STRIP"; then
2281 ac_ct_STRIP=$STRIP
2282 # Extract the first word of "strip", so it can be a program name with args.
2283 set dummy strip; ac_word=$2
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2285 $as_echo_n "checking for $ac_word... " >&6; }
2286 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2287 $as_echo_n "(cached) " >&6
2288 else
2289 if test -n "$ac_ct_STRIP"; then
2290 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2291 else
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 for as_dir in $PATH
2294 do
2295 IFS=$as_save_IFS
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2299 ac_cv_prog_ac_ct_STRIP="strip"
2300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 break 2
2302 fi
2303 done
2304 done
2305 IFS=$as_save_IFS
2306
2307 fi
2308 fi
2309 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2310 if test -n "$ac_ct_STRIP"; then
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2312 $as_echo "$ac_ct_STRIP" >&6; }
2313 else
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2315 $as_echo "no" >&6; }
2316 fi
2317
2318 if test "x$ac_ct_STRIP" = x; then
2319 STRIP=":"
2320 else
2321 case $cross_compiling:$ac_tool_warned in
2322 yes:)
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2325 ac_tool_warned=yes ;;
2326 esac
2327 STRIP=$ac_ct_STRIP
2328 fi
2329 else
2330 STRIP="$ac_cv_prog_STRIP"
2331 fi
2332
2333 fi
2334 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2335
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2337 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2338 if test -z "$MKDIR_P"; then
2339 if ${ac_cv_path_mkdir+:} false; then :
2340 $as_echo_n "(cached) " >&6
2341 else
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2344 do
2345 IFS=$as_save_IFS
2346 test -z "$as_dir" && as_dir=.
2347 for ac_prog in mkdir gmkdir; do
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2350 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2351 'mkdir (GNU coreutils) '* | \
2352 'mkdir (coreutils) '* | \
2353 'mkdir (fileutils) '4.1*)
2354 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2355 break 3;;
2356 esac
2357 done
2358 done
2359 done
2360 IFS=$as_save_IFS
2361
2362 fi
2363
2364 test -d ./--version && rmdir ./--version
2365 if test "${ac_cv_path_mkdir+set}" = set; then
2366 MKDIR_P="$ac_cv_path_mkdir -p"
2367 else
2368 # As a last resort, use the slow shell script. Don't cache a
2369 # value for MKDIR_P within a source directory, because that will
2370 # break other packages using the cache if that directory is
2371 # removed, or if the value is a relative name.
2372 MKDIR_P="$ac_install_sh -d"
2373 fi
2374 fi
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2376 $as_echo "$MKDIR_P" >&6; }
2377
2378 for ac_prog in gawk mawk nawk awk
2379 do
2380 # Extract the first word of "$ac_prog", so it can be a program name with args.
2381 set dummy $ac_prog; ac_word=$2
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383 $as_echo_n "checking for $ac_word... " >&6; }
2384 if ${ac_cv_prog_AWK+:} false; then :
2385 $as_echo_n "(cached) " >&6
2386 else
2387 if test -n "$AWK"; then
2388 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2389 else
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 for as_dir in $PATH
2392 do
2393 IFS=$as_save_IFS
2394 test -z "$as_dir" && as_dir=.
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2397 ac_cv_prog_AWK="$ac_prog"
2398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 break 2
2400 fi
2401 done
2402 done
2403 IFS=$as_save_IFS
2404
2405 fi
2406 fi
2407 AWK=$ac_cv_prog_AWK
2408 if test -n "$AWK"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2410 $as_echo "$AWK" >&6; }
2411 else
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413 $as_echo "no" >&6; }
2414 fi
2415
2416
2417 test -n "$AWK" && break
2418 done
2419
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2421 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2422 set x ${MAKE-make}
2423 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2424 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2425 $as_echo_n "(cached) " >&6
2426 else
2427 cat >conftest.make <<\_ACEOF
2428 SHELL = /bin/sh
2429 all:
2430 @echo '@@@%%%=$(MAKE)=@@@%%%'
2431 _ACEOF
2432 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2434 *@@@%%%=?*=@@@%%%*)
2435 eval ac_cv_prog_make_${ac_make}_set=yes;;
2436 *)
2437 eval ac_cv_prog_make_${ac_make}_set=no;;
2438 esac
2439 rm -f conftest.make
2440 fi
2441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2443 $as_echo "yes" >&6; }
2444 SET_MAKE=
2445 else
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2447 $as_echo "no" >&6; }
2448 SET_MAKE="MAKE=${MAKE-make}"
2449 fi
2450
2451 rm -rf .tst 2>/dev/null
2452 mkdir .tst 2>/dev/null
2453 if test -d .tst; then
2454 am__leading_dot=.
2455 else
2456 am__leading_dot=_
2457 fi
2458 rmdir .tst 2>/dev/null
2459
2460 # Check whether --enable-silent-rules was given.
2461 if test "${enable_silent_rules+set}" = set; then :
2462 enableval=$enable_silent_rules;
2463 fi
2464
2465 case $enable_silent_rules in # (((
2466 yes) AM_DEFAULT_VERBOSITY=0;;
2467 no) AM_DEFAULT_VERBOSITY=1;;
2468 *) AM_DEFAULT_VERBOSITY=1;;
2469 esac
2470 am_make=${MAKE-make}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2472 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2473 if ${am_cv_make_support_nested_variables+:} false; then :
2474 $as_echo_n "(cached) " >&6
2475 else
2476 if $as_echo 'TRUE=$(BAR$(V))
2477 BAR0=false
2478 BAR1=true
2479 V=1
2480 am__doit:
2481 @$(TRUE)
2482 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2483 am_cv_make_support_nested_variables=yes
2484 else
2485 am_cv_make_support_nested_variables=no
2486 fi
2487 fi
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2489 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2490 if test $am_cv_make_support_nested_variables = yes; then
2491 AM_V='$(V)'
2492 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2493 else
2494 AM_V=$AM_DEFAULT_VERBOSITY
2495 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2496 fi
2497 AM_BACKSLASH='\'
2498
2499 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2500 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2501 # is not polluted with repeated "-I."
2502 am__isrc=' -I$(srcdir)'
2503 # test to see if srcdir already configured
2504 if test -f $srcdir/config.status; then
2505 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2506 fi
2507 fi
2508
2509 # test whether we have cygpath
2510 if test -z "$CYGPATH_W"; then
2511 if (cygpath --version) >/dev/null 2>/dev/null; then
2512 CYGPATH_W='cygpath -w'
2513 else
2514 CYGPATH_W=echo
2515 fi
2516 fi
2517
2518
2519 # Define the identity of the package.
2520 PACKAGE='gnome-shell-extensions'
2521 VERSION='3.26.2'
2522
2523
2524 cat >>confdefs.h <<_ACEOF
2525 #define PACKAGE "$PACKAGE"
2526 _ACEOF
2527
2528
2529 cat >>confdefs.h <<_ACEOF
2530 #define VERSION "$VERSION"
2531 _ACEOF
2532
2533 # Some tools Automake needs.
2534
2535 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2536
2537
2538 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2539
2540
2541 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2542
2543
2544 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2545
2546
2547 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2548
2549 # For better backward compatibility. To be removed once Automake 1.9.x
2550 # dies out for good. For more background, see:
2551 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2552 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2553 mkdir_p='$(MKDIR_P)'
2554
2555 # We need awk for the "check" target (and possibly the TAP driver). The
2556 # system "awk" is bad on some platforms.
2557 # Always define AMTAR for backward compatibility. Yes, it's still used
2558 # in the wild :-( We should find a proper way to deprecate it ...
2559 AMTAR='$${TAR-tar}'
2560
2561
2562 # We'll loop over all known methods to create a tar archive until one works.
2563 _am_tools='gnutar plaintar pax cpio none'
2564
2565 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2566 # There is notably a 21 bits limit for the UID and the GID. In fact,
2567 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2568 # and bug#13588).
2569 am_max_uid=2097151 # 2^21 - 1
2570 am_max_gid=$am_max_uid
2571 # The $UID and $GID variables are not portable, so we need to resort
2572 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2573 # below are definitely unexpected, so allow the users to see them
2574 # (that is, avoid stderr redirection).
2575 am_uid=`id -u || echo unknown`
2576 am_gid=`id -g || echo unknown`
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2578 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2579 if test $am_uid -le $am_max_uid; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2581 $as_echo "yes" >&6; }
2582 else
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584 $as_echo "no" >&6; }
2585 _am_tools=none
2586 fi
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2588 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2589 if test $am_gid -le $am_max_gid; then
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2591 $as_echo "yes" >&6; }
2592 else
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594 $as_echo "no" >&6; }
2595 _am_tools=none
2596 fi
2597
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2599 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2600
2601 # Go ahead even if we have the value already cached. We do so because we
2602 # need to set the values for the 'am__tar' and 'am__untar' variables.
2603 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2604
2605 for _am_tool in $_am_tools; do
2606 case $_am_tool in
2607 gnutar)
2608 for _am_tar in tar gnutar gtar; do
2609 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2610 ($_am_tar --version) >&5 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); } && break
2614 done
2615 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2616 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2617 am__untar="$_am_tar -xf -"
2618 ;;
2619 plaintar)
2620 # Must skip GNU tar: if it does not support --format= it doesn't create
2621 # ustar tarball either.
2622 (tar --version) >/dev/null 2>&1 && continue
2623 am__tar='tar chf - "$$tardir"'
2624 am__tar_='tar chf - "$tardir"'
2625 am__untar='tar xf -'
2626 ;;
2627 pax)
2628 am__tar='pax -L -x ustar -w "$$tardir"'
2629 am__tar_='pax -L -x ustar -w "$tardir"'
2630 am__untar='pax -r'
2631 ;;
2632 cpio)
2633 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2634 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2635 am__untar='cpio -i -H ustar -d'
2636 ;;
2637 none)
2638 am__tar=false
2639 am__tar_=false
2640 am__untar=false
2641 ;;
2642 esac
2643
2644 # If the value was cached, stop now. We just wanted to have am__tar
2645 # and am__untar set.
2646 test -n "${am_cv_prog_tar_ustar}" && break
2647
2648 # tar/untar a dummy directory, and stop if the command works.
2649 rm -rf conftest.dir
2650 mkdir conftest.dir
2651 echo GrepMe > conftest.dir/file
2652 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2653 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2654 ac_status=$?
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }
2657 rm -rf conftest.dir
2658 if test -s conftest.tar; then
2659 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2660 ($am__untar <conftest.tar) >&5 2>&5
2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }
2664 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2665 (cat conftest.dir/file) >&5 2>&5
2666 ac_status=$?
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }
2669 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2670 fi
2671 done
2672 rm -rf conftest.dir
2673
2674 if ${am_cv_prog_tar_ustar+:} false; then :
2675 $as_echo_n "(cached) " >&6
2676 else
2677 am_cv_prog_tar_ustar=$_am_tool
2678 fi
2679
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2681 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2682
2683
2684
2685
2686
2687
2688 # POSIX will say in a future version that running "rm -f" with no argument
2689 # is OK; and we want to be able to make that assumption in our Makefile
2690 # recipes. So use an aggressive probe to check that the usage we want is
2691 # actually supported "in the wild" to an acceptable degree.
2692 # See automake bug#10828.
2693 # To make any issue more visible, cause the running configure to be aborted
2694 # by default if the 'rm' program in use doesn't match our expectations; the
2695 # user can still override this though.
2696 if rm -f && rm -fr && rm -rf; then : OK; else
2697 cat >&2 <<'END'
2698 Oops!
2699
2700 Your 'rm' program seems unable to run without file operands specified
2701 on the command line, even when the '-f' option is present. This is contrary
2702 to the behaviour of most rm programs out there, and not conforming with
2703 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2704
2705 Please tell [email protected] about your system, including the value
2706 of your $PATH and any error possibly output before this message. This
2707 can help us improve future automake versions.
2708
2709 END
2710 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2711 echo 'Configuration will proceed anyway, since you have set the' >&2
2712 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2713 echo >&2
2714 else
2715 cat >&2 <<'END'
2716 Aborting the configuration process, to ensure you take notice of the issue.
2717
2718 You can download and install GNU coreutils to get an 'rm' implementation
2719 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2720
2721 If you want to complete the configuration process using your problematic
2722 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2723 to "yes", and re-run configure.
2724
2725 END
2726 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2727 fi
2728 fi
2729
2730
2731 # Check whether --enable-silent-rules was given.
2732 if test "${enable_silent_rules+set}" = set; then :
2733 enableval=$enable_silent_rules;
2734 fi
2735
2736 case $enable_silent_rules in # (((
2737 yes) AM_DEFAULT_VERBOSITY=0;;
2738 no) AM_DEFAULT_VERBOSITY=1;;
2739 *) AM_DEFAULT_VERBOSITY=0;;
2740 esac
2741 am_make=${MAKE-make}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2743 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2744 if ${am_cv_make_support_nested_variables+:} false; then :
2745 $as_echo_n "(cached) " >&6
2746 else
2747 if $as_echo 'TRUE=$(BAR$(V))
2748 BAR0=false
2749 BAR1=true
2750 V=1
2751 am__doit:
2752 @$(TRUE)
2753 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2754 am_cv_make_support_nested_variables=yes
2755 else
2756 am_cv_make_support_nested_variables=no
2757 fi
2758 fi
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2760 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2761 if test $am_cv_make_support_nested_variables = yes; then
2762 AM_V='$(V)'
2763 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2764 else
2765 AM_V=$AM_DEFAULT_VERBOSITY
2766 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2767 fi
2768 AM_BACKSLASH='\'
2769
2770
2771 GETTEXT_PACKAGE=gnome-shell-extensions
2772
2773
2774 cat >>confdefs.h <<_ACEOF
2775 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
2776 _ACEOF
2777
2778
2779
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2781 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2782 if ${ac_cv_path_SED+:} false; then :
2783 $as_echo_n "(cached) " >&6
2784 else
2785 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2786 for ac_i in 1 2 3 4 5 6 7; do
2787 ac_script="$ac_script$as_nl$ac_script"
2788 done
2789 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2790 { ac_script=; unset ac_script;}
2791 if test -z "$SED"; then
2792 ac_path_SED_found=false
2793 # Loop through the user's path and test for each of PROGNAME-LIST
2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 for as_dir in $PATH
2796 do
2797 IFS=$as_save_IFS
2798 test -z "$as_dir" && as_dir=.
2799 for ac_prog in sed gsed; do
2800 for ac_exec_ext in '' $ac_executable_extensions; do
2801 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2802 as_fn_executable_p "$ac_path_SED" || continue
2803 # Check for GNU ac_path_SED and select it if it is found.
2804 # Check for GNU $ac_path_SED
2805 case `"$ac_path_SED" --version 2>&1` in
2806 *GNU*)
2807 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2808 *)
2809 ac_count=0
2810 $as_echo_n 0123456789 >"conftest.in"
2811 while :
2812 do
2813 cat "conftest.in" "conftest.in" >"conftest.tmp"
2814 mv "conftest.tmp" "conftest.in"
2815 cp "conftest.in" "conftest.nl"
2816 $as_echo '' >> "conftest.nl"
2817 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2818 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2819 as_fn_arith $ac_count + 1 && ac_count=$as_val
2820 if test $ac_count -gt ${ac_path_SED_max-0}; then
2821 # Best one so far, save it but keep looking for a better one
2822 ac_cv_path_SED="$ac_path_SED"
2823 ac_path_SED_max=$ac_count
2824 fi
2825 # 10*(2^10) chars as input seems more than enough
2826 test $ac_count -gt 10 && break
2827 done
2828 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2829 esac
2830
2831 $ac_path_SED_found && break 3
2832 done
2833 done
2834 done
2835 IFS=$as_save_IFS
2836 if test -z "$ac_cv_path_SED"; then
2837 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2838 fi
2839 else
2840 ac_cv_path_SED=$SED
2841 fi
2842
2843 fi
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2845 $as_echo "$ac_cv_path_SED" >&6; }
2846 SED="$ac_cv_path_SED"
2847 rm -f conftest.sed
2848
2849
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2851 $as_echo_n "checking whether NLS is requested... " >&6; }
2852 # Check whether --enable-nls was given.
2853 if test "${enable_nls+set}" = set; then :
2854 enableval=$enable_nls; USE_NLS=$enableval
2855 else
2856 USE_NLS=yes
2857 fi
2858
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2860 $as_echo "$USE_NLS" >&6; }
2861
2862
2863
2864
2865 GETTEXT_MACRO_VERSION=0.19
2866
2867
2868
2869
2870 # Prepare PATH_SEPARATOR.
2871 # The user is always right.
2872 if test "${PATH_SEPARATOR+set}" != set; then
2873 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2874 # contains only /bin. Note that ksh looks also at the FPATH variable,
2875 # so we have to set that as well for the test.
2876 PATH_SEPARATOR=:
2877 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2878 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2879 || PATH_SEPARATOR=';'
2880 }
2881 fi
2882
2883 # Find out how to test for executable files. Don't use a zero-byte file,
2884 # as systems may use methods other than mode bits to determine executability.
2885 cat >conf$$.file <<_ASEOF
2886 #! /bin/sh
2887 exit 0
2888 _ASEOF
2889 chmod +x conf$$.file
2890 if test -x conf$$.file >/dev/null 2>&1; then
2891 ac_executable_p="test -x"
2892 else
2893 ac_executable_p="test -f"
2894 fi
2895 rm -f conf$$.file
2896
2897 # Extract the first word of "msgfmt", so it can be a program name with args.
2898 set dummy msgfmt; ac_word=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if ${ac_cv_path_MSGFMT+:} false; then :
2902 $as_echo_n "(cached) " >&6
2903 else
2904 case "$MSGFMT" in
2905 [\\/]* | ?:[\\/]*)
2906 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2907 ;;
2908 *)
2909 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2910 for ac_dir in $PATH; do
2911 IFS="$ac_save_IFS"
2912 test -z "$ac_dir" && ac_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2915 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2916 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2917 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2918 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2919 break 2
2920 fi
2921 fi
2922 done
2923 done
2924 IFS="$ac_save_IFS"
2925 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2926 ;;
2927 esac
2928 fi
2929 MSGFMT="$ac_cv_path_MSGFMT"
2930 if test "$MSGFMT" != ":"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
2932 $as_echo "$MSGFMT" >&6; }
2933 else
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2936 fi
2937
2938 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2939 set dummy gmsgfmt; ac_word=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if ${ac_cv_path_GMSGFMT+:} false; then :
2943 $as_echo_n "(cached) " >&6
2944 else
2945 case $GMSGFMT in
2946 [\\/]* | ?:[\\/]*)
2947 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2948 ;;
2949 *)
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 for as_dir in $PATH
2952 do
2953 IFS=$as_save_IFS
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 break 2
2960 fi
2961 done
2962 done
2963 IFS=$as_save_IFS
2964
2965 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2966 ;;
2967 esac
2968 fi
2969 GMSGFMT=$ac_cv_path_GMSGFMT
2970 if test -n "$GMSGFMT"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
2972 $as_echo "$GMSGFMT" >&6; }
2973 else
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 fi
2977
2978
2979
2980 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2981 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
2982 *) MSGFMT_015=$MSGFMT ;;
2983 esac
2984
2985 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2986 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2987 *) GMSGFMT_015=$GMSGFMT ;;
2988 esac
2989
2990
2991
2992 # Prepare PATH_SEPARATOR.
2993 # The user is always right.
2994 if test "${PATH_SEPARATOR+set}" != set; then
2995 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2996 # contains only /bin. Note that ksh looks also at the FPATH variable,
2997 # so we have to set that as well for the test.
2998 PATH_SEPARATOR=:
2999 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3000 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3001 || PATH_SEPARATOR=';'
3002 }
3003 fi
3004
3005 # Find out how to test for executable files. Don't use a zero-byte file,
3006 # as systems may use methods other than mode bits to determine executability.
3007 cat >conf$$.file <<_ASEOF
3008 #! /bin/sh
3009 exit 0
3010 _ASEOF
3011 chmod +x conf$$.file
3012 if test -x conf$$.file >/dev/null 2>&1; then
3013 ac_executable_p="test -x"
3014 else
3015 ac_executable_p="test -f"
3016 fi
3017 rm -f conf$$.file
3018
3019 # Extract the first word of "xgettext", so it can be a program name with args.
3020 set dummy xgettext; ac_word=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if ${ac_cv_path_XGETTEXT+:} false; then :
3024 $as_echo_n "(cached) " >&6
3025 else
3026 case "$XGETTEXT" in
3027 [\\/]* | ?:[\\/]*)
3028 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3029 ;;
3030 *)
3031 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3032 for ac_dir in $PATH; do
3033 IFS="$ac_save_IFS"
3034 test -z "$ac_dir" && ac_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3037 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3038 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3039 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3040 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3041 break 2
3042 fi
3043 fi
3044 done
3045 done
3046 IFS="$ac_save_IFS"
3047 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3048 ;;
3049 esac
3050 fi
3051 XGETTEXT="$ac_cv_path_XGETTEXT"
3052 if test "$XGETTEXT" != ":"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3054 $as_echo "$XGETTEXT" >&6; }
3055 else
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3058 fi
3059
3060 rm -f messages.po
3061
3062 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3063 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3064 *) XGETTEXT_015=$XGETTEXT ;;
3065 esac
3066
3067
3068
3069 # Prepare PATH_SEPARATOR.
3070 # The user is always right.
3071 if test "${PATH_SEPARATOR+set}" != set; then
3072 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3073 # contains only /bin. Note that ksh looks also at the FPATH variable,
3074 # so we have to set that as well for the test.
3075 PATH_SEPARATOR=:
3076 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3077 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3078 || PATH_SEPARATOR=';'
3079 }
3080 fi
3081
3082 # Find out how to test for executable files. Don't use a zero-byte file,
3083 # as systems may use methods other than mode bits to determine executability.
3084 cat >conf$$.file <<_ASEOF
3085 #! /bin/sh
3086 exit 0
3087 _ASEOF
3088 chmod +x conf$$.file
3089 if test -x conf$$.file >/dev/null 2>&1; then
3090 ac_executable_p="test -x"
3091 else
3092 ac_executable_p="test -f"
3093 fi
3094 rm -f conf$$.file
3095
3096 # Extract the first word of "msgmerge", so it can be a program name with args.
3097 set dummy msgmerge; ac_word=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if ${ac_cv_path_MSGMERGE+:} false; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 case "$MSGMERGE" in
3104 [\\/]* | ?:[\\/]*)
3105 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3106 ;;
3107 *)
3108 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3109 for ac_dir in $PATH; do
3110 IFS="$ac_save_IFS"
3111 test -z "$ac_dir" && ac_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3114 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3115 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
3116 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3117 break 2
3118 fi
3119 fi
3120 done
3121 done
3122 IFS="$ac_save_IFS"
3123 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3124 ;;
3125 esac
3126 fi
3127 MSGMERGE="$ac_cv_path_MSGMERGE"
3128 if test "$MSGMERGE" != ":"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3130 $as_echo "$MSGMERGE" >&6; }
3131 else
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3134 fi
3135
3136
3137 test -n "$localedir" || localedir='${datadir}/locale'
3138
3139
3140 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3141
3142
3143 ac_config_commands="$ac_config_commands po-directories"
3144
3145
3146
3147 if test "X$prefix" = "XNONE"; then
3148 acl_final_prefix="$ac_default_prefix"
3149 else
3150 acl_final_prefix="$prefix"
3151 fi
3152 if test "X$exec_prefix" = "XNONE"; then
3153 acl_final_exec_prefix='${prefix}'
3154 else
3155 acl_final_exec_prefix="$exec_prefix"
3156 fi
3157 acl_save_prefix="$prefix"
3158 prefix="$acl_final_prefix"
3159 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3160 prefix="$acl_save_prefix"
3161
3162 DEPDIR="${am__leading_dot}deps"
3163
3164 ac_config_commands="$ac_config_commands depfiles"
3165
3166
3167 am_make=${MAKE-make}
3168 cat > confinc << 'END'
3169 am__doit:
3170 @echo this is the am__doit target
3171 .PHONY: am__doit
3172 END
3173 # If we don't find an include directive, just comment out the code.
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3175 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3176 am__include="#"
3177 am__quote=
3178 _am_result=none
3179 # First try GNU make style include.
3180 echo "include confinc" > confmf
3181 # Ignore all kinds of additional output from 'make'.
3182 case `$am_make -s -f confmf 2> /dev/null` in #(
3183 *the\ am__doit\ target*)
3184 am__include=include
3185 am__quote=
3186 _am_result=GNU
3187 ;;
3188 esac
3189 # Now try BSD make style include.
3190 if test "$am__include" = "#"; then
3191 echo '.include "confinc"' > confmf
3192 case `$am_make -s -f confmf 2> /dev/null` in #(
3193 *the\ am__doit\ target*)
3194 am__include=.include
3195 am__quote="\""
3196 _am_result=BSD
3197 ;;
3198 esac
3199 fi
3200
3201
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3203 $as_echo "$_am_result" >&6; }
3204 rm -f confinc confmf
3205
3206 # Check whether --enable-dependency-tracking was given.
3207 if test "${enable_dependency_tracking+set}" = set; then :
3208 enableval=$enable_dependency_tracking;
3209 fi
3210
3211 if test "x$enable_dependency_tracking" != xno; then
3212 am_depcomp="$ac_aux_dir/depcomp"
3213 AMDEPBACKSLASH='\'
3214 am__nodep='_no'
3215 fi
3216 if test "x$enable_dependency_tracking" != xno; then
3217 AMDEP_TRUE=
3218 AMDEP_FALSE='#'
3219 else
3220 AMDEP_TRUE='#'
3221 AMDEP_FALSE=
3222 fi
3223
3224
3225 ac_ext=c
3226 ac_cpp='$CPP $CPPFLAGS'
3227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3230 if test -n "$ac_tool_prefix"; then
3231 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3232 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_CC+:} false; then :
3236 $as_echo_n "(cached) " >&6
3237 else
3238 if test -n "$CC"; then
3239 ac_cv_prog_CC="$CC" # Let the user override the test.
3240 else
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 for as_dir in $PATH
3243 do
3244 IFS=$as_save_IFS
3245 test -z "$as_dir" && as_dir=.
3246 for ac_exec_ext in '' $ac_executable_extensions; do
3247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 break 2
3251 fi
3252 done
3253 done
3254 IFS=$as_save_IFS
3255
3256 fi
3257 fi
3258 CC=$ac_cv_prog_CC
3259 if test -n "$CC"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3261 $as_echo "$CC" >&6; }
3262 else
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3265 fi
3266
3267
3268 fi
3269 if test -z "$ac_cv_prog_CC"; then
3270 ac_ct_CC=$CC
3271 # Extract the first word of "gcc", so it can be a program name with args.
3272 set dummy gcc; ac_word=$2
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 $as_echo_n "checking for $ac_word... " >&6; }
3275 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3276 $as_echo_n "(cached) " >&6
3277 else
3278 if test -n "$ac_ct_CC"; then
3279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3280 else
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282 for as_dir in $PATH
3283 do
3284 IFS=$as_save_IFS
3285 test -z "$as_dir" && as_dir=.
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_prog_ac_ct_CC="gcc"
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 break 2
3291 fi
3292 done
3293 done
3294 IFS=$as_save_IFS
3295
3296 fi
3297 fi
3298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3299 if test -n "$ac_ct_CC"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3301 $as_echo "$ac_ct_CC" >&6; }
3302 else
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 fi
3306
3307 if test "x$ac_ct_CC" = x; then
3308 CC=""
3309 else
3310 case $cross_compiling:$ac_tool_warned in
3311 yes:)
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3314 ac_tool_warned=yes ;;
3315 esac
3316 CC=$ac_ct_CC
3317 fi
3318 else
3319 CC="$ac_cv_prog_CC"
3320 fi
3321
3322 if test -z "$CC"; then
3323 if test -n "$ac_tool_prefix"; then
3324 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3325 set dummy ${ac_tool_prefix}cc; ac_word=$2
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 $as_echo_n "checking for $ac_word... " >&6; }
3328 if ${ac_cv_prog_CC+:} false; then :
3329 $as_echo_n "(cached) " >&6
3330 else
3331 if test -n "$CC"; then
3332 ac_cv_prog_CC="$CC" # Let the user override the test.
3333 else
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH
3336 do
3337 IFS=$as_save_IFS
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3341 ac_cv_prog_CC="${ac_tool_prefix}cc"
3342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 break 2
3344 fi
3345 done
3346 done
3347 IFS=$as_save_IFS
3348
3349 fi
3350 fi
3351 CC=$ac_cv_prog_CC
3352 if test -n "$CC"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3354 $as_echo "$CC" >&6; }
3355 else
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3358 fi
3359
3360
3361 fi
3362 fi
3363 if test -z "$CC"; then
3364 # Extract the first word of "cc", so it can be a program name with args.
3365 set dummy cc; ac_word=$2
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3367 $as_echo_n "checking for $ac_word... " >&6; }
3368 if ${ac_cv_prog_CC+:} false; then :
3369 $as_echo_n "(cached) " >&6
3370 else
3371 if test -n "$CC"; then
3372 ac_cv_prog_CC="$CC" # Let the user override the test.
3373 else
3374 ac_prog_rejected=no
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376 for as_dir in $PATH
3377 do
3378 IFS=$as_save_IFS
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3382 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3383 ac_prog_rejected=yes
3384 continue
3385 fi
3386 ac_cv_prog_CC="cc"
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 break 2
3389 fi
3390 done
3391 done
3392 IFS=$as_save_IFS
3393
3394 if test $ac_prog_rejected = yes; then
3395 # We found a bogon in the path, so make sure we never use it.
3396 set dummy $ac_cv_prog_CC
3397 shift
3398 if test $# != 0; then
3399 # We chose a different compiler from the bogus one.
3400 # However, it has the same basename, so the bogon will be chosen
3401 # first if we set CC to just the basename; use the full file name.
3402 shift
3403 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3404 fi
3405 fi
3406 fi
3407 fi
3408 CC=$ac_cv_prog_CC
3409 if test -n "$CC"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3411 $as_echo "$CC" >&6; }
3412 else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3415 fi
3416
3417
3418 fi
3419 if test -z "$CC"; then
3420 if test -n "$ac_tool_prefix"; then
3421 for ac_prog in cl.exe
3422 do
3423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426 $as_echo_n "checking for $ac_word... " >&6; }
3427 if ${ac_cv_prog_CC+:} false; then :
3428 $as_echo_n "(cached) " >&6
3429 else
3430 if test -n "$CC"; then
3431 ac_cv_prog_CC="$CC" # Let the user override the test.
3432 else
3433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 for as_dir in $PATH
3435 do
3436 IFS=$as_save_IFS
3437 test -z "$as_dir" && as_dir=.
3438 for ac_exec_ext in '' $ac_executable_extensions; do
3439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3440 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 break 2
3443 fi
3444 done
3445 done
3446 IFS=$as_save_IFS
3447
3448 fi
3449 fi
3450 CC=$ac_cv_prog_CC
3451 if test -n "$CC"; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3453 $as_echo "$CC" >&6; }
3454 else
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456 $as_echo "no" >&6; }
3457 fi
3458
3459
3460 test -n "$CC" && break
3461 done
3462 fi
3463 if test -z "$CC"; then
3464 ac_ct_CC=$CC
3465 for ac_prog in cl.exe
3466 do
3467 # Extract the first word of "$ac_prog", so it can be a program name with args.
3468 set dummy $ac_prog; ac_word=$2
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3470 $as_echo_n "checking for $ac_word... " >&6; }
3471 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3472 $as_echo_n "(cached) " >&6
3473 else
3474 if test -n "$ac_ct_CC"; then
3475 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3476 else
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 for as_dir in $PATH
3479 do
3480 IFS=$as_save_IFS
3481 test -z "$as_dir" && as_dir=.
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3484 ac_cv_prog_ac_ct_CC="$ac_prog"
3485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3486 break 2
3487 fi
3488 done
3489 done
3490 IFS=$as_save_IFS
3491
3492 fi
3493 fi
3494 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3495 if test -n "$ac_ct_CC"; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3497 $as_echo "$ac_ct_CC" >&6; }
3498 else
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3501 fi
3502
3503
3504 test -n "$ac_ct_CC" && break
3505 done
3506
3507 if test "x$ac_ct_CC" = x; then
3508 CC=""
3509 else
3510 case $cross_compiling:$ac_tool_warned in
3511 yes:)
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3514 ac_tool_warned=yes ;;
3515 esac
3516 CC=$ac_ct_CC
3517 fi
3518 fi
3519
3520 fi
3521
3522
3523 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525 as_fn_error $? "no acceptable C compiler found in \$PATH
3526 See \`config.log' for more details" "$LINENO" 5; }
3527
3528 # Provide some information about the compiler.
3529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3530 set X $ac_compile
3531 ac_compiler=$2
3532 for ac_option in --version -v -V -qversion; do
3533 { { ac_try="$ac_compiler $ac_option >&5"
3534 case "(($ac_try" in
3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536 *) ac_try_echo=$ac_try;;
3537 esac
3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3541 ac_status=$?
3542 if test -s conftest.err; then
3543 sed '10a\
3544 ... rest of stderr output deleted ...
3545 10q' conftest.err >conftest.er1
3546 cat conftest.er1 >&5
3547 fi
3548 rm -f conftest.er1 conftest.err
3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3550 test $ac_status = 0; }
3551 done
3552
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3555
3556 int
3557 main ()
3558 {
3559
3560 ;
3561 return 0;
3562 }
3563 _ACEOF
3564 ac_clean_files_save=$ac_clean_files
3565 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3566 # Try to create an executable without -o first, disregard a.out.
3567 # It will help us diagnose broken compilers, and finding out an intuition
3568 # of exeext.
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3570 $as_echo_n "checking whether the C compiler works... " >&6; }
3571 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3572
3573 # The possible output files:
3574 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3575
3576 ac_rmfiles=
3577 for ac_file in $ac_files
3578 do
3579 case $ac_file in
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3581 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3582 esac
3583 done
3584 rm -f $ac_rmfiles
3585
3586 if { { ac_try="$ac_link_default"
3587 case "(($ac_try" in
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3590 esac
3591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592 $as_echo "$ac_try_echo"; } >&5
3593 (eval "$ac_link_default") 2>&5
3594 ac_status=$?
3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596 test $ac_status = 0; }; then :
3597 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3598 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3599 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3600 # so that the user can short-circuit this test for compilers unknown to
3601 # Autoconf.
3602 for ac_file in $ac_files ''
3603 do
3604 test -f "$ac_file" || continue
3605 case $ac_file in
3606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3607 ;;
3608 [ab].out )
3609 # We found the default executable, but exeext='' is most
3610 # certainly right.
3611 break;;
3612 *.* )
3613 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3614 then :; else
3615 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3616 fi
3617 # We set ac_cv_exeext here because the later test for it is not
3618 # safe: cross compilers may not add the suffix if given an `-o'
3619 # argument, so we may need to know it at that point already.
3620 # Even if this section looks crufty: it has the advantage of
3621 # actually working.
3622 break;;
3623 * )
3624 break;;
3625 esac
3626 done
3627 test "$ac_cv_exeext" = no && ac_cv_exeext=
3628
3629 else
3630 ac_file=''
3631 fi
3632 if test -z "$ac_file"; then :
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3635 $as_echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.$ac_ext >&5
3637
3638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3640 as_fn_error 77 "C compiler cannot create executables
3641 See \`config.log' for more details" "$LINENO" 5; }
3642 else
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3644 $as_echo "yes" >&6; }
3645 fi
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3647 $as_echo_n "checking for C compiler default output file name... " >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3649 $as_echo "$ac_file" >&6; }
3650 ac_exeext=$ac_cv_exeext
3651
3652 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3653 ac_clean_files=$ac_clean_files_save
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3655 $as_echo_n "checking for suffix of executables... " >&6; }
3656 if { { ac_try="$ac_link"
3657 case "(($ac_try" in
3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3660 esac
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_link") 2>&5
3664 ac_status=$?
3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666 test $ac_status = 0; }; then :
3667 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3668 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3669 # work properly (i.e., refer to `conftest.exe'), while it won't with
3670 # `rm'.
3671 for ac_file in conftest.exe conftest conftest.*; do
3672 test -f "$ac_file" || continue
3673 case $ac_file in
3674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3675 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3676 break;;
3677 * ) break;;
3678 esac
3679 done
3680 else
3681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3684 See \`config.log' for more details" "$LINENO" 5; }
3685 fi
3686 rm -f conftest conftest$ac_cv_exeext
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3688 $as_echo "$ac_cv_exeext" >&6; }
3689
3690 rm -f conftest.$ac_ext
3691 EXEEXT=$ac_cv_exeext
3692 ac_exeext=$EXEEXT
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3695 #include <stdio.h>
3696 int
3697 main ()
3698 {
3699 FILE *f = fopen ("conftest.out", "w");
3700 return ferror (f) || fclose (f) != 0;
3701
3702 ;
3703 return 0;
3704 }
3705 _ACEOF
3706 ac_clean_files="$ac_clean_files conftest.out"
3707 # Check that the compiler produces executables we can run. If not, either
3708 # the compiler is broken, or we cross compile.
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3710 $as_echo_n "checking whether we are cross compiling... " >&6; }
3711 if test "$cross_compiling" != yes; then
3712 { { ac_try="$ac_link"
3713 case "(($ac_try" in
3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3716 esac
3717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 $as_echo "$ac_try_echo"; } >&5
3719 (eval "$ac_link") 2>&5
3720 ac_status=$?
3721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3722 test $ac_status = 0; }
3723 if { ac_try='./conftest$ac_cv_exeext'
3724 { { case "(($ac_try" in
3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3727 esac
3728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729 $as_echo "$ac_try_echo"; } >&5
3730 (eval "$ac_try") 2>&5
3731 ac_status=$?
3732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3733 test $ac_status = 0; }; }; then
3734 cross_compiling=no
3735 else
3736 if test "$cross_compiling" = maybe; then
3737 cross_compiling=yes
3738 else
3739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3741 as_fn_error $? "cannot run C compiled programs.
3742 If you meant to cross compile, use \`--host'.
3743 See \`config.log' for more details" "$LINENO" 5; }
3744 fi
3745 fi
3746 fi
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3748 $as_echo "$cross_compiling" >&6; }
3749
3750 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3751 ac_clean_files=$ac_clean_files_save
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3753 $as_echo_n "checking for suffix of object files... " >&6; }
3754 if ${ac_cv_objext+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3759
3760 int
3761 main ()
3762 {
3763
3764 ;
3765 return 0;
3766 }
3767 _ACEOF
3768 rm -f conftest.o conftest.obj
3769 if { { ac_try="$ac_compile"
3770 case "(($ac_try" in
3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772 *) ac_try_echo=$ac_try;;
3773 esac
3774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3775 $as_echo "$ac_try_echo"; } >&5
3776 (eval "$ac_compile") 2>&5
3777 ac_status=$?
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }; then :
3780 for ac_file in conftest.o conftest.obj conftest.*; do
3781 test -f "$ac_file" || continue;
3782 case $ac_file in
3783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3784 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3785 break;;
3786 esac
3787 done
3788 else
3789 $as_echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3791
3792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794 as_fn_error $? "cannot compute suffix of object files: cannot compile
3795 See \`config.log' for more details" "$LINENO" 5; }
3796 fi
3797 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3798 fi
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3800 $as_echo "$ac_cv_objext" >&6; }
3801 OBJEXT=$ac_cv_objext
3802 ac_objext=$OBJEXT
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3804 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3805 if ${ac_cv_c_compiler_gnu+:} false; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3810
3811 int
3812 main ()
3813 {
3814 #ifndef __GNUC__
3815 choke me
3816 #endif
3817
3818 ;
3819 return 0;
3820 }
3821 _ACEOF
3822 if ac_fn_c_try_compile "$LINENO"; then :
3823 ac_compiler_gnu=yes
3824 else
3825 ac_compiler_gnu=no
3826 fi
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3829
3830 fi
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3832 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3833 if test $ac_compiler_gnu = yes; then
3834 GCC=yes
3835 else
3836 GCC=
3837 fi
3838 ac_test_CFLAGS=${CFLAGS+set}
3839 ac_save_CFLAGS=$CFLAGS
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3841 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3842 if ${ac_cv_prog_cc_g+:} false; then :
3843 $as_echo_n "(cached) " >&6
3844 else
3845 ac_save_c_werror_flag=$ac_c_werror_flag
3846 ac_c_werror_flag=yes
3847 ac_cv_prog_cc_g=no
3848 CFLAGS="-g"
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3851
3852 int
3853 main ()
3854 {
3855
3856 ;
3857 return 0;
3858 }
3859 _ACEOF
3860 if ac_fn_c_try_compile "$LINENO"; then :
3861 ac_cv_prog_cc_g=yes
3862 else
3863 CFLAGS=""
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3866
3867 int
3868 main ()
3869 {
3870
3871 ;
3872 return 0;
3873 }
3874 _ACEOF
3875 if ac_fn_c_try_compile "$LINENO"; then :
3876
3877 else
3878 ac_c_werror_flag=$ac_save_c_werror_flag
3879 CFLAGS="-g"
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3882
3883 int
3884 main ()
3885 {
3886
3887 ;
3888 return 0;
3889 }
3890 _ACEOF
3891 if ac_fn_c_try_compile "$LINENO"; then :
3892 ac_cv_prog_cc_g=yes
3893 fi
3894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3895 fi
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3897 fi
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3899 ac_c_werror_flag=$ac_save_c_werror_flag
3900 fi
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3902 $as_echo "$ac_cv_prog_cc_g" >&6; }
3903 if test "$ac_test_CFLAGS" = set; then
3904 CFLAGS=$ac_save_CFLAGS
3905 elif test $ac_cv_prog_cc_g = yes; then
3906 if test "$GCC" = yes; then
3907 CFLAGS="-g -O2"
3908 else
3909 CFLAGS="-g"
3910 fi
3911 else
3912 if test "$GCC" = yes; then
3913 CFLAGS="-O2"
3914 else
3915 CFLAGS=
3916 fi
3917 fi
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3919 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3920 if ${ac_cv_prog_cc_c89+:} false; then :
3921 $as_echo_n "(cached) " >&6
3922 else
3923 ac_cv_prog_cc_c89=no
3924 ac_save_CC=$CC
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3927 #include <stdarg.h>
3928 #include <stdio.h>
3929 struct stat;
3930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3931 struct buf { int x; };
3932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3933 static char *e (p, i)
3934 char **p;
3935 int i;
3936 {
3937 return p[i];
3938 }
3939 static char *f (char * (*g) (char **, int), char **p, ...)
3940 {
3941 char *s;
3942 va_list v;
3943 va_start (v,p);
3944 s = g (p, va_arg (v,int));
3945 va_end (v);
3946 return s;
3947 }
3948
3949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3950 function prototypes and stuff, but not '\xHH' hex character constants.
3951 These don't provoke an error unfortunately, instead are silently treated
3952 as 'x'. The following induces an error, until -std is added to get
3953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3954 array size at least. It's necessary to write '\x00'==0 to get something
3955 that's true only with -std. */
3956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3957
3958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3959 inside strings and character constants. */
3960 #define FOO(x) 'x'
3961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3962
3963 int test (int i, double x);
3964 struct s1 {int (*f) (int a);};
3965 struct s2 {int (*f) (double a);};
3966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3967 int argc;
3968 char **argv;
3969 int
3970 main ()
3971 {
3972 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3973 ;
3974 return 0;
3975 }
3976 _ACEOF
3977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3979 do
3980 CC="$ac_save_CC $ac_arg"
3981 if ac_fn_c_try_compile "$LINENO"; then :
3982 ac_cv_prog_cc_c89=$ac_arg
3983 fi
3984 rm -f core conftest.err conftest.$ac_objext
3985 test "x$ac_cv_prog_cc_c89" != "xno" && break
3986 done
3987 rm -f conftest.$ac_ext
3988 CC=$ac_save_CC
3989
3990 fi
3991 # AC_CACHE_VAL
3992 case "x$ac_cv_prog_cc_c89" in
3993 x)
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3995 $as_echo "none needed" >&6; } ;;
3996 xno)
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3998 $as_echo "unsupported" >&6; } ;;
3999 *)
4000 CC="$CC $ac_cv_prog_cc_c89"
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4003 esac
4004 if test "x$ac_cv_prog_cc_c89" != xno; then :
4005
4006 fi
4007
4008 ac_ext=c
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013
4014 ac_ext=c
4015 ac_cpp='$CPP $CPPFLAGS'
4016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4020 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4021 if ${am_cv_prog_cc_c_o+:} false; then :
4022 $as_echo_n "(cached) " >&6
4023 else
4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4026
4027 int
4028 main ()
4029 {
4030
4031 ;
4032 return 0;
4033 }
4034 _ACEOF
4035 # Make sure it works both with $CC and with simple cc.
4036 # Following AC_PROG_CC_C_O, we do the test twice because some
4037 # compilers refuse to overwrite an existing .o file with -o,
4038 # though they will create one.
4039 am_cv_prog_cc_c_o=yes
4040 for am_i in 1 2; do
4041 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4042 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4043 ac_status=$?
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } \
4046 && test -f conftest2.$ac_objext; then
4047 : OK
4048 else
4049 am_cv_prog_cc_c_o=no
4050 break
4051 fi
4052 done
4053 rm -f core conftest*
4054 unset am_i
4055 fi
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4057 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4058 if test "$am_cv_prog_cc_c_o" != yes; then
4059 # Losing compiler, so override with the script.
4060 # FIXME: It is wrong to rewrite CC.
4061 # But if we don't then we get into trouble of one sort or another.
4062 # A longer-term fix would be to have automake use am__CC in this case,
4063 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4064 CC="$am_aux_dir/compile $CC"
4065 fi
4066 ac_ext=c
4067 ac_cpp='$CPP $CPPFLAGS'
4068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4071
4072
4073 depcc="$CC" am_compiler_list=
4074
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4076 $as_echo_n "checking dependency style of $depcc... " >&6; }
4077 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4081 # We make a subdir and do the tests there. Otherwise we can end up
4082 # making bogus files that we don't know about and never remove. For
4083 # instance it was reported that on HP-UX the gcc test will end up
4084 # making a dummy file named 'D' -- because '-MD' means "put the output
4085 # in D".
4086 rm -rf conftest.dir
4087 mkdir conftest.dir
4088 # Copy depcomp to subdir because otherwise we won't find it if we're
4089 # using a relative directory.
4090 cp "$am_depcomp" conftest.dir
4091 cd conftest.dir
4092 # We will build objects and dependencies in a subdirectory because
4093 # it helps to detect inapplicable dependency modes. For instance
4094 # both Tru64's cc and ICC support -MD to output dependencies as a
4095 # side effect of compilation, but ICC will put the dependencies in
4096 # the current directory while Tru64 will put them in the object
4097 # directory.
4098 mkdir sub
4099
4100 am_cv_CC_dependencies_compiler_type=none
4101 if test "$am_compiler_list" = ""; then
4102 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4103 fi
4104 am__universal=false
4105 case " $depcc " in #(
4106 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4107 esac
4108
4109 for depmode in $am_compiler_list; do
4110 # Setup a source with many dependencies, because some compilers
4111 # like to wrap large dependency lists on column 80 (with \), and
4112 # we should not choose a depcomp mode which is confused by this.
4113 #
4114 # We need to recreate these files for each test, as the compiler may
4115 # overwrite some of them when testing with obscure command lines.
4116 # This happens at least with the AIX C compiler.
4117 : > sub/conftest.c
4118 for i in 1 2 3 4 5 6; do
4119 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4120 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4121 # Solaris 10 /bin/sh.
4122 echo '/* dummy */' > sub/conftst$i.h
4123 done
4124 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4125
4126 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4127 # mode. It turns out that the SunPro C++ compiler does not properly
4128 # handle '-M -o', and we need to detect this. Also, some Intel
4129 # versions had trouble with output in subdirs.
4130 am__obj=sub/conftest.${OBJEXT-o}
4131 am__minus_obj="-o $am__obj"
4132 case $depmode in
4133 gcc)
4134 # This depmode causes a compiler race in universal mode.
4135 test "$am__universal" = false || continue
4136 ;;
4137 nosideeffect)
4138 # After this tag, mechanisms are not by side-effect, so they'll
4139 # only be used when explicitly requested.
4140 if test "x$enable_dependency_tracking" = xyes; then
4141 continue
4142 else
4143 break
4144 fi
4145 ;;
4146 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4147 # This compiler won't grok '-c -o', but also, the minuso test has
4148 # not run yet. These depmodes are late enough in the game, and
4149 # so weak that their functioning should not be impacted.
4150 am__obj=conftest.${OBJEXT-o}
4151 am__minus_obj=
4152 ;;
4153 none) break ;;
4154 esac
4155 if depmode=$depmode \
4156 source=sub/conftest.c object=$am__obj \
4157 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4158 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4159 >/dev/null 2>conftest.err &&
4160 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4161 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4162 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4163 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4164 # icc doesn't choke on unknown options, it will just issue warnings
4165 # or remarks (even with -Werror). So we grep stderr for any message
4166 # that says an option was ignored or not supported.
4167 # When given -MP, icc 7.0 and 7.1 complain thusly:
4168 # icc: Command line warning: ignoring option '-M'; no argument required
4169 # The diagnosis changed in icc 8.0:
4170 # icc: Command line remark: option '-MP' not supported
4171 if (grep 'ignoring option' conftest.err ||
4172 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4173 am_cv_CC_dependencies_compiler_type=$depmode
4174 break
4175 fi
4176 fi
4177 done
4178
4179 cd ..
4180 rm -rf conftest.dir
4181 else
4182 am_cv_CC_dependencies_compiler_type=none
4183 fi
4184
4185 fi
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4187 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4188 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4189
4190 if
4191 test "x$enable_dependency_tracking" != xno \
4192 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4193 am__fastdepCC_TRUE=
4194 am__fastdepCC_FALSE='#'
4195 else
4196 am__fastdepCC_TRUE='#'
4197 am__fastdepCC_FALSE=
4198 fi
4199
4200
4201 # Make sure we can run config.sub.
4202 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4203 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4204
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4206 $as_echo_n "checking build system type... " >&6; }
4207 if ${ac_cv_build+:} false; then :
4208 $as_echo_n "(cached) " >&6
4209 else
4210 ac_build_alias=$build_alias
4211 test "x$ac_build_alias" = x &&
4212 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4213 test "x$ac_build_alias" = x &&
4214 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4215 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4216 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4217
4218 fi
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4220 $as_echo "$ac_cv_build" >&6; }
4221 case $ac_cv_build in
4222 *-*-*) ;;
4223 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4224 esac
4225 build=$ac_cv_build
4226 ac_save_IFS=$IFS; IFS='-'
4227 set x $ac_cv_build
4228 shift
4229 build_cpu=$1
4230 build_vendor=$2
4231 shift; shift
4232 # Remember, the first character of IFS is used to create $*,
4233 # except with old shells:
4234 build_os=$*
4235 IFS=$ac_save_IFS
4236 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4237
4238
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4240 $as_echo_n "checking host system type... " >&6; }
4241 if ${ac_cv_host+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 if test "x$host_alias" = x; then
4245 ac_cv_host=$ac_cv_build
4246 else
4247 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4248 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4249 fi
4250
4251 fi
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4253 $as_echo "$ac_cv_host" >&6; }
4254 case $ac_cv_host in
4255 *-*-*) ;;
4256 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4257 esac
4258 host=$ac_cv_host
4259 ac_save_IFS=$IFS; IFS='-'
4260 set x $ac_cv_host
4261 shift
4262 host_cpu=$1
4263 host_vendor=$2
4264 shift; shift
4265 # Remember, the first character of IFS is used to create $*,
4266 # except with old shells:
4267 host_os=$*
4268 IFS=$ac_save_IFS
4269 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4270
4271
4272
4273
4274 # Check whether --with-gnu-ld was given.
4275 if test "${with_gnu_ld+set}" = set; then :
4276 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4277 else
4278 with_gnu_ld=no
4279 fi
4280
4281 # Prepare PATH_SEPARATOR.
4282 # The user is always right.
4283 if test "${PATH_SEPARATOR+set}" != set; then
4284 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4285 # contains only /bin. Note that ksh looks also at the FPATH variable,
4286 # so we have to set that as well for the test.
4287 PATH_SEPARATOR=:
4288 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4289 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4290 || PATH_SEPARATOR=';'
4291 }
4292 fi
4293
4294 ac_prog=ld
4295 if test "$GCC" = yes; then
4296 # Check if gcc -print-prog-name=ld gives a path.
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4298 $as_echo_n "checking for ld used by $CC... " >&6; }
4299 case $host in
4300 *-*-mingw*)
4301 # gcc leaves a trailing carriage return which upsets mingw
4302 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4303 *)
4304 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4305 esac
4306 case $ac_prog in
4307 # Accept absolute paths.
4308 [\\/]* | ?:[\\/]*)
4309 re_direlt='/[^/][^/]*/\.\./'
4310 # Canonicalize the pathname of ld
4311 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
4312 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
4313 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4314 done
4315 test -z "$LD" && LD="$ac_prog"
4316 ;;
4317 "")
4318 # If it fails, then pretend we aren't using GCC.
4319 ac_prog=ld
4320 ;;
4321 *)
4322 # If it is relative, then search for the first ld in PATH.
4323 with_gnu_ld=unknown
4324 ;;
4325 esac
4326 elif test "$with_gnu_ld" = yes; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4328 $as_echo_n "checking for GNU ld... " >&6; }
4329 else
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4331 $as_echo_n "checking for non-GNU ld... " >&6; }
4332 fi
4333 if ${acl_cv_path_LD+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 if test -z "$LD"; then
4337 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4338 for ac_dir in $PATH; do
4339 IFS="$acl_save_ifs"
4340 test -z "$ac_dir" && ac_dir=.
4341 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4342 acl_cv_path_LD="$ac_dir/$ac_prog"
4343 # Check to see if the program is GNU ld. I'd rather use --version,
4344 # but apparently some variants of GNU ld only accept -v.
4345 # Break only if it was the GNU/non-GNU ld that we prefer.
4346 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
4347 *GNU* | *'with BFD'*)
4348 test "$with_gnu_ld" != no && break
4349 ;;
4350 *)
4351 test "$with_gnu_ld" != yes && break
4352 ;;
4353 esac
4354 fi
4355 done
4356 IFS="$acl_save_ifs"
4357 else
4358 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4359 fi
4360 fi
4361
4362 LD="$acl_cv_path_LD"
4363 if test -n "$LD"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4365 $as_echo "$LD" >&6; }
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 fi
4370 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4372 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4373 if ${acl_cv_prog_gnu_ld+:} false; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4377 case `$LD -v 2>&1 </dev/null` in
4378 *GNU* | *'with BFD'*)
4379 acl_cv_prog_gnu_ld=yes
4380 ;;
4381 *)
4382 acl_cv_prog_gnu_ld=no
4383 ;;
4384 esac
4385 fi
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4387 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4388 with_gnu_ld=$acl_cv_prog_gnu_ld
4389
4390
4391
4392
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4394 $as_echo_n "checking for shared library run path origin... " >&6; }
4395 if ${acl_cv_rpath+:} false; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398
4399 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4400 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4401 . ./conftest.sh
4402 rm -f ./conftest.sh
4403 acl_cv_rpath=done
4404
4405 fi
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4407 $as_echo "$acl_cv_rpath" >&6; }
4408 wl="$acl_cv_wl"
4409 acl_libext="$acl_cv_libext"
4410 acl_shlibext="$acl_cv_shlibext"
4411 acl_libname_spec="$acl_cv_libname_spec"
4412 acl_library_names_spec="$acl_cv_library_names_spec"
4413 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4414 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4415 acl_hardcode_direct="$acl_cv_hardcode_direct"
4416 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4417 # Check whether --enable-rpath was given.
4418 if test "${enable_rpath+set}" = set; then :
4419 enableval=$enable_rpath; :
4420 else
4421 enable_rpath=yes
4422 fi
4423
4424
4425
4426 ac_ext=c
4427 ac_cpp='$CPP $CPPFLAGS'
4428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4432 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4433 # On Suns, sometimes $CPP names a directory.
4434 if test -n "$CPP" && test -d "$CPP"; then
4435 CPP=
4436 fi
4437 if test -z "$CPP"; then
4438 if ${ac_cv_prog_CPP+:} false; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 # Double quotes because CPP needs to be expanded
4442 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4443 do
4444 ac_preproc_ok=false
4445 for ac_c_preproc_warn_flag in '' yes
4446 do
4447 # Use a header file that comes with gcc, so configuring glibc
4448 # with a fresh cross-compiler works.
4449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4450 # <limits.h> exists even on freestanding compilers.
4451 # On the NeXT, cc -E runs the code through the compiler's parser,
4452 # not just through cpp. "Syntax error" is here to catch this case.
4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4455 #ifdef __STDC__
4456 # include <limits.h>
4457 #else
4458 # include <assert.h>
4459 #endif
4460 Syntax error
4461 _ACEOF
4462 if ac_fn_c_try_cpp "$LINENO"; then :
4463
4464 else
4465 # Broken: fails on valid input.
4466 continue
4467 fi
4468 rm -f conftest.err conftest.i conftest.$ac_ext
4469
4470 # OK, works on sane cases. Now check whether nonexistent headers
4471 # can be detected and how.
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4474 #include <ac_nonexistent.h>
4475 _ACEOF
4476 if ac_fn_c_try_cpp "$LINENO"; then :
4477 # Broken: success on invalid input.
4478 continue
4479 else
4480 # Passes both tests.
4481 ac_preproc_ok=:
4482 break
4483 fi
4484 rm -f conftest.err conftest.i conftest.$ac_ext
4485
4486 done
4487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4488 rm -f conftest.i conftest.err conftest.$ac_ext
4489 if $ac_preproc_ok; then :
4490 break
4491 fi
4492
4493 done
4494 ac_cv_prog_CPP=$CPP
4495
4496 fi
4497 CPP=$ac_cv_prog_CPP
4498 else
4499 ac_cv_prog_CPP=$CPP
4500 fi
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4502 $as_echo "$CPP" >&6; }
4503 ac_preproc_ok=false
4504 for ac_c_preproc_warn_flag in '' yes
4505 do
4506 # Use a header file that comes with gcc, so configuring glibc
4507 # with a fresh cross-compiler works.
4508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4509 # <limits.h> exists even on freestanding compilers.
4510 # On the NeXT, cc -E runs the code through the compiler's parser,
4511 # not just through cpp. "Syntax error" is here to catch this case.
4512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4513 /* end confdefs.h. */
4514 #ifdef __STDC__
4515 # include <limits.h>
4516 #else
4517 # include <assert.h>
4518 #endif
4519 Syntax error
4520 _ACEOF
4521 if ac_fn_c_try_cpp "$LINENO"; then :
4522
4523 else
4524 # Broken: fails on valid input.
4525 continue
4526 fi
4527 rm -f conftest.err conftest.i conftest.$ac_ext
4528
4529 # OK, works on sane cases. Now check whether nonexistent headers
4530 # can be detected and how.
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4533 #include <ac_nonexistent.h>
4534 _ACEOF
4535 if ac_fn_c_try_cpp "$LINENO"; then :
4536 # Broken: success on invalid input.
4537 continue
4538 else
4539 # Passes both tests.
4540 ac_preproc_ok=:
4541 break
4542 fi
4543 rm -f conftest.err conftest.i conftest.$ac_ext
4544
4545 done
4546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4547 rm -f conftest.i conftest.err conftest.$ac_ext
4548 if $ac_preproc_ok; then :
4549
4550 else
4551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4553 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4554 See \`config.log' for more details" "$LINENO" 5; }
4555 fi
4556
4557 ac_ext=c
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562
4563
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4565 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4566 if ${ac_cv_path_GREP+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 if test -z "$GREP"; then
4570 ac_path_GREP_found=false
4571 # Loop through the user's path and test for each of PROGNAME-LIST
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4574 do
4575 IFS=$as_save_IFS
4576 test -z "$as_dir" && as_dir=.
4577 for ac_prog in grep ggrep; do
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4580 as_fn_executable_p "$ac_path_GREP" || continue
4581 # Check for GNU ac_path_GREP and select it if it is found.
4582 # Check for GNU $ac_path_GREP
4583 case `"$ac_path_GREP" --version 2>&1` in
4584 *GNU*)
4585 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4586 *)
4587 ac_count=0
4588 $as_echo_n 0123456789 >"conftest.in"
4589 while :
4590 do
4591 cat "conftest.in" "conftest.in" >"conftest.tmp"
4592 mv "conftest.tmp" "conftest.in"
4593 cp "conftest.in" "conftest.nl"
4594 $as_echo 'GREP' >> "conftest.nl"
4595 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4597 as_fn_arith $ac_count + 1 && ac_count=$as_val
4598 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4599 # Best one so far, save it but keep looking for a better one
4600 ac_cv_path_GREP="$ac_path_GREP"
4601 ac_path_GREP_max=$ac_count
4602 fi
4603 # 10*(2^10) chars as input seems more than enough
4604 test $ac_count -gt 10 && break
4605 done
4606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4607 esac
4608
4609 $ac_path_GREP_found && break 3
4610 done
4611 done
4612 done
4613 IFS=$as_save_IFS
4614 if test -z "$ac_cv_path_GREP"; then
4615 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4616 fi
4617 else
4618 ac_cv_path_GREP=$GREP
4619 fi
4620
4621 fi
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4623 $as_echo "$ac_cv_path_GREP" >&6; }
4624 GREP="$ac_cv_path_GREP"
4625
4626
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4628 $as_echo_n "checking for egrep... " >&6; }
4629 if ${ac_cv_path_EGREP+:} false; then :
4630 $as_echo_n "(cached) " >&6
4631 else
4632 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4633 then ac_cv_path_EGREP="$GREP -E"
4634 else
4635 if test -z "$EGREP"; then
4636 ac_path_EGREP_found=false
4637 # Loop through the user's path and test for each of PROGNAME-LIST
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4640 do
4641 IFS=$as_save_IFS
4642 test -z "$as_dir" && as_dir=.
4643 for ac_prog in egrep; do
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4646 as_fn_executable_p "$ac_path_EGREP" || continue
4647 # Check for GNU ac_path_EGREP and select it if it is found.
4648 # Check for GNU $ac_path_EGREP
4649 case `"$ac_path_EGREP" --version 2>&1` in
4650 *GNU*)
4651 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4652 *)
4653 ac_count=0
4654 $as_echo_n 0123456789 >"conftest.in"
4655 while :
4656 do
4657 cat "conftest.in" "conftest.in" >"conftest.tmp"
4658 mv "conftest.tmp" "conftest.in"
4659 cp "conftest.in" "conftest.nl"
4660 $as_echo 'EGREP' >> "conftest.nl"
4661 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4663 as_fn_arith $ac_count + 1 && ac_count=$as_val
4664 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4665 # Best one so far, save it but keep looking for a better one
4666 ac_cv_path_EGREP="$ac_path_EGREP"
4667 ac_path_EGREP_max=$ac_count
4668 fi
4669 # 10*(2^10) chars as input seems more than enough
4670 test $ac_count -gt 10 && break
4671 done
4672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4673 esac
4674
4675 $ac_path_EGREP_found && break 3
4676 done
4677 done
4678 done
4679 IFS=$as_save_IFS
4680 if test -z "$ac_cv_path_EGREP"; then
4681 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4682 fi
4683 else
4684 ac_cv_path_EGREP=$EGREP
4685 fi
4686
4687 fi
4688 fi
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4690 $as_echo "$ac_cv_path_EGREP" >&6; }
4691 EGREP="$ac_cv_path_EGREP"
4692
4693
4694
4695
4696 acl_libdirstem=lib
4697 acl_libdirstem2=
4698 case "$host_os" in
4699 solaris*)
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4701 $as_echo_n "checking for 64-bit host... " >&6; }
4702 if ${gl_cv_solaris_64bit+:} false; then :
4703 $as_echo_n "(cached) " >&6
4704 else
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707
4708 #ifdef _LP64
4709 sixtyfour bits
4710 #endif
4711
4712 _ACEOF
4713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4714 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4715 gl_cv_solaris_64bit=yes
4716 else
4717 gl_cv_solaris_64bit=no
4718 fi
4719 rm -f conftest*
4720
4721
4722 fi
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4724 $as_echo "$gl_cv_solaris_64bit" >&6; }
4725 if test $gl_cv_solaris_64bit = yes; then
4726 acl_libdirstem=lib/64
4727 case "$host_cpu" in
4728 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4729 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4730 esac
4731 fi
4732 ;;
4733 *)
4734 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4735 if test -n "$searchpath"; then
4736 acl_save_IFS="${IFS= }"; IFS=":"
4737 for searchdir in $searchpath; do
4738 if test -d "$searchdir"; then
4739 case "$searchdir" in
4740 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4741 */../ | */.. )
4742 # Better ignore directories of this form. They are misleading.
4743 ;;
4744 *) searchdir=`cd "$searchdir" && pwd`
4745 case "$searchdir" in
4746 */lib64 ) acl_libdirstem=lib64 ;;
4747 esac ;;
4748 esac
4749 fi
4750 done
4751 IFS="$acl_save_IFS"
4752 fi
4753 ;;
4754 esac
4755 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768 use_additional=yes
4769
4770 acl_save_prefix="$prefix"
4771 prefix="$acl_final_prefix"
4772 acl_save_exec_prefix="$exec_prefix"
4773 exec_prefix="$acl_final_exec_prefix"
4774
4775 eval additional_includedir=\"$includedir\"
4776 eval additional_libdir=\"$libdir\"
4777
4778 exec_prefix="$acl_save_exec_prefix"
4779 prefix="$acl_save_prefix"
4780
4781
4782 # Check whether --with-libiconv-prefix was given.
4783 if test "${with_libiconv_prefix+set}" = set; then :
4784 withval=$with_libiconv_prefix;
4785 if test "X$withval" = "Xno"; then
4786 use_additional=no
4787 else
4788 if test "X$withval" = "X"; then
4789
4790 acl_save_prefix="$prefix"
4791 prefix="$acl_final_prefix"
4792 acl_save_exec_prefix="$exec_prefix"
4793 exec_prefix="$acl_final_exec_prefix"
4794
4795 eval additional_includedir=\"$includedir\"
4796 eval additional_libdir=\"$libdir\"
4797
4798 exec_prefix="$acl_save_exec_prefix"
4799 prefix="$acl_save_prefix"
4800
4801 else
4802 additional_includedir="$withval/include"
4803 additional_libdir="$withval/$acl_libdirstem"
4804 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4805 && ! test -d "$withval/$acl_libdirstem"; then
4806 additional_libdir="$withval/$acl_libdirstem2"
4807 fi
4808 fi
4809 fi
4810
4811 fi
4812
4813 LIBICONV=
4814 LTLIBICONV=
4815 INCICONV=
4816 LIBICONV_PREFIX=
4817 HAVE_LIBICONV=
4818 rpathdirs=
4819 ltrpathdirs=
4820 names_already_handled=
4821 names_next_round='iconv '
4822 while test -n "$names_next_round"; do
4823 names_this_round="$names_next_round"
4824 names_next_round=
4825 for name in $names_this_round; do
4826 already_handled=
4827 for n in $names_already_handled; do
4828 if test "$n" = "$name"; then
4829 already_handled=yes
4830 break
4831 fi
4832 done
4833 if test -z "$already_handled"; then
4834 names_already_handled="$names_already_handled $name"
4835 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
4836 eval value=\"\$HAVE_LIB$uppername\"
4837 if test -n "$value"; then
4838 if test "$value" = yes; then
4839 eval value=\"\$LIB$uppername\"
4840 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4841 eval value=\"\$LTLIB$uppername\"
4842 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4843 else
4844 :
4845 fi
4846 else
4847 found_dir=
4848 found_la=
4849 found_so=
4850 found_a=
4851 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4852 if test -n "$acl_shlibext"; then
4853 shrext=".$acl_shlibext" # typically: shrext=.so
4854 else
4855 shrext=
4856 fi
4857 if test $use_additional = yes; then
4858 dir="$additional_libdir"
4859 if test -n "$acl_shlibext"; then
4860 if test -f "$dir/$libname$shrext"; then
4861 found_dir="$dir"
4862 found_so="$dir/$libname$shrext"
4863 else
4864 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4865 ver=`(cd "$dir" && \
4866 for f in "$libname$shrext".*; do echo "$f"; done \
4867 | sed -e "s,^$libname$shrext\\\\.,," \
4868 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4869 | sed 1q ) 2>/dev/null`
4870 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4871 found_dir="$dir"
4872 found_so="$dir/$libname$shrext.$ver"
4873 fi
4874 else
4875 eval library_names=\"$acl_library_names_spec\"
4876 for f in $library_names; do
4877 if test -f "$dir/$f"; then
4878 found_dir="$dir"
4879 found_so="$dir/$f"
4880 break
4881 fi
4882 done
4883 fi
4884 fi
4885 fi
4886 if test "X$found_dir" = "X"; then
4887 if test -f "$dir/$libname.$acl_libext"; then
4888 found_dir="$dir"
4889 found_a="$dir/$libname.$acl_libext"
4890 fi
4891 fi
4892 if test "X$found_dir" != "X"; then
4893 if test -f "$dir/$libname.la"; then
4894 found_la="$dir/$libname.la"
4895 fi
4896 fi
4897 fi
4898 if test "X$found_dir" = "X"; then
4899 for x in $LDFLAGS $LTLIBICONV; do
4900
4901 acl_save_prefix="$prefix"
4902 prefix="$acl_final_prefix"
4903 acl_save_exec_prefix="$exec_prefix"
4904 exec_prefix="$acl_final_exec_prefix"
4905 eval x=\"$x\"
4906 exec_prefix="$acl_save_exec_prefix"
4907 prefix="$acl_save_prefix"
4908
4909 case "$x" in
4910 -L*)
4911 dir=`echo "X$x" | sed -e 's/^X-L//'`
4912 if test -n "$acl_shlibext"; then
4913 if test -f "$dir/$libname$shrext"; then
4914 found_dir="$dir"
4915 found_so="$dir/$libname$shrext"
4916 else
4917 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4918 ver=`(cd "$dir" && \
4919 for f in "$libname$shrext".*; do echo "$f"; done \
4920 | sed -e "s,^$libname$shrext\\\\.,," \
4921 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4922 | sed 1q ) 2>/dev/null`
4923 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4924 found_dir="$dir"
4925 found_so="$dir/$libname$shrext.$ver"
4926 fi
4927 else
4928 eval library_names=\"$acl_library_names_spec\"
4929 for f in $library_names; do
4930 if test -f "$dir/$f"; then
4931 found_dir="$dir"
4932 found_so="$dir/$f"
4933 break
4934 fi
4935 done
4936 fi
4937 fi
4938 fi
4939 if test "X$found_dir" = "X"; then
4940 if test -f "$dir/$libname.$acl_libext"; then
4941 found_dir="$dir"
4942 found_a="$dir/$libname.$acl_libext"
4943 fi
4944 fi
4945 if test "X$found_dir" != "X"; then
4946 if test -f "$dir/$libname.la"; then
4947 found_la="$dir/$libname.la"
4948 fi
4949 fi
4950 ;;
4951 esac
4952 if test "X$found_dir" != "X"; then
4953 break
4954 fi
4955 done
4956 fi
4957 if test "X$found_dir" != "X"; then
4958 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4959 if test "X$found_so" != "X"; then
4960 if test "$enable_rpath" = no \
4961 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
4962 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
4963 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4964 else
4965 haveit=
4966 for x in $ltrpathdirs; do
4967 if test "X$x" = "X$found_dir"; then
4968 haveit=yes
4969 break
4970 fi
4971 done
4972 if test -z "$haveit"; then
4973 ltrpathdirs="$ltrpathdirs $found_dir"
4974 fi
4975 if test "$acl_hardcode_direct" = yes; then
4976 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4977 else
4978 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
4979 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4980 haveit=
4981 for x in $rpathdirs; do
4982 if test "X$x" = "X$found_dir"; then
4983 haveit=yes
4984 break
4985 fi
4986 done
4987 if test -z "$haveit"; then
4988 rpathdirs="$rpathdirs $found_dir"
4989 fi
4990 else
4991 haveit=
4992 for x in $LDFLAGS $LIBICONV; do
4993
4994 acl_save_prefix="$prefix"
4995 prefix="$acl_final_prefix"
4996 acl_save_exec_prefix="$exec_prefix"
4997 exec_prefix="$acl_final_exec_prefix"
4998 eval x=\"$x\"
4999 exec_prefix="$acl_save_exec_prefix"
5000 prefix="$acl_save_prefix"
5001
5002 if test "X$x" = "X-L$found_dir"; then
5003 haveit=yes
5004 break
5005 fi
5006 done
5007 if test -z "$haveit"; then
5008 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5009 fi
5010 if test "$acl_hardcode_minus_L" != no; then
5011 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5012 else
5013 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5014 fi
5015 fi
5016 fi
5017 fi
5018 else
5019 if test "X$found_a" != "X"; then
5020 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5021 else
5022 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5023 fi
5024 fi
5025 additional_includedir=
5026 case "$found_dir" in
5027 */$acl_libdirstem | */$acl_libdirstem/)
5028 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5029 if test "$name" = 'iconv'; then
5030 LIBICONV_PREFIX="$basedir"
5031 fi
5032 additional_includedir="$basedir/include"
5033 ;;
5034 */$acl_libdirstem2 | */$acl_libdirstem2/)
5035 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5036 if test "$name" = 'iconv'; then
5037 LIBICONV_PREFIX="$basedir"
5038 fi
5039 additional_includedir="$basedir/include"
5040 ;;
5041 esac
5042 if test "X$additional_includedir" != "X"; then
5043 if test "X$additional_includedir" != "X/usr/include"; then
5044 haveit=
5045 if test "X$additional_includedir" = "X/usr/local/include"; then
5046 if test -n "$GCC"; then
5047 case $host_os in
5048 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5049 esac
5050 fi
5051 fi
5052 if test -z "$haveit"; then
5053 for x in $CPPFLAGS $INCICONV; do
5054
5055 acl_save_prefix="$prefix"
5056 prefix="$acl_final_prefix"
5057 acl_save_exec_prefix="$exec_prefix"
5058 exec_prefix="$acl_final_exec_prefix"
5059 eval x=\"$x\"
5060 exec_prefix="$acl_save_exec_prefix"
5061 prefix="$acl_save_prefix"
5062
5063 if test "X$x" = "X-I$additional_includedir"; then
5064 haveit=yes
5065 break
5066 fi
5067 done
5068 if test -z "$haveit"; then
5069 if test -d "$additional_includedir"; then
5070 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5071 fi
5072 fi
5073 fi
5074 fi
5075 fi
5076 if test -n "$found_la"; then
5077 save_libdir="$libdir"
5078 case "$found_la" in
5079 */* | *\\*) . "$found_la" ;;
5080 *) . "./$found_la" ;;
5081 esac
5082 libdir="$save_libdir"
5083 for dep in $dependency_libs; do
5084 case "$dep" in
5085 -L*)
5086 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5087 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5088 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5089 haveit=
5090 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5091 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5092 if test -n "$GCC"; then
5093 case $host_os in
5094 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5095 esac
5096 fi
5097 fi
5098 if test -z "$haveit"; then
5099 haveit=
5100 for x in $LDFLAGS $LIBICONV; do
5101
5102 acl_save_prefix="$prefix"
5103 prefix="$acl_final_prefix"
5104 acl_save_exec_prefix="$exec_prefix"
5105 exec_prefix="$acl_final_exec_prefix"
5106 eval x=\"$x\"
5107 exec_prefix="$acl_save_exec_prefix"
5108 prefix="$acl_save_prefix"
5109
5110 if test "X$x" = "X-L$additional_libdir"; then
5111 haveit=yes
5112 break
5113 fi
5114 done
5115 if test -z "$haveit"; then
5116 if test -d "$additional_libdir"; then
5117 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5118 fi
5119 fi
5120 haveit=
5121 for x in $LDFLAGS $LTLIBICONV; do
5122
5123 acl_save_prefix="$prefix"
5124 prefix="$acl_final_prefix"
5125 acl_save_exec_prefix="$exec_prefix"
5126 exec_prefix="$acl_final_exec_prefix"
5127 eval x=\"$x\"
5128 exec_prefix="$acl_save_exec_prefix"
5129 prefix="$acl_save_prefix"
5130
5131 if test "X$x" = "X-L$additional_libdir"; then
5132 haveit=yes
5133 break
5134 fi
5135 done
5136 if test -z "$haveit"; then
5137 if test -d "$additional_libdir"; then
5138 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5139 fi
5140 fi
5141 fi
5142 fi
5143 ;;
5144 -R*)
5145 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5146 if test "$enable_rpath" != no; then
5147 haveit=
5148 for x in $rpathdirs; do
5149 if test "X$x" = "X$dir"; then
5150 haveit=yes
5151 break
5152 fi
5153 done
5154 if test -z "$haveit"; then
5155 rpathdirs="$rpathdirs $dir"
5156 fi
5157 haveit=
5158 for x in $ltrpathdirs; do
5159 if test "X$x" = "X$dir"; then
5160 haveit=yes
5161 break
5162 fi
5163 done
5164 if test -z "$haveit"; then
5165 ltrpathdirs="$ltrpathdirs $dir"
5166 fi
5167 fi
5168 ;;
5169 -l*)
5170 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5171 ;;
5172 *.la)
5173 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5174 ;;
5175 *)
5176 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5177 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5178 ;;
5179 esac
5180 done
5181 fi
5182 else
5183 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5184 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5185 fi
5186 fi
5187 fi
5188 done
5189 done
5190 if test "X$rpathdirs" != "X"; then
5191 if test -n "$acl_hardcode_libdir_separator"; then
5192 alldirs=
5193 for found_dir in $rpathdirs; do
5194 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5195 done
5196 acl_save_libdir="$libdir"
5197 libdir="$alldirs"
5198 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5199 libdir="$acl_save_libdir"
5200 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5201 else
5202 for found_dir in $rpathdirs; do
5203 acl_save_libdir="$libdir"
5204 libdir="$found_dir"
5205 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5206 libdir="$acl_save_libdir"
5207 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5208 done
5209 fi
5210 fi
5211 if test "X$ltrpathdirs" != "X"; then
5212 for found_dir in $ltrpathdirs; do
5213 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5214 done
5215 fi
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5248 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5249 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5250 $as_echo_n "(cached) " >&6
5251 else
5252 gt_save_LIBS="$LIBS"
5253 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5256 #include <CoreFoundation/CFPreferences.h>
5257 int
5258 main ()
5259 {
5260 CFPreferencesCopyAppValue(NULL, NULL)
5261 ;
5262 return 0;
5263 }
5264 _ACEOF
5265 if ac_fn_c_try_link "$LINENO"; then :
5266 gt_cv_func_CFPreferencesCopyAppValue=yes
5267 else
5268 gt_cv_func_CFPreferencesCopyAppValue=no
5269 fi
5270 rm -f core conftest.err conftest.$ac_objext \
5271 conftest$ac_exeext conftest.$ac_ext
5272 LIBS="$gt_save_LIBS"
5273 fi
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5275 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5276 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5277
5278 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5279
5280 fi
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5282 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5283 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 gt_save_LIBS="$LIBS"
5287 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5290 #include <CoreFoundation/CFLocale.h>
5291 int
5292 main ()
5293 {
5294 CFLocaleCopyCurrent();
5295 ;
5296 return 0;
5297 }
5298 _ACEOF
5299 if ac_fn_c_try_link "$LINENO"; then :
5300 gt_cv_func_CFLocaleCopyCurrent=yes
5301 else
5302 gt_cv_func_CFLocaleCopyCurrent=no
5303 fi
5304 rm -f core conftest.err conftest.$ac_objext \
5305 conftest$ac_exeext conftest.$ac_ext
5306 LIBS="$gt_save_LIBS"
5307 fi
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5309 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5310 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5311
5312 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5313
5314 fi
5315 INTL_MACOSX_LIBS=
5316 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5317 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5318 fi
5319
5320
5321
5322
5323
5324
5325 LIBINTL=
5326 LTLIBINTL=
5327 POSUB=
5328
5329 case " $gt_needs " in
5330 *" need-formatstring-macros "*) gt_api_version=3 ;;
5331 *" need-ngettext "*) gt_api_version=2 ;;
5332 *) gt_api_version=1 ;;
5333 esac
5334 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5335 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5336
5337 if test "$USE_NLS" = "yes"; then
5338 gt_use_preinstalled_gnugettext=no
5339
5340
5341 if test $gt_api_version -ge 3; then
5342 gt_revision_test_code='
5343 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5344 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5345 #endif
5346 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5347 '
5348 else
5349 gt_revision_test_code=
5350 fi
5351 if test $gt_api_version -ge 2; then
5352 gt_expression_test_code=' + * ngettext ("", "", 0)'
5353 else
5354 gt_expression_test_code=
5355 fi
5356
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5358 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5359 if eval \${$gt_func_gnugettext_libc+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5364
5365 #include <libintl.h>
5366 $gt_revision_test_code
5367 extern int _nl_msg_cat_cntr;
5368 extern int *_nl_domain_bindings;
5369
5370 int
5371 main ()
5372 {
5373
5374 bindtextdomain ("", "");
5375 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5376
5377 ;
5378 return 0;
5379 }
5380 _ACEOF
5381 if ac_fn_c_try_link "$LINENO"; then :
5382 eval "$gt_func_gnugettext_libc=yes"
5383 else
5384 eval "$gt_func_gnugettext_libc=no"
5385 fi
5386 rm -f core conftest.err conftest.$ac_objext \
5387 conftest$ac_exeext conftest.$ac_ext
5388 fi
5389 eval ac_res=\$$gt_func_gnugettext_libc
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5391 $as_echo "$ac_res" >&6; }
5392
5393 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5394
5395
5396
5397
5398
5399 am_save_CPPFLAGS="$CPPFLAGS"
5400
5401 for element in $INCICONV; do
5402 haveit=
5403 for x in $CPPFLAGS; do
5404
5405 acl_save_prefix="$prefix"
5406 prefix="$acl_final_prefix"
5407 acl_save_exec_prefix="$exec_prefix"
5408 exec_prefix="$acl_final_exec_prefix"
5409 eval x=\"$x\"
5410 exec_prefix="$acl_save_exec_prefix"
5411 prefix="$acl_save_prefix"
5412
5413 if test "X$x" = "X$element"; then
5414 haveit=yes
5415 break
5416 fi
5417 done
5418 if test -z "$haveit"; then
5419 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5420 fi
5421 done
5422
5423
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5425 $as_echo_n "checking for iconv... " >&6; }
5426 if ${am_cv_func_iconv+:} false; then :
5427 $as_echo_n "(cached) " >&6
5428 else
5429
5430 am_cv_func_iconv="no, consider installing GNU libiconv"
5431 am_cv_lib_iconv=no
5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5434
5435 #include <stdlib.h>
5436 #include <iconv.h>
5437
5438 int
5439 main ()
5440 {
5441 iconv_t cd = iconv_open("","");
5442 iconv(cd,NULL,NULL,NULL,NULL);
5443 iconv_close(cd);
5444 ;
5445 return 0;
5446 }
5447 _ACEOF
5448 if ac_fn_c_try_link "$LINENO"; then :
5449 am_cv_func_iconv=yes
5450 fi
5451 rm -f core conftest.err conftest.$ac_objext \
5452 conftest$ac_exeext conftest.$ac_ext
5453 if test "$am_cv_func_iconv" != yes; then
5454 am_save_LIBS="$LIBS"
5455 LIBS="$LIBS $LIBICONV"
5456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5457 /* end confdefs.h. */
5458
5459 #include <stdlib.h>
5460 #include <iconv.h>
5461
5462 int
5463 main ()
5464 {
5465 iconv_t cd = iconv_open("","");
5466 iconv(cd,NULL,NULL,NULL,NULL);
5467 iconv_close(cd);
5468 ;
5469 return 0;
5470 }
5471 _ACEOF
5472 if ac_fn_c_try_link "$LINENO"; then :
5473 am_cv_lib_iconv=yes
5474 am_cv_func_iconv=yes
5475 fi
5476 rm -f core conftest.err conftest.$ac_objext \
5477 conftest$ac_exeext conftest.$ac_ext
5478 LIBS="$am_save_LIBS"
5479 fi
5480
5481 fi
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5483 $as_echo "$am_cv_func_iconv" >&6; }
5484 if test "$am_cv_func_iconv" = yes; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5486 $as_echo_n "checking for working iconv... " >&6; }
5487 if ${am_cv_func_iconv_works+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490
5491 am_save_LIBS="$LIBS"
5492 if test $am_cv_lib_iconv = yes; then
5493 LIBS="$LIBS $LIBICONV"
5494 fi
5495 am_cv_func_iconv_works=no
5496 for ac_iconv_const in '' 'const'; do
5497 if test "$cross_compiling" = yes; then :
5498 case "$host_os" in
5499 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5500 *) am_cv_func_iconv_works="guessing yes" ;;
5501 esac
5502 else
5503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h. */
5505
5506 #include <iconv.h>
5507 #include <string.h>
5508
5509 #ifndef ICONV_CONST
5510 # define ICONV_CONST $ac_iconv_const
5511 #endif
5512
5513 int
5514 main ()
5515 {
5516 int result = 0;
5517 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5518 returns. */
5519 {
5520 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5521 if (cd_utf8_to_88591 != (iconv_t)(-1))
5522 {
5523 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
5524 char buf[10];
5525 ICONV_CONST char *inptr = input;
5526 size_t inbytesleft = strlen (input);
5527 char *outptr = buf;
5528 size_t outbytesleft = sizeof (buf);
5529 size_t res = iconv (cd_utf8_to_88591,
5530 &inptr, &inbytesleft,
5531 &outptr, &outbytesleft);
5532 if (res == 0)
5533 result |= 1;
5534 iconv_close (cd_utf8_to_88591);
5535 }
5536 }
5537 /* Test against Solaris 10 bug: Failures are not distinguishable from
5538 successful returns. */
5539 {
5540 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5541 if (cd_ascii_to_88591 != (iconv_t)(-1))
5542 {
5543 static ICONV_CONST char input[] = "\263";
5544 char buf[10];
5545 ICONV_CONST char *inptr = input;
5546 size_t inbytesleft = strlen (input);
5547 char *outptr = buf;
5548 size_t outbytesleft = sizeof (buf);
5549 size_t res = iconv (cd_ascii_to_88591,
5550 &inptr, &inbytesleft,
5551 &outptr, &outbytesleft);
5552 if (res == 0)
5553 result |= 2;
5554 iconv_close (cd_ascii_to_88591);
5555 }
5556 }
5557 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
5558 {
5559 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
5560 if (cd_88591_to_utf8 != (iconv_t)(-1))
5561 {
5562 static ICONV_CONST char input[] = "\304";
5563 static char buf[2] = { (char)0xDE, (char)0xAD };
5564 ICONV_CONST char *inptr = input;
5565 size_t inbytesleft = 1;
5566 char *outptr = buf;
5567 size_t outbytesleft = 1;
5568 size_t res = iconv (cd_88591_to_utf8,
5569 &inptr, &inbytesleft,
5570 &outptr, &outbytesleft);
5571 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
5572 result |= 4;
5573 iconv_close (cd_88591_to_utf8);
5574 }
5575 }
5576 #if 0 /* This bug could be worked around by the caller. */
5577 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5578 {
5579 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5580 if (cd_88591_to_utf8 != (iconv_t)(-1))
5581 {
5582 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5583 char buf[50];
5584 ICONV_CONST char *inptr = input;
5585 size_t inbytesleft = strlen (input);
5586 char *outptr = buf;
5587 size_t outbytesleft = sizeof (buf);
5588 size_t res = iconv (cd_88591_to_utf8,
5589 &inptr, &inbytesleft,
5590 &outptr, &outbytesleft);
5591 if ((int)res > 0)
5592 result |= 8;
5593 iconv_close (cd_88591_to_utf8);
5594 }
5595 }
5596 #endif
5597 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5598 provided. */
5599 if (/* Try standardized names. */
5600 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5601 /* Try IRIX, OSF/1 names. */
5602 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5603 /* Try AIX names. */
5604 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5605 /* Try HP-UX names. */
5606 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5607 result |= 16;
5608 return result;
5609
5610 ;
5611 return 0;
5612 }
5613 _ACEOF
5614 if ac_fn_c_try_run "$LINENO"; then :
5615 am_cv_func_iconv_works=yes
5616 fi
5617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5618 conftest.$ac_objext conftest.beam conftest.$ac_ext
5619 fi
5620
5621 test "$am_cv_func_iconv_works" = no || break
5622 done
5623 LIBS="$am_save_LIBS"
5624
5625 fi
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5627 $as_echo "$am_cv_func_iconv_works" >&6; }
5628 case "$am_cv_func_iconv_works" in
5629 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5630 *) am_func_iconv=yes ;;
5631 esac
5632 else
5633 am_func_iconv=no am_cv_lib_iconv=no
5634 fi
5635 if test "$am_func_iconv" = yes; then
5636
5637 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5638
5639 fi
5640 if test "$am_cv_lib_iconv" = yes; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5642 $as_echo_n "checking how to link with libiconv... " >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5644 $as_echo "$LIBICONV" >&6; }
5645 else
5646 CPPFLAGS="$am_save_CPPFLAGS"
5647 LIBICONV=
5648 LTLIBICONV=
5649 fi
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661 use_additional=yes
5662
5663 acl_save_prefix="$prefix"
5664 prefix="$acl_final_prefix"
5665 acl_save_exec_prefix="$exec_prefix"
5666 exec_prefix="$acl_final_exec_prefix"
5667
5668 eval additional_includedir=\"$includedir\"
5669 eval additional_libdir=\"$libdir\"
5670
5671 exec_prefix="$acl_save_exec_prefix"
5672 prefix="$acl_save_prefix"
5673
5674
5675 # Check whether --with-libintl-prefix was given.
5676 if test "${with_libintl_prefix+set}" = set; then :
5677 withval=$with_libintl_prefix;
5678 if test "X$withval" = "Xno"; then
5679 use_additional=no
5680 else
5681 if test "X$withval" = "X"; then
5682
5683 acl_save_prefix="$prefix"
5684 prefix="$acl_final_prefix"
5685 acl_save_exec_prefix="$exec_prefix"
5686 exec_prefix="$acl_final_exec_prefix"
5687
5688 eval additional_includedir=\"$includedir\"
5689 eval additional_libdir=\"$libdir\"
5690
5691 exec_prefix="$acl_save_exec_prefix"
5692 prefix="$acl_save_prefix"
5693
5694 else
5695 additional_includedir="$withval/include"
5696 additional_libdir="$withval/$acl_libdirstem"
5697 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5698 && ! test -d "$withval/$acl_libdirstem"; then
5699 additional_libdir="$withval/$acl_libdirstem2"
5700 fi
5701 fi
5702 fi
5703
5704 fi
5705
5706 LIBINTL=
5707 LTLIBINTL=
5708 INCINTL=
5709 LIBINTL_PREFIX=
5710 HAVE_LIBINTL=
5711 rpathdirs=
5712 ltrpathdirs=
5713 names_already_handled=
5714 names_next_round='intl '
5715 while test -n "$names_next_round"; do
5716 names_this_round="$names_next_round"
5717 names_next_round=
5718 for name in $names_this_round; do
5719 already_handled=
5720 for n in $names_already_handled; do
5721 if test "$n" = "$name"; then
5722 already_handled=yes
5723 break
5724 fi
5725 done
5726 if test -z "$already_handled"; then
5727 names_already_handled="$names_already_handled $name"
5728 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5729 eval value=\"\$HAVE_LIB$uppername\"
5730 if test -n "$value"; then
5731 if test "$value" = yes; then
5732 eval value=\"\$LIB$uppername\"
5733 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5734 eval value=\"\$LTLIB$uppername\"
5735 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5736 else
5737 :
5738 fi
5739 else
5740 found_dir=
5741 found_la=
5742 found_so=
5743 found_a=
5744 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5745 if test -n "$acl_shlibext"; then
5746 shrext=".$acl_shlibext" # typically: shrext=.so
5747 else
5748 shrext=
5749 fi
5750 if test $use_additional = yes; then
5751 dir="$additional_libdir"
5752 if test -n "$acl_shlibext"; then
5753 if test -f "$dir/$libname$shrext"; then
5754 found_dir="$dir"
5755 found_so="$dir/$libname$shrext"
5756 else
5757 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5758 ver=`(cd "$dir" && \
5759 for f in "$libname$shrext".*; do echo "$f"; done \
5760 | sed -e "s,^$libname$shrext\\\\.,," \
5761 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5762 | sed 1q ) 2>/dev/null`
5763 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5764 found_dir="$dir"
5765 found_so="$dir/$libname$shrext.$ver"
5766 fi
5767 else
5768 eval library_names=\"$acl_library_names_spec\"
5769 for f in $library_names; do
5770 if test -f "$dir/$f"; then
5771 found_dir="$dir"
5772 found_so="$dir/$f"
5773 break
5774 fi
5775 done
5776 fi
5777 fi
5778 fi
5779 if test "X$found_dir" = "X"; then
5780 if test -f "$dir/$libname.$acl_libext"; then
5781 found_dir="$dir"
5782 found_a="$dir/$libname.$acl_libext"
5783 fi
5784 fi
5785 if test "X$found_dir" != "X"; then
5786 if test -f "$dir/$libname.la"; then
5787 found_la="$dir/$libname.la"
5788 fi
5789 fi
5790 fi
5791 if test "X$found_dir" = "X"; then
5792 for x in $LDFLAGS $LTLIBINTL; do
5793
5794 acl_save_prefix="$prefix"
5795 prefix="$acl_final_prefix"
5796 acl_save_exec_prefix="$exec_prefix"
5797 exec_prefix="$acl_final_exec_prefix"
5798 eval x=\"$x\"
5799 exec_prefix="$acl_save_exec_prefix"
5800 prefix="$acl_save_prefix"
5801
5802 case "$x" in
5803 -L*)
5804 dir=`echo "X$x" | sed -e 's/^X-L//'`
5805 if test -n "$acl_shlibext"; then
5806 if test -f "$dir/$libname$shrext"; then
5807 found_dir="$dir"
5808 found_so="$dir/$libname$shrext"
5809 else
5810 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5811 ver=`(cd "$dir" && \
5812 for f in "$libname$shrext".*; do echo "$f"; done \
5813 | sed -e "s,^$libname$shrext\\\\.,," \
5814 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5815 | sed 1q ) 2>/dev/null`
5816 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5817 found_dir="$dir"
5818 found_so="$dir/$libname$shrext.$ver"
5819 fi
5820 else
5821 eval library_names=\"$acl_library_names_spec\"
5822 for f in $library_names; do
5823 if test -f "$dir/$f"; then
5824 found_dir="$dir"
5825 found_so="$dir/$f"
5826 break
5827 fi
5828 done
5829 fi
5830 fi
5831 fi
5832 if test "X$found_dir" = "X"; then
5833 if test -f "$dir/$libname.$acl_libext"; then
5834 found_dir="$dir"
5835 found_a="$dir/$libname.$acl_libext"
5836 fi
5837 fi
5838 if test "X$found_dir" != "X"; then
5839 if test -f "$dir/$libname.la"; then
5840 found_la="$dir/$libname.la"
5841 fi
5842 fi
5843 ;;
5844 esac
5845 if test "X$found_dir" != "X"; then
5846 break
5847 fi
5848 done
5849 fi
5850 if test "X$found_dir" != "X"; then
5851 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5852 if test "X$found_so" != "X"; then
5853 if test "$enable_rpath" = no \
5854 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5855 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5856 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5857 else
5858 haveit=
5859 for x in $ltrpathdirs; do
5860 if test "X$x" = "X$found_dir"; then
5861 haveit=yes
5862 break
5863 fi
5864 done
5865 if test -z "$haveit"; then
5866 ltrpathdirs="$ltrpathdirs $found_dir"
5867 fi
5868 if test "$acl_hardcode_direct" = yes; then
5869 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5870 else
5871 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5872 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5873 haveit=
5874 for x in $rpathdirs; do
5875 if test "X$x" = "X$found_dir"; then
5876 haveit=yes
5877 break
5878 fi
5879 done
5880 if test -z "$haveit"; then
5881 rpathdirs="$rpathdirs $found_dir"
5882 fi
5883 else
5884 haveit=
5885 for x in $LDFLAGS $LIBINTL; do
5886
5887 acl_save_prefix="$prefix"
5888 prefix="$acl_final_prefix"
5889 acl_save_exec_prefix="$exec_prefix"
5890 exec_prefix="$acl_final_exec_prefix"
5891 eval x=\"$x\"
5892 exec_prefix="$acl_save_exec_prefix"
5893 prefix="$acl_save_prefix"
5894
5895 if test "X$x" = "X-L$found_dir"; then
5896 haveit=yes
5897 break
5898 fi
5899 done
5900 if test -z "$haveit"; then
5901 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5902 fi
5903 if test "$acl_hardcode_minus_L" != no; then
5904 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5905 else
5906 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5907 fi
5908 fi
5909 fi
5910 fi
5911 else
5912 if test "X$found_a" != "X"; then
5913 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5914 else
5915 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5916 fi
5917 fi
5918 additional_includedir=
5919 case "$found_dir" in
5920 */$acl_libdirstem | */$acl_libdirstem/)
5921 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5922 if test "$name" = 'intl'; then
5923 LIBINTL_PREFIX="$basedir"
5924 fi
5925 additional_includedir="$basedir/include"
5926 ;;
5927 */$acl_libdirstem2 | */$acl_libdirstem2/)
5928 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5929 if test "$name" = 'intl'; then
5930 LIBINTL_PREFIX="$basedir"
5931 fi
5932 additional_includedir="$basedir/include"
5933 ;;
5934 esac
5935 if test "X$additional_includedir" != "X"; then
5936 if test "X$additional_includedir" != "X/usr/include"; then
5937 haveit=
5938 if test "X$additional_includedir" = "X/usr/local/include"; then
5939 if test -n "$GCC"; then
5940 case $host_os in
5941 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5942 esac
5943 fi
5944 fi
5945 if test -z "$haveit"; then
5946 for x in $CPPFLAGS $INCINTL; do
5947
5948 acl_save_prefix="$prefix"
5949 prefix="$acl_final_prefix"
5950 acl_save_exec_prefix="$exec_prefix"
5951 exec_prefix="$acl_final_exec_prefix"
5952 eval x=\"$x\"
5953 exec_prefix="$acl_save_exec_prefix"
5954 prefix="$acl_save_prefix"
5955
5956 if test "X$x" = "X-I$additional_includedir"; then
5957 haveit=yes
5958 break
5959 fi
5960 done
5961 if test -z "$haveit"; then
5962 if test -d "$additional_includedir"; then
5963 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5964 fi
5965 fi
5966 fi
5967 fi
5968 fi
5969 if test -n "$found_la"; then
5970 save_libdir="$libdir"
5971 case "$found_la" in
5972 */* | *\\*) . "$found_la" ;;
5973 *) . "./$found_la" ;;
5974 esac
5975 libdir="$save_libdir"
5976 for dep in $dependency_libs; do
5977 case "$dep" in
5978 -L*)
5979 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5980 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5981 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5982 haveit=
5983 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5984 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5985 if test -n "$GCC"; then
5986 case $host_os in
5987 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5988 esac
5989 fi
5990 fi
5991 if test -z "$haveit"; then
5992 haveit=
5993 for x in $LDFLAGS $LIBINTL; do
5994
5995 acl_save_prefix="$prefix"
5996 prefix="$acl_final_prefix"
5997 acl_save_exec_prefix="$exec_prefix"
5998 exec_prefix="$acl_final_exec_prefix"
5999 eval x=\"$x\"
6000 exec_prefix="$acl_save_exec_prefix"
6001 prefix="$acl_save_prefix"
6002
6003 if test "X$x" = "X-L$additional_libdir"; then
6004 haveit=yes
6005 break
6006 fi
6007 done
6008 if test -z "$haveit"; then
6009 if test -d "$additional_libdir"; then
6010 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6011 fi
6012 fi
6013 haveit=
6014 for x in $LDFLAGS $LTLIBINTL; do
6015
6016 acl_save_prefix="$prefix"
6017 prefix="$acl_final_prefix"
6018 acl_save_exec_prefix="$exec_prefix"
6019 exec_prefix="$acl_final_exec_prefix"
6020 eval x=\"$x\"
6021 exec_prefix="$acl_save_exec_prefix"
6022 prefix="$acl_save_prefix"
6023
6024 if test "X$x" = "X-L$additional_libdir"; then
6025 haveit=yes
6026 break
6027 fi
6028 done
6029 if test -z "$haveit"; then
6030 if test -d "$additional_libdir"; then
6031 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6032 fi
6033 fi
6034 fi
6035 fi
6036 ;;
6037 -R*)
6038 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6039 if test "$enable_rpath" != no; then
6040 haveit=
6041 for x in $rpathdirs; do
6042 if test "X$x" = "X$dir"; then
6043 haveit=yes
6044 break
6045 fi
6046 done
6047 if test -z "$haveit"; then
6048 rpathdirs="$rpathdirs $dir"
6049 fi
6050 haveit=
6051 for x in $ltrpathdirs; do
6052 if test "X$x" = "X$dir"; then
6053 haveit=yes
6054 break
6055 fi
6056 done
6057 if test -z "$haveit"; then
6058 ltrpathdirs="$ltrpathdirs $dir"
6059 fi
6060 fi
6061 ;;
6062 -l*)
6063 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6064 ;;
6065 *.la)
6066 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6067 ;;
6068 *)
6069 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6070 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6071 ;;
6072 esac
6073 done
6074 fi
6075 else
6076 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6077 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6078 fi
6079 fi
6080 fi
6081 done
6082 done
6083 if test "X$rpathdirs" != "X"; then
6084 if test -n "$acl_hardcode_libdir_separator"; then
6085 alldirs=
6086 for found_dir in $rpathdirs; do
6087 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6088 done
6089 acl_save_libdir="$libdir"
6090 libdir="$alldirs"
6091 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6092 libdir="$acl_save_libdir"
6093 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6094 else
6095 for found_dir in $rpathdirs; do
6096 acl_save_libdir="$libdir"
6097 libdir="$found_dir"
6098 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6099 libdir="$acl_save_libdir"
6100 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6101 done
6102 fi
6103 fi
6104 if test "X$ltrpathdirs" != "X"; then
6105 for found_dir in $ltrpathdirs; do
6106 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6107 done
6108 fi
6109
6110
6111
6112
6113
6114
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6116 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6117 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 gt_save_CPPFLAGS="$CPPFLAGS"
6121 CPPFLAGS="$CPPFLAGS $INCINTL"
6122 gt_save_LIBS="$LIBS"
6123 LIBS="$LIBS $LIBINTL"
6124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6126
6127 #include <libintl.h>
6128 $gt_revision_test_code
6129 extern int _nl_msg_cat_cntr;
6130 extern
6131 #ifdef __cplusplus
6132 "C"
6133 #endif
6134 const char *_nl_expand_alias (const char *);
6135
6136 int
6137 main ()
6138 {
6139
6140 bindtextdomain ("", "");
6141 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6142
6143 ;
6144 return 0;
6145 }
6146 _ACEOF
6147 if ac_fn_c_try_link "$LINENO"; then :
6148 eval "$gt_func_gnugettext_libintl=yes"
6149 else
6150 eval "$gt_func_gnugettext_libintl=no"
6151 fi
6152 rm -f core conftest.err conftest.$ac_objext \
6153 conftest$ac_exeext conftest.$ac_ext
6154 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6155 LIBS="$LIBS $LIBICONV"
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6158
6159 #include <libintl.h>
6160 $gt_revision_test_code
6161 extern int _nl_msg_cat_cntr;
6162 extern
6163 #ifdef __cplusplus
6164 "C"
6165 #endif
6166 const char *_nl_expand_alias (const char *);
6167
6168 int
6169 main ()
6170 {
6171
6172 bindtextdomain ("", "");
6173 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6174
6175 ;
6176 return 0;
6177 }
6178 _ACEOF
6179 if ac_fn_c_try_link "$LINENO"; then :
6180 LIBINTL="$LIBINTL $LIBICONV"
6181 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6182 eval "$gt_func_gnugettext_libintl=yes"
6183
6184 fi
6185 rm -f core conftest.err conftest.$ac_objext \
6186 conftest$ac_exeext conftest.$ac_ext
6187 fi
6188 CPPFLAGS="$gt_save_CPPFLAGS"
6189 LIBS="$gt_save_LIBS"
6190 fi
6191 eval ac_res=\$$gt_func_gnugettext_libintl
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6193 $as_echo "$ac_res" >&6; }
6194 fi
6195
6196 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6197 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6198 && test "$PACKAGE" != gettext-runtime \
6199 && test "$PACKAGE" != gettext-tools; }; then
6200 gt_use_preinstalled_gnugettext=yes
6201 else
6202 LIBINTL=
6203 LTLIBINTL=
6204 INCINTL=
6205 fi
6206
6207
6208
6209 if test -n "$INTL_MACOSX_LIBS"; then
6210 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6211 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6212 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6213 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6214 fi
6215 fi
6216
6217 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6218 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6219
6220 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6221
6222 else
6223 USE_NLS=no
6224 fi
6225 fi
6226
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6228 $as_echo_n "checking whether to use NLS... " >&6; }
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6230 $as_echo "$USE_NLS" >&6; }
6231 if test "$USE_NLS" = "yes"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6233 $as_echo_n "checking where the gettext function comes from... " >&6; }
6234 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6235 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6236 gt_source="external libintl"
6237 else
6238 gt_source="libc"
6239 fi
6240 else
6241 gt_source="included intl directory"
6242 fi
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6244 $as_echo "$gt_source" >&6; }
6245 fi
6246
6247 if test "$USE_NLS" = "yes"; then
6248
6249 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6250 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6252 $as_echo_n "checking how to link with libintl... " >&6; }
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6254 $as_echo "$LIBINTL" >&6; }
6255
6256 for element in $INCINTL; do
6257 haveit=
6258 for x in $CPPFLAGS; do
6259
6260 acl_save_prefix="$prefix"
6261 prefix="$acl_final_prefix"
6262 acl_save_exec_prefix="$exec_prefix"
6263 exec_prefix="$acl_final_exec_prefix"
6264 eval x=\"$x\"
6265 exec_prefix="$acl_save_exec_prefix"
6266 prefix="$acl_save_prefix"
6267
6268 if test "X$x" = "X$element"; then
6269 haveit=yes
6270 break
6271 fi
6272 done
6273 if test -z "$haveit"; then
6274 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6275 fi
6276 done
6277
6278 fi
6279
6280
6281 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6282
6283
6284 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6285
6286 fi
6287
6288 POSUB=po
6289 fi
6290
6291
6292
6293 INTLLIBS="$LIBINTL"
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6309 if test -n "$ac_tool_prefix"; then
6310 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6311 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6315 $as_echo_n "(cached) " >&6
6316 else
6317 case $PKG_CONFIG in
6318 [\\/]* | ?:[\\/]*)
6319 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6320 ;;
6321 *)
6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 for as_dir in $PATH
6324 do
6325 IFS=$as_save_IFS
6326 test -z "$as_dir" && as_dir=.
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 break 2
6332 fi
6333 done
6334 done
6335 IFS=$as_save_IFS
6336
6337 ;;
6338 esac
6339 fi
6340 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6341 if test -n "$PKG_CONFIG"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6343 $as_echo "$PKG_CONFIG" >&6; }
6344 else
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6347 fi
6348
6349
6350 fi
6351 if test -z "$ac_cv_path_PKG_CONFIG"; then
6352 ac_pt_PKG_CONFIG=$PKG_CONFIG
6353 # Extract the first word of "pkg-config", so it can be a program name with args.
6354 set dummy pkg-config; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6358 $as_echo_n "(cached) " >&6
6359 else
6360 case $ac_pt_PKG_CONFIG in
6361 [\\/]* | ?:[\\/]*)
6362 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6363 ;;
6364 *)
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 for as_dir in $PATH
6367 do
6368 IFS=$as_save_IFS
6369 test -z "$as_dir" && as_dir=.
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6372 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 break 2
6375 fi
6376 done
6377 done
6378 IFS=$as_save_IFS
6379
6380 ;;
6381 esac
6382 fi
6383 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6384 if test -n "$ac_pt_PKG_CONFIG"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6386 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6387 else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389 $as_echo "no" >&6; }
6390 fi
6391
6392 if test "x$ac_pt_PKG_CONFIG" = x; then
6393 PKG_CONFIG=""
6394 else
6395 case $cross_compiling:$ac_tool_warned in
6396 yes:)
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6399 ac_tool_warned=yes ;;
6400 esac
6401 PKG_CONFIG=$ac_pt_PKG_CONFIG
6402 fi
6403 else
6404 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6405 fi
6406
6407 fi
6408 if test -n "$PKG_CONFIG"; then
6409 _pkg_min_version=0.22
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6411 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6412 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6414 $as_echo "yes" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6418 PKG_CONFIG=""
6419 fi
6420 fi
6421
6422
6423
6424 # Check whether --enable-schemas-compile was given.
6425 if test "${enable_schemas_compile+set}" = set; then :
6426 enableval=$enable_schemas_compile; case ${enableval} in
6427 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
6428 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
6429 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
6430 esac
6431 fi
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6442 if test -n "$ac_tool_prefix"; then
6443 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6444 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6448 $as_echo_n "(cached) " >&6
6449 else
6450 case $PKG_CONFIG in
6451 [\\/]* | ?:[\\/]*)
6452 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6453 ;;
6454 *)
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6457 do
6458 IFS=$as_save_IFS
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6462 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 break 2
6465 fi
6466 done
6467 done
6468 IFS=$as_save_IFS
6469
6470 ;;
6471 esac
6472 fi
6473 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6474 if test -n "$PKG_CONFIG"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6476 $as_echo "$PKG_CONFIG" >&6; }
6477 else
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6480 fi
6481
6482
6483 fi
6484 if test -z "$ac_cv_path_PKG_CONFIG"; then
6485 ac_pt_PKG_CONFIG=$PKG_CONFIG
6486 # Extract the first word of "pkg-config", so it can be a program name with args.
6487 set dummy pkg-config; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6491 $as_echo_n "(cached) " >&6
6492 else
6493 case $ac_pt_PKG_CONFIG in
6494 [\\/]* | ?:[\\/]*)
6495 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6496 ;;
6497 *)
6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 for as_dir in $PATH
6500 do
6501 IFS=$as_save_IFS
6502 test -z "$as_dir" && as_dir=.
6503 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 break 2
6508 fi
6509 done
6510 done
6511 IFS=$as_save_IFS
6512
6513 ;;
6514 esac
6515 fi
6516 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6517 if test -n "$ac_pt_PKG_CONFIG"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6519 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6520 else
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6523 fi
6524
6525 if test "x$ac_pt_PKG_CONFIG" = x; then
6526 PKG_CONFIG=""
6527 else
6528 case $cross_compiling:$ac_tool_warned in
6529 yes:)
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6532 ac_tool_warned=yes ;;
6533 esac
6534 PKG_CONFIG=$ac_pt_PKG_CONFIG
6535 fi
6536 else
6537 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6538 fi
6539
6540 fi
6541 if test -n "$PKG_CONFIG"; then
6542 _pkg_min_version=0.16
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6544 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6545 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6547 $as_echo "yes" >&6; }
6548 else
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6551 PKG_CONFIG=""
6552 fi
6553 fi
6554 gsettingsschemadir=${datadir}/glib-2.0/schemas
6555
6556 if test x$cross_compiling != xyes; then
6557 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
6558 else
6559 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
6560 set dummy glib-compile-schemas; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 case $GLIB_COMPILE_SCHEMAS in
6567 [\\/]* | ?:[\\/]*)
6568 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
6569 ;;
6570 *)
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 for as_dir in $PATH
6573 do
6574 IFS=$as_save_IFS
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6578 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
6579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 break 2
6581 fi
6582 done
6583 done
6584 IFS=$as_save_IFS
6585
6586 ;;
6587 esac
6588 fi
6589 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
6590 if test -n "$GLIB_COMPILE_SCHEMAS"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
6592 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6596 fi
6597
6598
6599 fi
6600
6601 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
6602 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
6603 else
6604 :
6605 fi
6606
6607 GSETTINGS_RULES='
6608 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
6609
6610 mostlyclean-am: clean-gsettings-schemas
6611
6612 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
6613
6614 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
6615 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
6616
6617 all-am: $(gsettings_SCHEMAS:.xml=.valid)
6618 uninstall-am: uninstall-gsettings-schemas
6619 install-data-am: install-gsettings-schemas
6620
6621 .SECONDARY: $(gsettings_SCHEMAS)
6622
6623 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
6624 @$(NORMAL_INSTALL)
6625 if test -n "$^"; then \
6626 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
6627 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
6628 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
6629 fi
6630
6631 uninstall-gsettings-schemas:
6632 @$(NORMAL_UNINSTALL)
6633 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
6634 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
6635 test -n "$$files" || exit 0; \
6636 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
6637 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
6638 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
6639
6640 clean-gsettings-schemas:
6641 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
6642
6643 ifdef gsettings_ENUM_NAMESPACE
6644 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
6645 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > [email protected] && mv [email protected] $@
6646 endif
6647 '
6648
6649
6650
6651
6652
6653
6654
6655 SHELL_VERSION="$PACKAGE_VERSION"
6656 shell_major=`echo "$PACKAGE_VERSION" | cut -d'.' -f1`
6657 shell_minor=`echo "$PACKAGE_VERSION" | cut -d'.' -f2`
6658 if test "$(($shell_minor % 2))" -eq 0; then
6659 SHELL_VERSION="$shell_major.$shell_minor"
6660 fi
6661
6662
6663 CLASSIC_EXTENSIONS="apps-menu places-menu alternate-tab launch-new-instance window-list"
6664 DEFAULT_EXTENSIONS="$CLASSIC_EXTENSIONS drive-menu screenshot-window-sizer windowsNavigator workspace-indicator"
6665 ALL_EXTENSIONS="$DEFAULT_EXTENSIONS auto-move-windows example native-window-placement user-theme"
6666 CLASSIC_EXTENSIONS=$CLASSIC_EXTENSIONS
6667
6668 ALL_EXTENSIONS=$ALL_EXTENSIONS
6669
6670 # Check whether --enable-extensions was given.
6671 if test "${enable_extensions+set}" = set; then :
6672 enableval=$enable_extensions;
6673 else
6674 enable_extensions=$DEFAULT_EXTENSIONS
6675
6676 fi
6677
6678
6679 if test x"$enable_extensions" = xall; then
6680 enable_extensions="$ALL_EXTENSIONS"
6681 enable_classic_mode_default=yes
6682 elif test x"$enable_extensions" = xclassic-mode; then
6683 enable_extensions="$CLASSIC_EXTENSIONS"
6684 enable_classic_mode_default=yes
6685 else
6686 enable_classic_mode_default=no
6687 fi
6688
6689 # Check whether --enable-classic-mode was given.
6690 if test "${enable_classic_mode+set}" = set; then :
6691 enableval=$enable_classic_mode;
6692 else
6693 enable_classic_mode=$enable_classic_mode_default
6694 fi
6695
6696 if test x"$enable_classic_mode" != xno; then
6697 CLASSIC_MODE_TRUE=
6698 CLASSIC_MODE_FALSE='#'
6699 else
6700 CLASSIC_MODE_TRUE='#'
6701 CLASSIC_MODE_FALSE=
6702 fi
6703
6704
6705 ENABLED_EXTENSIONS=
6706 for e in $enable_extensions; do
6707 case $e in
6708 alternate-tab|apps-menu|auto-move-windows|drive-menu|example|launch-new-instance|native-window-placement|places-menu|screenshot-window-sizer|user-theme|window-list|windowsNavigator|workspace-indicator)
6709 ENABLED_EXTENSIONS="$ENABLED_EXTENSIONS $e"
6710 ;;
6711 *)
6712 as_fn_error $? "invalid extension $e" "$LINENO" 5
6713 esac
6714 done
6715
6716 ENABLED_EXTENSIONS=$ENABLED_EXTENSIONS
6717
6718
6719 # Extract the first word of "sassc", so it can be a program name with args.
6720 set dummy sassc; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if ${ac_cv_path_SASSC+:} false; then :
6724 $as_echo_n "(cached) " >&6
6725 else
6726 case $SASSC in
6727 [\\/]* | ?:[\\/]*)
6728 ac_cv_path_SASSC="$SASSC" # Let the user override the test with a path.
6729 ;;
6730 *)
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 for as_dir in $PATH
6733 do
6734 IFS=$as_save_IFS
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6738 ac_cv_path_SASSC="$as_dir/$ac_word$ac_exec_ext"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 break 2
6741 fi
6742 done
6743 done
6744 IFS=$as_save_IFS
6745
6746 ;;
6747 esac
6748 fi
6749 SASSC=$ac_cv_path_SASSC
6750 if test -n "$SASSC"; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SASSC" >&5
6752 $as_echo "$SASSC" >&6; }
6753 else
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6756 fi
6757
6758
6759
6760 ac_config_files="$ac_config_files data/Makefile extensions/alternate-tab/Makefile extensions/apps-menu/Makefile extensions/auto-move-windows/Makefile extensions/drive-menu/Makefile extensions/example/Makefile extensions/launch-new-instance/Makefile extensions/native-window-placement/Makefile extensions/places-menu/Makefile extensions/screenshot-window-sizer/Makefile extensions/user-theme/Makefile extensions/window-list/Makefile extensions/windowsNavigator/Makefile extensions/workspace-indicator/Makefile extensions/Makefile Makefile po/Makefile.in"
6761
6762 cat >confcache <<\_ACEOF
6763 # This file is a shell script that caches the results of configure
6764 # tests run on this system so they can be shared between configure
6765 # scripts and configure runs, see configure's option --config-cache.
6766 # It is not useful on other systems. If it contains results you don't
6767 # want to keep, you may remove or edit it.
6768 #
6769 # config.status only pays attention to the cache file if you give it
6770 # the --recheck option to rerun configure.
6771 #
6772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6774 # following values.
6775
6776 _ACEOF
6777
6778 # The following way of writing the cache mishandles newlines in values,
6779 # but we know of no workaround that is simple, portable, and efficient.
6780 # So, we kill variables containing newlines.
6781 # Ultrix sh set writes to stderr and can't be redirected directly,
6782 # and sets the high bit in the cache file unless we assign to the vars.
6783 (
6784 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6785 eval ac_val=\$$ac_var
6786 case $ac_val in #(
6787 *${as_nl}*)
6788 case $ac_var in #(
6789 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6790 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6791 esac
6792 case $ac_var in #(
6793 _ | IFS | as_nl) ;; #(
6794 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6795 *) { eval $ac_var=; unset $ac_var;} ;;
6796 esac ;;
6797 esac
6798 done
6799
6800 (set) 2>&1 |
6801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6802 *${as_nl}ac_space=\ *)
6803 # `set' does not quote correctly, so add quotes: double-quote
6804 # substitution turns \\\\ into \\, and sed turns \\ into \.
6805 sed -n \
6806 "s/'/'\\\\''/g;
6807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6808 ;; #(
6809 *)
6810 # `set' quotes correctly as required by POSIX, so do not add quotes.
6811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6812 ;;
6813 esac |
6814 sort
6815 ) |
6816 sed '
6817 /^ac_cv_env_/b end
6818 t clear
6819 :clear
6820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6821 t end
6822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6823 :end' >>confcache
6824 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6825 if test -w "$cache_file"; then
6826 if test "x$cache_file" != "x/dev/null"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6828 $as_echo "$as_me: updating cache $cache_file" >&6;}
6829 if test ! -f "$cache_file" || test -h "$cache_file"; then
6830 cat confcache >"$cache_file"
6831 else
6832 case $cache_file in #(
6833 */* | ?:*)
6834 mv -f confcache "$cache_file"$$ &&
6835 mv -f "$cache_file"$$ "$cache_file" ;; #(
6836 *)
6837 mv -f confcache "$cache_file" ;;
6838 esac
6839 fi
6840 fi
6841 else
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6843 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6844 fi
6845 fi
6846 rm -f confcache
6847
6848 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6849 # Let make expand exec_prefix.
6850 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6851
6852 # Transform confdefs.h into DEFS.
6853 # Protect against shell expansion while executing Makefile rules.
6854 # Protect against Makefile macro expansion.
6855 #
6856 # If the first sed substitution is executed (which looks for macros that
6857 # take arguments), then branch to the quote section. Otherwise,
6858 # look for a macro that doesn't take arguments.
6859 ac_script='
6860 :mline
6861 /\\$/{
6862 N
6863 s,\\\n,,
6864 b mline
6865 }
6866 t clear
6867 :clear
6868 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6869 t quote
6870 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6871 t quote
6872 b any
6873 :quote
6874 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6875 s/\[/\\&/g
6876 s/\]/\\&/g
6877 s/\$/$$/g
6878 H
6879 :any
6880 ${
6881 g
6882 s/^\n//
6883 s/\n/ /g
6884 p
6885 }
6886 '
6887 DEFS=`sed -n "$ac_script" confdefs.h`
6888
6889
6890 ac_libobjs=
6891 ac_ltlibobjs=
6892 U=
6893 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6894 # 1. Remove the extension, and $U if already installed.
6895 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6896 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6897 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6898 # will be set to the directory where LIBOBJS objects are built.
6899 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6900 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6901 done
6902 LIBOBJS=$ac_libobjs
6903
6904 LTLIBOBJS=$ac_ltlibobjs
6905
6906
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6908 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6909 if test -n "$am_sleep_pid"; then
6910 # Hide warnings about reused PIDs.
6911 wait $am_sleep_pid 2>/dev/null
6912 fi
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6914 $as_echo "done" >&6; }
6915 if test -n "$EXEEXT"; then
6916 am__EXEEXT_TRUE=
6917 am__EXEEXT_FALSE='#'
6918 else
6919 am__EXEEXT_TRUE='#'
6920 am__EXEEXT_FALSE=
6921 fi
6922
6923 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6924 as_fn_error $? "conditional \"AMDEP\" was never defined.
6925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6926 fi
6927 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6928 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6930 fi
6931 if test -z "${CLASSIC_MODE_TRUE}" && test -z "${CLASSIC_MODE_FALSE}"; then
6932 as_fn_error $? "conditional \"CLASSIC_MODE\" was never defined.
6933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6934 fi
6935
6936 : "${CONFIG_STATUS=./config.status}"
6937 ac_write_fail=0
6938 ac_clean_files_save=$ac_clean_files
6939 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6941 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6942 as_write_fail=0
6943 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6944 #! $SHELL
6945 # Generated by $as_me.
6946 # Run this file to recreate the current configuration.
6947 # Compiler output produced by configure, useful for debugging
6948 # configure, is in config.log if it exists.
6949
6950 debug=false
6951 ac_cs_recheck=false
6952 ac_cs_silent=false
6953
6954 SHELL=\${CONFIG_SHELL-$SHELL}
6955 export SHELL
6956 _ASEOF
6957 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6958 ## -------------------- ##
6959 ## M4sh Initialization. ##
6960 ## -------------------- ##
6961
6962 # Be more Bourne compatible
6963 DUALCASE=1; export DUALCASE # for MKS sh
6964 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6965 emulate sh
6966 NULLCMD=:
6967 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6968 # is contrary to our usage. Disable this feature.
6969 alias -g '${1+"$@"}'='"$@"'
6970 setopt NO_GLOB_SUBST
6971 else
6972 case `(set -o) 2>/dev/null` in #(
6973 *posix*) :
6974 set -o posix ;; #(
6975 *) :
6976 ;;
6977 esac
6978 fi
6979
6980
6981 as_nl='
6982 '
6983 export as_nl
6984 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6985 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6986 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6987 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6988 # Prefer a ksh shell builtin over an external printf program on Solaris,
6989 # but without wasting forks for bash or zsh.
6990 if test -z "$BASH_VERSION$ZSH_VERSION" \
6991 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6992 as_echo='print -r --'
6993 as_echo_n='print -rn --'
6994 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6995 as_echo='printf %s\n'
6996 as_echo_n='printf %s'
6997 else
6998 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6999 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7000 as_echo_n='/usr/ucb/echo -n'
7001 else
7002 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7003 as_echo_n_body='eval
7004 arg=$1;
7005 case $arg in #(
7006 *"$as_nl"*)
7007 expr "X$arg" : "X\\(.*\\)$as_nl";
7008 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7009 esac;
7010 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7011 '
7012 export as_echo_n_body
7013 as_echo_n='sh -c $as_echo_n_body as_echo'
7014 fi
7015 export as_echo_body
7016 as_echo='sh -c $as_echo_body as_echo'
7017 fi
7018
7019 # The user is always right.
7020 if test "${PATH_SEPARATOR+set}" != set; then
7021 PATH_SEPARATOR=:
7022 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7023 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7024 PATH_SEPARATOR=';'
7025 }
7026 fi
7027
7028
7029 # IFS
7030 # We need space, tab and new line, in precisely that order. Quoting is
7031 # there to prevent editors from complaining about space-tab.
7032 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7033 # splitting by setting IFS to empty value.)
7034 IFS=" "" $as_nl"
7035
7036 # Find who we are. Look in the path if we contain no directory separator.
7037 as_myself=
7038 case $0 in #((
7039 *[\\/]* ) as_myself=$0 ;;
7040 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041 for as_dir in $PATH
7042 do
7043 IFS=$as_save_IFS
7044 test -z "$as_dir" && as_dir=.
7045 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7046 done
7047 IFS=$as_save_IFS
7048
7049 ;;
7050 esac
7051 # We did not find ourselves, most probably we were run as `sh COMMAND'
7052 # in which case we are not to be found in the path.
7053 if test "x$as_myself" = x; then
7054 as_myself=$0
7055 fi
7056 if test ! -f "$as_myself"; then
7057 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7058 exit 1
7059 fi
7060
7061 # Unset variables that we do not need and which cause bugs (e.g. in
7062 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7063 # suppresses any "Segmentation fault" message there. '((' could
7064 # trigger a bug in pdksh 5.2.14.
7065 for as_var in BASH_ENV ENV MAIL MAILPATH
7066 do eval test x\${$as_var+set} = xset \
7067 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7068 done
7069 PS1='$ '
7070 PS2='> '
7071 PS4='+ '
7072
7073 # NLS nuisances.
7074 LC_ALL=C
7075 export LC_ALL
7076 LANGUAGE=C
7077 export LANGUAGE
7078
7079 # CDPATH.
7080 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7081
7082
7083 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7084 # ----------------------------------------
7085 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7086 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7087 # script with STATUS, using 1 if that was 0.
7088 as_fn_error ()
7089 {
7090 as_status=$1; test $as_status -eq 0 && as_status=1
7091 if test "$4"; then
7092 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7093 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7094 fi
7095 $as_echo "$as_me: error: $2" >&2
7096 as_fn_exit $as_status
7097 } # as_fn_error
7098
7099
7100 # as_fn_set_status STATUS
7101 # -----------------------
7102 # Set $? to STATUS, without forking.
7103 as_fn_set_status ()
7104 {
7105 return $1
7106 } # as_fn_set_status
7107
7108 # as_fn_exit STATUS
7109 # -----------------
7110 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7111 as_fn_exit ()
7112 {
7113 set +e
7114 as_fn_set_status $1
7115 exit $1
7116 } # as_fn_exit
7117
7118 # as_fn_unset VAR
7119 # ---------------
7120 # Portably unset VAR.
7121 as_fn_unset ()
7122 {
7123 { eval $1=; unset $1;}
7124 }
7125 as_unset=as_fn_unset
7126 # as_fn_append VAR VALUE
7127 # ----------------------
7128 # Append the text in VALUE to the end of the definition contained in VAR. Take
7129 # advantage of any shell optimizations that allow amortized linear growth over
7130 # repeated appends, instead of the typical quadratic growth present in naive
7131 # implementations.
7132 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7133 eval 'as_fn_append ()
7134 {
7135 eval $1+=\$2
7136 }'
7137 else
7138 as_fn_append ()
7139 {
7140 eval $1=\$$1\$2
7141 }
7142 fi # as_fn_append
7143
7144 # as_fn_arith ARG...
7145 # ------------------
7146 # Perform arithmetic evaluation on the ARGs, and store the result in the
7147 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7148 # must be portable across $(()) and expr.
7149 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7150 eval 'as_fn_arith ()
7151 {
7152 as_val=$(( $* ))
7153 }'
7154 else
7155 as_fn_arith ()
7156 {
7157 as_val=`expr "$@" || test $? -eq 1`
7158 }
7159 fi # as_fn_arith
7160
7161
7162 if expr a : '\(a\)' >/dev/null 2>&1 &&
7163 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7164 as_expr=expr
7165 else
7166 as_expr=false
7167 fi
7168
7169 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7170 as_basename=basename
7171 else
7172 as_basename=false
7173 fi
7174
7175 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7176 as_dirname=dirname
7177 else
7178 as_dirname=false
7179 fi
7180
7181 as_me=`$as_basename -- "$0" ||
7182 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7183 X"$0" : 'X\(//\)$' \| \
7184 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7185 $as_echo X/"$0" |
7186 sed '/^.*\/\([^/][^/]*\)\/*$/{
7187 s//\1/
7188 q
7189 }
7190 /^X\/\(\/\/\)$/{
7191 s//\1/
7192 q
7193 }
7194 /^X\/\(\/\).*/{
7195 s//\1/
7196 q
7197 }
7198 s/.*/./; q'`
7199
7200 # Avoid depending upon Character Ranges.
7201 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7202 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7203 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7204 as_cr_digits='0123456789'
7205 as_cr_alnum=$as_cr_Letters$as_cr_digits
7206
7207 ECHO_C= ECHO_N= ECHO_T=
7208 case `echo -n x` in #(((((
7209 -n*)
7210 case `echo 'xy\c'` in
7211 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7212 xy) ECHO_C='\c';;
7213 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7214 ECHO_T=' ';;
7215 esac;;
7216 *)
7217 ECHO_N='-n';;
7218 esac
7219
7220 rm -f conf$$ conf$$.exe conf$$.file
7221 if test -d conf$$.dir; then
7222 rm -f conf$$.dir/conf$$.file
7223 else
7224 rm -f conf$$.dir
7225 mkdir conf$$.dir 2>/dev/null
7226 fi
7227 if (echo >conf$$.file) 2>/dev/null; then
7228 if ln -s conf$$.file conf$$ 2>/dev/null; then
7229 as_ln_s='ln -s'
7230 # ... but there are two gotchas:
7231 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7232 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7233 # In both cases, we have to default to `cp -pR'.
7234 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7235 as_ln_s='cp -pR'
7236 elif ln conf$$.file conf$$ 2>/dev/null; then
7237 as_ln_s=ln
7238 else
7239 as_ln_s='cp -pR'
7240 fi
7241 else
7242 as_ln_s='cp -pR'
7243 fi
7244 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7245 rmdir conf$$.dir 2>/dev/null
7246
7247
7248 # as_fn_mkdir_p
7249 # -------------
7250 # Create "$as_dir" as a directory, including parents if necessary.
7251 as_fn_mkdir_p ()
7252 {
7253
7254 case $as_dir in #(
7255 -*) as_dir=./$as_dir;;
7256 esac
7257 test -d "$as_dir" || eval $as_mkdir_p || {
7258 as_dirs=
7259 while :; do
7260 case $as_dir in #(
7261 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7262 *) as_qdir=$as_dir;;
7263 esac
7264 as_dirs="'$as_qdir' $as_dirs"
7265 as_dir=`$as_dirname -- "$as_dir" ||
7266 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7267 X"$as_dir" : 'X\(//\)[^/]' \| \
7268 X"$as_dir" : 'X\(//\)$' \| \
7269 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7270 $as_echo X"$as_dir" |
7271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7272 s//\1/
7273 q
7274 }
7275 /^X\(\/\/\)[^/].*/{
7276 s//\1/
7277 q
7278 }
7279 /^X\(\/\/\)$/{
7280 s//\1/
7281 q
7282 }
7283 /^X\(\/\).*/{
7284 s//\1/
7285 q
7286 }
7287 s/.*/./; q'`
7288 test -d "$as_dir" && break
7289 done
7290 test -z "$as_dirs" || eval "mkdir $as_dirs"
7291 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7292
7293
7294 } # as_fn_mkdir_p
7295 if mkdir -p . 2>/dev/null; then
7296 as_mkdir_p='mkdir -p "$as_dir"'
7297 else
7298 test -d ./-p && rmdir ./-p
7299 as_mkdir_p=false
7300 fi
7301
7302
7303 # as_fn_executable_p FILE
7304 # -----------------------
7305 # Test if FILE is an executable regular file.
7306 as_fn_executable_p ()
7307 {
7308 test -f "$1" && test -x "$1"
7309 } # as_fn_executable_p
7310 as_test_x='test -x'
7311 as_executable_p=as_fn_executable_p
7312
7313 # Sed expression to map a string onto a valid CPP name.
7314 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7315
7316 # Sed expression to map a string onto a valid variable name.
7317 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7318
7319
7320 exec 6>&1
7321 ## ----------------------------------- ##
7322 ## Main body of $CONFIG_STATUS script. ##
7323 ## ----------------------------------- ##
7324 _ASEOF
7325 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7326
7327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7328 # Save the log message, to keep $0 and so on meaningful, and to
7329 # report actual input values of CONFIG_FILES etc. instead of their
7330 # values after options handling.
7331 ac_log="
7332 This file was extended by gnome-shell-extensions $as_me 3.26.2, which was
7333 generated by GNU Autoconf 2.69. Invocation command line was
7334
7335 CONFIG_FILES = $CONFIG_FILES
7336 CONFIG_HEADERS = $CONFIG_HEADERS
7337 CONFIG_LINKS = $CONFIG_LINKS
7338 CONFIG_COMMANDS = $CONFIG_COMMANDS
7339 $ $0 $@
7340
7341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7342 "
7343
7344 _ACEOF
7345
7346 case $ac_config_files in *"
7347 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7348 esac
7349
7350
7351
7352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7353 # Files that config.status was made for.
7354 config_files="$ac_config_files"
7355 config_commands="$ac_config_commands"
7356
7357 _ACEOF
7358
7359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7360 ac_cs_usage="\
7361 \`$as_me' instantiates files and other configuration actions
7362 from templates according to the current configuration. Unless the files
7363 and actions are specified as TAGs, all are instantiated by default.
7364
7365 Usage: $0 [OPTION]... [TAG]...
7366
7367 -h, --help print this help, then exit
7368 -V, --version print version number and configuration settings, then exit
7369 --config print configuration, then exit
7370 -q, --quiet, --silent
7371 do not print progress messages
7372 -d, --debug don't remove temporary files
7373 --recheck update $as_me by reconfiguring in the same conditions
7374 --file=FILE[:TEMPLATE]
7375 instantiate the configuration file FILE
7376
7377 Configuration files:
7378 $config_files
7379
7380 Configuration commands:
7381 $config_commands
7382
7383 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions>."
7384
7385 _ACEOF
7386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7387 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7388 ac_cs_version="\\
7389 gnome-shell-extensions config.status 3.26.2
7390 configured by $0, generated by GNU Autoconf 2.69,
7391 with options \\"\$ac_cs_config\\"
7392
7393 Copyright (C) 2012 Free Software Foundation, Inc.
7394 This config.status script is free software; the Free Software Foundation
7395 gives unlimited permission to copy, distribute and modify it."
7396
7397 ac_pwd='$ac_pwd'
7398 srcdir='$srcdir'
7399 INSTALL='$INSTALL'
7400 MKDIR_P='$MKDIR_P'
7401 AWK='$AWK'
7402 test -n "\$AWK" || AWK=awk
7403 _ACEOF
7404
7405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7406 # The default lists apply if the user does not specify any file.
7407 ac_need_defaults=:
7408 while test $# != 0
7409 do
7410 case $1 in
7411 --*=?*)
7412 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7413 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7414 ac_shift=:
7415 ;;
7416 --*=)
7417 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7418 ac_optarg=
7419 ac_shift=:
7420 ;;
7421 *)
7422 ac_option=$1
7423 ac_optarg=$2
7424 ac_shift=shift
7425 ;;
7426 esac
7427
7428 case $ac_option in
7429 # Handling of the options.
7430 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7431 ac_cs_recheck=: ;;
7432 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7433 $as_echo "$ac_cs_version"; exit ;;
7434 --config | --confi | --conf | --con | --co | --c )
7435 $as_echo "$ac_cs_config"; exit ;;
7436 --debug | --debu | --deb | --de | --d | -d )
7437 debug=: ;;
7438 --file | --fil | --fi | --f )
7439 $ac_shift
7440 case $ac_optarg in
7441 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7442 '') as_fn_error $? "missing file argument" ;;
7443 esac
7444 as_fn_append CONFIG_FILES " '$ac_optarg'"
7445 ac_need_defaults=false;;
7446 --he | --h | --help | --hel | -h )
7447 $as_echo "$ac_cs_usage"; exit ;;
7448 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7449 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7450 ac_cs_silent=: ;;
7451
7452 # This is an error.
7453 -*) as_fn_error $? "unrecognized option: \`$1'
7454 Try \`$0 --help' for more information." ;;
7455
7456 *) as_fn_append ac_config_targets " $1"
7457 ac_need_defaults=false ;;
7458
7459 esac
7460 shift
7461 done
7462
7463 ac_configure_extra_args=
7464
7465 if $ac_cs_silent; then
7466 exec 6>/dev/null
7467 ac_configure_extra_args="$ac_configure_extra_args --silent"
7468 fi
7469
7470 _ACEOF
7471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7472 if \$ac_cs_recheck; then
7473 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7474 shift
7475 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7476 CONFIG_SHELL='$SHELL'
7477 export CONFIG_SHELL
7478 exec "\$@"
7479 fi
7480
7481 _ACEOF
7482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7483 exec 5>>config.log
7484 {
7485 echo
7486 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7487 ## Running $as_me. ##
7488 _ASBOX
7489 $as_echo "$ac_log"
7490 } >&5
7491
7492 _ACEOF
7493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7494 #
7495 # INIT-COMMANDS
7496 #
7497 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7498 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7499 # from automake < 1.5.
7500 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7501 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7502 LINGUAS="${LINGUAS-%UNSET%}"
7503
7504 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7505
7506 _ACEOF
7507
7508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7509
7510 # Handling of arguments.
7511 for ac_config_target in $ac_config_targets
7512 do
7513 case $ac_config_target in
7514 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7515 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7516 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
7517 "extensions/alternate-tab/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/alternate-tab/Makefile" ;;
7518 "extensions/apps-menu/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/apps-menu/Makefile" ;;
7519 "extensions/auto-move-windows/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/auto-move-windows/Makefile" ;;
7520 "extensions/drive-menu/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/drive-menu/Makefile" ;;
7521 "extensions/example/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/example/Makefile" ;;
7522 "extensions/launch-new-instance/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/launch-new-instance/Makefile" ;;
7523 "extensions/native-window-placement/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/native-window-placement/Makefile" ;;
7524 "extensions/places-menu/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/places-menu/Makefile" ;;
7525 "extensions/screenshot-window-sizer/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/screenshot-window-sizer/Makefile" ;;
7526 "extensions/user-theme/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/user-theme/Makefile" ;;
7527 "extensions/window-list/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/window-list/Makefile" ;;
7528 "extensions/windowsNavigator/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/windowsNavigator/Makefile" ;;
7529 "extensions/workspace-indicator/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/workspace-indicator/Makefile" ;;
7530 "extensions/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Makefile" ;;
7531 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7532 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7533
7534 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7535 esac
7536 done
7537
7538
7539 # If the user did not use the arguments to specify the items to instantiate,
7540 # then the envvar interface is used. Set only those that are not.
7541 # We use the long form for the default assignment because of an extremely
7542 # bizarre bug on SunOS 4.1.3.
7543 if $ac_need_defaults; then
7544 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7545 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7546 fi
7547
7548 # Have a temporary directory for convenience. Make it in the build tree
7549 # simply because there is no reason against having it here, and in addition,
7550 # creating and moving files from /tmp can sometimes cause problems.
7551 # Hook for its removal unless debugging.
7552 # Note that there is a small window in which the directory will not be cleaned:
7553 # after its creation but before its name has been assigned to `$tmp'.
7554 $debug ||
7555 {
7556 tmp= ac_tmp=
7557 trap 'exit_status=$?
7558 : "${ac_tmp:=$tmp}"
7559 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7560 ' 0
7561 trap 'as_fn_exit 1' 1 2 13 15
7562 }
7563 # Create a (secure) tmp directory for tmp files.
7564
7565 {
7566 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7567 test -d "$tmp"
7568 } ||
7569 {
7570 tmp=./conf$$-$RANDOM
7571 (umask 077 && mkdir "$tmp")
7572 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7573 ac_tmp=$tmp
7574
7575 # Set up the scripts for CONFIG_FILES section.
7576 # No need to generate them if there are no CONFIG_FILES.
7577 # This happens for instance with `./config.status config.h'.
7578 if test -n "$CONFIG_FILES"; then
7579
7580
7581 ac_cr=`echo X | tr X '\015'`
7582 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7583 # But we know of no other shell where ac_cr would be empty at this
7584 # point, so we can use a bashism as a fallback.
7585 if test "x$ac_cr" = x; then
7586 eval ac_cr=\$\'\\r\'
7587 fi
7588 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7589 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7590 ac_cs_awk_cr='\\r'
7591 else
7592 ac_cs_awk_cr=$ac_cr
7593 fi
7594
7595 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7596 _ACEOF
7597
7598
7599 {
7600 echo "cat >conf$$subs.awk <<_ACEOF" &&
7601 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7602 echo "_ACEOF"
7603 } >conf$$subs.sh ||
7604 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7605 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7606 ac_delim='%!_!# '
7607 for ac_last_try in false false false false false :; do
7608 . ./conf$$subs.sh ||
7609 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7610
7611 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7612 if test $ac_delim_n = $ac_delim_num; then
7613 break
7614 elif $ac_last_try; then
7615 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7616 else
7617 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7618 fi
7619 done
7620 rm -f conf$$subs.sh
7621
7622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7623 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7624 _ACEOF
7625 sed -n '
7626 h
7627 s/^/S["/; s/!.*/"]=/
7628 p
7629 g
7630 s/^[^!]*!//
7631 :repl
7632 t repl
7633 s/'"$ac_delim"'$//
7634 t delim
7635 :nl
7636 h
7637 s/\(.\{148\}\)..*/\1/
7638 t more1
7639 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7640 p
7641 n
7642 b repl
7643 :more1
7644 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7645 p
7646 g
7647 s/.\{148\}//
7648 t nl
7649 :delim
7650 h
7651 s/\(.\{148\}\)..*/\1/
7652 t more2
7653 s/["\\]/\\&/g; s/^/"/; s/$/"/
7654 p
7655 b
7656 :more2
7657 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7658 p
7659 g
7660 s/.\{148\}//
7661 t delim
7662 ' <conf$$subs.awk | sed '
7663 /^[^""]/{
7664 N
7665 s/\n//
7666 }
7667 ' >>$CONFIG_STATUS || ac_write_fail=1
7668 rm -f conf$$subs.awk
7669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7670 _ACAWK
7671 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7672 for (key in S) S_is_set[key] = 1
7673 FS = ""
7674
7675 }
7676 {
7677 line = $ 0
7678 nfields = split(line, field, "@")
7679 substed = 0
7680 len = length(field[1])
7681 for (i = 2; i < nfields; i++) {
7682 key = field[i]
7683 keylen = length(key)
7684 if (S_is_set[key]) {
7685 value = S[key]
7686 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7687 len += length(value) + length(field[++i])
7688 substed = 1
7689 } else
7690 len += 1 + keylen
7691 }
7692
7693 print line
7694 }
7695
7696 _ACAWK
7697 _ACEOF
7698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7699 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7700 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7701 else
7702 cat
7703 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7704 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7705 _ACEOF
7706
7707 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7708 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7709 # trailing colons and then remove the whole line if VPATH becomes empty
7710 # (actually we leave an empty line to preserve line numbers).
7711 if test "x$srcdir" = x.; then
7712 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7713 h
7714 s///
7715 s/^/:/
7716 s/[ ]*$/:/
7717 s/:\$(srcdir):/:/g
7718 s/:\${srcdir}:/:/g
7719 s/:@srcdir@:/:/g
7720 s/^:*//
7721 s/:*$//
7722 x
7723 s/\(=[ ]*\).*/\1/
7724 G
7725 s/\n//
7726 s/^[^=]*=[ ]*$//
7727 }'
7728 fi
7729
7730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7731 fi # test -n "$CONFIG_FILES"
7732
7733
7734 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
7735 shift
7736 for ac_tag
7737 do
7738 case $ac_tag in
7739 :[FHLC]) ac_mode=$ac_tag; continue;;
7740 esac
7741 case $ac_mode$ac_tag in
7742 :[FHL]*:*);;
7743 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7744 :[FH]-) ac_tag=-:-;;
7745 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7746 esac
7747 ac_save_IFS=$IFS
7748 IFS=:
7749 set x $ac_tag
7750 IFS=$ac_save_IFS
7751 shift
7752 ac_file=$1
7753 shift
7754
7755 case $ac_mode in
7756 :L) ac_source=$1;;
7757 :[FH])
7758 ac_file_inputs=
7759 for ac_f
7760 do
7761 case $ac_f in
7762 -) ac_f="$ac_tmp/stdin";;
7763 *) # Look for the file first in the build tree, then in the source tree
7764 # (if the path is not absolute). The absolute path cannot be DOS-style,
7765 # because $ac_f cannot contain `:'.
7766 test -f "$ac_f" ||
7767 case $ac_f in
7768 [\\/$]*) false;;
7769 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7770 esac ||
7771 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7772 esac
7773 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7774 as_fn_append ac_file_inputs " '$ac_f'"
7775 done
7776
7777 # Let's still pretend it is `configure' which instantiates (i.e., don't
7778 # use $as_me), people would be surprised to read:
7779 # /* config.h. Generated by config.status. */
7780 configure_input='Generated from '`
7781 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7782 `' by configure.'
7783 if test x"$ac_file" != x-; then
7784 configure_input="$ac_file. $configure_input"
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7786 $as_echo "$as_me: creating $ac_file" >&6;}
7787 fi
7788 # Neutralize special characters interpreted by sed in replacement strings.
7789 case $configure_input in #(
7790 *\&* | *\|* | *\\* )
7791 ac_sed_conf_input=`$as_echo "$configure_input" |
7792 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7793 *) ac_sed_conf_input=$configure_input;;
7794 esac
7795
7796 case $ac_tag in
7797 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7799 esac
7800 ;;
7801 esac
7802
7803 ac_dir=`$as_dirname -- "$ac_file" ||
7804 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7805 X"$ac_file" : 'X\(//\)[^/]' \| \
7806 X"$ac_file" : 'X\(//\)$' \| \
7807 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7808 $as_echo X"$ac_file" |
7809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7810 s//\1/
7811 q
7812 }
7813 /^X\(\/\/\)[^/].*/{
7814 s//\1/
7815 q
7816 }
7817 /^X\(\/\/\)$/{
7818 s//\1/
7819 q
7820 }
7821 /^X\(\/\).*/{
7822 s//\1/
7823 q
7824 }
7825 s/.*/./; q'`
7826 as_dir="$ac_dir"; as_fn_mkdir_p
7827 ac_builddir=.
7828
7829 case "$ac_dir" in
7830 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7831 *)
7832 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7833 # A ".." for each directory in $ac_dir_suffix.
7834 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7835 case $ac_top_builddir_sub in
7836 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7837 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7838 esac ;;
7839 esac
7840 ac_abs_top_builddir=$ac_pwd
7841 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7842 # for backward compatibility:
7843 ac_top_builddir=$ac_top_build_prefix
7844
7845 case $srcdir in
7846 .) # We are building in place.
7847 ac_srcdir=.
7848 ac_top_srcdir=$ac_top_builddir_sub
7849 ac_abs_top_srcdir=$ac_pwd ;;
7850 [\\/]* | ?:[\\/]* ) # Absolute name.
7851 ac_srcdir=$srcdir$ac_dir_suffix;
7852 ac_top_srcdir=$srcdir
7853 ac_abs_top_srcdir=$srcdir ;;
7854 *) # Relative name.
7855 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7856 ac_top_srcdir=$ac_top_build_prefix$srcdir
7857 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7858 esac
7859 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7860
7861
7862 case $ac_mode in
7863 :F)
7864 #
7865 # CONFIG_FILE
7866 #
7867
7868 case $INSTALL in
7869 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7870 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7871 esac
7872 ac_MKDIR_P=$MKDIR_P
7873 case $MKDIR_P in
7874 [\\/$]* | ?:[\\/]* ) ;;
7875 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7876 esac
7877 _ACEOF
7878
7879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7880 # If the template does not know about datarootdir, expand it.
7881 # FIXME: This hack should be removed a few years after 2.60.
7882 ac_datarootdir_hack=; ac_datarootdir_seen=
7883 ac_sed_dataroot='
7884 /datarootdir/ {
7885 p
7886 q
7887 }
7888 /@datadir@/p
7889 /@docdir@/p
7890 /@infodir@/p
7891 /@localedir@/p
7892 /@mandir@/p'
7893 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7894 *datarootdir*) ac_datarootdir_seen=yes;;
7895 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7897 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7898 _ACEOF
7899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7900 ac_datarootdir_hack='
7901 s&@datadir@&$datadir&g
7902 s&@docdir@&$docdir&g
7903 s&@infodir@&$infodir&g
7904 s&@localedir@&$localedir&g
7905 s&@mandir@&$mandir&g
7906 s&\\\${datarootdir}&$datarootdir&g' ;;
7907 esac
7908 _ACEOF
7909
7910 # Neutralize VPATH when `$srcdir' = `.'.
7911 # Shell code in configure.ac might set extrasub.
7912 # FIXME: do we really want to maintain this feature?
7913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7914 ac_sed_extra="$ac_vpsub
7915 $extrasub
7916 _ACEOF
7917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7918 :t
7919 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7920 s|@configure_input@|$ac_sed_conf_input|;t t
7921 s&@top_builddir@&$ac_top_builddir_sub&;t t
7922 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7923 s&@srcdir@&$ac_srcdir&;t t
7924 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7925 s&@top_srcdir@&$ac_top_srcdir&;t t
7926 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7927 s&@builddir@&$ac_builddir&;t t
7928 s&@abs_builddir@&$ac_abs_builddir&;t t
7929 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7930 s&@INSTALL@&$ac_INSTALL&;t t
7931 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7932 $ac_datarootdir_hack
7933 "
7934 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7935 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7936
7937 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7938 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7939 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7940 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7942 which seems to be undefined. Please make sure it is defined" >&5
7943 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7944 which seems to be undefined. Please make sure it is defined" >&2;}
7945
7946 rm -f "$ac_tmp/stdin"
7947 case $ac_file in
7948 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7949 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7950 esac \
7951 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7952 ;;
7953
7954
7955 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7956 $as_echo "$as_me: executing $ac_file commands" >&6;}
7957 ;;
7958 esac
7959
7960
7961 case $ac_file$ac_mode in
7962 "po-directories":C)
7963 for ac_file in $CONFIG_FILES; do
7964 # Support "outfile[:infile[:infile...]]"
7965 case "$ac_file" in
7966 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7967 esac
7968 # PO directories have a Makefile.in generated from Makefile.in.in.
7969 case "$ac_file" in */Makefile.in)
7970 # Adjust a relative srcdir.
7971 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7972 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
7973 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7974 # In autoconf-2.13 it is called $ac_given_srcdir.
7975 # In autoconf-2.50 it is called $srcdir.
7976 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7977 case "$ac_given_srcdir" in
7978 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7979 /*) top_srcdir="$ac_given_srcdir" ;;
7980 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7981 esac
7982 # Treat a directory as a PO directory if and only if it has a
7983 # POTFILES.in file. This allows packages to have multiple PO
7984 # directories under different names or in different locations.
7985 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7986 rm -f "$ac_dir/POTFILES"
7987 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7988 gt_tab=`printf '\t'`
7989 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7990 POMAKEFILEDEPS="POTFILES.in"
7991 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
7992 # on $ac_dir but don't depend on user-specified configuration
7993 # parameters.
7994 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7995 # The LINGUAS file contains the set of available languages.
7996 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7997 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7998 fi
7999 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8000 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8001 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8002 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8003 else
8004 # The set of available languages was given in configure.in.
8005 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8006 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8007 fi
8008 # Compute POFILES
8009 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8010 # Compute UPDATEPOFILES
8011 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8012 # Compute DUMMYPOFILES
8013 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8014 # Compute GMOFILES
8015 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8016 case "$ac_given_srcdir" in
8017 .) srcdirpre= ;;
8018 *) srcdirpre='$(srcdir)/' ;;
8019 esac
8020 POFILES=
8021 UPDATEPOFILES=
8022 DUMMYPOFILES=
8023 GMOFILES=
8024 for lang in $ALL_LINGUAS; do
8025 POFILES="$POFILES $srcdirpre$lang.po"
8026 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8027 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8028 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8029 done
8030 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8031 # environment variable.
8032 INST_LINGUAS=
8033 if test -n "$ALL_LINGUAS"; then
8034 for presentlang in $ALL_LINGUAS; do
8035 useit=no
8036 if test "%UNSET%" != "$LINGUAS"; then
8037 desiredlanguages="$LINGUAS"
8038 else
8039 desiredlanguages="$ALL_LINGUAS"
8040 fi
8041 for desiredlang in $desiredlanguages; do
8042 # Use the presentlang catalog if desiredlang is
8043 # a. equal to presentlang, or
8044 # b. a variant of presentlang (because in this case,
8045 # presentlang can be used as a fallback for messages
8046 # which are not translated in the desiredlang catalog).
8047 case "$desiredlang" in
8048 "$presentlang"*) useit=yes;;
8049 esac
8050 done
8051 if test $useit = yes; then
8052 INST_LINGUAS="$INST_LINGUAS $presentlang"
8053 fi
8054 done
8055 fi
8056 CATALOGS=
8057 if test -n "$INST_LINGUAS"; then
8058 for lang in $INST_LINGUAS; do
8059 CATALOGS="$CATALOGS $lang.gmo"
8060 done
8061 fi
8062 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8063 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8064 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8065 if test -f "$f"; then
8066 case "$f" in
8067 *.orig | *.bak | *~) ;;
8068 *) cat "$f" >> "$ac_dir/Makefile" ;;
8069 esac
8070 fi
8071 done
8072 fi
8073 ;;
8074 esac
8075 done ;;
8076 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8077 # Older Autoconf quotes --file arguments for eval, but not when files
8078 # are listed without --file. Let's play safe and only enable the eval
8079 # if we detect the quoting.
8080 case $CONFIG_FILES in
8081 *\'*) eval set x "$CONFIG_FILES" ;;
8082 *) set x $CONFIG_FILES ;;
8083 esac
8084 shift
8085 for mf
8086 do
8087 # Strip MF so we end up with the name of the file.
8088 mf=`echo "$mf" | sed -e 's/:.*$//'`
8089 # Check whether this is an Automake generated Makefile or not.
8090 # We used to match only the files named 'Makefile.in', but
8091 # some people rename them; so instead we look at the file content.
8092 # Grep'ing the first line is not enough: some people post-process
8093 # each Makefile.in and add a new line on top of each file to say so.
8094 # Grep'ing the whole file is not good either: AIX grep has a line
8095 # limit of 2048, but all sed's we know have understand at least 4000.
8096 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8097 dirpart=`$as_dirname -- "$mf" ||
8098 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8099 X"$mf" : 'X\(//\)[^/]' \| \
8100 X"$mf" : 'X\(//\)$' \| \
8101 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8102 $as_echo X"$mf" |
8103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8104 s//\1/
8105 q
8106 }
8107 /^X\(\/\/\)[^/].*/{
8108 s//\1/
8109 q
8110 }
8111 /^X\(\/\/\)$/{
8112 s//\1/
8113 q
8114 }
8115 /^X\(\/\).*/{
8116 s//\1/
8117 q
8118 }
8119 s/.*/./; q'`
8120 else
8121 continue
8122 fi
8123 # Extract the definition of DEPDIR, am__include, and am__quote
8124 # from the Makefile without running 'make'.
8125 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8126 test -z "$DEPDIR" && continue
8127 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8128 test -z "$am__include" && continue
8129 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8130 # Find all dependency output files, they are included files with
8131 # $(DEPDIR) in their names. We invoke sed twice because it is the
8132 # simplest approach to changing $(DEPDIR) to its actual value in the
8133 # expansion.
8134 for file in `sed -n "
8135 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8136 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8137 # Make sure the directory exists.
8138 test -f "$dirpart/$file" && continue
8139 fdir=`$as_dirname -- "$file" ||
8140 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8141 X"$file" : 'X\(//\)[^/]' \| \
8142 X"$file" : 'X\(//\)$' \| \
8143 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8144 $as_echo X"$file" |
8145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8146 s//\1/
8147 q
8148 }
8149 /^X\(\/\/\)[^/].*/{
8150 s//\1/
8151 q
8152 }
8153 /^X\(\/\/\)$/{
8154 s//\1/
8155 q
8156 }
8157 /^X\(\/\).*/{
8158 s//\1/
8159 q
8160 }
8161 s/.*/./; q'`
8162 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8163 # echo "creating $dirpart/$file"
8164 echo '# dummy' > "$dirpart/$file"
8165 done
8166 done
8167 }
8168 ;;
8169
8170 esac
8171 done # for ac_tag
8172
8173
8174 as_fn_exit 0
8175 _ACEOF
8176 ac_clean_files=$ac_clean_files_save
8177
8178 test $ac_write_fail = 0 ||
8179 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8180
8181
8182 # configure is writing to config.log, and then calls config.status.
8183 # config.status does its own redirection, appending to config.log.
8184 # Unfortunately, on DOS this fails, as config.log is still kept open
8185 # by configure, so config.status won't be able to write to it; its
8186 # output is simply discarded. So we exec the FD to /dev/null,
8187 # effectively closing config.log, so it can be properly (re)opened and
8188 # appended to by config.status. When coming back to configure, we
8189 # need to make the FD available again.
8190 if test "$no_create" != yes; then
8191 ac_cs_success=:
8192 ac_config_status_args=
8193 test "$silent" = yes &&
8194 ac_config_status_args="$ac_config_status_args --quiet"
8195 exec 5>/dev/null
8196 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8197 exec 5>>config.log
8198 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8199 # would make configure fail if this is the last instruction.
8200 $ac_cs_success || as_fn_exit 1
8201 fi
8202 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8204 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8205 fi
8206
+0
-98
configure.ac less more
0 AC_PREREQ(2.63)
1 AC_INIT([gnome-shell-extensions],[3.26.2],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
2
3 AC_CONFIG_MACRO_DIR([m4])
4 AC_CONFIG_AUX_DIR([config])
5
6 AM_INIT_AUTOMAKE([1.10 dist-xz no-dist-gzip foreign tar-ustar])
7
8 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
9
10 GETTEXT_PACKAGE=gnome-shell-extensions
11 AC_SUBST(GETTEXT_PACKAGE)
12 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
13 [The prefix for our gettext translation domains.])
14
15 AM_GNU_GETTEXT_VERSION([0.19.6])
16 AM_GNU_GETTEXT([external])
17
18 PKG_PROG_PKG_CONFIG([0.22])
19
20 GLIB_GSETTINGS
21
22 SHELL_VERSION="$PACKAGE_VERSION"
23 shell_major=`echo "$PACKAGE_VERSION" | cut -d'.' -f1`
24 shell_minor=`echo "$PACKAGE_VERSION" | cut -d'.' -f2`
25 if test "$(($shell_minor % 2))" -eq 0; then
26 SHELL_VERSION="$shell_major.$shell_minor"
27 fi
28 AC_SUBST([SHELL_VERSION])
29
30 dnl keep this in alphabetic order
31 CLASSIC_EXTENSIONS="apps-menu places-menu alternate-tab launch-new-instance window-list"
32 DEFAULT_EXTENSIONS="$CLASSIC_EXTENSIONS drive-menu screenshot-window-sizer windowsNavigator workspace-indicator"
33 ALL_EXTENSIONS="$DEFAULT_EXTENSIONS auto-move-windows example native-window-placement user-theme"
34 AC_SUBST(CLASSIC_EXTENSIONS, [$CLASSIC_EXTENSIONS])
35 AC_SUBST(ALL_EXTENSIONS, [$ALL_EXTENSIONS])
36 AC_ARG_ENABLE([extensions],
37 [AS_HELP_STRING([--enable-extensions],[Space separated list of extensions to enable.
38 The default is to build and distribute all extensions that can be installed in the home directory and have no external depedencies.
39 Use "all" to enable all available extensions, or "classic-mode" to enable extensions that restore GNOME 2 functionality.])],
40 [],
41 [enable_extensions=$DEFAULT_EXTENSIONS]
42 )
43
44 if test x"$enable_extensions" = xall; then
45 enable_extensions="$ALL_EXTENSIONS"
46 enable_classic_mode_default=yes
47 elif test x"$enable_extensions" = xclassic-mode; then
48 enable_extensions="$CLASSIC_EXTENSIONS"
49 enable_classic_mode_default=yes
50 else
51 enable_classic_mode_default=no
52 fi
53
54 AC_ARG_ENABLE([classic-mode],
55 [AS_HELP_STRING([--enable-classic-mode],[Enable installing data files for classic mode.
56 Defaults to yes if enabling all or classic-mode extensions, and no otherwise.])],
57 [],
58 [enable_classic_mode=$enable_classic_mode_default])
59 AM_CONDITIONAL([CLASSIC_MODE], [test x"$enable_classic_mode" != xno])
60
61 ENABLED_EXTENSIONS=
62 for e in $enable_extensions; do
63 case $e in
64 dnl keep this in alphabetic order
65 alternate-tab|apps-menu|auto-move-windows|drive-menu|example|launch-new-instance|native-window-placement|places-menu|screenshot-window-sizer|user-theme|window-list|windowsNavigator|workspace-indicator)
66 ENABLED_EXTENSIONS="$ENABLED_EXTENSIONS $e"
67 ;;
68 *)
69 AC_MSG_ERROR([invalid extension $e])
70 esac
71 done
72
73 AC_SUBST(ENABLED_EXTENSIONS, [$ENABLED_EXTENSIONS])
74
75 AC_PATH_PROG([SASSC],[sassc],[])
76
77 dnl Please keep this sorted alphabetically
78 AC_CONFIG_FILES([
79 data/Makefile
80 extensions/alternate-tab/Makefile
81 extensions/apps-menu/Makefile
82 extensions/auto-move-windows/Makefile
83 extensions/drive-menu/Makefile
84 extensions/example/Makefile
85 extensions/launch-new-instance/Makefile
86 extensions/native-window-placement/Makefile
87 extensions/places-menu/Makefile
88 extensions/screenshot-window-sizer/Makefile
89 extensions/user-theme/Makefile
90 extensions/window-list/Makefile
91 extensions/windowsNavigator/Makefile
92 extensions/workspace-indicator/Makefile
93 extensions/Makefile
94 Makefile
95 po/Makefile.in
96 ])
97 AC_OUTPUT
0 To update the gnome-shell-sass submodule to latest upstream commit:
1 git submodule update --rebase
+0
-73
data/Makefile.am less more
0 include $(top_srcdir)/include.mk
1
2 sessiondir = $(datadir)/gnome-session/sessions
3 session_in_files = gnome-classic.session.desktop.in
4 session_DATA = $(session_in_files:.session.desktop.in=.session)
5
6 xsessiondir = $(datadir)/xsessions
7 xsession_in_files = gnome-classic.desktop.in
8 xsession_DATA = $(xsession_in_files:.desktop.in=.desktop)
9
10 modedir = $(datadir)/gnome-shell/modes
11 mode_in_files = classic.json.in
12 mode_DATA = $(mode_in_files:.json.in=.json)
13
14 themedir = $(datadir)/gnome-shell/theme
15 theme_DATA = \
16 $(srcdir)/calendar-today.svg \
17 $(srcdir)/classic-process-working.svg \
18 $(srcdir)/classic-toggle-off-intl.svg \
19 $(srcdir)/classic-toggle-off-us.svg \
20 $(srcdir)/classic-toggle-on-intl.svg \
21 $(srcdir)/classic-toggle-on-us.svg \
22 $(srcdir)/gnome-classic.css \
23 $(srcdir)/gnome-classic-high-contrast.css \
24 $(NULL)
25
26 theme_sources = \
27 $(srcdir)/gnome-classic.scss \
28 $(srcdir)/gnome-shell-sass/_colors.scss \
29 $(srcdir)/gnome-shell-sass/_common.scss \
30 $(srcdir)/gnome-shell-sass/_drawing.scss \
31 $(srcdir)/gnome-shell-sass/_high-contrast-colors.scss \
32 $(NULL)
33
34 %.css: %.scss $(theme_sources)
35 @if test -n "$(SASSC)"; then \
36 if $(AM_V_P); then PS4= set -x; else echo " GEN $@"; fi; \
37 $(SASSC) -a $< $@; \
38 fi
39
40 gsettings_SCHEMAS = org.gnome.shell.extensions.classic-overrides.gschema.xml
41
42 @GSETTINGS_RULES@
43
44 %.desktop:%.desktop.in
45 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
46
47 %.session: %.session.desktop.in
48 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
49
50 comma:=,
51 empty:=
52 space:= $(empty) $(empty)
53 extensions:=$(patsubst %,\"%$(extensionbase)\",$(CLASSIC_EXTENSIONS))
54 extension_list:=$(subst $(space),$(comma),$(extensions))
55 %.json:%.json.in
56 $(AM_V_GEN) sed \
57 -e "s|\@CLASSIC_EXTENSIONS\@|$(extension_list)|g" \
58 $< > $@
59
60 EXTRA_DIST = \
61 $(session_in_files) \
62 $(xsession_in_files) \
63 $(mode_in_files) \
64 $(gsettings_SCHEMAS) \
65 $(theme_DATA) \
66 $(NULL)
67
68 CLEANFILES = \
69 $(session_DATA) \
70 $(xsession_DATA) \
71 $(mode_DATA) \
72 $(NULL)
+0
-639
data/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = data
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
101 mkinstalldirs = $(install_sh) -d
102 CONFIG_CLEAN_FILES =
103 CONFIG_CLEAN_VPATH_FILES =
104 AM_V_P = $(am__v_P_@AM_V@)
105 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
106 am__v_P_0 = false
107 am__v_P_1 = :
108 AM_V_GEN = $(am__v_GEN_@AM_V@)
109 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
110 am__v_GEN_0 = @echo " GEN " $@;
111 am__v_GEN_1 =
112 AM_V_at = $(am__v_at_@AM_V@)
113 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
114 am__v_at_0 = @
115 am__v_at_1 =
116 SOURCES =
117 DIST_SOURCES =
118 am__can_run_installinfo = \
119 case $$AM_UPDATE_INFO_DIR in \
120 n|no|NO) false;; \
121 *) (install-info --version) >/dev/null 2>&1;; \
122 esac
123 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
124 am__vpath_adj = case $$p in \
125 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
126 *) f=$$p;; \
127 esac;
128 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
129 am__install_max = 40
130 am__nobase_strip_setup = \
131 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
132 am__nobase_strip = \
133 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
134 am__nobase_list = $(am__nobase_strip_setup); \
135 for p in $$list; do echo "$$p $$p"; done | \
136 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
137 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
138 if (++n[$$2] == $(am__install_max)) \
139 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
140 END { for (dir in files) print dir, files[dir] }'
141 am__base_list = \
142 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
143 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
144 am__uninstall_files_from_dir = { \
145 test -z "$$files" \
146 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
147 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
148 $(am__cd) "$$dir" && rm -f $$files; }; \
149 }
150 am__installdirs = "$(DESTDIR)$(modedir)" "$(DESTDIR)$(sessiondir)" \
151 "$(DESTDIR)$(themedir)" "$(DESTDIR)$(xsessiondir)"
152 DATA = $(mode_DATA) $(session_DATA) $(theme_DATA) $(xsession_DATA)
153 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
154 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/include.mk
155 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
156 ACLOCAL = @ACLOCAL@
157 ALL_EXTENSIONS = @ALL_EXTENSIONS@
158 AMTAR = @AMTAR@
159 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
160 AUTOCONF = @AUTOCONF@
161 AUTOHEADER = @AUTOHEADER@
162 AUTOMAKE = @AUTOMAKE@
163 AWK = @AWK@
164 CC = @CC@
165 CCDEPMODE = @CCDEPMODE@
166 CFLAGS = @CFLAGS@
167 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
168 CPP = @CPP@
169 CPPFLAGS = @CPPFLAGS@
170 CYGPATH_W = @CYGPATH_W@
171 DEFS = @DEFS@
172 DEPDIR = @DEPDIR@
173 ECHO_C = @ECHO_C@
174 ECHO_N = @ECHO_N@
175 ECHO_T = @ECHO_T@
176 EGREP = @EGREP@
177 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
178 EXEEXT = @EXEEXT@
179 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
180 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
181 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
182 GMSGFMT = @GMSGFMT@
183 GMSGFMT_015 = @GMSGFMT_015@
184 GREP = @GREP@
185 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
186 INSTALL = @INSTALL@
187 INSTALL_DATA = @INSTALL_DATA@
188 INSTALL_PROGRAM = @INSTALL_PROGRAM@
189 INSTALL_SCRIPT = @INSTALL_SCRIPT@
190 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
191 INTLLIBS = @INTLLIBS@
192 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
193 LDFLAGS = @LDFLAGS@
194 LIBICONV = @LIBICONV@
195 LIBINTL = @LIBINTL@
196 LIBOBJS = @LIBOBJS@
197 LIBS = @LIBS@
198 LTLIBICONV = @LTLIBICONV@
199 LTLIBINTL = @LTLIBINTL@
200 LTLIBOBJS = @LTLIBOBJS@
201 MAKEINFO = @MAKEINFO@
202 MKDIR_P = @MKDIR_P@
203 MSGFMT = @MSGFMT@
204 MSGFMT_015 = @MSGFMT_015@
205 MSGMERGE = @MSGMERGE@
206 OBJEXT = @OBJEXT@
207 PACKAGE = @PACKAGE@
208 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
209 PACKAGE_NAME = @PACKAGE_NAME@
210 PACKAGE_STRING = @PACKAGE_STRING@
211 PACKAGE_TARNAME = @PACKAGE_TARNAME@
212 PACKAGE_URL = @PACKAGE_URL@
213 PACKAGE_VERSION = @PACKAGE_VERSION@
214 PATH_SEPARATOR = @PATH_SEPARATOR@
215 PKG_CONFIG = @PKG_CONFIG@
216 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
217 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
218 POSUB = @POSUB@
219 SASSC = @SASSC@
220 SED = @SED@
221 SET_MAKE = @SET_MAKE@
222 SHELL = @SHELL@
223 SHELL_VERSION = @SHELL_VERSION@
224 STRIP = @STRIP@
225 USE_NLS = @USE_NLS@
226 VERSION = @VERSION@
227 XGETTEXT = @XGETTEXT@
228 XGETTEXT_015 = @XGETTEXT_015@
229 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
230 abs_builddir = @abs_builddir@
231 abs_srcdir = @abs_srcdir@
232 abs_top_builddir = @abs_top_builddir@
233 abs_top_srcdir = @abs_top_srcdir@
234 ac_ct_CC = @ac_ct_CC@
235 am__include = @am__include@
236 am__leading_dot = @am__leading_dot@
237 am__quote = @am__quote@
238 am__tar = @am__tar@
239 am__untar = @am__untar@
240 bindir = @bindir@
241 build = @build@
242 build_alias = @build_alias@
243 build_cpu = @build_cpu@
244 build_os = @build_os@
245 build_vendor = @build_vendor@
246 builddir = @builddir@
247 datadir = @datadir@
248 datarootdir = @datarootdir@
249 docdir = @docdir@
250 dvidir = @dvidir@
251 exec_prefix = @exec_prefix@
252 gsettingsschemadir = @gsettingsschemadir@
253 host = @host@
254 host_alias = @host_alias@
255 host_cpu = @host_cpu@
256 host_os = @host_os@
257 host_vendor = @host_vendor@
258 htmldir = @htmldir@
259 includedir = @includedir@
260 infodir = @infodir@
261 install_sh = @install_sh@
262 libdir = @libdir@
263 libexecdir = @libexecdir@
264 localedir = @localedir@
265 localstatedir = @localstatedir@
266 mandir = @mandir@
267 mkdir_p = @mkdir_p@
268 oldincludedir = @oldincludedir@
269 pdfdir = @pdfdir@
270 prefix = @prefix@
271 program_transform_name = @program_transform_name@
272 psdir = @psdir@
273 sbindir = @sbindir@
274 sharedstatedir = @sharedstatedir@
275 srcdir = @srcdir@
276 sysconfdir = @sysconfdir@
277 target_alias = @target_alias@
278 top_build_prefix = @top_build_prefix@
279 top_builddir = @top_builddir@
280 top_srcdir = @top_srcdir@
281 extensionurl = http://git.gnome.org/gnome-shell-extensions
282
283 # Change these to modify how installation is performed
284 topextensiondir = $(datadir)/gnome-shell/extensions
285 extensionbase = @gnome-shell-extensions.gcampax.github.com
286 gschemabase = org.gnome.shell.extensions
287 uuid = $(EXTENSION_ID)$(extensionbase)
288 gschemaname = $(gschemabase).$(EXTENSION_ID)
289 extensiondir = $(topextensiondir)/$(uuid)
290 sessiondir = $(datadir)/gnome-session/sessions
291 session_in_files = gnome-classic.session.desktop.in
292 session_DATA = $(session_in_files:.session.desktop.in=.session)
293 xsessiondir = $(datadir)/xsessions
294 xsession_in_files = gnome-classic.desktop.in
295 xsession_DATA = $(xsession_in_files:.desktop.in=.desktop)
296 modedir = $(datadir)/gnome-shell/modes
297 mode_in_files = classic.json.in
298 mode_DATA = $(mode_in_files:.json.in=.json)
299 themedir = $(datadir)/gnome-shell/theme
300 theme_DATA = \
301 $(srcdir)/calendar-today.svg \
302 $(srcdir)/classic-process-working.svg \
303 $(srcdir)/classic-toggle-off-intl.svg \
304 $(srcdir)/classic-toggle-off-us.svg \
305 $(srcdir)/classic-toggle-on-intl.svg \
306 $(srcdir)/classic-toggle-on-us.svg \
307 $(srcdir)/gnome-classic.css \
308 $(srcdir)/gnome-classic-high-contrast.css \
309 $(NULL)
310
311 theme_sources = \
312 $(srcdir)/gnome-classic.scss \
313 $(srcdir)/gnome-shell-sass/_colors.scss \
314 $(srcdir)/gnome-shell-sass/_common.scss \
315 $(srcdir)/gnome-shell-sass/_drawing.scss \
316 $(srcdir)/gnome-shell-sass/_high-contrast-colors.scss \
317 $(NULL)
318
319 gsettings_SCHEMAS = org.gnome.shell.extensions.classic-overrides.gschema.xml
320 comma := ,
321 empty :=
322 space := $(empty) $(empty)
323 extensions := $(patsubst %,\"%$(extensionbase)\",$(CLASSIC_EXTENSIONS))
324 extension_list := $(subst $(space),$(comma),$(extensions))
325 EXTRA_DIST = \
326 $(session_in_files) \
327 $(xsession_in_files) \
328 $(mode_in_files) \
329 $(gsettings_SCHEMAS) \
330 $(theme_DATA) \
331 $(NULL)
332
333 CLEANFILES = \
334 $(session_DATA) \
335 $(xsession_DATA) \
336 $(mode_DATA) \
337 $(NULL)
338
339 all: all-am
340
341 .SUFFIXES:
342 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/include.mk $(am__configure_deps)
343 @for dep in $?; do \
344 case '$(am__configure_deps)' in \
345 *$$dep*) \
346 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
347 && { if test -f $@; then exit 0; else break; fi; }; \
348 exit 1;; \
349 esac; \
350 done; \
351 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \
352 $(am__cd) $(top_srcdir) && \
353 $(AUTOMAKE) --foreign data/Makefile
354 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
355 @case '$?' in \
356 *config.status*) \
357 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
358 *) \
359 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
360 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
361 esac;
362 $(top_srcdir)/include.mk $(am__empty):
363
364 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
365 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
366
367 $(top_srcdir)/configure: $(am__configure_deps)
368 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
369 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
370 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
371 $(am__aclocal_m4_deps):
372 install-modeDATA: $(mode_DATA)
373 @$(NORMAL_INSTALL)
374 @list='$(mode_DATA)'; test -n "$(modedir)" || list=; \
375 if test -n "$$list"; then \
376 echo " $(MKDIR_P) '$(DESTDIR)$(modedir)'"; \
377 $(MKDIR_P) "$(DESTDIR)$(modedir)" || exit 1; \
378 fi; \
379 for p in $$list; do \
380 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
381 echo "$$d$$p"; \
382 done | $(am__base_list) | \
383 while read files; do \
384 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(modedir)'"; \
385 $(INSTALL_DATA) $$files "$(DESTDIR)$(modedir)" || exit $$?; \
386 done
387
388 uninstall-modeDATA:
389 @$(NORMAL_UNINSTALL)
390 @list='$(mode_DATA)'; test -n "$(modedir)" || list=; \
391 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
392 dir='$(DESTDIR)$(modedir)'; $(am__uninstall_files_from_dir)
393 install-sessionDATA: $(session_DATA)
394 @$(NORMAL_INSTALL)
395 @list='$(session_DATA)'; test -n "$(sessiondir)" || list=; \
396 if test -n "$$list"; then \
397 echo " $(MKDIR_P) '$(DESTDIR)$(sessiondir)'"; \
398 $(MKDIR_P) "$(DESTDIR)$(sessiondir)" || exit 1; \
399 fi; \
400 for p in $$list; do \
401 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
402 echo "$$d$$p"; \
403 done | $(am__base_list) | \
404 while read files; do \
405 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sessiondir)'"; \
406 $(INSTALL_DATA) $$files "$(DESTDIR)$(sessiondir)" || exit $$?; \
407 done
408
409 uninstall-sessionDATA:
410 @$(NORMAL_UNINSTALL)
411 @list='$(session_DATA)'; test -n "$(sessiondir)" || list=; \
412 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
413 dir='$(DESTDIR)$(sessiondir)'; $(am__uninstall_files_from_dir)
414 install-themeDATA: $(theme_DATA)
415 @$(NORMAL_INSTALL)
416 @list='$(theme_DATA)'; test -n "$(themedir)" || list=; \
417 if test -n "$$list"; then \
418 echo " $(MKDIR_P) '$(DESTDIR)$(themedir)'"; \
419 $(MKDIR_P) "$(DESTDIR)$(themedir)" || exit 1; \
420 fi; \
421 for p in $$list; do \
422 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
423 echo "$$d$$p"; \
424 done | $(am__base_list) | \
425 while read files; do \
426 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \
427 $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \
428 done
429
430 uninstall-themeDATA:
431 @$(NORMAL_UNINSTALL)
432 @list='$(theme_DATA)'; test -n "$(themedir)" || list=; \
433 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
434 dir='$(DESTDIR)$(themedir)'; $(am__uninstall_files_from_dir)
435 install-xsessionDATA: $(xsession_DATA)
436 @$(NORMAL_INSTALL)
437 @list='$(xsession_DATA)'; test -n "$(xsessiondir)" || list=; \
438 if test -n "$$list"; then \
439 echo " $(MKDIR_P) '$(DESTDIR)$(xsessiondir)'"; \
440 $(MKDIR_P) "$(DESTDIR)$(xsessiondir)" || exit 1; \
441 fi; \
442 for p in $$list; do \
443 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
444 echo "$$d$$p"; \
445 done | $(am__base_list) | \
446 while read files; do \
447 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xsessiondir)'"; \
448 $(INSTALL_DATA) $$files "$(DESTDIR)$(xsessiondir)" || exit $$?; \
449 done
450
451 uninstall-xsessionDATA:
452 @$(NORMAL_UNINSTALL)
453 @list='$(xsession_DATA)'; test -n "$(xsessiondir)" || list=; \
454 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
455 dir='$(DESTDIR)$(xsessiondir)'; $(am__uninstall_files_from_dir)
456 tags TAGS:
457
458 ctags CTAGS:
459
460 cscope cscopelist:
461
462
463 distdir: $(DISTFILES)
464 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
465 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
466 list='$(DISTFILES)'; \
467 dist_files=`for file in $$list; do echo $$file; done | \
468 sed -e "s|^$$srcdirstrip/||;t" \
469 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
470 case $$dist_files in \
471 */*) $(MKDIR_P) `echo "$$dist_files" | \
472 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
473 sort -u` ;; \
474 esac; \
475 for file in $$dist_files; do \
476 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
477 if test -d $$d/$$file; then \
478 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
479 if test -d "$(distdir)/$$file"; then \
480 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
481 fi; \
482 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
483 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
484 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
485 fi; \
486 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
487 else \
488 test -f "$(distdir)/$$file" \
489 || cp -p $$d/$$file "$(distdir)/$$file" \
490 || exit 1; \
491 fi; \
492 done
493 check-am: all-am
494 check: check-am
495 all-am: Makefile $(DATA)
496 installdirs:
497 for dir in "$(DESTDIR)$(modedir)" "$(DESTDIR)$(sessiondir)" "$(DESTDIR)$(themedir)" "$(DESTDIR)$(xsessiondir)"; do \
498 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
499 done
500 install: install-am
501 install-exec: install-exec-am
502 install-data: install-data-am
503 uninstall: uninstall-am
504
505 install-am: all-am
506 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
507
508 installcheck: installcheck-am
509 install-strip:
510 if test -z '$(STRIP)'; then \
511 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
512 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
513 install; \
514 else \
515 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
516 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
517 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
518 fi
519 mostlyclean-generic:
520
521 clean-generic:
522 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
523
524 distclean-generic:
525 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
526 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
527
528 maintainer-clean-generic:
529 @echo "This command is intended for maintainers to use"
530 @echo "it deletes files that may require special tools to rebuild."
531 clean: clean-am
532
533 clean-am: clean-generic mostlyclean-am
534
535 distclean: distclean-am
536 -rm -f Makefile
537 distclean-am: clean-am distclean-generic
538
539 dvi: dvi-am
540
541 dvi-am:
542
543 html: html-am
544
545 html-am:
546
547 info: info-am
548
549 info-am:
550
551 install-data-am: install-modeDATA install-sessionDATA \
552 install-themeDATA install-xsessionDATA
553
554 install-dvi: install-dvi-am
555
556 install-dvi-am:
557
558 install-exec-am:
559
560 install-html: install-html-am
561
562 install-html-am:
563
564 install-info: install-info-am
565
566 install-info-am:
567
568 install-man:
569
570 install-pdf: install-pdf-am
571
572 install-pdf-am:
573
574 install-ps: install-ps-am
575
576 install-ps-am:
577
578 installcheck-am:
579
580 maintainer-clean: maintainer-clean-am
581 -rm -f Makefile
582 maintainer-clean-am: distclean-am maintainer-clean-generic
583
584 mostlyclean: mostlyclean-am
585
586 mostlyclean-am: mostlyclean-generic
587
588 pdf: pdf-am
589
590 pdf-am:
591
592 ps: ps-am
593
594 ps-am:
595
596 uninstall-am: uninstall-modeDATA uninstall-sessionDATA \
597 uninstall-themeDATA uninstall-xsessionDATA
598
599 .MAKE: install-am install-strip
600
601 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
602 ctags-am distclean distclean-generic distdir dvi dvi-am html \
603 html-am info info-am install install-am install-data \
604 install-data-am install-dvi install-dvi-am install-exec \
605 install-exec-am install-html install-html-am install-info \
606 install-info-am install-man install-modeDATA install-pdf \
607 install-pdf-am install-ps install-ps-am install-sessionDATA \
608 install-strip install-themeDATA install-xsessionDATA \
609 installcheck installcheck-am installdirs maintainer-clean \
610 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
611 pdf-am ps ps-am tags-am uninstall uninstall-am \
612 uninstall-modeDATA uninstall-sessionDATA uninstall-themeDATA \
613 uninstall-xsessionDATA
614
615 .PRECIOUS: Makefile
616
617
618 %.css: %.scss $(theme_sources)
619 @if test -n "$(SASSC)"; then \
620 if $(AM_V_P); then PS4= set -x; else echo " GEN $@"; fi; \
621 $(SASSC) -a $< $@; \
622 fi
623
624 @GSETTINGS_RULES@
625
626 %.desktop:%.desktop.in
627 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
628
629 %.session: %.session.desktop.in
630 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
631 %.json:%.json.in
632 $(AM_V_GEN) sed \
633 -e "s|\@CLASSIC_EXTENSIONS\@|$(extension_list)|g" \
634 $< > $@
635
636 # Tell versions [3.59,3.63) of GNU make to not export all variables.
637 # Otherwise a system limit (for SysV at least) may be exceeded.
638 .NOEXPORT:
+0
-1957
data/gnome-classic.css less more
0 /* Use the gnome-shell theme, but with light colors */
1 /* This stylesheet is generated, DO NOT EDIT */
2 /* Copyright 2009, 2015 Red Hat, Inc.
3 *
4 * Portions adapted from Mx's data/style/default.css
5 * Copyright 2009 Intel Corporation
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU Lesser General Public License,
9 * version 2.1, as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20 /* GLOBALS */
21 stage {
22 font-family: Cantarell, Sans-Serif;
23 font-size: 11pt;
24 color: #2e3436; }
25
26 /* WIDGETS */
27 /* Buttons */
28 .button {
29 border-radius: 3px;
30 border-width: 1px;
31 padding: 4px 32px;
32 color: #eeeeec;
33 background-color: #2e3436;
34 border-color: rgba(0, 0, 0, 0.7);
35 box-shadow: inset 0 1px #454f52;
36 text-shadow: 0 1px black;
37 icon-shadow: 0 1px black; }
38 .button:focus {
39 color: #eeeeec;
40 text-shadow: 0 1px black;
41 icon-shadow: 0 1px black;
42 box-shadow: inset 0px 0px 0px 1px #4a90d9; }
43 .button:insensitive {
44 color: #8e9192;
45 border-color: rgba(0, 0, 0, 0.7);
46 background-color: rgba(65, 71, 72, 0.7);
47 box-shadow: none;
48 text-shadow: none;
49 icon-shadow: none; }
50 .button:active {
51 color: white;
52 border-color: rgba(0, 0, 0, 0.7);
53 background-color: #222728;
54 box-shadow: inset 0 0 black;
55 text-shadow: none;
56 icon-shadow: none; }
57
58 .modal-dialog-linked-button {
59 border-right-width: 1px;
60 color: #eeeeec;
61 background-color: #2e3436;
62 border-color: rgba(0, 0, 0, 0.7);
63 box-shadow: inset 0 1px #454f52;
64 text-shadow: 0 1px black;
65 icon-shadow: 0 1px black;
66 padding: 12px; }
67 .modal-dialog-linked-button:insensitive {
68 color: #8e9192;
69 border-color: rgba(0, 0, 0, 0.7);
70 background-color: rgba(65, 71, 72, 0.7);
71 box-shadow: none;
72 text-shadow: none;
73 icon-shadow: none; }
74 .modal-dialog-linked-button:active {
75 color: white;
76 border-color: rgba(0, 0, 0, 0.7);
77 background-color: #222728;
78 box-shadow: inset 0 0 black;
79 text-shadow: none;
80 icon-shadow: none; }
81 .modal-dialog-linked-button:focus {
82 color: #eeeeec;
83 text-shadow: 0 1px black;
84 icon-shadow: 0 1px black;
85 box-shadow: inset 0px 0px 0px 1px #4a90d9; }
86 .modal-dialog-linked-button:first-child {
87 border-radius: 0px 0px 0px 6px; }
88 .modal-dialog-linked-button:last-child {
89 border-right-width: 0px;
90 border-radius: 0px 0px 6px 0px; }
91 .modal-dialog-linked-button:first-child:last-child {
92 border-right-width: 0px;
93 border-radius: 0px 0px 6px 6px; }
94
95 /* Entries */
96 StEntry {
97 border-radius: 3px;
98 padding: 4px;
99 border-width: 1px;
100 color: #2e3436;
101 background-color: #ffffff;
102 border-color: #a1a1a1;
103 box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
104 selection-background-color: #4a90d9;
105 selected-color: #ffffff; }
106 StEntry:focus {
107 box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
108 border-color: rgba(0, 0, 0, 0.5); }
109 StEntry:insensitive {
110 color: #8e9192;
111 border-color: #f4f4f4;
112 box-shadow: none; }
113 StEntry StIcon.capslock-warning {
114 icon-size: 16px;
115 warning-color: #f57900;
116 padding: 0 4px; }
117
118 /* Scrollbars */
119 StScrollView.vfade {
120 -st-vfade-offset: 68px; }
121
122 StScrollView.hfade {
123 -st-hfade-offset: 68px; }
124
125 StScrollBar {
126 padding: 0; }
127 StScrollView StScrollBar {
128 min-width: 14px;
129 min-height: 14px; }
130 StScrollBar StBin#trough {
131 border-radius: 0;
132 background-color: transparent; }
133 StScrollBar StButton#vhandle, StScrollBar StButton#hhandle {
134 border-radius: 8px;
135 background-color: #7a7e7f;
136 margin: 3px; }
137 StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover {
138 background-color: #54595b; }
139 StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
140 background-color: #4a90d9; }
141
142 /* Slider */
143 .slider {
144 height: 1em;
145 -slider-height: 0.3em;
146 -slider-background-color: #f4f4f4;
147 -slider-border-color: #a1a1a1;
148 -slider-active-background-color: #4a90d9;
149 -slider-active-border-color: #2a76c6;
150 -slider-border-width: 1px;
151 -slider-handle-radius: 6px; }
152
153 /* Check Boxes */
154 .check-box StBoxLayout {
155 spacing: .8em; }
156
157 .check-box StBin {
158 width: 24px;
159 height: 22px;
160 background-image: url("resource:///org/gnome/shell/theme/checkbox-off.svg"); }
161
162 .check-box:focus StBin {
163 background-image: url("resource:///org/gnome/shell/theme/checkbox-off-focused.svg"); }
164
165 .check-box:checked StBin {
166 background-image: url("resource:///org/gnome/shell/theme/checkbox.svg"); }
167
168 .check-box:focus:checked StBin {
169 background-image: url("resource:///org/gnome/shell/theme/checkbox-focused.svg"); }
170
171 /* Switches */
172 .toggle-switch {
173 width: 65px;
174 height: 22px;
175 background-size: contain; }
176
177 .toggle-switch-us {
178 background-image: url("resource:///org/gnome/shell/theme/toggle-off-us.svg"); }
179 .toggle-switch-us:checked {
180 background-image: url("resource:///org/gnome/shell/theme/toggle-on-us.svg"); }
181
182 .toggle-switch-intl {
183 background-image: url("resource:///org/gnome/shell/theme/toggle-off-intl.svg"); }
184 .toggle-switch-intl:checked {
185 background-image: url("resource:///org/gnome/shell/theme/toggle-on-intl.svg"); }
186
187 /* links */
188 .shell-link {
189 color: #2a76c6; }
190 .shell-link:hover {
191 color: #4a90d9; }
192
193 /* Modal Dialogs */
194 .headline {
195 font-size: 110%; }
196
197 .lightbox {
198 background-color: black; }
199
200 .flashspot {
201 background-color: white; }
202
203 .modal-dialog {
204 border-radius: 9px;
205 color: #eeeeec;
206 background-color: rgba(23, 25, 26, 0.95);
207 border: 1px solid rgba(238, 238, 236, 0.2); }
208 .modal-dialog .modal-dialog-content-box {
209 padding: 24px; }
210 .modal-dialog .run-dialog-entry {
211 width: 20em;
212 margin-bottom: 6px; }
213 .modal-dialog .run-dialog-error-box {
214 padding-top: 16px;
215 spacing: 6px; }
216 .modal-dialog .run-dialog-button-box {
217 padding-top: 1em; }
218 .modal-dialog .run-dialog-label {
219 font-size: 12pt;
220 font-weight: bold;
221 color: #d6d6d1;
222 padding-bottom: .4em; }
223
224 .mount-dialog-subject,
225 .end-session-dialog-subject {
226 font-size: 14pt; }
227
228 /* Message Dialog */
229 .message-dialog-main-layout {
230 padding: 12px 20px 0;
231 spacing: 12px; }
232
233 .message-dialog-content {
234 max-width: 28em;
235 spacing: 20px; }
236
237 .message-dialog-icon {
238 min-width: 48px;
239 icon-size: 48px; }
240
241 .message-dialog-title {
242 font-weight: bold; }
243
244 .message-dialog-subtitle {
245 color: black;
246 font-weight: bold; }
247
248 /* End Session Dialog */
249 .end-session-dialog {
250 spacing: 42px;
251 border: 1px solid rgba(238, 238, 236, 0.2); }
252
253 .end-session-dialog-list {
254 padding-top: 20px; }
255
256 .end-session-dialog-layout {
257 padding-left: 17px; }
258 .end-session-dialog-layout:rtl {
259 padding-right: 17px; }
260
261 .end-session-dialog-description {
262 width: 28em;
263 padding-bottom: 10px; }
264 .end-session-dialog-description:rtl {
265 text-align: right; }
266
267 .end-session-dialog-warning {
268 width: 28em;
269 color: #f57900;
270 padding-top: 6px; }
271 .end-session-dialog-warning:rtl {
272 text-align: right; }
273
274 .end-session-dialog-logout-icon {
275 border-radius: 5px;
276 width: 48px;
277 height: 48px;
278 background-size: contain; }
279
280 .end-session-dialog-shutdown-icon {
281 color: #2e3436;
282 width: 48px;
283 height: 48px; }
284
285 .end-session-dialog-inhibitor-layout {
286 spacing: 16px;
287 max-height: 200px;
288 padding-right: 65px;
289 padding-left: 65px; }
290
291 .end-session-dialog-session-list,
292 .end-session-dialog-app-list {
293 spacing: 1em; }
294
295 .end-session-dialog-list-header {
296 font-weight: bold; }
297 .end-session-dialog-list-header:rtl {
298 text-align: right; }
299
300 .end-session-dialog-app-list-item,
301 .end-session-dialog-session-list-item {
302 spacing: 1em; }
303
304 .end-session-dialog-app-list-item-name,
305 .end-session-dialog-session-list-item-name {
306 font-weight: bold; }
307
308 .end-session-dialog-app-list-item-description {
309 color: #222728;
310 font-size: 10pt; }
311
312 /* ShellMountOperation Dialogs */
313 .shell-mount-operation-icon {
314 icon-size: 48px; }
315
316 .mount-dialog {
317 spacing: 24px; }
318 .mount-dialog .message-dialog-title {
319 padding-top: 10px;
320 padding-left: 17px;
321 padding-bottom: 6px;
322 max-width: 34em; }
323 .mount-dialog .message-dialog-title:rtl {
324 padding-left: 0px;
325 padding-right: 17px; }
326 .mount-dialog .message-dialog-body {
327 padding-left: 17px;
328 width: 28em; }
329 .mount-dialog .message-dialog-body:rtl {
330 padding-left: 0px;
331 padding-right: 17px; }
332
333 .mount-dialog-app-list {
334 max-height: 200px;
335 padding-top: 24px;
336 padding-left: 49px;
337 padding-right: 32px; }
338
339 .mount-dialog-app-list:rtl {
340 padding-right: 49px;
341 padding-left: 32px; }
342
343 .mount-dialog-app-list-item {
344 color: #17191a; }
345 .mount-dialog-app-list-item:hover {
346 color: #2e3436; }
347 .mount-dialog-app-list-item:ltr {
348 padding-right: 1em; }
349 .mount-dialog-app-list-item:rtl {
350 padding-left: 1em; }
351
352 .mount-dialog-app-list-item-icon:ltr {
353 padding-right: 17px; }
354
355 .mount-dialog-app-list-item-icon:rtl {
356 padding-left: 17px; }
357
358 .mount-dialog-app-list-item-name {
359 font-size: 10pt; }
360
361 /* Password or Authentication Dialog */
362 .prompt-dialog {
363 width: 34em;
364 border: 3px solid rgba(238, 238, 236, 0.2); }
365 .prompt-dialog .message-dialog-main-layout {
366 spacing: 24px;
367 padding: 10px; }
368 .prompt-dialog .message-dialog-content {
369 spacing: 16px; }
370 .prompt-dialog .message-dialog-title {
371 color: #b2b2a9; }
372
373 .prompt-dialog-description:rtl {
374 text-align: right; }
375
376 .prompt-dialog-password-box {
377 spacing: 1em;
378 padding-bottom: 1em; }
379
380 .prompt-dialog-error-label {
381 font-size: 10pt;
382 color: #cc0000;
383 padding-bottom: 8px; }
384
385 .prompt-dialog-info-label {
386 font-size: 10pt;
387 padding-bottom: 8px; }
388
389 .hidden {
390 color: transparent; }
391
392 .prompt-dialog-null-label {
393 font-size: 10pt;
394 padding-bottom: 8px; }
395
396 /* Polkit Dialog */
397 .polkit-dialog-user-layout {
398 padding-left: 10px;
399 spacing: 10px; }
400 .polkit-dialog-user-layout:rtl {
401 padding-left: 0px;
402 padding-right: 10px; }
403
404 .polkit-dialog-user-root-label {
405 color: #f57900; }
406
407 .polkit-dialog-user-icon {
408 border-radius: 5px;
409 background-size: contain;
410 width: 48px;
411 height: 48px; }
412
413 /* Audio selection dialog */
414 .audio-device-selection-dialog {
415 spacing: 30px; }
416
417 .audio-selection-content {
418 spacing: 20px;
419 padding: 24px; }
420
421 .audio-selection-title {
422 font-weight: bold;
423 text-align: center; }
424
425 .audio-selection-box {
426 spacing: 20px; }
427
428 .audio-selection-device {
429 border: 1px solid rgba(238, 238, 236, 0.2);
430 border-radius: 12px; }
431 .audio-selection-device:active, .audio-selection-device:hover, .audio-selection-device:focus {
432 background-color: #4a90d9; }
433
434 .audio-selection-device-box {
435 padding: 20px;
436 spacing: 20px; }
437
438 .audio-selection-device-icon {
439 icon-size: 64px; }
440
441 /* Access Dialog */
442 .access-dialog {
443 spacing: 30px; }
444
445 /* Geolocation Dialog */
446 .geolocation-dialog {
447 spacing: 30px; }
448
449 /* Extension Dialog */
450 .extension-dialog .message-dialog-main-layout {
451 spacing: 24px;
452 padding: 10px; }
453
454 .extension-dialog .message-dialog-title {
455 color: #b2b2a9; }
456
457 /* Inhibit-Shortcuts Dialog */
458 .inhibit-shortcuts-dialog {
459 spacing: 30px; }
460
461 /* Network Agent Dialog */
462 .network-dialog-secret-table {
463 spacing-rows: 15px;
464 spacing-columns: 1em; }
465
466 .keyring-dialog-control-table {
467 spacing-rows: 15px;
468 spacing-columns: 1em; }
469
470 /* Popovers/Menus */
471 .popup-menu {
472 min-width: 15em; }
473 .popup-menu .popup-sub-menu {
474 background-color: #e8e8e8;
475 box-shadow: inset 0 -1px 0px #adadad; }
476 .popup-menu .popup-menu-content {
477 padding: 1em 0em; }
478 .popup-menu .popup-menu-item {
479 spacing: 12px; }
480 .popup-menu .popup-menu-item:ltr {
481 padding: .4em 1.75em .4em 0em; }
482 .popup-menu .popup-menu-item:rtl {
483 padding: .4em 0em .4em 1.75em; }
484 .popup-menu .popup-menu-item:checked {
485 background-color: #e8e8e8;
486 box-shadow: inset 0 1px 0px #adadad;
487 font-weight: bold; }
488 .popup-menu .popup-menu-item.selected {
489 background-color: rgba(46, 52, 54, 0.1);
490 color: #2e3436; }
491 .popup-menu .popup-menu-item:active {
492 background-color: #4a90d9;
493 color: #ffffff; }
494 .popup-menu .popup-menu-item:insensitive {
495 color: rgba(46, 52, 54, 0.5); }
496 .popup-menu .popup-inactive-menu-item {
497 color: #2e3436; }
498 .popup-menu .popup-inactive-menu-item:insensitive {
499 color: rgba(46, 52, 54, 0.5); }
500 .popup-menu.panel-menu {
501 -boxpointer-gap: 4px;
502 margin-bottom: 1.75em; }
503
504 .popup-menu-ornament {
505 text-align: right;
506 width: 1.2em; }
507
508 .popup-menu-boxpointer,
509 .candidate-popup-boxpointer {
510 -arrow-border-radius: 3px;
511 -arrow-background-color: #ededed;
512 -arrow-border-width: 1px;
513 -arrow-border-color: #a1a1a1;
514 -arrow-base: 24px;
515 -arrow-rise: 11px;
516 -arrow-box-shadow: 0 1px 3px black; }
517
518 .popup-separator-menu-item {
519 height: 1px;
520 margin: 6px 64px;
521 background-color: transparent;
522 border-color: #bababa;
523 border-bottom-width: 1px;
524 border-bottom-style: solid; }
525
526 .background-menu {
527 -boxpointer-gap: 4px;
528 -arrow-rise: 0px; }
529
530 /* fallback menu
531 - odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
532 app menu inside the main app window itself rather than the top bar
533 */
534 /* OSD */
535 .osd-window {
536 text-align: center;
537 font-weight: bold;
538 spacing: 1em;
539 margin: 32px;
540 min-width: 64px;
541 min-height: 64px; }
542 .osd-window .osd-monitor-label {
543 font-size: 3em; }
544 .osd-window .level {
545 height: 0.6em;
546 border-radius: 0.3em;
547 background-color: rgba(11, 12, 13, 0.5);
548 color: #eeeeec; }
549 .osd-window .level-bar {
550 background-color: #eeeeec;
551 border-radius: 0.3em; }
552
553 /* Pad OSD */
554 .pad-osd-window {
555 padding: 32px;
556 background-color: rgba(0, 0, 0, 0.8); }
557 .pad-osd-window .pad-osd-title-box {
558 spacing: 12px; }
559 .pad-osd-window .pad-osd-title-menu-box {
560 spacing: 6px; }
561
562 .combo-box-label {
563 width: 15em; }
564
565 /* App Switcher */
566 .switcher-popup {
567 padding: 8px;
568 spacing: 16px; }
569
570 .switcher-list-item-container {
571 spacing: 8px; }
572
573 .switcher-list .item-box {
574 padding: 8px;
575 border-radius: 4px; }
576
577 .switcher-list .item-box:outlined {
578 padding: 6px;
579 border: 2px solid #878787; }
580
581 .switcher-list .item-box:selected {
582 background-color: #4a90d9;
583 color: #ffffff; }
584
585 .switcher-list .thumbnail-box {
586 padding: 2px;
587 spacing: 4px; }
588
589 .switcher-list .thumbnail {
590 width: 256px; }
591
592 .switcher-list .separator {
593 width: 1px;
594 background: #a1a1a1; }
595
596 .switcher-arrow {
597 border-color: transparent;
598 color: rgba(46, 52, 54, 0.8); }
599 .switcher-arrow:highlighted {
600 color: #2e3436; }
601
602 .input-source-switcher-symbol {
603 font-size: 34pt;
604 width: 96px;
605 height: 96px; }
606
607 /* Window Cycler */
608 .cycler-highlight {
609 border: 5px solid #4a90d9; }
610
611 /* Workspace Switcher */
612 .workspace-switcher-group {
613 padding: 12px; }
614
615 .workspace-switcher {
616 background: transparent;
617 border: 0px;
618 border-radius: 0px;
619 padding: 0px;
620 spacing: 8px; }
621
622 .ws-switcher-active-up, .ws-switcher-active-down {
623 height: 50px;
624 background-color: #4a90d9;
625 color: #ffffff;
626 background-size: 32px;
627 border-radius: 8px; }
628
629 .ws-switcher-box {
630 height: 50px;
631 border: 1px solid rgba(238, 238, 236, 0.1);
632 background: transparent;
633 border-radius: 8px; }
634
635 .osd-window,
636 .resize-popup,
637 .switcher-list, .workspace-switcher-container {
638 color: #eeeeec;
639 background-color: #2e3436;
640 border: 1px solid rgba(238, 238, 236, 0.2);
641 border-radius: 12px;
642 padding: 12px; }
643
644 /* Tiled window previews */
645 .tile-preview {
646 background-color: rgba(74, 144, 217, 0.5);
647 border: 1px solid #4a90d9; }
648
649 .tile-preview-left.on-primary {
650 border-radius: 6px 6px 0 0; }
651
652 .tile-preview-right.on-primary {
653 border-radius: 0 6px 0 0; }
654
655 .tile-preview-left.tile-preview-right.on-primary {
656 border-radius: 6px 6px 0 0; }
657
658 /* TOP BAR */
659 #panel {
660 background-color: rgba(0, 0, 0, 0.35);
661 /* transition from solid to transparent */
662 transition-duration: 500ms;
663 font-weight: bold;
664 height: 1.86em; }
665 #panel.unlock-screen, #panel.login-screen, #panel.lock-screen {
666 background-color: transparent; }
667 #panel #panelLeft, #panel #panelCenter {
668 spacing: 4px; }
669 #panel .panel-corner {
670 -panel-corner-radius: 6px;
671 -panel-corner-background-color: rgba(0, 0, 0, 0.35);
672 -panel-corner-border-width: 2px;
673 -panel-corner-border-color: transparent; }
674 #panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus {
675 -panel-corner-border-color: #5f9ddd; }
676 #panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-corner.unlock-screen {
677 -panel-corner-radius: 0;
678 -panel-corner-background-color: transparent;
679 -panel-corner-border-color: transparent; }
680 #panel .panel-button {
681 -natural-hpadding: 12px;
682 -minimum-hpadding: 6px;
683 font-weight: bold;
684 color: #eee;
685 text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
686 transition-duration: 100ms; }
687 #panel .panel-button .app-menu-icon {
688 -st-icon-style: symbolic;
689 margin-left: 4px;
690 margin-right: 4px; }
691 #panel .panel-button .system-status-icon,
692 #panel .panel-button .app-menu-icon > StIcon,
693 #panel .panel-button .popup-menu-arrow {
694 icon-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9); }
695 #panel .panel-button:hover {
696 color: #454f52;
697 text-shadow: 0px 1px 6px black; }
698 #panel .panel-button:hover .system-status-icon,
699 #panel .panel-button:hover .app-menu-icon > StIcon,
700 #panel .panel-button:hover .popup-menu-arrow {
701 icon-shadow: 0px 1px 6px black; }
702 #panel .panel-button:active, #panel .panel-button:overview, #panel .panel-button:focus, #panel .panel-button:checked {
703 background-color: rgba(0, 0, 0, 0.01);
704 box-shadow: inset 0 -2px 0px #5f9ddd;
705 color: #454f52; }
706 #panel .panel-button:active > .system-status-icon, #panel .panel-button:overview > .system-status-icon, #panel .panel-button:focus > .system-status-icon, #panel .panel-button:checked > .system-status-icon {
707 icon-shadow: black 0 2px 2px; }
708 #panel .panel-button .system-status-icon {
709 icon-size: 1.09em;
710 padding: 0 5px; }
711 .unlock-screen #panel .panel-button,
712 .login-screen #panel .panel-button,
713 .lock-screen #panel .panel-button {
714 color: #454f52; }
715 .unlock-screen #panel .panel-button:focus, .unlock-screen #panel .panel-button:hover, .unlock-screen #panel .panel-button:active,
716 .login-screen #panel .panel-button:focus,
717 .login-screen #panel .panel-button:hover,
718 .login-screen #panel .panel-button:active,
719 .lock-screen #panel .panel-button:focus,
720 .lock-screen #panel .panel-button:hover,
721 .lock-screen #panel .panel-button:active {
722 color: #454f52; }
723 #panel .panel-status-indicators-box,
724 #panel .panel-status-menu-box {
725 spacing: 2px; }
726 #panel .power-status.panel-status-indicators-box {
727 spacing: 0; }
728 #panel .screencast-indicator {
729 color: #f57900; }
730 #panel.solid {
731 background-color: black;
732 /* transition from transparent to solid */
733 transition-duration: 300ms; }
734 #panel.solid .panel-corner {
735 -panel-corner-background-color: black; }
736 #panel.solid .panel-button {
737 color: #ccc;
738 text-shadow: none; }
739 #panel.solid .panel-button:hover {
740 color: #454f52; }
741 #panel.solid .system-status-icon,
742 #panel.solid .app-menu-icon > StIcon,
743 #panel.solid .popup-menu-arrow {
744 icon-shadow: none; }
745
746 #calendarArea {
747 padding: 0.75em 1.0em; }
748
749 .calendar {
750 margin-bottom: 1em; }
751
752 .calendar,
753 .datemenu-today-button,
754 .datemenu-displays-box,
755 .message-list-sections {
756 margin: 0 1.5em; }
757
758 .datemenu-calendar-column {
759 spacing: 0.5em; }
760
761 .datemenu-displays-section {
762 padding-bottom: 3em; }
763
764 .datemenu-displays-box {
765 spacing: 1em; }
766
767 .datemenu-calendar-column {
768 border: 0 solid #fafafa; }
769 .datemenu-calendar-column:ltr {
770 border-left-width: 1px; }
771 .datemenu-calendar-column:rtl {
772 border-right-width: 1px; }
773
774 .datemenu-today-button,
775 .world-clocks-button,
776 .weather-button,
777 .events-section-title {
778 border-radius: 4px;
779 padding: .4em; }
780
781 .message-list-section-list:ltr {
782 padding-left: .4em; }
783
784 .message-list-section-list:rtl {
785 padding-right: .4em; }
786
787 .datemenu-today-button:hover, .datemenu-today-button:focus,
788 .world-clocks-button:hover,
789 .world-clocks-button:focus,
790 .weather-button:hover,
791 .weather-button:focus,
792 .events-section-title:hover,
793 .events-section-title:focus {
794 background-color: #fafafa; }
795
796 .datemenu-today-button:active,
797 .world-clocks-button:active,
798 .weather-button:active,
799 .events-section-title:active {
800 color: white;
801 background-color: #4a90d9; }
802
803 .datemenu-today-button .date-label {
804 font-size: 1.5em; }
805
806 .world-clocks-header,
807 .weather-header,
808 .events-section-title {
809 color: black;
810 font-weight: bold; }
811
812 .world-clocks-grid {
813 spacing-rows: 0.4em; }
814
815 .weather-box {
816 spacing: 0.4em; }
817
818 .calendar-month-label {
819 color: #222728;
820 font-weight: bold;
821 padding: 8px 0; }
822
823 .pager-button {
824 color: white;
825 background-color: transparent;
826 width: 32px;
827 border-radius: 4px; }
828 .pager-button:hover, .pager-button:focus {
829 background-color: rgba(46, 52, 54, 0.05); }
830 .pager-button:active {
831 background-color: rgba(237, 237, 237, 0.05); }
832
833 .calendar-change-month-back {
834 background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-left.svg"); }
835 .calendar-change-month-back:rtl {
836 background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-right.svg"); }
837
838 .calendar-change-month-forward {
839 background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-right.svg"); }
840 .calendar-change-month-forward:rtl {
841 background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-left.svg"); }
842
843 .calendar-day-base {
844 font-size: 80%;
845 text-align: center;
846 width: 2.4em;
847 height: 2.4em;
848 padding: 0.1em;
849 margin: 2px;
850 border-radius: 1.4em; }
851 .calendar-day-base:hover, .calendar-day-base:focus {
852 background-color: #fafafa; }
853 .calendar-day-base:active, .calendar-day-base:selected {
854 color: white;
855 background-color: #4a90d9;
856 border-color: transparent; }
857 .calendar-day-base.calendar-day-heading {
858 color: black;
859 margin-top: 1em;
860 font-size: 70%; }
861
862 .calendar-day {
863 border-width: 0; }
864
865 .calendar-day-top {
866 border-top-width: 1px; }
867
868 .calendar-day-left {
869 border-left-width: 1px; }
870
871 .calendar-nonwork-day {
872 color: #8e9192; }
873
874 .calendar-today {
875 font-weight: bold;
876 border: 1px solid rgba(161, 161, 161, 0.5); }
877
878 .calendar-day-with-events {
879 color: #454f52;
880 font-weight: bold;
881 background-image: url("resource:///org/gnome/shell/theme/calendar-today.svg"); }
882
883 .calendar-other-month-day {
884 color: rgba(46, 52, 54, 0.15);
885 opacity: 0.5; }
886
887 .calendar-week-number {
888 font-size: 70%;
889 font-weight: bold;
890 width: 2.3em;
891 height: 1.8em;
892 border-radius: 2px;
893 padding: 0.5em 0 0;
894 margin: 6px;
895 background-color: rgba(46, 52, 54, 0.3);
896 color: #ededed; }
897
898 /* Message list */
899 .message-list {
900 width: 31.5em; }
901
902 .message-list-clear-button.button {
903 background-color: transparent;
904 margin: 1.5em 1.5em 0; }
905 .message-list-clear-button.button:hover, .message-list-clear-button.button:focus {
906 background-color: #fafafa; }
907
908 .message-list-sections {
909 spacing: 1em; }
910
911 .message-list-section,
912 .message-list-section-list {
913 spacing: 0.4em; }
914
915 .message {
916 border-radius: 3px; }
917 .message:hover, .message:focus {
918 background-color: #fafafa; }
919
920 .message-icon-bin {
921 padding: 0.68em 0.2em 0.68em 0.68em; }
922 .message-icon-bin:rtl {
923 padding: 0.68em 0.68em 0.68em 0.2em; }
924
925 .message-icon-bin > StIcon {
926 color: black;
927 icon-size: 1.09em;
928 -st-icon-style: symbolic; }
929
930 .message-secondary-bin {
931 padding: 0 0.82em; }
932
933 .message-secondary-bin > .event-time {
934 color: black;
935 font-size: 0.7em;
936 /* HACK: the label should be baseline-aligned with a 1em label,
937 fake this with some bottom padding */
938 padding-bottom: 0.13em; }
939
940 .message-secondary-bin > StIcon {
941 icon-size: 1.09em; }
942
943 .message-title {
944 color: #222728; }
945
946 .message-content {
947 color: black;
948 padding: 10px; }
949
950 .message-media-control {
951 padding: 12px;
952 color: black; }
953 .message-media-control:last-child:ltr {
954 padding-right: 18px; }
955 .message-media-control:last-child:rtl {
956 padding-left: 18px; }
957 .message-media-control:hover {
958 color: #2e3436; }
959 .message-media-control:insensitive {
960 color: black; }
961
962 .media-message-cover-icon {
963 icon-size: 48px !important; }
964 .media-message-cover-icon.fallback {
965 color: white;
966 background-color: #ededed;
967 border: 2px solid #ededed;
968 border-radius: 2px;
969 icon-size: 16px;
970 padding: 8px; }
971
972 .system-switch-user-submenu-icon.user-icon {
973 icon-size: 20px;
974 padding: 0 2px; }
975
976 .system-switch-user-submenu-icon.default-icon {
977 icon-size: 16px;
978 padding: 0 4px; }
979
980 #appMenu {
981 spinner-image: url("resource:///org/gnome/shell/theme/process-working.svg");
982 spacing: 4px; }
983 #appMenu .label-shadow {
984 color: transparent; }
985
986 .aggregate-menu {
987 min-width: 21em; }
988 .aggregate-menu .popup-menu-icon {
989 padding: 0 4px; }
990
991 .system-menu-action {
992 color: #2e3436;
993 border-radius: 32px;
994 /* wish we could do 50% */
995 padding: 13px;
996 border: 1px solid #adadad; }
997 .system-menu-action:hover, .system-menu-action:focus {
998 background-color: rgba(46, 52, 54, 0.1);
999 color: #2e3436;
1000 border: none;
1001 padding: 14px; }
1002 .system-menu-action:active {
1003 background-color: #4a90d9;
1004 color: #ffffff; }
1005 .system-menu-action > StIcon {
1006 icon-size: 16px; }
1007
1008 .ripple-box {
1009 width: 52px;
1010 height: 52px;
1011 background-image: url("resource:///org/gnome/shell/theme/corner-ripple-ltr.png");
1012 background-size: contain; }
1013
1014 .ripple-box:rtl {
1015 background-image: url("resource:///org/gnome/shell/theme/corner-ripple-rtl.png"); }
1016
1017 .popup-menu-arrow {
1018 width: 16px;
1019 height: 16px; }
1020
1021 .popup-menu-icon {
1022 icon-size: 1.09em; }
1023
1024 .window-close {
1025 background-image: url("resource:///org/gnome/shell/theme/close-window.svg");
1026 background-size: 32px;
1027 height: 32px;
1028 width: 32px;
1029 -shell-close-overlap: 16px; }
1030 .window-close:hover {
1031 background-image: url("resource:///org/gnome/shell/theme/close-window-hover.svg"); }
1032 .window-close:active {
1033 background-image: url("resource:///org/gnome/shell/theme/close-window-active.svg"); }
1034
1035 /* NETWORK DIALOGS */
1036 .nm-dialog {
1037 max-height: 34em;
1038 min-height: 31em;
1039 min-width: 32em; }
1040
1041 .nm-dialog-content {
1042 spacing: 20px;
1043 padding: 24px; }
1044
1045 .nm-dialog-header-hbox {
1046 spacing: 10px; }
1047
1048 .nm-dialog-airplane-box {
1049 spacing: 12px; }
1050
1051 .nm-dialog-airplane-headline {
1052 font-weight: bold;
1053 text-align: center; }
1054
1055 .nm-dialog-airplane-text {
1056 color: #2e3436; }
1057
1058 .nm-dialog-header-icon {
1059 icon-size: 32px; }
1060
1061 .nm-dialog-scroll-view {
1062 border: 2px solid #a1a1a1; }
1063
1064 .nm-dialog-header {
1065 font-weight: bold; }
1066
1067 .nm-dialog-item {
1068 font-size: 110%;
1069 border-bottom: 1px solid #a1a1a1;
1070 padding: 12px;
1071 spacing: 20px; }
1072
1073 .nm-dialog-item:selected {
1074 background-color: #4a90d9;
1075 color: #ffffff; }
1076
1077 .nm-dialog-icons {
1078 spacing: .5em; }
1079
1080 .nm-dialog-icon {
1081 icon-size: 16px; }
1082
1083 .no-networks-label {
1084 color: #999999; }
1085
1086 .no-networks-box {
1087 spacing: 12px; }
1088
1089 /* OVERVIEW */
1090 #overview {
1091 spacing: 24px; }
1092
1093 .overview-controls {
1094 padding-bottom: 32px; }
1095
1096 .window-picker {
1097 -horizontal-spacing: 16px;
1098 -vertical-spacing: 16px;
1099 padding: 0 16px 16px; }
1100 .window-picker.external-monitor {
1101 padding: 16px; }
1102
1103 .window-clone-border {
1104 border: 4px solid #4a90d9;
1105 border-radius: 4px;
1106 box-shadow: inset 0px 0px 0px 1px #4a90d9; }
1107
1108 .window-caption {
1109 spacing: 25px;
1110 color: #ffffff;
1111 background-color: #4a90d9;
1112 border-radius: 8px;
1113 padding: 4px 12px; }
1114
1115 .search-entry {
1116 width: 320px;
1117 padding: 7px 9px;
1118 border-radius: 6px;
1119 border-color: #747467;
1120 color: #eeeeec;
1121 background-color: #2e3436; }
1122 .search-entry:focus {
1123 padding: 6px 8px;
1124 border-width: 2px;
1125 border-color: #4a90d9; }
1126 .search-entry .search-entry-icon {
1127 icon-size: 1em;
1128 padding: 0 4px;
1129 color: rgba(46, 52, 54, 0.7); }
1130 .search-entry:hover .search-entry-icon, .search-entry:focus .search-entry-icon {
1131 color: #2e3436; }
1132
1133 #searchResultsBin {
1134 max-width: 1000px; }
1135
1136 #searchResultsContent {
1137 padding-left: 20px;
1138 padding-right: 20px;
1139 spacing: 16px; }
1140
1141 .search-section {
1142 spacing: 16px; }
1143
1144 .search-section-content {
1145 spacing: 32px; }
1146
1147 .list-search-results {
1148 spacing: 3px; }
1149
1150 .search-section-separator {
1151 height: 2px;
1152 background-color: rgba(255, 255, 255, 0.2); }
1153
1154 .list-search-result-content {
1155 spacing: 30px; }
1156
1157 .list-search-result-title {
1158 color: #e2e2df;
1159 spacing: 12px; }
1160
1161 .list-search-result-description {
1162 color: rgba(202, 202, 196, 0.5); }
1163
1164 .list-search-provider-details {
1165 width: 150px;
1166 color: #e2e2df;
1167 margin-top: 0.24em; }
1168
1169 .list-search-provider-content {
1170 spacing: 20px; }
1171
1172 .search-provider-icon {
1173 padding: 15px; }
1174
1175 /* DASHBOARD */
1176 #dash {
1177 font-size: 9pt;
1178 color: #eeeeec;
1179 background-color: #2e3436;
1180 padding: 4px 0;
1181 border: 1px solid rgba(128, 128, 128, 0.4);
1182 border-left: 0px;
1183 border-radius: 0px 9px 9px 0px; }
1184 #dash:rtl {
1185 border-radius: 9px 0 0 9px; }
1186 #dash .placeholder {
1187 background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
1188 background-size: contain;
1189 height: 24px; }
1190 #dash .empty-dash-drop-target {
1191 width: 24px;
1192 height: 24px; }
1193
1194 .dash-item-container > StWidget {
1195 padding: 4px 8px; }
1196
1197 .dash-label {
1198 border-radius: 7px;
1199 padding: 4px 12px;
1200 color: #eeeeec;
1201 background-color: rgba(46, 52, 54, 0.7);
1202 text-align: center;
1203 -x-offset: 8px; }
1204
1205 /* App Vault/Grid */
1206 .icon-grid {
1207 spacing: 30px;
1208 -shell-grid-horizontal-item-size: 136px;
1209 -shell-grid-vertical-item-size: 136px; }
1210 .icon-grid .overview-icon {
1211 icon-size: 96px; }
1212
1213 .system-action-icon {
1214 background-color: black;
1215 color: white;
1216 border-radius: 99px;
1217 icon-size: 48px; }
1218
1219 .app-view-controls {
1220 padding-bottom: 32px; }
1221
1222 .app-view-control {
1223 padding: 4px 32px; }
1224 .app-view-control:checked {
1225 color: white;
1226 border-color: rgba(0, 0, 0, 0.7);
1227 background-color: #222728;
1228 box-shadow: inset 0 0 black;
1229 text-shadow: none;
1230 icon-shadow: none; }
1231 .app-view-control:first-child {
1232 border-right-width: 0;
1233 border-radius: 3px 0 0 3px; }
1234 .app-view-control:last-child {
1235 border-radius: 0 3px 3px 0; }
1236
1237 .search-provider-icon:active, .search-provider-icon:checked,
1238 .list-search-result:active,
1239 .list-search-result:checked {
1240 background-color: rgba(23, 25, 26, 0.9); }
1241
1242 .search-provider-icon:focus, .search-provider-icon:selected, .search-provider-icon:hover,
1243 .list-search-result:focus,
1244 .list-search-result:selected,
1245 .list-search-result:hover {
1246 background-color: rgba(238, 238, 236, 0.1);
1247 transition-duration: 200ms; }
1248
1249 .app-well-app:active .overview-icon,
1250 .app-well-app:checked .overview-icon,
1251 .app-well-app.app-folder:active .overview-icon,
1252 .app-well-app.app-folder:checked .overview-icon,
1253 .show-apps:active .overview-icon,
1254 .show-apps:checked .overview-icon,
1255 .grid-search-result:active .overview-icon,
1256 .grid-search-result:checked .overview-icon {
1257 background-color: rgba(23, 25, 26, 0.9);
1258 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7); }
1259
1260 .app-well-app:hover .overview-icon,
1261 .app-well-app:focus .overview-icon,
1262 .app-well-app:selected .overview-icon,
1263 .app-well-app.app-folder:hover .overview-icon,
1264 .app-well-app.app-folder:focus .overview-icon,
1265 .app-well-app.app-folder:selected .overview-icon,
1266 .show-apps:hover .overview-icon,
1267 .show-apps:focus .overview-icon,
1268 .show-apps:selected .overview-icon,
1269 .grid-search-result:hover .overview-icon,
1270 .grid-search-result:focus .overview-icon,
1271 .grid-search-result:selected .overview-icon {
1272 background-color: rgba(238, 238, 236, 0.1);
1273 transition-duration: 0ms;
1274 border-image: none;
1275 background-image: none; }
1276
1277 .app-well-app-running-dot {
1278 width: 10px;
1279 height: 3px;
1280 background-color: #4a90d9;
1281 margin-bottom: 2px; }
1282
1283 .search-provider-icon,
1284 .list-search-result, .app-well-app .overview-icon,
1285 .app-well-app.app-folder .overview-icon,
1286 .show-apps .overview-icon,
1287 .grid-search-result .overview-icon {
1288 color: #eeeeec;
1289 border-radius: 4px;
1290 padding: 6px;
1291 border: 1px solid transparent;
1292 transition-duration: 100ms;
1293 text-align: center; }
1294
1295 .app-well-app.app-folder > .overview-icon {
1296 background-color: rgba(46, 52, 54, 0.4); }
1297
1298 .show-apps:checked .show-apps-icon,
1299 .show-apps:focus .show-apps-icon {
1300 color: white;
1301 transition-duration: 100ms; }
1302
1303 .app-folder-popup {
1304 -arrow-border-radius: 8px;
1305 -arrow-background-color: rgba(46, 52, 54, 0.3);
1306 -arrow-base: 24px;
1307 -arrow-rise: 11px; }
1308
1309 .app-folder-popup-bin {
1310 padding: 5px; }
1311
1312 .app-folder-icon {
1313 padding: 5px;
1314 spacing-rows: 5px;
1315 spacing-columns: 5px; }
1316
1317 .page-indicator {
1318 padding: 15px 20px; }
1319 .page-indicator .page-indicator-icon {
1320 width: 18px;
1321 height: 18px;
1322 background-image: url(resource:///org/gnome/shell/theme/page-indicator-inactive.svg); }
1323 .page-indicator:hover .page-indicator-icon {
1324 background-image: url(resource:///org/gnome/shell/theme/page-indicator-hover.svg); }
1325 .page-indicator:active .page-indicator-icon {
1326 background-image: url(resource:///org/gnome/shell/theme/page-indicator-active.svg); }
1327 .page-indicator:checked .page-indicator-icon, .page-indicator:checked:active {
1328 background-image: url(resource:///org/gnome/shell/theme/page-indicator-checked.svg); }
1329
1330 .app-well-app > .overview-icon.overview-icon-with-label,
1331 .grid-search-result .overview-icon.overview-icon-with-label {
1332 padding: 10px 8px 5px 8px;
1333 spacing: 4px; }
1334
1335 .workspace-thumbnails {
1336 visible-width: 32px;
1337 spacing: 11px;
1338 padding: 8px;
1339 border-radius: 9px 0 0 9px; }
1340 .workspace-thumbnails:rtl {
1341 border-radius: 0 9px 9px 0; }
1342
1343 .workspace-thumbnail-indicator {
1344 border: 4px solid #4a90d9;
1345 padding: 1px; }
1346
1347 .search-display > StBoxLayout,
1348 .all-apps,
1349 .frequent-apps > StBoxLayout {
1350 padding: 0px 88px 10px 88px; }
1351
1352 .workspace-thumbnails {
1353 color: #eeeeec;
1354 background-color: #2e3436;
1355 border: 1px solid rgba(238, 238, 236, 0.2); }
1356
1357 .search-statustext, .no-frequent-applications-label {
1358 font-size: 2em;
1359 font-weight: bold;
1360 color: #2e3436; }
1361
1362 /* NOTIFICATIONS & MESSAGE TRAY */
1363 .url-highlighter {
1364 link-color: #74aae2; }
1365
1366 .notification-banner {
1367 font-size: 11pt;
1368 width: 34em;
1369 margin: 5px;
1370 border-radius: 6px;
1371 color: #eeeeec;
1372 background-color: #2e3436;
1373 border: 1px solid #a1a1a1; }
1374 .notification-banner:hover {
1375 background-color: #2e3436; }
1376 .notification-banner:focus {
1377 background-color: #2e3436; }
1378 .notification-banner .notification-icon {
1379 padding: 5px; }
1380 .notification-banner .notification-content {
1381 padding: 5px;
1382 spacing: 5px; }
1383 .notification-banner .secondary-icon {
1384 icon-size: 1.09em; }
1385 .notification-banner .notification-actions {
1386 background-color: #a1a1a1;
1387 padding-top: 2px;
1388 spacing: 1px; }
1389 .notification-banner .notification-button {
1390 padding: 4px 4px 5px;
1391 background-color: #222728; }
1392 .notification-banner .notification-button:first-child {
1393 border-radius: 0 0 0 6px; }
1394 .notification-banner .notification-button:last-child {
1395 border-radius: 0 0 6px 0; }
1396 .notification-banner .notification-button:hover, .notification-banner .notification-buttonfocus {
1397 background-color: #292f30; }
1398
1399 .summary-source-counter {
1400 font-size: 10pt;
1401 font-weight: bold;
1402 height: 1.6em;
1403 width: 1.6em;
1404 -shell-counter-overlap-x: 3px;
1405 -shell-counter-overlap-y: 3px;
1406 background-color: #4a90d9;
1407 color: #ffffff;
1408 border: 2px solid #eeeeec;
1409 box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
1410 border-radius: 0.9em; }
1411
1412 .secondary-icon {
1413 icon-size: 1.09em; }
1414
1415 .chat-body {
1416 spacing: 5px; }
1417
1418 .chat-response {
1419 margin: 5px; }
1420
1421 .chat-log-message {
1422 color: #17191a; }
1423
1424 .chat-new-group {
1425 padding-top: 1em; }
1426
1427 .chat-received {
1428 padding-left: 4px; }
1429 .chat-received:rtl {
1430 padding-left: 0px;
1431 padding-right: 4px; }
1432
1433 .chat-sent {
1434 padding-left: 18pt;
1435 color: #0b0c0d; }
1436 .chat-sent:rtl {
1437 padding-left: 0;
1438 padding-right: 18pt; }
1439
1440 .chat-meta-message {
1441 padding-left: 4px;
1442 font-size: 9pt;
1443 font-weight: bold;
1444 color: black; }
1445 .chat-meta-message:rtl {
1446 padding-left: 0;
1447 padding-right: 4px; }
1448
1449 .hotplug-transient-box {
1450 spacing: 6px;
1451 padding: 2px 72px 2px 12px; }
1452
1453 .hotplug-notification-item {
1454 padding: 2px 10px; }
1455 .hotplug-notification-item:focus {
1456 padding: 1px 71px 1px 11px; }
1457
1458 .hotplug-notification-item-icon {
1459 icon-size: 24px;
1460 padding: 2px 5px; }
1461
1462 .hotplug-resident-box {
1463 spacing: 8px; }
1464
1465 .hotplug-resident-mount {
1466 spacing: 8px;
1467 border-radius: 4px; }
1468 .hotplug-resident-mount:hover {
1469 background-color: rgba(237, 237, 237, 0.3); }
1470
1471 .hotplug-resident-mount-label {
1472 color: inherit;
1473 padding-left: 6px; }
1474
1475 .hotplug-resident-mount-icon {
1476 icon-size: 24px;
1477 padding-left: 6px; }
1478
1479 .hotplug-resident-eject-icon {
1480 icon-size: 16px; }
1481
1482 .hotplug-resident-eject-button {
1483 padding: 7px;
1484 border-radius: 5px;
1485 color: pink; }
1486
1487 /* Eeeky things */
1488 .magnifier-zoom-region {
1489 border: 2px solid #4a90d9; }
1490 .magnifier-zoom-region.full-screen {
1491 border-width: 0; }
1492
1493 /* On-screen Keyboard */
1494 #keyboard {
1495 background-color: rgba(46, 52, 54, 0.7); }
1496
1497 .keyboard-layout {
1498 spacing: 10px;
1499 padding: 10px; }
1500
1501 .keyboard-row {
1502 spacing: 15px; }
1503
1504 .keyboard-key {
1505 color: #eeeeec;
1506 background-color: #2e3436;
1507 border-color: rgba(0, 0, 0, 0.7);
1508 box-shadow: inset 0 1px #454f52;
1509 text-shadow: 0 1px black;
1510 icon-shadow: 0 1px black;
1511 min-height: 2em;
1512 min-width: 2em;
1513 font-size: 14pt;
1514 font-weight: bold;
1515 border-radius: 5px;
1516 border: 1px solid #a1a1a1;
1517 color: white; }
1518 .keyboard-key:focus {
1519 color: #eeeeec;
1520 text-shadow: 0 1px black;
1521 icon-shadow: 0 1px black;
1522 box-shadow: inset 0px 0px 0px 1px #4a90d9; }
1523 .keyboard-key:hover, .keyboard-key:checked {
1524 color: white;
1525 border-color: rgba(0, 0, 0, 0.7);
1526 background-color: #454f52;
1527 box-shadow: inset 0 1px #5d696d;
1528 text-shadow: 0 1px black;
1529 icon-shadow: 0 1px black; }
1530 .keyboard-key:active {
1531 color: white;
1532 border-color: rgba(0, 0, 0, 0.7);
1533 background-color: #222728;
1534 box-shadow: inset 0 0 black;
1535 text-shadow: none;
1536 icon-shadow: none; }
1537 .keyboard-key:grayed {
1538 background-color: #2e3436;
1539 color: #eeeeec;
1540 border-color: rgba(0, 0, 0, 0.7); }
1541
1542 .keyboard-subkeys {
1543 color: white;
1544 padding: 5px;
1545 -arrow-border-radius: 10px;
1546 -arrow-background-color: rgba(46, 52, 54, 0.7);
1547 -arrow-border-width: 2px;
1548 -arrow-border-color: rgba(238, 238, 236, 0.2);
1549 -arrow-base: 20px;
1550 -arrow-rise: 10px;
1551 -boxpointer-gap: 5px; }
1552
1553 .candidate-popup-content {
1554 padding: 0.5em;
1555 spacing: 0.3em; }
1556
1557 .candidate-index {
1558 padding: 0 0.5em 0 0;
1559 color: #17191a; }
1560
1561 .candidate-box {
1562 padding: 0.3em 0.5em 0.3em 0.5em;
1563 border-radius: 4px; }
1564 .candidate-box:selected, .candidate-box:hover {
1565 background-color: #4a90d9;
1566 color: #ffffff; }
1567
1568 .candidate-page-button-box {
1569 height: 2em; }
1570 .vertical .candidate-page-button-box {
1571 padding-top: 0.5em; }
1572 .horizontal .candidate-page-button-box {
1573 padding-left: 0.5em; }
1574
1575 .candidate-page-button {
1576 padding: 4px; }
1577
1578 .candidate-page-button-previous {
1579 border-radius: 4px 0px 0px 4px;
1580 border-right-width: 0; }
1581
1582 .candidate-page-button-next {
1583 border-radius: 0px 4px 4px 0px; }
1584
1585 .candidate-page-button-icon {
1586 icon-size: 1em; }
1587
1588 /* Auth Dialogs & Screen Shield */
1589 .framed-user-icon {
1590 background-size: contain;
1591 border: 2px solid #eeeeec;
1592 color: #eeeeec;
1593 border-radius: 3px; }
1594 .framed-user-icon:hover {
1595 border-color: white;
1596 color: white; }
1597
1598 .login-dialog-banner-view {
1599 padding-top: 24px;
1600 max-width: 23em; }
1601
1602 .login-dialog {
1603 border: none;
1604 background-color: transparent; }
1605 .login-dialog .modal-dialog-button-box {
1606 spacing: 3px; }
1607 .login-dialog .modal-dialog-button {
1608 padding: 3px 18px; }
1609 .login-dialog .modal-dialog-button:default {
1610 color: #eeeeec;
1611 background-color: rgba(74, 144, 217, 0.5);
1612 border-color: rgba(0, 0, 0, 0.7);
1613 box-shadow: inset 0 1px #454f52;
1614 text-shadow: 0 1px black;
1615 icon-shadow: 0 1px black; }
1616 .login-dialog .modal-dialog-button:default:hover, .login-dialog .modal-dialog-button:default:focus {
1617 color: white;
1618 border-color: rgba(0, 0, 0, 0.7);
1619 background-color: rgba(74, 144, 217, 0.7);
1620 box-shadow: inset 0 1px #5d696d;
1621 text-shadow: 0 1px black;
1622 icon-shadow: 0 1px black; }
1623 .login-dialog .modal-dialog-button:default:active {
1624 color: white;
1625 border-color: rgba(0, 0, 0, 0.7);
1626 background-color: #3583d5;
1627 box-shadow: inset 0 0 black;
1628 text-shadow: none;
1629 icon-shadow: none; }
1630 .login-dialog .modal-dialog-button:default:insensitive {
1631 color: #8e9192;
1632 border-color: rgba(0, 0, 0, 0.7);
1633 background-color: rgba(65, 71, 72, 0.7);
1634 box-shadow: none;
1635 text-shadow: none;
1636 icon-shadow: none; }
1637
1638 .login-dialog-logo-bin {
1639 padding: 24px 0px; }
1640
1641 .login-dialog-banner {
1642 color: #d6d6d1; }
1643
1644 .login-dialog-button-box {
1645 spacing: 5px; }
1646
1647 .login-dialog-message-warning {
1648 color: #f57900; }
1649
1650 .login-dialog-message-hint {
1651 padding-top: 0;
1652 padding-bottom: 20px; }
1653
1654 .login-dialog-user-selection-box {
1655 padding: 100px 0px; }
1656
1657 .login-dialog-not-listed-label {
1658 padding-left: 2px; }
1659 .login-dialog-not-listed-button:focus .login-dialog-not-listed-label,
1660 .login-dialog-not-listed-button:hover .login-dialog-not-listed-label {
1661 color: #eeeeec; }
1662
1663 .login-dialog-not-listed-label {
1664 font-size: 90%;
1665 font-weight: bold;
1666 color: #a6a69b;
1667 padding-top: 1em; }
1668
1669 .login-dialog-user-list-view {
1670 -st-vfade-offset: 1em; }
1671
1672 .login-dialog-user-list {
1673 spacing: 12px;
1674 padding: .2em;
1675 width: 23em; }
1676 .login-dialog-user-list:expanded .login-dialog-user-list-item:selected {
1677 background-color: #4a90d9;
1678 color: #ffffff; }
1679 .login-dialog-user-list:expanded .login-dialog-user-list-item:logged-in {
1680 border-right: 2px solid #4a90d9; }
1681
1682 .login-dialog-user-list-item {
1683 border-radius: 5px;
1684 padding: .2em;
1685 color: #a6a69b; }
1686 .login-dialog-user-list-item:ltr {
1687 padding-right: 1em; }
1688 .login-dialog-user-list-item:rtl {
1689 padding-left: 1em; }
1690 .login-dialog-user-list-item .login-dialog-timed-login-indicator {
1691 height: 2px;
1692 margin: 2px 0 0 0;
1693 background-color: #eeeeec; }
1694 .login-dialog-user-list-item:focus .login-dialog-timed-login-indicator {
1695 background-color: #ffffff; }
1696
1697 .login-dialog-username,
1698 .user-widget-label {
1699 color: #eeeeec;
1700 font-size: 120%;
1701 font-weight: bold;
1702 text-align: left;
1703 padding-left: 15px; }
1704
1705 .user-widget-label:ltr {
1706 padding-left: 18px; }
1707
1708 .user-widget-label:rtl {
1709 padding-right: 18px; }
1710
1711 .login-dialog-prompt-layout {
1712 padding-top: 24px;
1713 padding-bottom: 12px;
1714 spacing: 8px;
1715 width: 23em; }
1716
1717 .login-dialog-prompt-label {
1718 color: #bebeb6;
1719 font-size: 110%;
1720 padding-top: 1em; }
1721
1722 .login-dialog-session-list-button StIcon {
1723 icon-size: 1.25em; }
1724
1725 .login-dialog-session-list-button {
1726 color: #a6a69b; }
1727 .login-dialog-session-list-button:hover, .login-dialog-session-list-button:focus {
1728 color: #eeeeec; }
1729 .login-dialog-session-list-button:active {
1730 color: #747467; }
1731
1732 .screen-shield-arrows {
1733 padding-bottom: 3em; }
1734
1735 .screen-shield-arrows Gjs_Arrow {
1736 color: white;
1737 width: 80px;
1738 height: 48px;
1739 -arrow-thickness: 12px;
1740 -arrow-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }
1741
1742 .screen-shield-clock {
1743 color: white;
1744 text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
1745 font-weight: bold;
1746 text-align: center;
1747 padding-bottom: 1.5em; }
1748
1749 .screen-shield-clock-time {
1750 font-size: 72pt;
1751 text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); }
1752
1753 .screen-shield-clock-date {
1754 font-size: 28pt; }
1755
1756 .screen-shield-notifications-container {
1757 spacing: 6px;
1758 width: 30em;
1759 background-color: transparent;
1760 max-height: 500px; }
1761 .screen-shield-notifications-container .summary-notification-stack-scrollview {
1762 padding-top: 0;
1763 padding-bottom: 0; }
1764 .screen-shield-notifications-container .notification,
1765 .screen-shield-notifications-container .screen-shield-notification-source {
1766 padding: 12px 6px;
1767 border: 1px solid rgba(238, 238, 236, 0.2);
1768 background-color: rgba(46, 52, 54, 0.5);
1769 color: #eeeeec;
1770 border-radius: 4px; }
1771 .screen-shield-notifications-container .notification {
1772 margin-right: 15px; }
1773
1774 .screen-shield-notification-label {
1775 font-weight: bold;
1776 padding: 0px 0px 0px 12px; }
1777
1778 .screen-shield-notification-count-text {
1779 padding: 0px 0px 0px 12px; }
1780
1781 #panel.lock-screen {
1782 background-color: rgba(46, 52, 54, 0.5); }
1783
1784 .screen-shield-background {
1785 background: black;
1786 box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4); }
1787
1788 #lockDialogGroup {
1789 background: #2e3436 url(resource:///org/gnome/shell/theme/noise-texture.png);
1790 background-repeat: repeat; }
1791
1792 #screenShieldNotifications StButton#vhandle, #screenShieldNotifications StButton#hhandle {
1793 background-color: rgba(237, 237, 237, 0.3); }
1794 #screenShieldNotifications StButton#vhandle:hover, #screenShieldNotifications StButton#vhandle:focus, #screenShieldNotifications StButton#hhandle:hover, #screenShieldNotifications StButton#hhandle:focus {
1795 background-color: rgba(237, 237, 237, 0.5); }
1796 #screenShieldNotifications StButton#vhandle:active, #screenShieldNotifications StButton#hhandle:active {
1797 background-color: rgba(74, 144, 217, 0.5); }
1798
1799 #LookingGlassDialog {
1800 background-color: rgba(0, 0, 0, 0.8);
1801 spacing: 4px;
1802 padding: 4px;
1803 border: 2px solid grey;
1804 border-radius: 4px; }
1805 #LookingGlassDialog > #Toolbar {
1806 border: 1px solid grey;
1807 border-radius: 4px; }
1808 #LookingGlassDialog .labels {
1809 spacing: 4px; }
1810 #LookingGlassDialog .notebook-tab {
1811 -natural-hpadding: 12px;
1812 -minimum-hpadding: 6px;
1813 font-weight: bold;
1814 color: #ccc;
1815 transition-duration: 100ms;
1816 padding-left: .3em;
1817 padding-right: .3em; }
1818 #LookingGlassDialog .notebook-tab:hover {
1819 color: white;
1820 text-shadow: black 0px 2px 2px; }
1821 #LookingGlassDialog .notebook-tab:selected {
1822 border-bottom-width: 2px;
1823 border-color: #5f9ddd;
1824 color: white;
1825 text-shadow: black 0px 2px 2px; }
1826 #LookingGlassDialog StBoxLayout#EvalBox {
1827 padding: 4px;
1828 spacing: 4px; }
1829 #LookingGlassDialog StBoxLayout#ResultsArea {
1830 spacing: 4px; }
1831
1832 .lg-dialog StEntry {
1833 selection-background-color: #bbbbbb;
1834 selected-color: #333333; }
1835
1836 .lg-dialog .shell-link {
1837 color: #999999; }
1838 .lg-dialog .shell-link:hover {
1839 color: #dddddd; }
1840
1841 .lg-completions-text {
1842 font-size: .9em;
1843 font-style: italic; }
1844
1845 .lg-obj-inspector-title {
1846 spacing: 4px; }
1847
1848 .lg-obj-inspector-button {
1849 border: 1px solid gray;
1850 padding: 4px;
1851 border-radius: 4px; }
1852 .lg-obj-inspector-button:hover {
1853 border: 1px solid #ffffff; }
1854
1855 #lookingGlassExtensions {
1856 padding: 4px; }
1857
1858 .lg-extensions-list {
1859 padding: 4px;
1860 spacing: 6px; }
1861
1862 .lg-extension {
1863 border: 1px solid #6f6f6f;
1864 border-radius: 4px;
1865 padding: 4px; }
1866
1867 .lg-extension-name {
1868 font-weight: bold; }
1869
1870 .lg-extension-meta {
1871 spacing: 6px; }
1872
1873 #LookingGlassPropertyInspector {
1874 background: rgba(0, 0, 0, 0.8);
1875 border: 2px solid grey;
1876 border-radius: 4px;
1877 padding: 6px; }
1878
1879 /* Overrides */
1880 #panel {
1881 font-weight: normal;
1882 background-color: #ededed !important;
1883 background-gradient-direction: vertical;
1884 background-gradient-end: #e0e0e0;
1885 border-top-color: #666;
1886 /* we don't support non-uniform border-colors and
1887 use the top border color for any border, so we
1888 need to set it even if all we want is a bottom
1889 border */
1890 border-bottom: 1px solid #666;
1891 app-icon-bottom-clip: 0px; }
1892 #panel:overview {
1893 background-color: #000;
1894 background-gradient-end: #000;
1895 border-top-color: #000;
1896 border-bottom: 1px solid #000; }
1897 #panel:overview .panel-button {
1898 color: #fff; }
1899 #panel .panel-button {
1900 -natural-hpadding: 8px;
1901 -minimum-hpadding: 4px;
1902 font-weight: normal;
1903 color: #2e3436 !important;
1904 text-shadow: none; }
1905 #panel .panel-button:active, #panel .panel-button:overview, #panel .panel-button:focus, #panel .panel-button:checked {
1906 background-color: #4a90d9 !important;
1907 color: #ffffff !important;
1908 box-shadow: none; }
1909 #panel .panel-button:active > .system-status-icon, #panel .panel-button:overview > .system-status-icon, #panel .panel-button:focus > .system-status-icon, #panel .panel-button:checked > .system-status-icon {
1910 icon-shadow: none; }
1911 #panel .panel-button:hover {
1912 text-shadow: none; }
1913 #panel .panel-button:hover .system-status-icon {
1914 icon-shadow: none; }
1915 #panel .panel-button .app-menu-icon {
1916 width: 0;
1917 height: 0;
1918 margin: 0; }
1919 #panel .panel-corner,
1920 #panel .panel-corner:active,
1921 #panel .panel-corner:overview,
1922 #panel .panel-corner:focus {
1923 -panel-corner-radius: 0; }
1924 #panel.lock-screen, #panel.unlock-screen, #panel.login-screen {
1925 background-color: rgba(46, 52, 54, 0.5);
1926 background-gradient-start: rgba(46, 52, 54, 0.5);
1927 background-gradient-end: rgba(46, 52, 54, 0.5);
1928 border-bottom: none; }
1929 #panel.lock-screen .panel-button, #panel.unlock-screen .panel-button, #panel.login-screen .panel-button {
1930 color: #eeeeec; }
1931 #panel .popup-menu-arrow {
1932 width: 0;
1933 height: 0; }
1934
1935 #appMenu {
1936 padding: 0 8px 0 8px;
1937 spinner-image: url("classic-process-working.svg"); }
1938
1939 .tile-preview-left.on-primary,
1940 .tile-preview-right.on-primary,
1941 .tile-preview-left.tile-preview-right.on-primary {
1942 /* keep in sync with -panel-corner-radius */
1943 border-radius: 0; }
1944
1945 .toggle-switch-us {
1946 background-image: url("classic-toggle-off-us.svg"); }
1947 .toggle-switch-us:checked {
1948 background-image: url("classic-toggle-on-us.svg"); }
1949
1950 .toggle-switch-intl {
1951 background-image: url("classic-toggle-off-intl.svg"); }
1952 .toggle-switch-intl:checked {
1953 background-image: url("classic-toggle-on-intl.svg"); }
1954
1955 .calendar-day-with-events {
1956 background-image: url("calendar-today.svg"); }
0 /* Use the gnome-shell theme, but with light colors */
1 $variant: 'light';
2
3 @import "gnome-shell-sass/_colors"; //use gtk colors
4 @import "gnome-shell-sass/_drawing";
5 @import "gnome-shell-sass/_common";
6
7 /* Overrides */
8
9 #panel, #panel.solid {
10 font-weight: normal;
11 background-color: $bg_color;
12 background-gradient-direction: vertical;
13 background-gradient-end: darken($bg_color,5%);
14 border-top-color: #666; /* we don't support non-uniform border-colors and
15 use the top border color for any border, so we
16 need to set it even if all we want is a bottom
17 border */
18 border-bottom: 1px solid #666;
19 app-icon-bottom-clip: 0px;
20 &:overview {
21 background-color: #000;
22 background-gradient-end: #000;
23 border-top-color: #000;
24 border-bottom: 1px solid #000;
25 .panel-button { color: #fff; }
26 }
27
28 .panel-button {
29 -natural-hpadding: 8px;
30 -minimum-hpadding: 4px;
31 font-weight: normal;
32 color: $fg_color;
33 text-shadow: none;
34 &:active, &:overview, &:focus, &:checked {
35 // Trick due to St limitations. It needs a background to draw
36 // a box-shadow
37 background-color: $selected_bg_color !important;
38 color: $selected_fg_color !important;
39 box-shadow: none;
40 & > .system-status-icon { icon-shadow: none; }
41 }
42 &:hover {
43 text-shadow: none;
44 & .system-status-icon { icon-shadow: none; }
45 }
46 .app-menu-icon { width: 0; height: 0; margin: 0; } // shell's display:none; :D
47
48 .system-status-icon {
49 icon-shadow: none;
50 }
51 }
52
53 .panel-corner,
54 .panel-corner:active,
55 .panel-corner:overview,
56 .panel-corner:focus {
57 -panel-corner-radius: 0;
58 }
59 &.lock-screen,
60 &.unlock-screen,
61 &.login-screen {
62 background-color: transparentize($_bubble_bg_color, 0.5);
63 background-gradient-start: transparentize($_bubble_bg_color, 0.5);
64 background-gradient-end: transparentize($_bubble_bg_color, 0.5);
65 border-bottom: none;
66 .panel-button { color: $osd_fg_color; }
67 }
68 .popup-menu-arrow { width: 0; height: 0; } // shell's display: none;
69 }
70
71 #appMenu {
72 padding: 0 8px 0 8px;
73 spinner-image: url("classic-process-working.svg");
74 }
75 .tile-preview-left.on-primary,
76 .tile-preview-right.on-primary,
77 .tile-preview-left.tile-preview-right.on-primary {
78 /* keep in sync with -panel-corner-radius */
79 border-radius: 0;
80 }
81
82 @each $v in us, intl {
83 .toggle-switch-#{$v} {
84 background-image: url("classic-toggle-off-#{$v}.svg");
85 &:checked { background-image: url("classic-toggle-on-#{$v}.svg"); }
86 }
87 }
88
89 .calendar-day-with-events {
90 background-image: url("calendar-today.svg");
91 }
92
93 .message-list-clear-button.button {
94 color: $fg_color
95 }
96
97 .notification-banner {
98 background-color: $bg_color !important;
99 color: $fg_color;
100 .notification-button {
101 background-color: darken($bg_color,5%);
102 &:hover, &focus { background-color: darken($bg_color,2%); }
103 }
104 }
00 [GNOME Session]
11 Name=GNOME Classic
2 RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;nautilus-classic;
2 RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;nautilus-classic;
0 GNU GENERAL PUBLIC LICENSE
1 Version 2, June 1991
2
3 Copyright (C) 1989, 1991 Free Software Foundation, Inc. <http://fsf.org>
4 Everyone is permitted to copy and distribute verbatim copies
5 of this license document, but changing it is not allowed.
6
7 Preamble
8
9 The licenses for most software are designed to take away your
10 freedom to share and change it. By contrast, the GNU General Public
11 License is intended to guarantee your freedom to share and change free
12 software--to make sure the software is free for all its users. This
13 General Public License applies to most of the Free Software
14 Foundation's software and to any other program whose authors commit to
15 using it. (Some other Free Software Foundation software is covered by
16 the GNU Library General Public License instead.) You can apply it to
17 your programs, too.
18
19 When we speak of free software, we are referring to freedom, not
20 price. Our General Public Licenses are designed to make sure that you
21 have the freedom to distribute copies of free software (and charge for
22 this service if you wish), that you receive source code or can get it
23 if you want it, that you can change the software or use pieces of it
24 in new free programs; and that you know you can do these things.
25
26 To protect your rights, we need to make restrictions that forbid
27 anyone to deny you these rights or to ask you to surrender the rights.
28 These restrictions translate to certain responsibilities for you if you
29 distribute copies of the software, or if you modify it.
30
31 For example, if you distribute copies of such a program, whether
32 gratis or for a fee, you must give the recipients all the rights that
33 you have. You must make sure that they, too, receive or can get the
34 source code. And you must show them these terms so they know their
35 rights.
36
37 We protect your rights with two steps: (1) copyright the software, and
38 (2) offer you this license which gives you legal permission to copy,
39 distribute and/or modify the software.
40
41 Also, for each author's protection and ours, we want to make certain
42 that everyone understands that there is no warranty for this free
43 software. If the software is modified by someone else and passed on, we
44 want its recipients to know that what they have is not the original, so
45 that any problems introduced by others will not reflect on the original
46 authors' reputations.
47
48 Finally, any free program is threatened constantly by software
49 patents. We wish to avoid the danger that redistributors of a free
50 program will individually obtain patent licenses, in effect making the
51 program proprietary. To prevent this, we have made it clear that any
52 patent must be licensed for everyone's free use or not licensed at all.
53
54 The precise terms and conditions for copying, distribution and
55 modification follow.
56
57 GNU GENERAL PUBLIC LICENSE
58 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
59
60 0. This License applies to any program or other work which contains
61 a notice placed by the copyright holder saying it may be distributed
62 under the terms of this General Public License. The "Program", below,
63 refers to any such program or work, and a "work based on the Program"
64 means either the Program or any derivative work under copyright law:
65 that is to say, a work containing the Program or a portion of it,
66 either verbatim or with modifications and/or translated into another
67 language. (Hereinafter, translation is included without limitation in
68 the term "modification".) Each licensee is addressed as "you".
69
70 Activities other than copying, distribution and modification are not
71 covered by this License; they are outside its scope. The act of
72 running the Program is not restricted, and the output from the Program
73 is covered only if its contents constitute a work based on the
74 Program (independent of having been made by running the Program).
75 Whether that is true depends on what the Program does.
76
77 1. You may copy and distribute verbatim copies of the Program's
78 source code as you receive it, in any medium, provided that you
79 conspicuously and appropriately publish on each copy an appropriate
80 copyright notice and disclaimer of warranty; keep intact all the
81 notices that refer to this License and to the absence of any warranty;
82 and give any other recipients of the Program a copy of this License
83 along with the Program.
84
85 You may charge a fee for the physical act of transferring a copy, and
86 you may at your option offer warranty protection in exchange for a fee.
87
88 2. You may modify your copy or copies of the Program or any portion
89 of it, thus forming a work based on the Program, and copy and
90 distribute such modifications or work under the terms of Section 1
91 above, provided that you also meet all of these conditions:
92
93 a) You must cause the modified files to carry prominent notices
94 stating that you changed the files and the date of any change.
95
96 b) You must cause any work that you distribute or publish, that in
97 whole or in part contains or is derived from the Program or any
98 part thereof, to be licensed as a whole at no charge to all third
99 parties under the terms of this License.
100
101 c) If the modified program normally reads commands interactively
102 when run, you must cause it, when started running for such
103 interactive use in the most ordinary way, to print or display an
104 announcement including an appropriate copyright notice and a
105 notice that there is no warranty (or else, saying that you provide
106 a warranty) and that users may redistribute the program under
107 these conditions, and telling the user how to view a copy of this
108 License. (Exception: if the Program itself is interactive but
109 does not normally print such an announcement, your work based on
110 the Program is not required to print an announcement.)
111
112 These requirements apply to the modified work as a whole. If
113 identifiable sections of that work are not derived from the Program,
114 and can be reasonably considered independent and separate works in
115 themselves, then this License, and its terms, do not apply to those
116 sections when you distribute them as separate works. But when you
117 distribute the same sections as part of a whole which is a work based
118 on the Program, the distribution of the whole must be on the terms of
119 this License, whose permissions for other licensees extend to the
120 entire whole, and thus to each and every part regardless of who wrote it.
121
122 Thus, it is not the intent of this section to claim rights or contest
123 your rights to work written entirely by you; rather, the intent is to
124 exercise the right to control the distribution of derivative or
125 collective works based on the Program.
126
127 In addition, mere aggregation of another work not based on the Program
128 with the Program (or with a work based on the Program) on a volume of
129 a storage or distribution medium does not bring the other work under
130 the scope of this License.
131
132 3. You may copy and distribute the Program (or a work based on it,
133 under Section 2) in object code or executable form under the terms of
134 Sections 1 and 2 above provided that you also do one of the following:
135
136 a) Accompany it with the complete corresponding machine-readable
137 source code, which must be distributed under the terms of Sections
138 1 and 2 above on a medium customarily used for software interchange; or,
139
140 b) Accompany it with a written offer, valid for at least three
141 years, to give any third party, for a charge no more than your
142 cost of physically performing source distribution, a complete
143 machine-readable copy of the corresponding source code, to be
144 distributed under the terms of Sections 1 and 2 above on a medium
145 customarily used for software interchange; or,
146
147 c) Accompany it with the information you received as to the offer
148 to distribute corresponding source code. (This alternative is
149 allowed only for noncommercial distribution and only if you
150 received the program in object code or executable form with such
151 an offer, in accord with Subsection b above.)
152
153 The source code for a work means the preferred form of the work for
154 making modifications to it. For an executable work, complete source
155 code means all the source code for all modules it contains, plus any
156 associated interface definition files, plus the scripts used to
157 control compilation and installation of the executable. However, as a
158 special exception, the source code distributed need not include
159 anything that is normally distributed (in either source or binary
160 form) with the major components (compiler, kernel, and so on) of the
161 operating system on which the executable runs, unless that component
162 itself accompanies the executable.
163
164 If distribution of executable or object code is made by offering
165 access to copy from a designated place, then offering equivalent
166 access to copy the source code from the same place counts as
167 distribution of the source code, even though third parties are not
168 compelled to copy the source along with the object code.
169
170 4. You may not copy, modify, sublicense, or distribute the Program
171 except as expressly provided under this License. Any attempt
172 otherwise to copy, modify, sublicense or distribute the Program is
173 void, and will automatically terminate your rights under this License.
174 However, parties who have received copies, or rights, from you under
175 this License will not have their licenses terminated so long as such
176 parties remain in full compliance.
177
178 5. You are not required to accept this License, since you have not
179 signed it. However, nothing else grants you permission to modify or
180 distribute the Program or its derivative works. These actions are
181 prohibited by law if you do not accept this License. Therefore, by
182 modifying or distributing the Program (or any work based on the
183 Program), you indicate your acceptance of this License to do so, and
184 all its terms and conditions for copying, distributing or modifying
185 the Program or works based on it.
186
187 6. Each time you redistribute the Program (or any work based on the
188 Program), the recipient automatically receives a license from the
189 original licensor to copy, distribute or modify the Program subject to
190 these terms and conditions. You may not impose any further
191 restrictions on the recipients' exercise of the rights granted herein.
192 You are not responsible for enforcing compliance by third parties to
193 this License.
194
195 7. If, as a consequence of a court judgment or allegation of patent
196 infringement or for any other reason (not limited to patent issues),
197 conditions are imposed on you (whether by court order, agreement or
198 otherwise) that contradict the conditions of this License, they do not
199 excuse you from the conditions of this License. If you cannot
200 distribute so as to satisfy simultaneously your obligations under this
201 License and any other pertinent obligations, then as a consequence you
202 may not distribute the Program at all. For example, if a patent
203 license would not permit royalty-free redistribution of the Program by
204 all those who receive copies directly or indirectly through you, then
205 the only way you could satisfy both it and this License would be to
206 refrain entirely from distribution of the Program.
207
208 If any portion of this section is held invalid or unenforceable under
209 any particular circumstance, the balance of the section is intended to
210 apply and the section as a whole is intended to apply in other
211 circumstances.
212
213 It is not the purpose of this section to induce you to infringe any
214 patents or other property right claims or to contest validity of any
215 such claims; this section has the sole purpose of protecting the
216 integrity of the free software distribution system, which is
217 implemented by public license practices. Many people have made
218 generous contributions to the wide range of software distributed
219 through that system in reliance on consistent application of that
220 system; it is up to the author/donor to decide if he or she is willing
221 to distribute software through any other system and a licensee cannot
222 impose that choice.
223
224 This section is intended to make thoroughly clear what is believed to
225 be a consequence of the rest of this License.
226
227 8. If the distribution and/or use of the Program is restricted in
228 certain countries either by patents or by copyrighted interfaces, the
229 original copyright holder who places the Program under this License
230 may add an explicit geographical distribution limitation excluding
231 those countries, so that distribution is permitted only in or among
232 countries not thus excluded. In such case, this License incorporates
233 the limitation as if written in the body of this License.
234
235 9. The Free Software Foundation may publish revised and/or new versions
236 of the General Public License from time to time. Such new versions will
237 be similar in spirit to the present version, but may differ in detail to
238 address new problems or concerns.
239
240 Each version is given a distinguishing version number. If the Program
241 specifies a version number of this License which applies to it and "any
242 later version", you have the option of following the terms and conditions
243 either of that version or of any later version published by the Free
244 Software Foundation. If the Program does not specify a version number of
245 this License, you may choose any version ever published by the Free Software
246 Foundation.
247
248 10. If you wish to incorporate parts of the Program into other free
249 programs whose distribution conditions are different, write to the author
250 to ask for permission. For software which is copyrighted by the Free
251 Software Foundation, write to the Free Software Foundation; we sometimes
252 make exceptions for this. Our decision will be guided by the two goals
253 of preserving the free status of all derivatives of our free software and
254 of promoting the sharing and reuse of software generally.
255
256 NO WARRANTY
257
258 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
259 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
260 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
261 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
262 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
263 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
264 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
265 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
266 REPAIR OR CORRECTION.
267
268 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
269 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
270 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
271 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
272 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
273 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
274 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
275 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
276 POSSIBILITY OF SUCH DAMAGES.
277
278 END OF TERMS AND CONDITIONS
279
280 How to Apply These Terms to Your New Programs
281
282 If you develop a new program, and you want it to be of the greatest
283 possible use to the public, the best way to achieve this is to make it
284 free software which everyone can redistribute and change under these terms.
285
286 To do so, attach the following notices to the program. It is safest
287 to attach them to the start of each source file to most effectively
288 convey the exclusion of warranty; and each file should have at least
289 the "copyright" line and a pointer to where the full notice is found.
290
291 <one line to give the program's name and a brief idea of what it does.>
292 Copyright (C) <year> <name of author>
293
294 This program is free software; you can redistribute it and/or modify
295 it under the terms of the GNU General Public License as published by
296 the Free Software Foundation; either version 2 of the License, or
297 (at your option) any later version.
298
299 This program is distributed in the hope that it will be useful,
300 but WITHOUT ANY WARRANTY; without even the implied warranty of
301 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
302 GNU General Public License for more details.
303
304 You should have received a copy of the GNU General Public License
305 along with this program; if not, write to the Free Software
306 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
307
308
309 Also add information on how to contact you by electronic and paper mail.
310
311 If the program is interactive, make it output a short notice like this
312 when it starts in an interactive mode:
313
314 Gnomovision version 69, Copyright (C) year name of author
315 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
316 This is free software, and you are welcome to redistribute it
317 under certain conditions; type `show c' for details.
318
319 The hypothetical commands `show w' and `show c' should show the appropriate
320 parts of the General Public License. Of course, the commands you use may
321 be called something other than `show w' and `show c'; they could even be
322 mouse-clicks or menu items--whatever suits your program.
323
324 You should also get your employer (if you work as a programmer) or your
325 school, if any, to sign a "copyright disclaimer" for the program, if
326 necessary. Here is a sample; alter the names:
327
328 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
329 `Gnomovision' (which makes passes at compilers) written by James Hacker.
330
331 <signature of Ty Coon>, 1 April 1989
332 Ty Coon, President of Vice
333
334 This General Public License does not permit incorporating your program into
335 proprietary programs. If your program is a subroutine library, you may
336 consider it more useful to permit linking proprietary applications with the
337 library. If this is what you want to do, use the GNU Library General
338 Public License instead of this License.
0 --- Generating the css file ---
1
2 You need sass to generate the css file.
3
4 To generate them run from a command line in the project directory:
5 sass --sourcemap=none --update ./
(New empty file)
0 GNOME Shell Sass is a project intended to allow the sharing of the theme sources in sass between gnome-shell and other projects like gnome-shell-extensions.
1
2 License
3 =======
4 GNOME Shell Sass is distributed under the terms of the GNU General Public License,
5 version 2 or later. See the COPYING file for details.
6
0 // When color definition differs for dark and light variant,
1 // it gets @if ed depending on $variant
2
3
4 $base_color: if($variant =='light', #ffffff, #292929);
5 $bg_color: if($variant =='light', #ededed, #393f3f);
6 $fg_color: if($variant =='light', #2e3436, #eeeeec);
7
8 $selected_fg_color: #ffffff;
9 $selected_bg_color: if($variant == 'light', #4a90d9, darken(#4a90d9,20%));
10 $selected_borders_color: if($variant=='light', darken($selected_bg_color, 30%),
11 darken($selected_bg_color, 20%));
12 $borders_color: if($variant =='light', darken($bg_color,30%), darken($bg_color,12%));
13 $borders_edge: if($variant =='light', white, transparentize($fg_color, 0.9));
14 $link_color: if($variant == 'light', darken($selected_bg_color,10%),
15 lighten($selected_bg_color,20%));
16 $link_visited_color: if($variant == 'light', darken($selected_bg_color,20%),
17 lighten($selected_bg_color,10%));
18 $top_hilight: $borders_edge;
19
20 $warning_color: #f57900;
21 $error_color: #cc0000;
22 $success_color: if($variant =='light', #73d216, darken(#73d216,10%));
23 $destructive_color: if($variant =='light', #ef2929, darken(#ef2929,10%));
24
25 $osd_fg_color: #eeeeec;
26 $osd_bg_color: #2e3436;
27 $osd_borders_color: transparentize(black, 0.3);
28 $osd_outer_borders_color: transparentize(white, 0.9);
29
30 $tooltip_borders_color: $osd_outer_borders_color;
31
32 //insensitive state derived colors
33 $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
34 $insensitive_bg_color: mix($bg_color, $base_color, 60%);
35 $insensitive_borders_color: $borders_color;
36
37 //colors for the backdrop state, derived from the main colors.
38 $backdrop_base_color: if($variant =='light', darken($base_color,1%), lighten($base_color,1%));
39 $backdrop_bg_color: $bg_color;
40 $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 80%);
41 $backdrop_insensitive_color: if($variant =='light', darken($backdrop_bg_color,15%), lighten($backdrop_bg_color,15%));
42 $backdrop_borders_color: mix($borders_color, $bg_color, 90%);
43 $backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%);
0 //This is the RIGHT PLACE to edit the stylesheet
1
2 //let's start by telling people not to edit the generated CSS:
3 $cakeisalie: "This stylesheet is generated, DO NOT EDIT";
4 /* #{$cakeisalie} */
5
6 $panel-corner-radius: 6px;
7
8 /* Copyright 2009, 2015 Red Hat, Inc.
9 *
10 * Portions adapted from Mx's data/style/default.css
11 * Copyright 2009 Intel Corporation
12 *
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms and conditions of the GNU Lesser General Public License,
15 * version 2.1, as published by the Free Software Foundation.
16 *
17 * This program is distributed in the hope it will be useful, but WITHOUT ANY
18 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
20 * more details.
21 *
22 * You should have received a copy of the GNU Lesser General Public License
23 * along with this program; if not, write to the Free Software Foundation,
24 * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
25 */
26
27
28 /* GLOBALS */
29 $font-size: 11;
30 $font-family: Cantarell, Sans-Serif;
31 $_bubble_bg_color: opacify($osd_bg_color,0.25);
32 $_bubble_fg_color: $osd_fg_color;
33 $_bubble_borders_color: transparentize($osd_fg_color,0.8);
34
35 stage {
36 font-family: $font-family;
37 @include fontsize($font-size);
38 color: $fg_color;
39 }
40
41 /* WIDGETS */
42
43 /* Buttons */
44 .button {
45 border-radius: 3px;
46 border-width: 1px;
47 padding: 4px 32px;
48 @include button(normal);
49 &:focus { @include button(focus); }
50 &:insensitive { @include button(insensitive); }
51 &:active { @include button(active); }
52
53 }
54
55 .modal-dialog-linked-button {
56 border-right-width: 1px;
57 @include button(normal);
58 &:insensitive { @include button(insensitive); }
59 &:active { @include button(active); }
60 &:focus { @include button(focus); }
61 padding: 12px;
62
63 &:first-child {
64 border-radius: 0px 0px 0px 6px;
65 }
66 &:last-child {
67 border-right-width: 0px;
68 border-radius: 0px 0px 6px 0px;
69 }
70 &:first-child:last-child {
71 border-right-width: 0px;
72 border-radius: 0px 0px 6px 6px;
73 }
74 }
75
76 /* Entries */
77 StEntry {
78 border-radius: 3px;
79 padding: 4px;
80 border-width: 1px;
81 color: $fg_color;
82 @include entry(normal);
83 //&:hover { @include entry(hover);}
84 &:focus { @include entry(focus,$fc:transparentize($fg_color,0.5));}
85 &:insensitive { @include entry(insensitive);}
86 selection-background-color: $selected_bg_color;
87 selected-color: $selected_fg_color;
88 StIcon.capslock-warning {
89 icon-size: 16px;
90 warning-color: $warning_color;
91 padding: 0 4px;
92 }
93 }
94
95
96 /* Scrollbars */
97
98 StScrollView {
99 &.vfade { -st-vfade-offset: 68px; }
100 &.hfade { -st-hfade-offset: 68px; }
101 }
102
103 StScrollBar {
104 padding: 0;
105
106 StScrollView & {
107 min-width: 14px;
108 min-height: 14px;
109 }
110
111 StBin#trough {
112 border-radius: 0;
113 background-color: transparent;
114 }
115
116 StButton#vhandle, StButton#hhandle {
117 border-radius: 8px;
118 background-color: mix($fg_color, $bg_color, 60%);
119 //border: 3px solid transparent; //would be nice to margin or at least to transparent
120 margin: 3px;
121 &:hover { background-color: mix($fg_color, $bg_color, 80%); }
122 &:active { background-color: $selected_bg_color; }
123 }
124 }
125
126 /* Slider */
127
128 .slider {
129 height: 1em;
130 -slider-height: 0.3em;
131 -slider-background-color: $insensitive_bg_color; //background of the trough
132 -slider-border-color: $borders_color; //trough border color
133 -slider-active-background-color: $selected_bg_color; //active trough fill
134 -slider-active-border-color: darken($selected_bg_color,10%); //active trough border
135 -slider-border-width: 1px;
136 -slider-handle-radius: 6px;
137 }
138
139 /* Check Boxes */
140
141 .check-box {
142 StBoxLayout { spacing: .8em; }
143 StBin {
144 width: 24px;
145 height: 22px;
146 background-image: url("resource:///org/gnome/shell/theme/checkbox-off.svg");
147 }
148 &:focus StBin { background-image: url("resource:///org/gnome/shell/theme/checkbox-off-focused.svg"); }
149 &:checked StBin { background-image: url("resource:///org/gnome/shell/theme/checkbox.svg"); }
150 &:focus:checked StBin { background-image: url("resource:///org/gnome/shell/theme/checkbox-focused.svg"); }
151 }
152
153 /* Switches */
154 .toggle-switch {
155 width: 65px;
156 height: 22px;
157 background-size: contain;
158 }
159
160 @each $v in us, intl {
161 .toggle-switch-#{$v} {
162 background-image: url("resource:///org/gnome/shell/theme/toggle-off-#{$v}.svg");
163 &:checked { background-image: url("resource:///org/gnome/shell/theme/toggle-on-#{$v}.svg"); }
164 }
165 }
166
167 /* links */
168 .shell-link {
169 color: $link_color;
170 &:hover { color: lighten($link_color,10%); }
171 }
172
173 /* Modal Dialogs */
174
175 .headline { font-size: 110%; }
176 .lightbox { background-color: black; }
177 .flashspot { background-color: white; }
178
179 .modal-dialog {
180 border-radius: 9px;
181 color: $osd_fg_color;
182 background-color: transparentize(darken($osd_bg_color,10%),0.05);
183 border: 1px solid $_bubble_borders_color;
184 .modal-dialog-content-box {
185 padding: 24px;
186 }
187 .run-dialog-entry { width: 20em; margin-bottom: 6px; }
188 .run-dialog-error-box {
189 padding-top: 16px;
190 spacing: 6px;
191 }
192 .run-dialog-button-box { padding-top: 1em; }
193 .run-dialog-label {
194 @include fontsize($font-size + 1.1);
195 font-weight: bold;
196 color: darken($osd_fg_color,10%);
197 padding-bottom: .4em;
198 }
199
200 }
201
202 .mount-dialog-subject,
203 .end-session-dialog-subject { //this should be a generic header class
204 @include fontsize($font-size * 1.3);
205 }
206
207 /* Message Dialog */
208 .message-dialog-main-layout {
209 padding: 12px 20px 0;
210 spacing: 12px;
211 }
212
213 .message-dialog-content {
214 max-width: 28em;
215 spacing: 20px;
216 }
217
218 .message-dialog-icon {
219 min-width: 48px;
220 icon-size: 48px;
221 }
222
223 .message-dialog-title {
224 font-weight: bold;
225 }
226
227 .message-dialog-subtitle {
228 color: darken($fg_color,40%);
229 font-weight: bold;
230 }
231
232 /* End Session Dialog */
233 .end-session-dialog {
234 spacing: 42px;
235 border: 1px solid $_bubble_borders_color;
236 }
237
238 .end-session-dialog-list {
239 padding-top: 20px;
240 }
241
242 .end-session-dialog-layout {
243 padding-left: 17px;
244 &:rtl { padding-right: 17px; }
245 }
246
247 .end-session-dialog-description {
248 width: 28em;
249 padding-bottom: 10px;
250 &:rtl {
251 text-align: right;
252 }
253 }
254
255 .end-session-dialog-warning {
256 width: 28em;
257 color: $warning_color;
258 padding-top: 6px;
259 &:rtl {
260 text-align: right;
261 }
262 }
263
264 .end-session-dialog-logout-icon {
265 //border: 2px solid #8b8b8b;
266 border-radius: 5px;
267 width: 48px;
268 height: 48px;
269 background-size: contain;
270 }
271
272 .end-session-dialog-shutdown-icon {
273 color: $fg_color;
274 width: 48px;
275 height: 48px;
276 }
277
278 .end-session-dialog-inhibitor-layout {
279 spacing: 16px;
280 max-height: 200px;
281 padding-right: 65px;
282 padding-left: 65px;
283 }
284
285 .end-session-dialog-session-list,
286 .end-session-dialog-app-list {
287 spacing: 1em;
288 }
289
290 .end-session-dialog-list-header {
291 font-weight: bold;
292 &:rtl { text-align: right; }
293 }
294
295 .end-session-dialog-app-list-item,
296 .end-session-dialog-session-list-item {
297 spacing: 1em;
298 }
299
300 .end-session-dialog-app-list-item-name,
301 .end-session-dialog-session-list-item-name {
302 font-weight: bold;
303 }
304
305 .end-session-dialog-app-list-item-description {
306 color: darken($fg_color,5%);
307 font-size: 10pt;
308 }
309
310 /* ShellMountOperation Dialogs */
311 .shell-mount-operation-icon { icon-size: 48px; }
312
313 .mount-dialog {
314 spacing: 24px;
315
316 .message-dialog-title {
317 padding-top: 10px;
318 padding-left: 17px;
319 padding-bottom: 6px;
320 max-width: 34em;
321 }
322
323 .message-dialog-title:rtl {
324 padding-left: 0px;
325 padding-right: 17px;
326 }
327
328 .message-dialog-body {
329 padding-left: 17px;
330 width: 28em;
331 }
332
333 .message-dialog-body:rtl {
334 padding-left: 0px;
335 padding-right: 17px;
336 }
337 }
338
339 .mount-dialog-app-list {
340 max-height: 200px;
341 padding-top: 24px;
342 padding-left: 49px;
343 padding-right: 32px;
344 }
345
346 .mount-dialog-app-list:rtl {
347 padding-right: 49px;
348 padding-left: 32px;
349 }
350
351 .mount-dialog-app-list-item {
352 color: darken($fg_color,10%);
353 &:hover { color: $fg_color; }
354 &:ltr { padding-right: 1em; }
355 &:rtl { padding-left: 1em; }
356 }
357
358 .mount-dialog-app-list-item-icon {
359 &:ltr { padding-right: 17px; }
360 &:rtl { padding-left: 17px; }
361 }
362
363 .mount-dialog-app-list-item-name {
364 font-size: 10pt;
365 }
366
367
368 /* Password or Authentication Dialog */
369
370 .prompt-dialog {
371 //this is the width of the entire modal popup
372 width: 34em;
373 border: 3px solid $_bubble_borders_color;
374
375 .message-dialog-main-layout { spacing: 24px; padding: 10px; }
376 .message-dialog-content { spacing: 16px; }
377 .message-dialog-title { color: darken($osd_fg_color,25%); }
378 }
379
380 .prompt-dialog-description:rtl {
381 text-align: right;
382 }
383
384 .prompt-dialog-password-box {
385 spacing: 1em;
386 padding-bottom: 1em;
387 }
388
389 .prompt-dialog-error-label {
390 font-size: 10pt;
391 color: $error_color;
392 padding-bottom: 8px;
393 }
394
395 .prompt-dialog-info-label {
396 font-size: 10pt;
397 padding-bottom: 8px;
398 }
399
400 .hidden {
401 color: rgba(0,0,0,0);
402 }
403
404 .prompt-dialog-null-label {
405 font-size: 10pt;
406 padding-bottom: 8px;
407 }
408
409
410 /* Polkit Dialog */
411
412 .polkit-dialog-user-layout {
413 padding-left: 10px;
414 spacing: 10px;
415 &:rtl {
416 padding-left: 0px;
417 padding-right: 10px;
418 }
419 }
420
421 .polkit-dialog-user-root-label {
422 color: $warning_color;
423 }
424
425 .polkit-dialog-user-icon {
426 border-radius: 5px;
427 background-size: contain;
428 width: 48px;
429 height: 48px;
430 }
431
432 /* Audio selection dialog */
433 .audio-device-selection-dialog {
434 spacing: 30px;
435 }
436
437 .audio-selection-content {
438 spacing: 20px;
439 padding: 24px;
440 }
441
442 .audio-selection-title {
443 font-weight: bold;
444 text-align: center;
445 }
446
447 .audio-selection-box {
448 spacing: 20px;
449 }
450
451 .audio-selection-device {
452 border: 1px solid $_bubble_borders_color;
453 border-radius: 12px;
454 &:active,&:hover,&:focus { background-color: $selected_bg_color; }
455 }
456
457 .audio-selection-device-box {
458 padding: 20px;
459 spacing: 20px;
460 }
461
462 .audio-selection-device-icon {
463 icon-size: 64px;
464 }
465
466 /* Access Dialog */
467 .access-dialog {
468 spacing: 30px;
469 }
470
471 /* Geolocation Dialog */
472 .geolocation-dialog {
473 spacing: 30px;
474 }
475
476 /* Extension Dialog */
477 .extension-dialog {
478 .message-dialog-main-layout { spacing: 24px; padding: 10px; }
479 .message-dialog-title { color: darken($osd_fg_color,25%); }
480 }
481
482 /* Inhibit-Shortcuts Dialog */
483 .inhibit-shortcuts-dialog {
484 spacing: 30px;
485 }
486
487 /* Network Agent Dialog */
488
489 .network-dialog-secret-table {
490 spacing-rows: 15px;
491 spacing-columns: 1em;
492 }
493
494 .keyring-dialog-control-table {
495 spacing-rows: 15px;
496 spacing-columns: 1em;
497 }
498
499 /* Popovers/Menus */
500
501 .popup-menu {
502 min-width: 15em;
503
504 .popup-menu-arrow { } //defined globally in the TOP BAR
505 .popup-sub-menu {
506 background-color: darken($bg_color,2%);
507 box-shadow: inset 0 -1px 0px lighten($borders_color,5%);
508 }
509
510 .popup-menu-content { padding: 1em 0em; }
511 .popup-menu-item {
512 spacing: 12px;
513
514 &:ltr { padding: .4em 1.75em .4em 0em; }
515 &:rtl { padding: .4em 0em .4em 1.75em; }
516 &:checked {
517 background-color: darken($bg_color,2%);
518 box-shadow: inset 0 1px 0px lighten($borders_color,5%);
519 font-weight: bold;
520 }
521 &.selected { background-color: transparentize($fg_color,0.9); color: $fg_color; }
522 &:active { background-color: $selected_bg_color; color: $selected_fg_color; }
523 &:insensitive { color: transparentize($fg_color,.5); }
524 }
525
526 .popup-inactive-menu-item { //all icons and other graphical elements
527 color: $fg_color;
528
529 &:insensitive { color: transparentize($fg_color,0.5); }
530 }
531 //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
532 &.panel-menu {
533 -boxpointer-gap: 4px;
534 margin-bottom: 1.75em;
535 }
536 }
537
538
539
540 .popup-menu-ornament {
541 text-align: right;
542 width: 1.2em;
543 }
544 .popup-menu-boxpointer,
545 .candidate-popup-boxpointer {
546 -arrow-border-radius: 3px;
547 -arrow-background-color: $bg_color;
548 -arrow-border-width: 1px;
549 -arrow-border-color: $borders_color;
550 -arrow-base: 24px;
551 -arrow-rise: 11px;
552 -arrow-box-shadow: 0 1px 3px black; //dreaming. bug #689995
553 }
554
555 .popup-separator-menu-item {
556 //-margin-horizontal: 24px;
557 height: 1px; //not really the whole box
558 margin: 6px 64px;
559 background-color: transparent;
560 border-color: lighten($borders_color,10%);
561 border-bottom-width: 1px;
562 border-bottom-style: solid;
563 }
564
565
566 // Background menu
567 .background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }
568
569 /* fallback menu
570 - odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
571 app menu inside the main app window itself rather than the top bar
572 */
573
574
575 /* OSD */
576 .osd-window {
577 text-align: center;
578 font-weight: bold;
579 spacing: 1em;
580 margin: 32px;
581 min-width: 64px;
582 min-height: 64px;
583
584 .osd-monitor-label { font-size: 3em; }
585 .level {
586 height: 0.6em;
587 border-radius: 0.3em;
588 background-color: transparentize(darken($osd_bg_color,15%),0.5);
589 color: $osd_fg_color;
590 }
591 .level-bar {
592 background-color: $osd_fg_color;
593 border-radius: 0.3em;
594 }
595 }
596
597 /* Pad OSD */
598 .pad-osd-window {
599 padding: 32px;
600 background-color: transparentize(black, 0.2);
601
602 .pad-osd-title-box { spacing: 12px; }
603 .pad-osd-title-menu-box { spacing: 6px; }
604 }
605
606 .combo-box-label {
607 width: 15em;
608 }
609
610 /* App Switcher */
611 .switcher-popup {
612 padding: 8px;
613 spacing: 16px;
614 }
615
616 .osd-window,
617 .resize-popup,
618 .switcher-list {
619 @extend %osd-panel;
620 }
621
622 .switcher-list-item-container { spacing: 8px; }
623
624 .switcher-list .item-box {
625 padding: 8px;
626 border-radius: 4px;
627 }
628
629 .switcher-list .item-box:outlined {
630 padding: 6px;
631 border: 2px solid darken($borders_color,10%);
632 }
633
634 .switcher-list .item-box:selected {
635 background-color: $selected_bg_color;
636 color: $selected_fg_color;
637 }
638
639 .switcher-list .thumbnail-box {
640 padding: 2px;
641 spacing: 4px;
642 }
643
644 .switcher-list .thumbnail {
645 width: 256px;
646 }
647
648 .switcher-list .separator {
649 width: 1px;
650 background: $borders_color;
651 }
652
653 .switcher-arrow {
654 border-color: rgba(0,0,0,0);
655 color: transparentize($fg_color,0.2);
656 &:highlighted {
657 color: $fg_color;
658 }
659 }
660
661 .input-source-switcher-symbol {
662 font-size: 34pt;
663 width: 96px;
664 height: 96px;
665 }
666
667 /* Window Cycler */
668 .cycler-highlight { border: 5px solid $selected_bg_color; }
669
670 /* Workspace Switcher */
671 .workspace-switcher-group { padding: 12px; }
672
673 .workspace-switcher-container {
674 @extend %osd-panel;
675 }
676
677 .workspace-switcher {
678 background: transparent;
679 border: 0px;
680 border-radius: 0px;
681 padding: 0px;
682 spacing: 8px;
683 }
684
685 .ws-switcher-active-up, .ws-switcher-active-down {
686 height: 50px;
687 background-color: $selected_bg_color;
688 color: $selected_fg_color;
689 //background-image: url("resource:///org/gnome/shell/theme/ws-switch-arrow-up.png");
690 background-size: 32px;
691 border-radius: 8px;
692 }
693
694 .ws-switcher-box {
695 height: 50px;
696 border: 1px solid transparentize($osd_fg_color,0.9);
697 background: transparent;
698 border-radius: 8px;
699 }
700
701 %osd-panel {
702 color: $_bubble_fg_color;
703 background-color: $_bubble_bg_color;
704 border: 1px solid $_bubble_borders_color;
705 border-radius: 12px;
706 padding: 12px;
707 }
708
709 /* Tiled window previews */
710 .tile-preview {
711 background-color: transparentize($selected_bg_color,0.5);
712 border: 1px solid $selected_bg_color;
713 }
714
715 .tile-preview-left.on-primary {
716 border-radius: $panel-corner-radius 0 0 0;
717 }
718
719 .tile-preview-right.on-primary {
720 border-radius: 0 $panel-corner-radius 0 0;
721 }
722
723 .tile-preview-left.tile-preview-right.on-primary {
724 border-radius: $panel-corner-radius $panel-corner-radius 0 0;
725 }
726
727 /* TOP BAR */
728
729 #panel {
730 background-color: rgba(0, 0, 0, 0.35);
731 /* transition from solid to transparent */
732 transition-duration: 500ms;
733 font-weight: bold;
734 height: 1.86em;
735
736 &.unlock-screen,
737 &.login-screen,
738 &.lock-screen {
739 background-color: transparent;
740 }
741
742 #panelLeft, #panelCenter { // spacing between activities<>app menu and such
743 spacing: 4px;
744 }
745
746 .panel-corner {
747 -panel-corner-radius: $panel-corner-radius;
748 -panel-corner-background-color: rgba(0, 0, 0, 0.35);
749 -panel-corner-border-width: 2px;
750 -panel-corner-border-color: transparent;
751
752 &:active, &:overview, &:focus {
753 -panel-corner-border-color: lighten($selected_bg_color,5%);
754 }
755
756 &.lock-screen, &.login-screen, &.unlock-screen {
757 -panel-corner-radius: 0;
758 -panel-corner-background-color: transparent;
759 -panel-corner-border-color: transparent;
760 }
761 }
762
763 .panel-button {
764 -natural-hpadding: 12px;
765 -minimum-hpadding: 6px;
766 font-weight: bold;
767 color: #eee;
768 text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
769 transition-duration: 100ms;
770
771 .app-menu-icon {
772 -st-icon-style: symbolic;
773 margin-left: 4px;
774 margin-right: 4px;
775 //dimensions of the icon are hardcoded
776 }
777
778 .system-status-icon,
779 .app-menu-icon > StIcon,
780 .popup-menu-arrow {
781 icon-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
782 }
783
784 &:hover {
785 color: lighten($fg_color, 10%);
786 text-shadow: 0px 1px 6px rgba(0, 0, 0, 1);
787
788 .system-status-icon,
789 .app-menu-icon > StIcon,
790 .popup-menu-arrow {
791 icon-shadow: 0px 1px 6px rgba(0, 0, 0, 1);
792 }
793 }
794
795 &:active, &:overview, &:focus, &:checked {
796 // Trick due to St limitations. It needs a background to draw
797 // a box-shadow
798 background-color: rgba(0, 0, 0, 0.01);
799 box-shadow: inset 0 -2px 0px lighten($selected_bg_color,5%);
800 color: lighten($fg_color,10%);
801
802 & > .system-status-icon { icon-shadow: black 0 2px 2px; }
803 }
804
805 .system-status-icon { icon-size: 1.09em; padding: 0 5px; }
806 .unlock-screen &,
807 .login-screen &,
808 .lock-screen & {
809 color: lighten($fg_color, 10%);
810 &:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
811 }
812 }
813
814 .panel-status-indicators-box,
815 .panel-status-menu-box {
816 spacing: 2px;
817 }
818
819 // spacing between power icon and (optional) percentage label
820 .power-status.panel-status-indicators-box {
821 spacing: 0;
822 }
823
824 .screencast-indicator { color: $warning_color; }
825
826 &.solid {
827 background-color: black;
828 /* transition from transparent to solid */
829 transition-duration: 300ms;
830
831 .panel-corner {
832 -panel-corner-background-color: black;
833 }
834
835 .panel-button {
836 color: #ccc;
837 text-shadow: none;
838
839 &:hover, &:active, &:overview, &:focus, &:checked {
840 color: lighten($fg_color, 10%);
841 }
842 }
843
844 .system-status-icon,
845 .app-menu-icon > StIcon,
846 .popup-menu-arrow {
847 icon-shadow: none;
848 }
849 }
850 }
851
852 // calendar popover
853 #calendarArea {
854 padding: 0.75em 1.0em;
855 }
856
857 .calendar {
858 margin-bottom: 1em;
859 }
860
861 .calendar,
862 .datemenu-today-button,
863 .datemenu-displays-box,
864 .message-list-sections {
865 margin: 0 1.5em;
866 }
867
868 .datemenu-calendar-column { spacing: 0.5em; }
869 .datemenu-displays-section { padding-bottom: 3em; }
870 .datemenu-displays-box { spacing: 1em; }
871
872 .datemenu-calendar-column {
873 border: 0 solid lighten($bg_color,5%);
874 &:ltr { border-left-width: 1px; }
875 &:rtl { border-right-width: 1px; }
876 }
877
878 .datemenu-today-button,
879 .world-clocks-button,
880 .weather-button,
881 .events-section-title {
882 border-radius: 4px;
883 padding: .4em;
884 }
885
886 .message-list-section-list:ltr {
887 padding-left: .4em;
888 }
889
890 .message-list-section-list:rtl {
891 padding-right: .4em;
892 }
893
894 .datemenu-today-button,
895 .world-clocks-button,
896 .weather-button,
897 .events-section-title {
898 &:hover,&:focus { background-color: lighten($bg_color,5%); }
899 &:active {
900 color: lighten($selected_fg_color,5%);
901 background-color: $selected_bg_color;
902 }
903 }
904
905 .datemenu-today-button .day-label {
906 }
907
908 .datemenu-today-button .date-label {
909 font-size: 1.5em;
910 font-weight: 300;
911 }
912
913 .world-clocks-header,
914 .weather-header,
915 .events-section-title {
916 color: darken($fg_color,40%);
917 font-weight: bold;
918 }
919
920 .world-clocks-grid {
921 spacing-rows: 0.4em;
922 }
923
924 .weather-box {
925 spacing: 0.4em;
926 }
927
928 .calendar-month-label {
929 color: darken($fg_color,5%);
930 font-weight: bold;
931 padding: 8px 0;
932 &:focus {}
933 }
934
935 .pager-button {
936 color: white;
937 background-color: transparent;
938 width: 32px;
939 border-radius: 4px;
940 &:hover, &:focus { background-color: transparentize($fg_color,0.95); }
941 &:active { background-color: transparentize($bg_color,0.95); }
942 }
943
944 .calendar-change-month-back { //arrow back
945 background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-left.svg");
946 &:rtl { background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-right.svg"); }
947 }
948 .calendar-change-month-forward { //arrow foreward
949 background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-right.svg");
950 &:rtl { background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-left.svg"); }
951 }
952
953 .calendar-day-base {
954 font-size: 80%;
955 text-align: center;
956 width: 2.4em; height: 2.4em;
957 padding: 0.1em;
958 margin: 2px;
959 border-radius: 1.4em;
960 &:hover,&:focus { background-color: lighten($bg_color,5%); }
961 &:active,&:selected {
962 color: lighten($selected_fg_color,5%);
963 background-color: $selected_bg_color;
964 border-color: transparent; //avoid jumparound due to today
965 }
966 &.calendar-day-heading { //day of week heading
967 color: darken($fg_color,40%);
968 margin-top: 1em;
969 font-size: 70%;
970 }
971 }
972 .calendar-day { //border collapse hack - see calendar.js
973 border-width: 0;
974 }
975 .calendar-day-top { border-top-width: 1px; }
976 .calendar-day-left { border-left-width: 1px; }
977 .calendar-work-day {
978
979 }
980 .calendar-nonwork-day {
981 color: $insensitive_fg_color;
982 }
983 .calendar-today {
984 font-weight: bold;
985 //color: lighten($fg_color,10%);
986 //background-color: darken($bg_color,5%);
987 border: 1px solid transparentize($borders_color,0.5);
988 }
989 .calendar-day-with-events {
990 color: lighten($fg_color,10%);
991 font-weight: bold;
992 background-image: url("resource:///org/gnome/shell/theme/calendar-today.svg");
993 }
994 .calendar-other-month-day {
995 color: transparentize($fg_color,0.85);
996 opacity: 0.5;
997 }
998 .calendar-week-number {
999 font-size: 70%;
1000 font-weight: bold;
1001 width: 2.3em; height: 1.8em;
1002 border-radius: 2px;
1003 padding: 0.5em 0 0;
1004 margin: 6px;
1005 background-color: transparentize($fg_color,0.7);
1006 color: $bg_color;
1007 }
1008
1009 /* Message list */
1010 .message-list {
1011 width: 31.5em;
1012 }
1013
1014 .message-list-clear-button.button {
1015 background-color: transparent;
1016 &:hover,&:focus { background-color: lighten($bg_color,5%); }
1017 margin: 1.5em 1.5em 0;
1018 }
1019
1020 .message-list-sections {
1021 spacing: 1em;
1022 }
1023
1024 .message-list-section,
1025 .message-list-section-list {
1026 spacing: 0.4em;
1027 }
1028
1029 .message {
1030 &:hover,&:focus { background-color: lighten($bg_color,5%); }
1031 border-radius: 3px;
1032 }
1033
1034 .message-icon-bin {
1035 padding: 0.68em 0.2em 0.68em 0.68em;
1036 &:rtl { padding: 0.68em 0.68em 0.68em 0.2em; }
1037 }
1038
1039 .message-icon-bin > StIcon {
1040 color: darken($fg_color,20%);
1041 icon-size: 1.09em;
1042 -st-icon-style: symbolic;
1043 }
1044
1045 .message-secondary-bin {
1046 padding: 0 0.82em;;
1047 }
1048
1049 .message-secondary-bin > .event-time {
1050 color: darken($fg_color,40%);
1051 font-size: 0.7em;
1052 /* HACK: the label should be baseline-aligned with a 1em label,
1053 fake this with some bottom padding */
1054 padding-bottom: 0.13em;
1055 }
1056
1057 .message-secondary-bin > StIcon {
1058 icon-size: 1.09em;
1059 }
1060
1061 .message-title {
1062 color: darken($fg_color,5%);
1063 }
1064
1065 .message-content {
1066 color: darken($fg_color,20%);
1067 padding: 10px;
1068 }
1069
1070 .message-media-control {
1071 padding: 12px;
1072 color: darken($fg_color, 20%);
1073
1074 &:last-child:ltr { padding-right: 18px; }
1075 &:last-child:rtl { padding-left: 18px; }
1076 &:hover { color: $fg_color; }
1077 &:insensitive { color: darken($fg_color,40%); }
1078 }
1079
1080 .media-message-cover-icon {
1081 icon-size: 48px !important;
1082 &.fallback {
1083 color: lighten($bg_color,10%);
1084 background-color: $bg_color;
1085 border: 2px solid $bg_color;
1086 border-radius: 2px;
1087 icon-size: 16px;
1088 padding: 8px; }
1089 }
1090
1091
1092 // a little unstructured mess:
1093
1094 .system-switch-user-submenu-icon.user-icon {
1095 icon-size: 20px;
1096 padding: 0 2px;
1097 }
1098 .system-switch-user-submenu-icon.default-icon {
1099 icon-size: 16px;
1100 padding: 0 4px;
1101 }
1102
1103 #appMenu {
1104 spinner-image: url("resource:///org/gnome/shell/theme/process-working.svg");
1105 spacing: 4px;
1106
1107 .label-shadow { color: transparent; }
1108 }
1109
1110 .aggregate-menu {
1111 min-width: 21em;
1112 .popup-menu-icon { padding: 0 4px; }
1113 .popup-sub-menu .popup-menu-item :first-child {
1114 &:ltr { /* 12px spacing + 2*4px padding */
1115 padding-left: 20px; margin-left: 1.09em; }
1116 &:rtl { /* 12px spacing + 2*4px padding */
1117 padding-right: 20px; margin-right: 1.09em; }
1118 }
1119 }
1120
1121 .system-menu-action {
1122 color: $fg_color;
1123 border-radius: 32px; /* wish we could do 50% */
1124 padding: 13px;
1125 border: 1px solid lighten($borders_color,5%);
1126
1127 &:hover, &:focus {
1128 background-color: transparentize($fg_color,0.9);
1129 color: $fg_color;
1130 border: none;
1131 padding: 14px;
1132 }
1133 &:active { background-color: $selected_bg_color; color: $selected_fg_color; }
1134
1135 & > StIcon { icon-size: 16px; }
1136 }
1137
1138 //Activities Ripples
1139 .ripple-box {
1140 width: 52px;
1141 height: 52px;
1142 background-image: url("resource:///org/gnome/shell/theme/corner-ripple-ltr.png");
1143 background-size: contain;
1144 }
1145
1146 .ripple-box:rtl {
1147 background-image: url("resource:///org/gnome/shell/theme/corner-ripple-rtl.png");
1148 }
1149
1150 // not really top bar only
1151 .popup-menu-arrow { width: 16px; height: 16px; }
1152 .popup-menu-icon { icon-size: 1.09em; }
1153
1154 //close buttons
1155
1156 .window-close {
1157 background-image: url("resource:///org/gnome/shell/theme/close-window.svg");
1158 background-size: 32px;
1159 height: 32px;
1160 width: 32px;
1161 -shell-close-overlap: 16px;
1162
1163 &:hover { background-image: url("resource:///org/gnome/shell/theme/close-window-hover.svg"); }
1164 &:active { background-image: url("resource:///org/gnome/shell/theme/close-window-active.svg"); }
1165 }
1166
1167 /* NETWORK DIALOGS */
1168
1169 .nm-dialog {
1170 max-height: 34em;
1171 min-height: 31em;
1172 min-width: 32em;
1173 }
1174
1175 .nm-dialog-content {
1176 spacing: 20px;
1177 padding: 24px;
1178 }
1179 .nm-dialog-header-hbox { spacing: 10px; }
1180 .nm-dialog-airplane-box { spacing: 12px; }
1181
1182 .nm-dialog-airplane-headline {
1183 font-weight: bold;
1184 text-align: center;
1185 }
1186
1187 .nm-dialog-airplane-text { color: $fg_color; }
1188 .nm-dialog-header-icon { icon-size: 32px; }
1189 .nm-dialog-scroll-view { border: 2px solid $borders_color; }
1190 .nm-dialog-header { font-weight: bold; }
1191
1192 .nm-dialog-item {
1193 font-size: 110%;
1194 border-bottom: 1px solid $borders_color;
1195 padding: 12px;
1196 spacing: 20px;
1197 }
1198
1199 .nm-dialog-item:selected {
1200 background-color: $selected_bg_color;
1201 color: $selected_fg_color;
1202 }
1203
1204 .nm-dialog-icons { spacing: .5em; }
1205 .nm-dialog-icon { icon-size: 16px; }
1206 .no-networks-label { color: #999999; }
1207 .no-networks-box { spacing: 12px; }
1208
1209 /* OVERVIEW */
1210
1211 #overview {
1212 spacing: 24px; //
1213 }
1214
1215 .overview-controls {
1216 padding-bottom: 32px;
1217 }
1218
1219 .window-picker { //container around window thumbnails
1220 -horizontal-spacing: 16px;
1221 -vertical-spacing: 16px;
1222 padding: 0 16px 16px;
1223
1224 &.external-monitor { padding: 16px; }
1225 }
1226
1227 .window-clone-border {
1228 border: 4px solid $selected_bg_color;
1229 border-radius: 4px;
1230 // For window decorations with round corners we can't match
1231 // the exact shape when the window is scaled. So apply a shadow
1232 // to fix that case
1233 box-shadow: inset 0px 0px 0px 1px $selected_bg_color;
1234 }
1235 .window-caption {
1236 spacing: 25px;
1237 color: $selected_fg_color;
1238 background-color: $selected_bg_color;
1239 border-radius: 8px;
1240 padding: 4px 12px;
1241 }
1242
1243 //search entry
1244 .search-entry {
1245 width: 320px;
1246 padding: 7px 9px;
1247 border-radius: 6px;
1248 border-color: darken($osd_fg_color,50%);
1249 color: $osd_fg_color;
1250 background-color: $osd_bg_color;
1251 &:focus {
1252 padding: 6px 8px;
1253 border-width: 2px;
1254 border-color: $selected_bg_color;
1255 }
1256
1257 .search-entry-icon { icon-size: 1em; padding: 0 4px; color: transparentize($fg_color,.3); }
1258
1259 &:hover, &:focus {
1260 .search-entry-icon { color: $fg_color; }
1261 }
1262 }
1263
1264 //search results
1265
1266 #searchResultsBin {
1267 max-width: 1000px;
1268 }
1269
1270 #searchResultsContent {
1271 padding-left: 20px;
1272 padding-right: 20px;
1273 spacing: 16px;
1274 }
1275
1276 .search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing
1277 .search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container
1278 .search-statustext { // "no results"
1279 @extend %status_text;
1280 }
1281 .list-search-results { spacing: 3px; }
1282
1283 .search-section-separator { height: 2px; background-color: rgba(255, 255, 255, 0.2); }
1284
1285 .list-search-result-content { spacing: 30px; }
1286 .list-search-result-title { color: darken($osd_fg_color,5%); spacing: 12px; }
1287 .list-search-result-description { color: transparentize(darken($osd_fg_color,15%), 0.5); }
1288 .list-search-provider-details { width: 150px; color: darken($osd_fg_color,5%); margin-top: 0.24em; }
1289 .list-search-provider-content { spacing: 20px; }
1290 .search-provider-icon { padding: 15px; }
1291
1292
1293 /* DASHBOARD */
1294
1295 #dash {
1296 font-size: 9pt;
1297 color: $_bubble_fg_color;
1298 background-color: $_bubble_bg_color;
1299 padding: 4px 0;
1300 border: 1px solid rgba(128, 128, 128, 0.4);
1301 border-left: 0px;
1302 border-radius: 0px 9px 9px 0px;
1303
1304 &:rtl {
1305 border-radius: 9px 0 0 9px;
1306 }
1307
1308 .placeholder {
1309 background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
1310 background-size: contain;
1311 height: 24px;
1312 }
1313
1314 .empty-dash-drop-target {
1315 width: 24px;
1316 height: 24px;
1317 }
1318
1319 }
1320
1321 .dash-item-container > StWidget {
1322 padding: 4px 8px;
1323 }
1324
1325 .dash-label { //osd tooltip
1326 border-radius: 7px;
1327 padding: 4px 12px;
1328 color: $osd_fg_color;
1329 background-color: transparentize($osd_bg_color,0.3);
1330 text-align: center;
1331 -x-offset: 8px;
1332 }
1333
1334 /* App Vault/Grid */
1335 .icon-grid {
1336 spacing: 30px;
1337 -shell-grid-horizontal-item-size: 136px;
1338 -shell-grid-vertical-item-size: 136px;
1339
1340 .overview-icon { icon-size: 96px; }
1341 }
1342 //.app-display { spacing: 20px; }
1343
1344 .system-action-icon {
1345 background-color: black;
1346 color: white;
1347 border-radius: 99px;
1348 icon-size: 48px;
1349 }
1350
1351 .app-view-controls { //favorties | all toggle container
1352 padding-bottom: 32px;
1353 }
1354 .app-view-control { //favorties | all toggle button
1355 padding: 4px 32px;
1356 &:checked { @include button(active); }
1357 &:first-child {
1358 border-right-width: 0;
1359 border-radius: 3px 0 0 3px;
1360 }
1361 &:last-child {
1362 border-radius: 0 3px 3px 0;
1363 }
1364 }
1365
1366 //Icon tile
1367 .search-provider-icon,
1368 .list-search-result {
1369 @extend %icon_tile;
1370 &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
1371 &:focus, &:selected, &:hover {
1372 background-color: transparentize($osd_fg_color,.9);
1373 transition-duration: 200ms;
1374 }
1375 }
1376 .app-well-app,
1377 .app-well-app.app-folder,
1378 .show-apps,
1379 .grid-search-result {
1380 & .overview-icon {
1381 @extend %icon_tile;
1382 }
1383 &:active .overview-icon,
1384 &:checked .overview-icon {
1385 background-color: transparentize(darken($osd_bg_color,10%),.1);
1386 box-shadow: inset 0 1px 2px $osd_borders_color;
1387 }
1388 &:hover .overview-icon,
1389 &:focus .overview-icon,
1390 &:selected .overview-icon {
1391 background-color: transparentize($osd_fg_color,.9);
1392 transition-duration: 0ms;
1393 border-image: none;
1394 background-image: none;
1395 }
1396
1397 }
1398
1399 .app-well-app-running-dot { //running apps indicator
1400 width: 10px; height: 3px;
1401 background-color: $selected_bg_color;
1402 margin-bottom: 2px;
1403 }
1404
1405 %icon_tile {
1406 color: $osd_fg_color;
1407 border-radius: 4px;
1408 padding: 6px;
1409 border: 1px solid transparent;
1410 transition-duration: 100ms;
1411 text-align: center;
1412 }
1413
1414 .app-well-app.app-folder > .overview-icon {
1415 background-color: transparentize($osd_bg_color,.6);
1416 }
1417
1418 .show-apps:checked .show-apps-icon,
1419 .show-apps:focus .show-apps-icon {
1420 color: white;
1421 transition-duration: 100ms;
1422 }
1423
1424
1425 // Collections
1426 .app-folder-popup { //expanded collection
1427 -arrow-border-radius: 8px;
1428 -arrow-background-color: transparentize($osd_bg_color,0.7);
1429 -arrow-base: 24px;
1430 -arrow-rise: 11px;
1431 }
1432 .app-folder-popup-bin { padding: 5px; }
1433 .app-folder-icon {
1434 padding: 5px;
1435 spacing-rows: 5px;
1436 spacing-columns: 5px;
1437 }
1438
1439 .page-indicator {
1440 padding: 15px 20px;
1441
1442 .page-indicator-icon {
1443 width: 18px;
1444 height: 18px;
1445 background-image: url(resource:///org/gnome/shell/theme/page-indicator-inactive.svg);
1446 }
1447
1448 &:hover .page-indicator-icon { background-image: url(resource:///org/gnome/shell/theme/page-indicator-hover.svg); }
1449 &:active .page-indicator-icon { background-image: url(resource:///org/gnome/shell/theme/page-indicator-active.svg); }
1450 &:checked .page-indicator-icon,
1451 &:checked:active { background-image: url(resource:///org/gnome/shell/theme/page-indicator-checked.svg); }
1452 }
1453
1454 .no-frequent-applications-label { @extend %status_text; }
1455
1456 .app-well-app > .overview-icon.overview-icon-with-label,
1457 .grid-search-result .overview-icon.overview-icon-with-label {
1458 padding: 10px 8px 5px 8px;
1459 spacing: 4px;
1460 }
1461
1462 // Workspace pager
1463 .workspace-thumbnails { //container ala dash
1464 @extend %overview-panel;
1465 visible-width: 32px; //amount visible before hover
1466 spacing: 11px;
1467 padding: 8px;
1468 border-radius: 9px 0 0 9px;
1469 //border-width: 1px 0 1px 1px; //fixme: can't have non unoform borders :(
1470 &:rtl { border-radius: 0 9px 9px 0;}
1471
1472 .placeholder {
1473 background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
1474 background-size: contain;
1475 height: 24px;
1476 }
1477 }
1478 .workspace-thumbnail-indicator {
1479 border: 4px solid $selected_bg_color;
1480 padding: 1px;
1481 }
1482
1483 //Some hacks I don't even
1484 .search-display > StBoxLayout,
1485 .all-apps,
1486 .frequent-apps > StBoxLayout {
1487 // horizontal padding to make sure scrollbars or dash don't overlap content
1488 padding: 0px 88px 10px 88px;
1489 }
1490
1491 %overview-panel {
1492 color: $_bubble_fg_color;
1493 background-color: $_bubble_bg_color;
1494 border: 1px solid $_bubble_borders_color;
1495 }
1496
1497 %status_text {
1498 font-size: 2em;
1499 font-weight: bold;
1500 color: $fg_color;
1501 }
1502
1503 /* NOTIFICATIONS & MESSAGE TRAY */
1504
1505 .url-highlighter { link-color: lighten($selected_bg_color,10%); }
1506
1507 // Banners
1508 .notification-banner {
1509 font-size: 11pt;
1510 width: 34em;
1511 margin: 5px;
1512 border-radius: 6px;
1513 color: $_bubble_fg_color;
1514 background-color: $_bubble_bg_color;
1515 border: 1px solid $borders_color;
1516 //box-shadow: 0 1px 4px black;
1517 &:hover { background-color: $_bubble_bg_color; }
1518 &:focus { background-color: $_bubble_bg_color; }
1519
1520 .notification-icon { padding: 5px; }
1521 .notification-content { padding: 5px; spacing: 5px; }
1522 .secondary-icon { icon-size: 1.09em; }
1523 .notification-actions {
1524 background-color: $borders_color;
1525 padding-top: 2px;
1526 spacing: 1px;
1527 }
1528 .notification-button {
1529 padding: 4px 4px 5px;
1530 background-color: darken($_bubble_bg_color,5%);
1531 &:first-child { border-radius: 0 0 0 6px; }
1532 &:last-child { border-radius: 0 0 6px 0; }
1533 &:hover, &focus { background-color: darken($_bubble_bg_color,2%); }
1534 }
1535 }
1536 .summary-source-counter {
1537 font-size: 10pt;
1538 font-weight: bold;
1539 height: 1.6em; width: 1.6em;
1540 -shell-counter-overlap-x: 3px;
1541 -shell-counter-overlap-y: 3px;
1542 background-color: $selected_bg_color;
1543 color: $selected_fg_color;
1544 border: 2px solid $osd_fg_color;
1545 box-shadow: 0 2px 2px rgba(0,0,0,0.5);
1546 border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
1547 }
1548
1549 .secondary-icon { icon-size: 1.09em; }
1550
1551 //chat bubbles
1552 .chat-body { spacing: 5px; }
1553 .chat-response { margin: 5px; }
1554 .chat-log-message { color: darken($fg_color,10%); }
1555 .chat-new-group { padding-top: 1em; }
1556 .chat-received {
1557 padding-left: 4px;
1558 &:rtl { padding-left: 0px; padding-right: 4px; }
1559 }
1560 .chat-sent {
1561 padding-left: 18pt;
1562 color: darken($fg_color, 15%);
1563 &:rtl { padding-left: 0; padding-right: 18pt; }
1564 }
1565 .chat-meta-message {
1566 padding-left: 4px;
1567 font-size: 9pt;
1568 font-weight: bold;
1569 color: darken($fg_color,20%);
1570 &:rtl { padding-left: 0; padding-right: 4px; }
1571 }
1572
1573 //hotplug
1574 .hotplug-transient-box {
1575 spacing: 6px;
1576 padding: 2px 72px 2px 12px;
1577 }
1578 .hotplug-notification-item {
1579 padding: 2px 10px;
1580 &:focus { padding: 1px 71px 1px 11px; }
1581 }
1582
1583 .hotplug-notification-item-icon {
1584 icon-size: 24px;
1585 padding: 2px 5px;
1586 }
1587
1588 .hotplug-resident-box { spacing: 8px; }
1589
1590 .hotplug-resident-mount {
1591 spacing: 8px;
1592 border-radius: 4px;
1593 &:hover { background-color: transparentize($bg_color,0.7); }
1594 }
1595
1596 .hotplug-resident-mount-label {
1597 color: inherit;
1598 padding-left: 6px;
1599 }
1600
1601 .hotplug-resident-mount-icon {
1602 icon-size: 24px;
1603 padding-left: 6px;
1604 }
1605
1606 .hotplug-resident-eject-icon {
1607 icon-size: 16px;
1608 }
1609
1610 .hotplug-resident-eject-button {
1611 padding: 7px;
1612 border-radius: 5px;
1613 color: pink;
1614 }
1615
1616 /* Eeeky things */
1617
1618 //magnifier
1619
1620 .magnifier-zoom-region {
1621 border: 2px solid $selected_bg_color;
1622 &.full-screen { border-width: 0; }
1623 }
1624
1625 //Keyboard
1626 /* On-screen Keyboard */
1627 .word-suggestions {
1628 font-size: 14pt;
1629 spacing: 12px;
1630 min-height: 20pt;
1631 }
1632
1633 #keyboard {
1634 background-color: transparentize($osd_bg_color, 0.3);
1635 }
1636
1637 .key-container {
1638 padding: 4px;
1639 spacing: 4px;
1640 }
1641
1642 .keyboard-key {
1643 background-color: #393f3f;
1644 min-height: 2em;
1645 min-width: 2em;
1646 font-size: 16pt;
1647 border-radius: 3px;
1648 border: 1px solid #464d4d;
1649 color: #e5e5e5;
1650 &:focus { @include button(focus); }
1651 &:hover,&:checked { @include button(hover); }
1652 &:active { @include button(active);}
1653 &:grayed { //FIXME
1654 background-color: $osd_bg_color;
1655 color: $osd_fg_color;
1656 border-color: $osd_borders_color;
1657 }
1658 &.default-key {
1659 border-color: #2d3232;
1660 background-color: #1d2020;
1661 background-size: 20px;
1662 }
1663 &.enter-key {
1664 border-color: #005684;
1665 background-color: #006098;
1666 background-image: url("resource:///org/gnome/shell/theme/key-enter.svg");
1667 }
1668 &.shift-key-lowercase {
1669 background-image: url("resource:///org/gnome/shell/theme/key-shift.svg");
1670 }
1671 &.shift-key-uppercase {
1672 background-image: url("resource:///org/gnome/shell/theme/key-shift-uppercase.svg");
1673 }
1674 &.shift-key-uppercase:latched {
1675 background-image: url("resource:///org/gnome/shell/theme/key-shift-latched-uppercase.svg");
1676 }
1677 &.hide-key {
1678 background-image: url("resource:///org/gnome/shell/theme/key-hide.svg");
1679 }
1680 &.layout-key {
1681 background-image: url("resource:///org/gnome/shell/theme/key-layout.svg");
1682 }
1683 }
1684
1685 .keyboard-subkeys { //long press on a key popup
1686 color: white;
1687 -arrow-border-radius: 10px;
1688 -arrow-background-color: transparentize($osd_bg_color, 0.3);
1689 -arrow-border-width: 2px;
1690 -arrow-border-color: $_bubble_borders_color;
1691 -arrow-base: 20px;
1692 -arrow-rise: 10px;
1693 -boxpointer-gap: 5px;
1694 }
1695
1696 // IBus Candidate Popup
1697
1698 .candidate-popup-content {
1699 padding: 0.5em;
1700 spacing: 0.3em;
1701 }
1702
1703 .candidate-index {
1704 padding: 0 0.5em 0 0;
1705 color: darken($fg_color,10%);
1706 }
1707
1708 .candidate-box {
1709 padding: 0.3em 0.5em 0.3em 0.5em;
1710 border-radius: 4px;
1711 &:selected,&:hover { background-color: $selected_bg_color; color: $selected_fg_color; }
1712 }
1713
1714 .candidate-page-button-box {
1715 height: 2em;
1716 .vertical & { padding-top: 0.5em; }
1717 .horizontal & { padding-left: 0.5em; }
1718 }
1719
1720 .candidate-page-button {
1721 padding: 4px;
1722 }
1723
1724 .candidate-page-button-previous { border-radius: 4px 0px 0px 4px; border-right-width: 0; }
1725 .candidate-page-button-next { border-radius: 0px 4px 4px 0px; }
1726 .candidate-page-button-icon { icon-size: 1em; }
1727
1728 /* Auth Dialogs & Screen Shield */
1729
1730 .framed-user-icon {
1731 background-size: contain;
1732 border: 2px solid $osd_fg_color;
1733 color: $osd_fg_color;
1734 border-radius: 3px;
1735 &:hover {
1736 border-color: lighten($osd_fg_color,30%);
1737 color: lighten($osd_fg_color,30%);
1738 }
1739 }
1740
1741 // LOGIN DIALOG
1742
1743 .login-dialog-banner-view {
1744 padding-top: 24px;
1745 max-width: 23em;
1746 }
1747
1748 .login-dialog {
1749 //reset
1750 border: none;
1751 background-color: transparent;
1752
1753 .modal-dialog-button-box { spacing: 3px; }
1754 .modal-dialog-button {
1755 padding: 3px 18px;
1756 &:default {
1757 @include button(normal,$c:$selected_bg_color);
1758 &:hover,&:focus { @include button(hover,$c:$selected_bg_color); }
1759 &:active { @include button(active,$c:$selected_bg_color); }
1760 &:insensitive { @include button(insensitive); }
1761
1762 }
1763 }
1764
1765 }
1766
1767 .login-dialog-logo-bin { padding: 24px 0px; }
1768 .login-dialog-banner { color: darken($osd_fg_color,10%); }
1769 .login-dialog-button-box { spacing: 5px; }
1770 .login-dialog-message-warning { color: $warning_color; }
1771 .login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
1772 .login-dialog-user-selection-box { padding: 100px 0px; }
1773 .login-dialog-not-listed-label {
1774 padding-left: 2px;
1775 .login-dialog-not-listed-button:focus &,
1776 .login-dialog-not-listed-button:hover & {
1777 color: $osd_fg_color;
1778 }
1779 }
1780 .login-dialog-not-listed-label {
1781 font-size: 90%;
1782 font-weight: bold;
1783 color: darken($osd_fg_color,30%);
1784 padding-top: 1em;
1785 }
1786
1787 .login-dialog-user-list-view { -st-vfade-offset: 1em; }
1788 .login-dialog-user-list {
1789 spacing: 12px;
1790 padding: .2em;
1791 width: 23em;
1792 &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
1793 &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
1794 }
1795 .login-dialog-user-list-item {
1796 border-radius: 5px;
1797 padding: .2em;
1798 color: darken($osd_fg_color,30%);
1799 &:ltr { padding-right: 1em; }
1800 &:rtl { padding-left: 1em; }
1801 .login-dialog-timed-login-indicator {
1802 height: 2px;
1803 margin: 2px 0 0 0;
1804 background-color: $osd_fg_color;
1805 }
1806 &:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; }
1807 }
1808
1809 .login-dialog-username,
1810 .user-widget-label {
1811 color: $osd_fg_color;
1812 font-size: 120%;
1813 font-weight: bold;
1814 text-align: left;
1815 padding-left: 15px;
1816 }
1817 .user-widget-label {
1818 &:ltr { padding-left: 18px; }
1819 &:rtl { padding-right: 18px; }
1820 }
1821
1822 .login-dialog-prompt-layout {
1823 padding-top: 24px;
1824 padding-bottom: 12px;
1825 spacing: 8px;
1826 width: 23em;
1827 }
1828
1829 .login-dialog-prompt-label {
1830 color: darken($osd_fg_color, 20%);
1831 font-size: 110%;
1832 padding-top: 1em;
1833 }
1834
1835 .login-dialog-session-list-button StIcon {
1836 icon-size: 1.25em;
1837 }
1838
1839 .login-dialog-session-list-button {
1840 color: darken($osd_fg_color,30%);
1841 &:hover,&:focus { color: $osd_fg_color; }
1842 &:active { color: darken($osd_fg_color, 50%); }
1843 }
1844
1845 //SCREEN SHIELD
1846
1847 .screen-shield-arrows {
1848 padding-bottom: 3em;
1849 }
1850
1851 .screen-shield-arrows Gjs_Arrow {
1852 color: white;
1853 width: 80px;
1854 height: 48px;
1855 -arrow-thickness: 12px;
1856 -arrow-shadow: 0 1px 1px rgba(0,0,0,0.4);
1857 }
1858
1859 .screen-shield-clock {
1860 color: white;
1861 text-shadow: 0px 1px 2px rgba(0,0,0,0.6);
1862 font-weight: bold;
1863 text-align: center;
1864 padding-bottom: 1.5em;
1865 }
1866
1867 .screen-shield-clock-time {
1868 font-size: 72pt;
1869 text-shadow: 0px 2px 2px rgba(0,0,0,0.4);
1870 }
1871
1872 .screen-shield-clock-date {
1873 font-size: 28pt;
1874 font-weight: normal;
1875 }
1876
1877 .screen-shield-notifications-container {
1878 spacing: 6px;
1879 width: 30em;
1880 background-color: transparent;
1881 max-height: 500px;
1882 .summary-notification-stack-scrollview {
1883 padding-top: 0;
1884 padding-bottom: 0;
1885 }
1886
1887 .notification,
1888 .screen-shield-notification-source {
1889 padding: 12px 6px;
1890 border: 1px solid $_bubble_borders_color;
1891 background-color: transparentize($osd_bg_color,0.5);
1892 color: $_bubble_fg_color;
1893 border-radius: 4px;
1894 }
1895 .notification { margin-right: 15px; } //compensate for space allocated to the scrollbar
1896 }
1897
1898
1899 .screen-shield-notification-label {
1900 font-weight: bold;
1901 padding: 0px 0px 0px 12px;
1902 }
1903
1904 .screen-shield-notification-count-text { padding: 0px 0px 0px 12px; }
1905
1906 #panel.lock-screen { background-color: transparentize($_bubble_bg_color, 0.5); }
1907
1908 .screen-shield-background { //just the shadow, really
1909 background: black;
1910 box-shadow: 0px 2px 4px transparentize(black,0.6);
1911 }
1912
1913 #lockDialogGroup {
1914 background: #2e3436 url(resource:///org/gnome/shell/theme/noise-texture.png);
1915 background-repeat: repeat;
1916 }
1917
1918 #screenShieldNotifications {
1919 StButton#vhandle, StButton#hhandle {
1920 background-color: transparentize($bg_color,0.7);
1921 &:hover, &:focus { background-color: transparentize($bg_color,0.5); }
1922 &:active { background-color: transparentize($selected_bg_color,0.5); }
1923 }
1924 }
1925
1926
1927 // Looking Glass
1928 #LookingGlassDialog {
1929 background-color: rgba(0,0,0,0.80);
1930 spacing: 4px;
1931 padding: 4px;
1932 border: 2px solid grey;
1933 border-radius: 4px;
1934 & > #Toolbar {
1935 border: 1px solid grey;
1936 border-radius: 4px;
1937 }
1938 .labels { spacing: 4px; }
1939 .notebook-tab {
1940 -natural-hpadding: 12px;
1941 -minimum-hpadding: 6px;
1942 font-weight: bold;
1943 color: #ccc;
1944 transition-duration: 100ms;
1945 padding-left: .3em;
1946 padding-right: .3em;
1947 &:hover {
1948 color: white;
1949 text-shadow: black 0px 2px 2px;
1950 }
1951 &:selected {
1952 border-bottom-width: 2px;
1953 border-color: lighten($selected_bg_color,5%);
1954 color: white;
1955 text-shadow: black 0px 2px 2px;
1956 }
1957 }
1958 StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
1959 StBoxLayout#ResultsArea { spacing: 4px; }
1960 }
1961
1962 .lg-dialog {
1963 StEntry {
1964 selection-background-color: #bbbbbb;
1965 selected-color: #333333;
1966 }
1967 .shell-link {
1968 color: #999999;
1969 &:hover { color: #dddddd; }
1970 }
1971 }
1972
1973 .lg-completions-text {
1974 font-size: .9em;
1975 font-style: italic;
1976 }
1977
1978 .lg-obj-inspector-title {
1979 spacing: 4px;
1980 }
1981
1982 .lg-obj-inspector-button {
1983 border: 1px solid gray;
1984 padding: 4px;
1985 border-radius: 4px;
1986 &:hover { border: 1px solid #ffffff; }
1987 }
1988
1989 #lookingGlassExtensions { padding: 4px; }
1990
1991 .lg-extensions-list {
1992 padding: 4px;
1993 spacing: 6px;
1994 }
1995
1996 .lg-extension {
1997 border: 1px solid #6f6f6f;
1998 border-radius: 4px;
1999 padding: 4px;
2000 }
2001
2002 .lg-extension-name {
2003 font-weight: bold;
2004 }
2005
2006 .lg-extension-meta {
2007 spacing: 6px;
2008 }
2009
2010 #LookingGlassPropertyInspector {
2011 background: rgba(0, 0, 0, 0.8);
2012 border: 2px solid grey;
2013 border-radius: 4px;
2014 padding: 6px;
2015 }
0 // Drawing mixins
1
2 // generic drawing of more complex things
3
4 @function _widget_edge($c:$borders_edge) {
5 // outer highlight "used" on most widgets
6 @return 0 1px $c;
7 }
8
9 // provide font size in rem, with px fallback
10 @mixin fontsize($size: 24, $base: 16) {
11 font-size: round($size) + pt;
12 //font-size: ($size / $base) * 1rem;
13 }
14
15 @mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
16 //
17 // Helper function to stack up to 4 box-shadows;
18 //
19 @if $shadow4!=none { box-shadow: $shadow1, $shadow2, $shadow3, $shadow4; }
20 @else if $shadow3!=none { box-shadow: $shadow1, $shadow2, $shadow3; }
21 @else if $shadow2!=none { box-shadow: $shadow1, $shadow2; }
22 @else { box-shadow: $shadow1; }
23 }
24
25 // entries
26
27 @mixin entry($t, $fc:$selected_bg_color, $edge: $borders_edge) {
28 //
29 // Entries drawing function
30 //
31 // $t: entry type
32 // $fc: focus color
33 // $edge: set to none to not draw the bottom edge or specify a color to not
34 // use the default one
35 //
36 // possible $t values:
37 // normal, focus, insensitive
38 //
39 $_inner_shadows: inset 0 2px 4px transparentize(black, 0.6);
40
41 @if $t==normal {
42 background-color: $base_color;
43 border-color: $borders_color;
44 @include _shadows($_inner_shadows);
45
46 }
47 @if $t==focus {
48 @include _shadows($_inner_shadows);
49 border-color: if($fc==$selected_bg_color,
50 $selected_borders_color,
51 darken($fc,35%));
52 }
53 @if $t==hover { }
54 @if $t==insensitive {
55 color: $insensitive_fg_color;
56 border-color: $insensitive_bg_color;
57 box-shadow: none;
58 }
59 }
60
61 // buttons
62
63 @function _border_color ($c) { @return darken($c,25%); } // colored buttons want
64 // the border form the
65 // base color
66
67 @function _text_shadow_color ($tc:$fg_color, $bg:$bg_color) {
68 //
69 // calculate the color of text shadows
70 //
71 // $tc is the text color
72 // $bg is the background color
73 //
74 $_lbg: lightness($bg)/100%;
75 @if lightness($tc)<50% { @return transparentize(white,1-$_lbg/($_lbg*1.3)); }
76 @else { @return transparentize(black,$_lbg*0.8); }
77 }
78
79 @function _button_hilight_color($c) {
80 //
81 // calculate the right top hilight color for buttons
82 //
83 // $c: base color;
84 //
85 @if lightness($c)>90% { @return white; }
86 @else if lightness($c)>80% { @return transparentize(white, 0.3); }
87 @else if lightness($c)>50% { @return transparentize(white, 0.5); }
88 @else if lightness($c)>40% { @return transparentize(white, 0.7); }
89 @else { @return transparentize(white, 0.9); }
90 }
91
92 @mixin _button_text_shadow ($tc:$fg_color, $bg:$bg_color) {
93 //
94 // helper function for the text emboss effect
95 //
96 // $tc is the optional text color, not the shadow color
97 //
98 // TODO: this functions needs a way to deal with special cases
99 //
100
101 $_shadow: _text_shadow_color($tc, $bg);
102
103 @if lightness($tc)<50% {
104 text-shadow: 0 1px $_shadow;
105 icon-shadow: 0 1px $_shadow;
106 }
107 @else {
108 text-shadow: 0 -1px $_shadow;
109 icon-shadow: 0 -1px $_shadow;
110 }
111 }
112
113 @mixin button($t, $c:$osd_bg_color, $tc:$fg_color, $edge: $borders_edge) {
114 //
115 // Button drawing function
116 //
117 // $t: button type,
118 // $c: base button color for colored* types
119 // $tc: optional text color for colored* types
120 // $edge: set to none to not draw the bottom edge or specify a color to not
121 // use the default one
122 //
123 // possible $t values:
124 // normal, hover, active, insensitive, insensitive-active,
125 // backdrop, backdrop-active, backdrop-insensitive, backdrop-insensitive-active,
126 // osd, osd-hover, osd-active, osd-insensitive, osd-backdrop, undecorated
127 //
128
129 $_hilight_color: _button_hilight_color($c);
130 $_button_edge: if($edge == none, none, _widget_edge($edge));
131 $_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1)));
132
133
134 @if $t==normal {
135 //
136 // normal button
137 //
138 $_bg: if($c!=$osd_bg_color, transparentize($c, 0.5),
139 $osd_bg_color);
140
141 color: $osd_fg_color;
142 background-color: $_bg;
143 border-color: $osd_borders_color;
144 box-shadow: inset 0 1px lighten($osd_bg_color,10%);
145 text-shadow: 0 1px black;
146 icon-shadow: 0 1px black;
147 }
148 @if $t==focus {
149 //
150 // focused button
151 //
152 $_bg: if($c!=$osd_bg_color, transparentize($c, 0.5),
153 $osd_bg_color);
154
155 color: $osd_fg_color;
156 text-shadow: 0 1px black;
157 icon-shadow: 0 1px black;
158 box-shadow: inset 0px 0px 0px 1px $selected_bg_color;
159 }
160
161 @else if $t==hover {
162 //
163 // active osd button
164 //
165 $_bg: if($c!=$osd_bg_color, transparentize($c, 0.3),
166 lighten($osd_bg_color,10%));
167
168 color: white;
169 border-color: $osd_borders_color;
170 background-color: $_bg;
171 box-shadow: inset 0 1px lighten($osd_bg_color,20%);
172 text-shadow: 0 1px black;
173 icon-shadow: 0 1px black;
174
175 }
176 @else if $t==active {
177 //
178 // active osd button
179 //
180 $_bg: if($c!=$bg_color, $c, $osd_borders_color);
181
182 color: white;
183 border-color: $osd_borders_color;
184 background-color: darken($_bg,5%);
185 // This should be none, but it's creating some issues with borders, so to
186 // workaround it for now, use inset wich goes through a different code path.
187 // see https://bugzilla.gnome.org/show_bug.cgi?id=752934
188 box-shadow: inset 0 0 black;
189 text-shadow: none;
190 icon-shadow: none;
191 }
192 @else if $t==insensitive {
193 //
194 // insensitive osd button
195 //
196 $_bg: transparentize(mix($insensitive_fg_color,$osd_bg_color,20%),0.3);
197
198 color: $insensitive_fg_color;
199 border-color: $osd_borders_color;
200 background-color: $_bg;
201 box-shadow: none;
202 text-shadow: none;
203 icon-shadow: none;
204 }
205 @else if $t==undecorated {
206 //
207 // reset
208 //
209 border-color: transparent;
210 background-color: transparent;
211 background-image: none;
212
213 @include _shadows(inset 0 1px transparentize(white,1),
214 $_blank_edge);
215
216 text-shadow: none;
217 icon-shadow: none;
218 }
219 }
220
0 // When color definition differs for dark and light variant,
1 // it gets @if ed depending on $variant
2
3
4 $base_color: #222;
5 $bg_color: #000;
6 $fg_color: #fff;
7
8 $selected_fg_color: #ffffff;
9 $selected_bg_color: darken(#4a90d9,20%);
10 $selected_borders_color: darken($selected_bg_color, 20%);
11 $borders_color: darken($bg_color,12%);
12 $borders_edge: transparentize($fg_color, 0.9);
13 $link_color: lighten($selected_bg_color,20%);
14 $link_visited_color: lighten($selected_bg_color,10%);
15 $top_hilight: $borders_edge;
16
17 $warning_color: #f57900;
18 $error_color: #cc0000;
19 $success_color: darken(#73d216,10%);
20 $destructive_color: darken(#ef2929,10%);
21
22 $osd_fg_color: #eeeeec;
23 $osd_bg_color: #2e3436;
24 $osd_borders_color: transparentize(black, 0.3);
25 $osd_outer_borders_color: transparentize(white, 0.9);
26
27 $tooltip_borders_color: $osd_outer_borders_color;
28
29 //insensitive state derived colors
30 $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
31 $insensitive_bg_color: mix($bg_color, $base_color, 60%);
32 $insensitive_borders_color: $borders_color;
33
34 //colors for the backdrop state, derived from the main colors.
35 $backdrop_base_color: lighten($base_color,1%);
36 $backdrop_bg_color: $bg_color;
37 $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 80%);
38 $backdrop_insensitive_color: lighten($backdrop_bg_color,15%);
39 $backdrop_borders_color: mix($borders_color, $bg_color, 90%);
40 $backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%);
0 <Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
2 xmlns:foaf="http://xmlns.com/foaf/0.1/"
3 xmlns:gnome="http://api.gnome.org/doap-extensions#"
4 xmlns="http://usefulinc.com/ns/doap#">
5
6 <name xml:lang="en">GNOME Shell Sass</name>
7 <shortdesc xml:lang="en">Sass sources of GNOME Shell</shortdesc>
8 <description>GNOME Shell Sass is a project intended to allow the sharing of the
9 sass theme sources between gnome-shell and other projects like gnome-shell-extensions.</description>
10
11 <category rdf:resource="http://api.gnome.org/doap-extensions#core" />
12 <programming-language>sass</programming-language>
13 <programming-language>css</programming-language>
14
15 <maintainer>
16 <foaf:Person>
17 <foaf:name>Carlos Soriano</foaf:name>
18 <foaf:mbox rdf:resource="mailto:[email protected]" />
19 <gnome:userid>csoriano</gnome:userid>
20 </foaf:Person>
21 </maintainer>
22 <maintainer>
23 <foaf:Person>
24 <foaf:name>Florian Müllner</foaf:name>
25 <foaf:mbox rdf:resource="mailto:[email protected]" />
26 <gnome:userid>fmuellner</gnome:userid>
27 </foaf:Person>
28 </maintainer>
29 <maintainer>
30 <foaf:Person>
31 <foaf:name>Jakub Steiner</foaf:name>
32 <foaf:mbox rdf:resource="mailto:[email protected]" />
33 <gnome:userid>jimmac</gnome:userid>
34 </foaf:Person>
35 </maintainer>
36 </Project>
0 sessions = [
1 ['gnome-classic.session.desktop.in', sessiondir],
2 ['gnome-classic.desktop.in', xsessiondir]
3 ]
4 foreach s : sessions
5 name_array = s[0].split('.')
6 i18n.merge_file('',
7 input: s[0],
8 output: '.'.join([name_array[0], name_array[1]]),
9 po_dir: '../po',
10 install: true,
11 install_dir: s[1],
12 type: 'desktop'
13 )
14 endforeach
15
16 classic_uuids = []
17 foreach e : classic_extensions
18 classic_uuids += e + uuid_suffix
19 endforeach
20
21 mode_conf = configuration_data()
22 mode_conf.set('CLASSIC_EXTENSIONS', '"' + '", "'.join(classic_uuids) + '"')
23
24 mode_file = 'classic.json'
25 configure_file(
26 input: mode_file + '.in',
27 output: mode_file,
28 configuration: mode_conf,
29 install_dir: modedir
30 )
31
32 theme_sources = files(
33 'gnome-shell-sass/_colors.scss',
34 'gnome-shell-sass/_common.scss',
35 'gnome-shell-sass/_drawing.scss',
36 'gnome-shell-sass/_high-contrast-colors.scss'
37 )
38
39 theme_data = [
40 'calendar-today.svg',
41 'classic-process-working.svg',
42 'classic-toggle-off-intl.svg',
43 'classic-toggle-off-us.svg',
44 'classic-toggle-on-intl.svg',
45 'classic-toggle-on-us.svg',
46 'gnome-classic-high-contrast.css'
47 ]
48
49 style = 'gnome-classic'
50 custom_target(style + '.css',
51 input: style + '.scss',
52 output: style + '.css',
53 depend_files: theme_sources,
54 command: [sassc, '-a', '@INPUT@', '@OUTPUT@'],
55 install: true,
56 install_dir: themedir
57 )
58
59 install_data(theme_data, install_dir: themedir)
60
61 classic_schema = 'org.gnome.shell.extensions.classic-overrides.gschema.xml'
62 install_data(classic_schema, install_dir: schemadir)
0 gnome-shell-extensions (3.27.92-2) unstable; urgency=medium
1
2 * Release to unstable
3
4 -- Jeremy Bicha <[email protected]> Sat, 10 Mar 2018 19:37:45 -0500
5
6 gnome-shell-extensions (3.27.92-1) experimental; urgency=medium
7
8 [ Jeremy Bicha ]
9 * New upstream release candidate
10 * Drop explicit dependency on mutter's gir. gnome-shell-extensions depends
11 on gnome-shell which depends on the gir. Dropping it will make transitions
12 easier.
13
14 [ Simon McVittie ]
15 * Recommend gnome-tweaks instead of transitional gnome-tweak-tool
16
17 -- Jeremy Bicha <[email protected]> Mon, 05 Mar 2018 21:02:01 -0500
18
19 gnome-shell-extensions (3.27.91-1) experimental; urgency=medium
20
21 * New upstream development release
22 * Build with meson
23 * Build-Depend on sassc
24 * Bump debhelper compat to 11
25 * Drop places-menu-Don-t-force-dispose-of-uninitialized-proxies.patch &
26 dont-require-nautilus-classic.patch: Applied in new release
27
28 -- Jeremy Bicha <[email protected]> Fri, 23 Feb 2018 19:49:59 -0500
29
030 gnome-shell-extensions (3.26.2-3) unstable; urgency=medium
131
232 * Team upload
00 # This file is autogenerated. DO NOT EDIT!
1 #
1 #
22 # Modifications should be made to debian/control.in instead.
33 # This file is regenerated automatically in the clean target.
44 Source: gnome-shell-extensions
66 Priority: optional
77 Maintainer: Debian GNOME Maintainers <[email protected]>
88 Uploaders: Jeremy Bicha <[email protected]>, Michael Biebl <[email protected]>
9 Build-Depends: debhelper (>= 10),
10 pkg-config (>= 0.22),
11 gettext,
9 Build-Depends: debhelper (>= 11.1.3),
1210 gnome-pkg-tools,
13 libgnome-desktop-3-dev (>= 3.2.0),
11 meson (>= 0.44.0),
12 sassc
1413 Standards-Version: 4.1.2
1514 Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-shell-extensions
1615 Vcs-Git: https://salsa.debian.org/gnome-team/gnome-shell-extensions.git
2726 gir1.2-glib-2.0,
2827 gir1.2-gmenu-3.0,
2928 gir1.2-gtk-3.0,
30 gir1.2-mutter-1,
3129 gir1.2-pango-1.0,
3230 gvfs (>= 1.16.0),
3331 gnome-session-bin (>= 3.8),
3432 gnome-settings-daemon (>= 3.24)
35 Recommends: gnome-tweak-tool
33 Recommends: gnome-tweaks
3634 Replaces: gnome-shell-common (<< 3.18)
3735 Breaks: gnome-shell-common (<< 3.18)
3836 Description: Extensions to extend functionality of GNOME Shell
22 Priority: optional
33 Maintainer: Debian GNOME Maintainers <[email protected]>
44 Uploaders: @GNOME_TEAM@
5 Build-Depends: debhelper (>= 10),
6 pkg-config (>= 0.22),
7 gettext,
5 Build-Depends: debhelper (>= 11.1.3),
86 gnome-pkg-tools,
9 libgnome-desktop-3-dev (>= 3.2.0),
7 meson (>= 0.44.0),
8 sassc
109 Standards-Version: 4.1.2
1110 Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-shell-extensions
1211 Vcs-Git: https://salsa.debian.org/gnome-team/gnome-shell-extensions.git
2322 gir1.2-glib-2.0,
2423 gir1.2-gmenu-3.0,
2524 gir1.2-gtk-3.0,
26 gir1.2-mutter-1,
2725 gir1.2-pango-1.0,
2826 gvfs (>= 1.16.0),
2927 gnome-session-bin (>= 3.8),
3028 gnome-settings-daemon (>= 3.24)
31 Recommends: gnome-tweak-tool
29 Recommends: gnome-tweaks
3230 Replaces: gnome-shell-common (<< 3.18)
3331 Breaks: gnome-shell-common (<< 3.18)
3432 Description: Extensions to extend functionality of GNOME Shell
00 NEWS
1 README
1 README.md
+0
-18
debian/patches/dont-require-nautilus-classic.patch less more
0 From: Jeremy Bicha <[email protected]>
1 Date: Tue, 30 Jan 2018 09:04:03 +0000
2 Subject: Don't use nautilus-classic since it forces desktop icons
3
4 Bug: https://bugzilla.gnome.org/695088
5 ---
6 data/gnome-classic.session.desktop.in | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/data/gnome-classic.session.desktop.in b/data/gnome-classic.session.desktop.in
10 index 392ec37..258096e 100644
11 --- a/data/gnome-classic.session.desktop.in
12 +++ b/data/gnome-classic.session.desktop.in
13 @@ -1,3 +1,3 @@
14 [GNOME Session]
15 Name=GNOME Classic
16 -RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;nautilus-classic;
17 +RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;
+0
-63
debian/patches/places-menu-Don-t-force-dispose-of-uninitialized-proxies.patch less more
0 From: =?utf-8?q?Florian_M=C3=BCllner?= <[email protected]>
1 Date: Wed, 17 Jan 2018 21:57:49 +0100
2 Subject: places-menu: Don't force dispose() of uninitialized proxies
3
4 Trying to dispose a proxy object before it has been properly
5 initialized triggers an "uncatchable exception", which gjs
6 treats as a fatal error since commit c7bdcaab4. We only have
7 anything to clean up once the proxy is initialized anyway, so
8 don't force dispose() before that.
9
10 Origin: upstream, 3.26.2, commit:61594afd687bf5883cc39fa79c5fbdb0d4cc9eda
11 Bug: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/44
12 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888608
13 ---
14 extensions/places-menu/placeDisplay.js | 28 ++++++++++++++++------------
15 1 file changed, 16 insertions(+), 12 deletions(-)
16
17 diff --git a/extensions/places-menu/placeDisplay.js b/extensions/places-menu/placeDisplay.js
18 index ba316bf..9647d63 100644
19 --- a/extensions/places-menu/placeDisplay.js
20 +++ b/extensions/places-menu/placeDisplay.js
21 @@ -136,17 +136,18 @@ const RootInfo = new Lang.Class({
22 _init: function() {
23 this.parent('devices', Gio.File.new_for_path('/'), _("Computer"));
24
25 - this._proxy = new Hostname1(Gio.DBus.system,
26 - 'org.freedesktop.hostname1',
27 - '/org/freedesktop/hostname1',
28 - Lang.bind(this, function(obj, error) {
29 - if (error)
30 - return;
31 -
32 - this._proxy.connect('g-properties-changed',
33 - Lang.bind(this, this._propertiesChanged));
34 - this._propertiesChanged(obj);
35 - }));
36 + new Hostname1(Gio.DBus.system,
37 + 'org.freedesktop.hostname1',
38 + '/org/freedesktop/hostname1',
39 + Lang.bind(this, function(obj, error) {
40 + if (error)
41 + return;
42 +
43 + this._proxy = obj;
44 + this._proxy.connect('g-properties-changed',
45 + Lang.bind(this, this._propertiesChanged));
46 + this._propertiesChanged(obj);
47 + }));
48 },
49
50 getIcon: function() {
51 @@ -163,7 +164,10 @@ const RootInfo = new Lang.Class({
52 },
53
54 destroy: function() {
55 - this._proxy.run_dispose();
56 + if (this._proxy) {
57 + this._proxy.run_dispose();
58 + this._proxy = null;
59 + }
60 this.parent();
61 }
62 });
0 places-menu-Don-t-force-dispose-of-uninitialized-proxies.patch
1 dont-require-nautilus-classic.patch
0 #dont-require-nautilus-classic.patch
21 gnome-session-classic-wrapper-script.patch
00 #!/usr/bin/make -f
11 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
22
3 EXTENSIONS_ENABLED="alternate-tab apps-menu auto-move-windows \
4 drive-menu launch-new-instance native-window-placement places-menu \
5 screenshot-window-sizer user-theme window-list windowsNavigator \
6 workspace-indicator"
3 EXTENSIONS_ENABLED="[alternate-tab, apps-menu, places-menu, \
4 launch-new-instance, window-list, \
5 drive-menu, screenshot-window-sizer, \
6 windowsNavigator, workspace-indicator, \
7 auto-move-windows, native-window-placement, user-theme]"
78
89 EXTENSIONS_DISABLED="example"
910
1213
1314 override_dh_auto_configure:
1415 dh_auto_configure -- \
15 --enable-extensions=$(EXTENSIONS_ENABLED) \
16 --enable-classic-mode
16 -Denable-extensions=$(EXTENSIONS_ENABLED) \
17 -Dclassic_mode=true
0 #!/bin/sh
1
2 srcdir=`dirname $0`
3 srcdir=`(cd $srcdir && pwd)`
4
5 builddir=`mktemp -p $srcdir -d _build.XXXXXX` || exit 1
6 installdir=`mktemp -p $srcdir -d _install.XXXXXX` || exit 1
7
8 meson setup --prefix=$installdir -Dextension_set=all $srcdir $builddir
9 ninja -C$builddir install
10
11 rm -rf $srcdir/zip-files
12 mkdir $srcdir/zip-files
13
14 extensiondir=$installdir/share/gnome-shell/extensions
15 schemadir=$installdir/share/glib-2.0/schemas
16 localedir=$installdir/share/locale
17
18 for f in $extensiondir/*; do
19 name=`basename ${f%%@*}`
20 [email protected]
21 schema=$schemadir/org.gnome.shell.extensions.$name.gschema.xml
22
23 cp $srcdir/NEWS $srcdir/COPYING $f
24
25 if [ -f $schema ]; then
26 mkdir $f/schemas
27 cp $schema $f/schemas;
28 glib-compile-schemas $f/schemas
29 fi
30
31 (cd $f && zip -rmq $srcdir/zip-files/$uuid.shell-extension.zip .)
32 done
33
34 rm -rf $builddir
35 rm -rf $installdir
+0
-18
extension.mk less more
0 include $(top_srcdir)/include.mk
1
2 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
3 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
4
5 EXTRA_DIST = metadata.json.in
6
7 metadata.json: metadata.json.in $(top_builddir)/config.status
8 $(AM_V_GEN) sed \
9 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
10 -e "s|[@]uuid@|$(uuid)|" \
11 -e "s|[@]gschemaname@|$(gschemaname)|" \
12 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
13 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
14 -e "s|[@]url@|$(extensionurl)|" \
15 $< > $@
16
17 CLEANFILES = metadata.json
+0
-3
extensions/Makefile.am less more
0 DIST_SUBDIRS = $(ALL_EXTENSIONS)
1
2 SUBDIRS = $(ENABLED_EXTENSIONS)
+0
-619
extensions/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73 pkglibdir = $(libdir)/@PACKAGE@
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
75 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
76 install_sh_DATA = $(install_sh) -c -m 644
77 install_sh_PROGRAM = $(install_sh) -c
78 install_sh_SCRIPT = $(install_sh) -c
79 INSTALL_HEADER = $(INSTALL_DATA)
80 transform = $(program_transform_name)
81 NORMAL_INSTALL = :
82 PRE_INSTALL = :
83 POST_INSTALL = :
84 NORMAL_UNINSTALL = :
85 PRE_UNINSTALL = :
86 POST_UNINSTALL = :
87 build_triplet = @build@
88 host_triplet = @host@
89 subdir = extensions
90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
92 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
93 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
94 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
95 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
96 $(top_srcdir)/configure.ac
97 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
98 $(ACLOCAL_M4)
99 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
100 mkinstalldirs = $(install_sh) -d
101 CONFIG_CLEAN_FILES =
102 CONFIG_CLEAN_VPATH_FILES =
103 AM_V_P = $(am__v_P_@AM_V@)
104 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
105 am__v_P_0 = false
106 am__v_P_1 = :
107 AM_V_GEN = $(am__v_GEN_@AM_V@)
108 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
109 am__v_GEN_0 = @echo " GEN " $@;
110 am__v_GEN_1 =
111 AM_V_at = $(am__v_at_@AM_V@)
112 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
113 am__v_at_0 = @
114 am__v_at_1 =
115 SOURCES =
116 DIST_SOURCES =
117 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
118 ctags-recursive dvi-recursive html-recursive info-recursive \
119 install-data-recursive install-dvi-recursive \
120 install-exec-recursive install-html-recursive \
121 install-info-recursive install-pdf-recursive \
122 install-ps-recursive install-recursive installcheck-recursive \
123 installdirs-recursive pdf-recursive ps-recursive \
124 tags-recursive uninstall-recursive
125 am__can_run_installinfo = \
126 case $$AM_UPDATE_INFO_DIR in \
127 n|no|NO) false;; \
128 *) (install-info --version) >/dev/null 2>&1;; \
129 esac
130 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
131 distclean-recursive maintainer-clean-recursive
132 am__recursive_targets = \
133 $(RECURSIVE_TARGETS) \
134 $(RECURSIVE_CLEAN_TARGETS) \
135 $(am__extra_recursive_targets)
136 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
137 distdir
138 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
139 # Read a list of newline-separated strings from the standard input,
140 # and print each of them once, without duplicates. Input order is
141 # *not* preserved.
142 am__uniquify_input = $(AWK) '\
143 BEGIN { nonempty = 0; } \
144 { items[$$0] = 1; nonempty = 1; } \
145 END { if (nonempty) { for (i in items) print i; }; } \
146 '
147 # Make sure the list of sources is unique. This is necessary because,
148 # e.g., the same source file might be shared among _SOURCES variables
149 # for different programs/libraries.
150 am__define_uniq_tagged_files = \
151 list='$(am__tagged_files)'; \
152 unique=`for i in $$list; do \
153 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
154 done | $(am__uniquify_input)`
155 ETAGS = etags
156 CTAGS = ctags
157 am__DIST_COMMON = $(srcdir)/Makefile.in
158 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
159 am__relativize = \
160 dir0=`pwd`; \
161 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
162 sed_rest='s,^[^/]*/*,,'; \
163 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
164 sed_butlast='s,/*[^/]*$$,,'; \
165 while test -n "$$dir1"; do \
166 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
167 if test "$$first" != "."; then \
168 if test "$$first" = ".."; then \
169 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
170 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
171 else \
172 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
173 if test "$$first2" = "$$first"; then \
174 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
175 else \
176 dir2="../$$dir2"; \
177 fi; \
178 dir0="$$dir0"/"$$first"; \
179 fi; \
180 fi; \
181 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
182 done; \
183 reldir="$$dir2"
184 ACLOCAL = @ACLOCAL@
185 ALL_EXTENSIONS = @ALL_EXTENSIONS@
186 AMTAR = @AMTAR@
187 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
188 AUTOCONF = @AUTOCONF@
189 AUTOHEADER = @AUTOHEADER@
190 AUTOMAKE = @AUTOMAKE@
191 AWK = @AWK@
192 CC = @CC@
193 CCDEPMODE = @CCDEPMODE@
194 CFLAGS = @CFLAGS@
195 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
196 CPP = @CPP@
197 CPPFLAGS = @CPPFLAGS@
198 CYGPATH_W = @CYGPATH_W@
199 DEFS = @DEFS@
200 DEPDIR = @DEPDIR@
201 ECHO_C = @ECHO_C@
202 ECHO_N = @ECHO_N@
203 ECHO_T = @ECHO_T@
204 EGREP = @EGREP@
205 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
206 EXEEXT = @EXEEXT@
207 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
208 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
209 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
210 GMSGFMT = @GMSGFMT@
211 GMSGFMT_015 = @GMSGFMT_015@
212 GREP = @GREP@
213 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
214 INSTALL = @INSTALL@
215 INSTALL_DATA = @INSTALL_DATA@
216 INSTALL_PROGRAM = @INSTALL_PROGRAM@
217 INSTALL_SCRIPT = @INSTALL_SCRIPT@
218 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
219 INTLLIBS = @INTLLIBS@
220 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
221 LDFLAGS = @LDFLAGS@
222 LIBICONV = @LIBICONV@
223 LIBINTL = @LIBINTL@
224 LIBOBJS = @LIBOBJS@
225 LIBS = @LIBS@
226 LTLIBICONV = @LTLIBICONV@
227 LTLIBINTL = @LTLIBINTL@
228 LTLIBOBJS = @LTLIBOBJS@
229 MAKEINFO = @MAKEINFO@
230 MKDIR_P = @MKDIR_P@
231 MSGFMT = @MSGFMT@
232 MSGFMT_015 = @MSGFMT_015@
233 MSGMERGE = @MSGMERGE@
234 OBJEXT = @OBJEXT@
235 PACKAGE = @PACKAGE@
236 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
237 PACKAGE_NAME = @PACKAGE_NAME@
238 PACKAGE_STRING = @PACKAGE_STRING@
239 PACKAGE_TARNAME = @PACKAGE_TARNAME@
240 PACKAGE_URL = @PACKAGE_URL@
241 PACKAGE_VERSION = @PACKAGE_VERSION@
242 PATH_SEPARATOR = @PATH_SEPARATOR@
243 PKG_CONFIG = @PKG_CONFIG@
244 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
245 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
246 POSUB = @POSUB@
247 SASSC = @SASSC@
248 SED = @SED@
249 SET_MAKE = @SET_MAKE@
250 SHELL = @SHELL@
251 SHELL_VERSION = @SHELL_VERSION@
252 STRIP = @STRIP@
253 USE_NLS = @USE_NLS@
254 VERSION = @VERSION@
255 XGETTEXT = @XGETTEXT@
256 XGETTEXT_015 = @XGETTEXT_015@
257 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
258 abs_builddir = @abs_builddir@
259 abs_srcdir = @abs_srcdir@
260 abs_top_builddir = @abs_top_builddir@
261 abs_top_srcdir = @abs_top_srcdir@
262 ac_ct_CC = @ac_ct_CC@
263 am__include = @am__include@
264 am__leading_dot = @am__leading_dot@
265 am__quote = @am__quote@
266 am__tar = @am__tar@
267 am__untar = @am__untar@
268 bindir = @bindir@
269 build = @build@
270 build_alias = @build_alias@
271 build_cpu = @build_cpu@
272 build_os = @build_os@
273 build_vendor = @build_vendor@
274 builddir = @builddir@
275 datadir = @datadir@
276 datarootdir = @datarootdir@
277 docdir = @docdir@
278 dvidir = @dvidir@
279 exec_prefix = @exec_prefix@
280 gsettingsschemadir = @gsettingsschemadir@
281 host = @host@
282 host_alias = @host_alias@
283 host_cpu = @host_cpu@
284 host_os = @host_os@
285 host_vendor = @host_vendor@
286 htmldir = @htmldir@
287 includedir = @includedir@
288 infodir = @infodir@
289 install_sh = @install_sh@
290 libdir = @libdir@
291 libexecdir = @libexecdir@
292 localedir = @localedir@
293 localstatedir = @localstatedir@
294 mandir = @mandir@
295 mkdir_p = @mkdir_p@
296 oldincludedir = @oldincludedir@
297 pdfdir = @pdfdir@
298 prefix = @prefix@
299 program_transform_name = @program_transform_name@
300 psdir = @psdir@
301 sbindir = @sbindir@
302 sharedstatedir = @sharedstatedir@
303 srcdir = @srcdir@
304 sysconfdir = @sysconfdir@
305 target_alias = @target_alias@
306 top_build_prefix = @top_build_prefix@
307 top_builddir = @top_builddir@
308 top_srcdir = @top_srcdir@
309 DIST_SUBDIRS = $(ALL_EXTENSIONS)
310 SUBDIRS = $(ENABLED_EXTENSIONS)
311 all: all-recursive
312
313 .SUFFIXES:
314 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
315 @for dep in $?; do \
316 case '$(am__configure_deps)' in \
317 *$$dep*) \
318 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
319 && { if test -f $@; then exit 0; else break; fi; }; \
320 exit 1;; \
321 esac; \
322 done; \
323 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/Makefile'; \
324 $(am__cd) $(top_srcdir) && \
325 $(AUTOMAKE) --foreign extensions/Makefile
326 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
327 @case '$?' in \
328 *config.status*) \
329 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
330 *) \
331 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
332 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
333 esac;
334
335 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
336 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
337
338 $(top_srcdir)/configure: $(am__configure_deps)
339 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
340 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
341 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
342 $(am__aclocal_m4_deps):
343
344 # This directory's subdirectories are mostly independent; you can cd
345 # into them and run 'make' without going through this Makefile.
346 # To change the values of 'make' variables: instead of editing Makefiles,
347 # (1) if the variable is set in 'config.status', edit 'config.status'
348 # (which will cause the Makefiles to be regenerated when you run 'make');
349 # (2) otherwise, pass the desired values on the 'make' command line.
350 $(am__recursive_targets):
351 @fail=; \
352 if $(am__make_keepgoing); then \
353 failcom='fail=yes'; \
354 else \
355 failcom='exit 1'; \
356 fi; \
357 dot_seen=no; \
358 target=`echo $@ | sed s/-recursive//`; \
359 case "$@" in \
360 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
361 *) list='$(SUBDIRS)' ;; \
362 esac; \
363 for subdir in $$list; do \
364 echo "Making $$target in $$subdir"; \
365 if test "$$subdir" = "."; then \
366 dot_seen=yes; \
367 local_target="$$target-am"; \
368 else \
369 local_target="$$target"; \
370 fi; \
371 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
372 || eval $$failcom; \
373 done; \
374 if test "$$dot_seen" = "no"; then \
375 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
376 fi; test -z "$$fail"
377
378 ID: $(am__tagged_files)
379 $(am__define_uniq_tagged_files); mkid -fID $$unique
380 tags: tags-recursive
381 TAGS: tags
382
383 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
384 set x; \
385 here=`pwd`; \
386 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
387 include_option=--etags-include; \
388 empty_fix=.; \
389 else \
390 include_option=--include; \
391 empty_fix=; \
392 fi; \
393 list='$(SUBDIRS)'; for subdir in $$list; do \
394 if test "$$subdir" = .; then :; else \
395 test ! -f $$subdir/TAGS || \
396 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
397 fi; \
398 done; \
399 $(am__define_uniq_tagged_files); \
400 shift; \
401 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
402 test -n "$$unique" || unique=$$empty_fix; \
403 if test $$# -gt 0; then \
404 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
405 "$$@" $$unique; \
406 else \
407 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
408 $$unique; \
409 fi; \
410 fi
411 ctags: ctags-recursive
412
413 CTAGS: ctags
414 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
415 $(am__define_uniq_tagged_files); \
416 test -z "$(CTAGS_ARGS)$$unique" \
417 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
418 $$unique
419
420 GTAGS:
421 here=`$(am__cd) $(top_builddir) && pwd` \
422 && $(am__cd) $(top_srcdir) \
423 && gtags -i $(GTAGS_ARGS) "$$here"
424 cscopelist: cscopelist-recursive
425
426 cscopelist-am: $(am__tagged_files)
427 list='$(am__tagged_files)'; \
428 case "$(srcdir)" in \
429 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
430 *) sdir=$(subdir)/$(srcdir) ;; \
431 esac; \
432 for i in $$list; do \
433 if test -f "$$i"; then \
434 echo "$(subdir)/$$i"; \
435 else \
436 echo "$$sdir/$$i"; \
437 fi; \
438 done >> $(top_builddir)/cscope.files
439
440 distclean-tags:
441 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
442
443 distdir: $(DISTFILES)
444 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
445 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
446 list='$(DISTFILES)'; \
447 dist_files=`for file in $$list; do echo $$file; done | \
448 sed -e "s|^$$srcdirstrip/||;t" \
449 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
450 case $$dist_files in \
451 */*) $(MKDIR_P) `echo "$$dist_files" | \
452 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
453 sort -u` ;; \
454 esac; \
455 for file in $$dist_files; do \
456 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
457 if test -d $$d/$$file; then \
458 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
459 if test -d "$(distdir)/$$file"; then \
460 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
461 fi; \
462 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
463 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
464 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
465 fi; \
466 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
467 else \
468 test -f "$(distdir)/$$file" \
469 || cp -p $$d/$$file "$(distdir)/$$file" \
470 || exit 1; \
471 fi; \
472 done
473 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
474 if test "$$subdir" = .; then :; else \
475 $(am__make_dryrun) \
476 || test -d "$(distdir)/$$subdir" \
477 || $(MKDIR_P) "$(distdir)/$$subdir" \
478 || exit 1; \
479 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
480 $(am__relativize); \
481 new_distdir=$$reldir; \
482 dir1=$$subdir; dir2="$(top_distdir)"; \
483 $(am__relativize); \
484 new_top_distdir=$$reldir; \
485 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
486 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
487 ($(am__cd) $$subdir && \
488 $(MAKE) $(AM_MAKEFLAGS) \
489 top_distdir="$$new_top_distdir" \
490 distdir="$$new_distdir" \
491 am__remove_distdir=: \
492 am__skip_length_check=: \
493 am__skip_mode_fix=: \
494 distdir) \
495 || exit 1; \
496 fi; \
497 done
498 check-am: all-am
499 check: check-recursive
500 all-am: Makefile
501 installdirs: installdirs-recursive
502 installdirs-am:
503 install: install-recursive
504 install-exec: install-exec-recursive
505 install-data: install-data-recursive
506 uninstall: uninstall-recursive
507
508 install-am: all-am
509 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
510
511 installcheck: installcheck-recursive
512 install-strip:
513 if test -z '$(STRIP)'; then \
514 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
515 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
516 install; \
517 else \
518 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
519 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
520 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
521 fi
522 mostlyclean-generic:
523
524 clean-generic:
525
526 distclean-generic:
527 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
528 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
529
530 maintainer-clean-generic:
531 @echo "This command is intended for maintainers to use"
532 @echo "it deletes files that may require special tools to rebuild."
533 clean: clean-recursive
534
535 clean-am: clean-generic mostlyclean-am
536
537 distclean: distclean-recursive
538 -rm -f Makefile
539 distclean-am: clean-am distclean-generic distclean-tags
540
541 dvi: dvi-recursive
542
543 dvi-am:
544
545 html: html-recursive
546
547 html-am:
548
549 info: info-recursive
550
551 info-am:
552
553 install-data-am:
554
555 install-dvi: install-dvi-recursive
556
557 install-dvi-am:
558
559 install-exec-am:
560
561 install-html: install-html-recursive
562
563 install-html-am:
564
565 install-info: install-info-recursive
566
567 install-info-am:
568
569 install-man:
570
571 install-pdf: install-pdf-recursive
572
573 install-pdf-am:
574
575 install-ps: install-ps-recursive
576
577 install-ps-am:
578
579 installcheck-am:
580
581 maintainer-clean: maintainer-clean-recursive
582 -rm -f Makefile
583 maintainer-clean-am: distclean-am maintainer-clean-generic
584
585 mostlyclean: mostlyclean-recursive
586
587 mostlyclean-am: mostlyclean-generic
588
589 pdf: pdf-recursive
590
591 pdf-am:
592
593 ps: ps-recursive
594
595 ps-am:
596
597 uninstall-am:
598
599 .MAKE: $(am__recursive_targets) install-am install-strip
600
601 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
602 check-am clean clean-generic cscopelist-am ctags ctags-am \
603 distclean distclean-generic distclean-tags distdir dvi dvi-am \
604 html html-am info info-am install install-am install-data \
605 install-data-am install-dvi install-dvi-am install-exec \
606 install-exec-am install-html install-html-am install-info \
607 install-info-am install-man install-pdf install-pdf-am \
608 install-ps install-ps-am install-strip installcheck \
609 installcheck-am installdirs installdirs-am maintainer-clean \
610 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
611 pdf-am ps ps-am tags tags-am uninstall uninstall-am
612
613 .PRECIOUS: Makefile
614
615
616 # Tell versions [3.59,3.63) of GNU make to not export all variables.
617 # Otherwise a system limit (for SysV at least) may be exceeded.
618 .NOEXPORT:
+0
-5
extensions/alternate-tab/Makefile.am less more
0 EXTENSION_ID = alternate-tab
1
2 EXTRA_MODULES = prefs.js
3
4 include ../../extension.mk
+0
-547
extensions/alternate-tab/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/alternate-tab
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk $(srcdir)/Makefile.in \
156 $(top_srcdir)/include.mk
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 ACLOCAL = @ACLOCAL@
159 ALL_EXTENSIONS = @ALL_EXTENSIONS@
160 AMTAR = @AMTAR@
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 AUTOCONF = @AUTOCONF@
163 AUTOHEADER = @AUTOHEADER@
164 AUTOMAKE = @AUTOMAKE@
165 AWK = @AWK@
166 CC = @CC@
167 CCDEPMODE = @CCDEPMODE@
168 CFLAGS = @CFLAGS@
169 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
170 CPP = @CPP@
171 CPPFLAGS = @CPPFLAGS@
172 CYGPATH_W = @CYGPATH_W@
173 DEFS = @DEFS@
174 DEPDIR = @DEPDIR@
175 ECHO_C = @ECHO_C@
176 ECHO_N = @ECHO_N@
177 ECHO_T = @ECHO_T@
178 EGREP = @EGREP@
179 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
180 EXEEXT = @EXEEXT@
181 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
182 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
183 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
184 GMSGFMT = @GMSGFMT@
185 GMSGFMT_015 = @GMSGFMT_015@
186 GREP = @GREP@
187 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
188 INSTALL = @INSTALL@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 INTLLIBS = @INTLLIBS@
194 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
195 LDFLAGS = @LDFLAGS@
196 LIBICONV = @LIBICONV@
197 LIBINTL = @LIBINTL@
198 LIBOBJS = @LIBOBJS@
199 LIBS = @LIBS@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBINTL = @LTLIBINTL@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAKEINFO = @MAKEINFO@
204 MKDIR_P = @MKDIR_P@
205 MSGFMT = @MSGFMT@
206 MSGFMT_015 = @MSGFMT_015@
207 MSGMERGE = @MSGMERGE@
208 OBJEXT = @OBJEXT@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_URL = @PACKAGE_URL@
215 PACKAGE_VERSION = @PACKAGE_VERSION@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PKG_CONFIG = @PKG_CONFIG@
218 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
219 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220 POSUB = @POSUB@
221 SASSC = @SASSC@
222 SED = @SED@
223 SET_MAKE = @SET_MAKE@
224 SHELL = @SHELL@
225 SHELL_VERSION = @SHELL_VERSION@
226 STRIP = @STRIP@
227 USE_NLS = @USE_NLS@
228 VERSION = @VERSION@
229 XGETTEXT = @XGETTEXT@
230 XGETTEXT_015 = @XGETTEXT_015@
231 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
232 abs_builddir = @abs_builddir@
233 abs_srcdir = @abs_srcdir@
234 abs_top_builddir = @abs_top_builddir@
235 abs_top_srcdir = @abs_top_srcdir@
236 ac_ct_CC = @ac_ct_CC@
237 am__include = @am__include@
238 am__leading_dot = @am__leading_dot@
239 am__quote = @am__quote@
240 am__tar = @am__tar@
241 am__untar = @am__untar@
242 bindir = @bindir@
243 build = @build@
244 build_alias = @build_alias@
245 build_cpu = @build_cpu@
246 build_os = @build_os@
247 build_vendor = @build_vendor@
248 builddir = @builddir@
249 datadir = @datadir@
250 datarootdir = @datarootdir@
251 docdir = @docdir@
252 dvidir = @dvidir@
253 exec_prefix = @exec_prefix@
254 gsettingsschemadir = @gsettingsschemadir@
255 host = @host@
256 host_alias = @host_alias@
257 host_cpu = @host_cpu@
258 host_os = @host_os@
259 host_vendor = @host_vendor@
260 htmldir = @htmldir@
261 includedir = @includedir@
262 infodir = @infodir@
263 install_sh = @install_sh@
264 libdir = @libdir@
265 libexecdir = @libexecdir@
266 localedir = @localedir@
267 localstatedir = @localstatedir@
268 mandir = @mandir@
269 mkdir_p = @mkdir_p@
270 oldincludedir = @oldincludedir@
271 pdfdir = @pdfdir@
272 prefix = @prefix@
273 program_transform_name = @program_transform_name@
274 psdir = @psdir@
275 sbindir = @sbindir@
276 sharedstatedir = @sharedstatedir@
277 srcdir = @srcdir@
278 sysconfdir = @sysconfdir@
279 target_alias = @target_alias@
280 top_build_prefix = @top_build_prefix@
281 top_builddir = @top_builddir@
282 top_srcdir = @top_srcdir@
283 EXTENSION_ID = alternate-tab
284 EXTRA_MODULES = prefs.js
285 extensionurl = http://git.gnome.org/gnome-shell-extensions
286
287 # Change these to modify how installation is performed
288 topextensiondir = $(datadir)/gnome-shell/extensions
289 extensionbase = @gnome-shell-extensions.gcampax.github.com
290 gschemabase = org.gnome.shell.extensions
291 uuid = $(EXTENSION_ID)$(extensionbase)
292 gschemaname = $(gschemabase).$(EXTENSION_ID)
293 extensiondir = $(topextensiondir)/$(uuid)
294 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
295 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
296 EXTRA_DIST = metadata.json.in
297 CLEANFILES = metadata.json
298 all: all-am
299
300 .SUFFIXES:
301 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__configure_deps)
302 @for dep in $?; do \
303 case '$(am__configure_deps)' in \
304 *$$dep*) \
305 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
306 && { if test -f $@; then exit 0; else break; fi; }; \
307 exit 1;; \
308 esac; \
309 done; \
310 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/alternate-tab/Makefile'; \
311 $(am__cd) $(top_srcdir) && \
312 $(AUTOMAKE) --foreign extensions/alternate-tab/Makefile
313 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
314 @case '$?' in \
315 *config.status*) \
316 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
317 *) \
318 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
319 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
320 esac;
321 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__empty):
322
323 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
324 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
325
326 $(top_srcdir)/configure: $(am__configure_deps)
327 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
328 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
329 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
330 $(am__aclocal_m4_deps):
331 install-dist_extensionDATA: $(dist_extension_DATA)
332 @$(NORMAL_INSTALL)
333 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
334 if test -n "$$list"; then \
335 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
336 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
337 fi; \
338 for p in $$list; do \
339 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
340 echo "$$d$$p"; \
341 done | $(am__base_list) | \
342 while read files; do \
343 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
344 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
345 done
346
347 uninstall-dist_extensionDATA:
348 @$(NORMAL_UNINSTALL)
349 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
350 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
351 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
352 install-nodist_extensionDATA: $(nodist_extension_DATA)
353 @$(NORMAL_INSTALL)
354 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
355 if test -n "$$list"; then \
356 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
357 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
358 fi; \
359 for p in $$list; do \
360 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
361 echo "$$d$$p"; \
362 done | $(am__base_list) | \
363 while read files; do \
364 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
365 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
366 done
367
368 uninstall-nodist_extensionDATA:
369 @$(NORMAL_UNINSTALL)
370 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
371 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
372 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
373 tags TAGS:
374
375 ctags CTAGS:
376
377 cscope cscopelist:
378
379
380 distdir: $(DISTFILES)
381 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
383 list='$(DISTFILES)'; \
384 dist_files=`for file in $$list; do echo $$file; done | \
385 sed -e "s|^$$srcdirstrip/||;t" \
386 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
387 case $$dist_files in \
388 */*) $(MKDIR_P) `echo "$$dist_files" | \
389 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
390 sort -u` ;; \
391 esac; \
392 for file in $$dist_files; do \
393 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
394 if test -d $$d/$$file; then \
395 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
396 if test -d "$(distdir)/$$file"; then \
397 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
398 fi; \
399 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
400 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
401 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
402 fi; \
403 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
404 else \
405 test -f "$(distdir)/$$file" \
406 || cp -p $$d/$$file "$(distdir)/$$file" \
407 || exit 1; \
408 fi; \
409 done
410 check-am: all-am
411 check: check-am
412 all-am: Makefile $(DATA)
413 installdirs:
414 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
415 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
416 done
417 install: install-am
418 install-exec: install-exec-am
419 install-data: install-data-am
420 uninstall: uninstall-am
421
422 install-am: all-am
423 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
424
425 installcheck: installcheck-am
426 install-strip:
427 if test -z '$(STRIP)'; then \
428 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
429 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
430 install; \
431 else \
432 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
433 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
434 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
435 fi
436 mostlyclean-generic:
437
438 clean-generic:
439 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
440
441 distclean-generic:
442 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
443 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
444
445 maintainer-clean-generic:
446 @echo "This command is intended for maintainers to use"
447 @echo "it deletes files that may require special tools to rebuild."
448 clean: clean-am
449
450 clean-am: clean-generic mostlyclean-am
451
452 distclean: distclean-am
453 -rm -f Makefile
454 distclean-am: clean-am distclean-generic
455
456 dvi: dvi-am
457
458 dvi-am:
459
460 html: html-am
461
462 html-am:
463
464 info: info-am
465
466 info-am:
467
468 install-data-am: install-dist_extensionDATA \
469 install-nodist_extensionDATA
470
471 install-dvi: install-dvi-am
472
473 install-dvi-am:
474
475 install-exec-am:
476
477 install-html: install-html-am
478
479 install-html-am:
480
481 install-info: install-info-am
482
483 install-info-am:
484
485 install-man:
486
487 install-pdf: install-pdf-am
488
489 install-pdf-am:
490
491 install-ps: install-ps-am
492
493 install-ps-am:
494
495 installcheck-am:
496
497 maintainer-clean: maintainer-clean-am
498 -rm -f Makefile
499 maintainer-clean-am: distclean-am maintainer-clean-generic
500
501 mostlyclean: mostlyclean-am
502
503 mostlyclean-am: mostlyclean-generic
504
505 pdf: pdf-am
506
507 pdf-am:
508
509 ps: ps-am
510
511 ps-am:
512
513 uninstall-am: uninstall-dist_extensionDATA \
514 uninstall-nodist_extensionDATA
515
516 .MAKE: install-am install-strip
517
518 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
519 ctags-am distclean distclean-generic distdir dvi dvi-am html \
520 html-am info info-am install install-am install-data \
521 install-data-am install-dist_extensionDATA install-dvi \
522 install-dvi-am install-exec install-exec-am install-html \
523 install-html-am install-info install-info-am install-man \
524 install-nodist_extensionDATA install-pdf install-pdf-am \
525 install-ps install-ps-am install-strip installcheck \
526 installcheck-am installdirs maintainer-clean \
527 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
528 pdf-am ps ps-am tags-am uninstall uninstall-am \
529 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
530
531 .PRECIOUS: Makefile
532
533
534 metadata.json: metadata.json.in $(top_builddir)/config.status
535 $(AM_V_GEN) sed \
536 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
537 -e "s|[@]uuid@|$(uuid)|" \
538 -e "s|[@]gschemaname@|$(gschemaname)|" \
539 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
540 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
541 -e "s|[@]url@|$(extensionurl)|" \
542 $< > $@
543
544 # Tell versions [3.59,3.63) of GNU make to not export all variables.
545 # Otherwise a system limit (for SysV at least) may be exceeded.
546 .NOEXPORT:
00 /* -*- mode: js; js-basic-offset: 4; indent-tabs-mode: nil -*- */
11
22 const Clutter = imports.gi.Clutter;
3 const Lang = imports.lang;
43 const Meta = imports.gi.Meta;
54 const Shell = imports.gi.Shell;
65
4241 tabPopup.destroy();
4342 };
4443
45 setKeybinding('switch-applications', Lang.bind(Main.wm, Main.wm._forcedWindowSwitcher));
46 setKeybinding('switch-applications-backward', Lang.bind(Main.wm, Main.wm._forcedWindowSwitcher));
44 setKeybinding('switch-applications',
45 Main.wm._forcedWindowSwitcher.bind(Main.wm));
46 setKeybinding('switch-applications-backward',
47 Main.wm._forcedWindowSwitcher.bind(Main.wm));
4748 }
4849
4950 function disable() {
5051 var prop;
5152
52 setKeybinding('switch-applications', Lang.bind(Main.wm, Main.wm._startSwitcher));
53 setKeybinding('switch-applications-backward', Lang.bind(Main.wm, Main.wm._startSwitcher));
53 setKeybinding('switch-applications',
54 Main.wm._startSwitcher.bind(Main.wm));
55 setKeybinding('switch-applications-backward',
56 Main.wm._startSwitcher.bind(Main.wm));
5457
5558 for (prop in injections)
5659 AltTab.WindowSwitcherPopup.prototype[prop] = injections[prop];
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_sources += files('prefs.js')
33 "settings-schema": "@gschemaname@",
44 "gettext-domain": "@gettext_domain@",
55 "name": "AlternateTab",
6 "description": "Substitute Alt-Tab with a window based switcher that does not group by application.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
6 "description": "Substitute Alt-Tab with a window based switcher that does not group by application.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
77 "original-authors": [ "[email protected]", "[email protected]" ],
88 "shell-version": [ "@shell_current@" ],
99 "url": "@url@"
22 const Gio = imports.gi.Gio;
33 const Gtk = imports.gi.Gtk;
44 const GObject = imports.gi.GObject;
5 const Lang = imports.lang;
65
76 const Gettext = imports.gettext.domain('gnome-shell-extensions');
87 const _ = Gettext.gettext;
9 const N_ = function(e) { return e };
8 const N_ = e => e;
109
1110 const ExtensionUtils = imports.misc.extensionUtils;
1211 const Me = ExtensionUtils.getCurrentExtension();
2120 'both': N_("Thumbnail and application icon"),
2221 };
2322
24 const AltTabSettingsWidget = new GObject.Class({
25 Name: 'AlternateTab.Prefs.AltTabSettingsWidget',
26 GTypeName: 'AltTabSettingsWidget',
27 Extends: Gtk.Grid,
28
29 _init : function(params) {
30 this.parent(params);
23 const AltTabSettingsWidget = GObject.registerClass(
24 class AltTabSettingsWidget extends Gtk.Grid {
25 _init(params) {
26 super._init(params);
3127 this.margin = 24;
3228 this.row_spacing = 6;
33 this.orientation = Gtk.Orientation.VERTICAL;
29 this.orientation = Gtk.Orientation.VERTICAL;
3430
3531 this._settings = new Gio.Settings({ schema_id: 'org.gnome.shell.window-switcher' });
3632
5551 let name = Gettext.gettext(MODES[mode]);
5652
5753 radio = new Gtk.RadioButton({ group: radio, label: name, valign: Gtk.Align.START });
58 radio.connect('toggled', Lang.bind(this, function(widget) {
54 radio.connect('toggled', widget => {
5955 if (widget.active)
6056 this._settings.set_string(SETTINGS_APP_ICON_MODE, modeCapture);
61 }));
57 });
6258 grid.add(radio);
6359
6460 if (mode == currentMode)
6561 radio.active = true;
6662 }
6763
68 let check = new Gtk.CheckButton({ label: _("Show only windows in the current workspace"),
69 margin_top: 6 });
70 this._settings.bind(SETTINGS_CURRENT_WORKSPACE_ONLY, check, 'active', Gio.SettingsBindFlags.DEFAULT);
71 this.add(check);
72 },
64 let check = new Gtk.CheckButton({ label: _("Show only windows in the current workspace"),
65 margin_top: 6 });
66 this._settings.bind(SETTINGS_CURRENT_WORKSPACE_ONLY, check, 'active', Gio.SettingsBindFlags.DEFAULT);
67 this.add(check);
68 }
7369 });
7470
7571 function init() {
+0
-3
extensions/apps-menu/Makefile.am less more
0 EXTENSION_ID = apps-menu
1
2 include ../../extension.mk
+0
-546
extensions/apps-menu/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/apps-menu
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk $(srcdir)/Makefile.in \
156 $(top_srcdir)/include.mk
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 ACLOCAL = @ACLOCAL@
159 ALL_EXTENSIONS = @ALL_EXTENSIONS@
160 AMTAR = @AMTAR@
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 AUTOCONF = @AUTOCONF@
163 AUTOHEADER = @AUTOHEADER@
164 AUTOMAKE = @AUTOMAKE@
165 AWK = @AWK@
166 CC = @CC@
167 CCDEPMODE = @CCDEPMODE@
168 CFLAGS = @CFLAGS@
169 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
170 CPP = @CPP@
171 CPPFLAGS = @CPPFLAGS@
172 CYGPATH_W = @CYGPATH_W@
173 DEFS = @DEFS@
174 DEPDIR = @DEPDIR@
175 ECHO_C = @ECHO_C@
176 ECHO_N = @ECHO_N@
177 ECHO_T = @ECHO_T@
178 EGREP = @EGREP@
179 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
180 EXEEXT = @EXEEXT@
181 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
182 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
183 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
184 GMSGFMT = @GMSGFMT@
185 GMSGFMT_015 = @GMSGFMT_015@
186 GREP = @GREP@
187 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
188 INSTALL = @INSTALL@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 INTLLIBS = @INTLLIBS@
194 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
195 LDFLAGS = @LDFLAGS@
196 LIBICONV = @LIBICONV@
197 LIBINTL = @LIBINTL@
198 LIBOBJS = @LIBOBJS@
199 LIBS = @LIBS@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBINTL = @LTLIBINTL@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAKEINFO = @MAKEINFO@
204 MKDIR_P = @MKDIR_P@
205 MSGFMT = @MSGFMT@
206 MSGFMT_015 = @MSGFMT_015@
207 MSGMERGE = @MSGMERGE@
208 OBJEXT = @OBJEXT@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_URL = @PACKAGE_URL@
215 PACKAGE_VERSION = @PACKAGE_VERSION@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PKG_CONFIG = @PKG_CONFIG@
218 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
219 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220 POSUB = @POSUB@
221 SASSC = @SASSC@
222 SED = @SED@
223 SET_MAKE = @SET_MAKE@
224 SHELL = @SHELL@
225 SHELL_VERSION = @SHELL_VERSION@
226 STRIP = @STRIP@
227 USE_NLS = @USE_NLS@
228 VERSION = @VERSION@
229 XGETTEXT = @XGETTEXT@
230 XGETTEXT_015 = @XGETTEXT_015@
231 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
232 abs_builddir = @abs_builddir@
233 abs_srcdir = @abs_srcdir@
234 abs_top_builddir = @abs_top_builddir@
235 abs_top_srcdir = @abs_top_srcdir@
236 ac_ct_CC = @ac_ct_CC@
237 am__include = @am__include@
238 am__leading_dot = @am__leading_dot@
239 am__quote = @am__quote@
240 am__tar = @am__tar@
241 am__untar = @am__untar@
242 bindir = @bindir@
243 build = @build@
244 build_alias = @build_alias@
245 build_cpu = @build_cpu@
246 build_os = @build_os@
247 build_vendor = @build_vendor@
248 builddir = @builddir@
249 datadir = @datadir@
250 datarootdir = @datarootdir@
251 docdir = @docdir@
252 dvidir = @dvidir@
253 exec_prefix = @exec_prefix@
254 gsettingsschemadir = @gsettingsschemadir@
255 host = @host@
256 host_alias = @host_alias@
257 host_cpu = @host_cpu@
258 host_os = @host_os@
259 host_vendor = @host_vendor@
260 htmldir = @htmldir@
261 includedir = @includedir@
262 infodir = @infodir@
263 install_sh = @install_sh@
264 libdir = @libdir@
265 libexecdir = @libexecdir@
266 localedir = @localedir@
267 localstatedir = @localstatedir@
268 mandir = @mandir@
269 mkdir_p = @mkdir_p@
270 oldincludedir = @oldincludedir@
271 pdfdir = @pdfdir@
272 prefix = @prefix@
273 program_transform_name = @program_transform_name@
274 psdir = @psdir@
275 sbindir = @sbindir@
276 sharedstatedir = @sharedstatedir@
277 srcdir = @srcdir@
278 sysconfdir = @sysconfdir@
279 target_alias = @target_alias@
280 top_build_prefix = @top_build_prefix@
281 top_builddir = @top_builddir@
282 top_srcdir = @top_srcdir@
283 EXTENSION_ID = apps-menu
284 extensionurl = http://git.gnome.org/gnome-shell-extensions
285
286 # Change these to modify how installation is performed
287 topextensiondir = $(datadir)/gnome-shell/extensions
288 extensionbase = @gnome-shell-extensions.gcampax.github.com
289 gschemabase = org.gnome.shell.extensions
290 uuid = $(EXTENSION_ID)$(extensionbase)
291 gschemaname = $(gschemabase).$(EXTENSION_ID)
292 extensiondir = $(topextensiondir)/$(uuid)
293 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
294 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
295 EXTRA_DIST = metadata.json.in
296 CLEANFILES = metadata.json
297 all: all-am
298
299 .SUFFIXES:
300 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__configure_deps)
301 @for dep in $?; do \
302 case '$(am__configure_deps)' in \
303 *$$dep*) \
304 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
305 && { if test -f $@; then exit 0; else break; fi; }; \
306 exit 1;; \
307 esac; \
308 done; \
309 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/apps-menu/Makefile'; \
310 $(am__cd) $(top_srcdir) && \
311 $(AUTOMAKE) --foreign extensions/apps-menu/Makefile
312 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
313 @case '$?' in \
314 *config.status*) \
315 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
316 *) \
317 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
318 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
319 esac;
320 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__empty):
321
322 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
323 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
324
325 $(top_srcdir)/configure: $(am__configure_deps)
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
327 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329 $(am__aclocal_m4_deps):
330 install-dist_extensionDATA: $(dist_extension_DATA)
331 @$(NORMAL_INSTALL)
332 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
333 if test -n "$$list"; then \
334 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
335 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
336 fi; \
337 for p in $$list; do \
338 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
339 echo "$$d$$p"; \
340 done | $(am__base_list) | \
341 while read files; do \
342 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
343 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
344 done
345
346 uninstall-dist_extensionDATA:
347 @$(NORMAL_UNINSTALL)
348 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
349 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
350 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
351 install-nodist_extensionDATA: $(nodist_extension_DATA)
352 @$(NORMAL_INSTALL)
353 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
354 if test -n "$$list"; then \
355 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
356 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
357 fi; \
358 for p in $$list; do \
359 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
360 echo "$$d$$p"; \
361 done | $(am__base_list) | \
362 while read files; do \
363 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
364 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
365 done
366
367 uninstall-nodist_extensionDATA:
368 @$(NORMAL_UNINSTALL)
369 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
370 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
371 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
372 tags TAGS:
373
374 ctags CTAGS:
375
376 cscope cscopelist:
377
378
379 distdir: $(DISTFILES)
380 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 list='$(DISTFILES)'; \
383 dist_files=`for file in $$list; do echo $$file; done | \
384 sed -e "s|^$$srcdirstrip/||;t" \
385 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
386 case $$dist_files in \
387 */*) $(MKDIR_P) `echo "$$dist_files" | \
388 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
389 sort -u` ;; \
390 esac; \
391 for file in $$dist_files; do \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 if test -d $$d/$$file; then \
394 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
395 if test -d "$(distdir)/$$file"; then \
396 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
397 fi; \
398 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
399 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
400 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
401 fi; \
402 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
403 else \
404 test -f "$(distdir)/$$file" \
405 || cp -p $$d/$$file "$(distdir)/$$file" \
406 || exit 1; \
407 fi; \
408 done
409 check-am: all-am
410 check: check-am
411 all-am: Makefile $(DATA)
412 installdirs:
413 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
414 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
415 done
416 install: install-am
417 install-exec: install-exec-am
418 install-data: install-data-am
419 uninstall: uninstall-am
420
421 install-am: all-am
422 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
423
424 installcheck: installcheck-am
425 install-strip:
426 if test -z '$(STRIP)'; then \
427 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
428 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
429 install; \
430 else \
431 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
432 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
433 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
434 fi
435 mostlyclean-generic:
436
437 clean-generic:
438 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
439
440 distclean-generic:
441 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
442 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
443
444 maintainer-clean-generic:
445 @echo "This command is intended for maintainers to use"
446 @echo "it deletes files that may require special tools to rebuild."
447 clean: clean-am
448
449 clean-am: clean-generic mostlyclean-am
450
451 distclean: distclean-am
452 -rm -f Makefile
453 distclean-am: clean-am distclean-generic
454
455 dvi: dvi-am
456
457 dvi-am:
458
459 html: html-am
460
461 html-am:
462
463 info: info-am
464
465 info-am:
466
467 install-data-am: install-dist_extensionDATA \
468 install-nodist_extensionDATA
469
470 install-dvi: install-dvi-am
471
472 install-dvi-am:
473
474 install-exec-am:
475
476 install-html: install-html-am
477
478 install-html-am:
479
480 install-info: install-info-am
481
482 install-info-am:
483
484 install-man:
485
486 install-pdf: install-pdf-am
487
488 install-pdf-am:
489
490 install-ps: install-ps-am
491
492 install-ps-am:
493
494 installcheck-am:
495
496 maintainer-clean: maintainer-clean-am
497 -rm -f Makefile
498 maintainer-clean-am: distclean-am maintainer-clean-generic
499
500 mostlyclean: mostlyclean-am
501
502 mostlyclean-am: mostlyclean-generic
503
504 pdf: pdf-am
505
506 pdf-am:
507
508 ps: ps-am
509
510 ps-am:
511
512 uninstall-am: uninstall-dist_extensionDATA \
513 uninstall-nodist_extensionDATA
514
515 .MAKE: install-am install-strip
516
517 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
518 ctags-am distclean distclean-generic distdir dvi dvi-am html \
519 html-am info info-am install install-am install-data \
520 install-data-am install-dist_extensionDATA install-dvi \
521 install-dvi-am install-exec install-exec-am install-html \
522 install-html-am install-info install-info-am install-man \
523 install-nodist_extensionDATA install-pdf install-pdf-am \
524 install-ps install-ps-am install-strip installcheck \
525 installcheck-am installdirs maintainer-clean \
526 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
527 pdf-am ps ps-am tags-am uninstall uninstall-am \
528 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
529
530 .PRECIOUS: Makefile
531
532
533 metadata.json: metadata.json.in $(top_builddir)/config.status
534 $(AM_V_GEN) sed \
535 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
536 -e "s|[@]uuid@|$(uuid)|" \
537 -e "s|[@]gschemaname@|$(gschemaname)|" \
538 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
539 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
540 -e "s|[@]url@|$(extensionurl)|" \
541 $< > $@
542
543 # Tell versions [3.59,3.63) of GNU make to not export all variables.
544 # Otherwise a system limit (for SysV at least) may be exceeded.
545 .NOEXPORT:
22 const Atk = imports.gi.Atk;
33 const DND = imports.ui.dnd;
44 const GMenu = imports.gi.GMenu;
5 const Lang = imports.lang;
65 const Shell = imports.gi.Shell;
76 const St = imports.gi.St;
87 const Clutter = imports.gi.Clutter;
3029 const MENU_HEIGHT_OFFSET = 132;
3130 const NAVIGATION_REGION_OVERSHOOT = 50;
3231
33 const ActivitiesMenuItem = new Lang.Class({
34 Name: 'ActivitiesMenuItem',
35 Extends: PopupMenu.PopupBaseMenuItem,
36
37 _init: function(button) {
38 this.parent();
32 class ActivitiesMenuItem extends PopupMenu.PopupBaseMenuItem {
33 constructor(button) {
34 super();
3935 this._button = button;
4036 this.actor.add_child(new St.Label({ text: _("Activities Overview") }));
41 },
42
43 activate: function(event) {
37 }
38
39 activate(event) {
4440 this._button.menu.toggle();
4541 Main.overview.toggle();
46 this.parent(event);
47 },
48 });
49
50 const ApplicationMenuItem = new Lang.Class({
51 Name: 'ApplicationMenuItem',
52 Extends: PopupMenu.PopupBaseMenuItem,
53
54 _init: function(button, app) {
55 this.parent();
56 this._app = app;
42 super.activate(event);
43 }
44 };
45
46 class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
47 constructor(button, app) {
48 super();
49 this._app = app;
5750 this._button = button;
5851
5952 this._iconBin = new St.Bin();
6659
6760 let textureCache = St.TextureCache.get_default();
6861 let iconThemeChangedId = textureCache.connect('icon-theme-changed',
69 Lang.bind(this, this._updateIcon));
70 this.actor.connect('destroy', Lang.bind(this,
71 function() {
72 textureCache.disconnect(iconThemeChangedId);
73 }));
62 this._updateIcon.bind(this));
63 this.actor.connect('destroy', () => {
64 textureCache.disconnect(iconThemeChangedId);
65 });
7466 this._updateIcon();
7567
7668 this.actor._delegate = this;
8981 draggable.connect('drag-end', () => {
9082 Shell.util_set_hidden_from_pick(Main.legacyTray.actor, false);
9183 });
92 },
93
94 activate: function(event) {
95 this._app.open_new_window(-1);
84 }
85
86 activate(event) {
87 this._app.open_new_window(-1);
9688 this._button.selectCategory(null, null);
9789 this._button.menu.toggle();
98 this.parent(event);
99 },
100
101 setActive: function(active, params) {
90 super.activate(event);
91 }
92
93 setActive(active, params) {
10294 if (active)
10395 this._button.scrollToButton(this);
104 this.parent(active, params);
105 },
106
107 setDragEnabled: function(enable) {
96 super.setActive(active, params);
97 }
98
99 setDragEnabled(enable) {
108100 this._dragEnabled = enable;
109 },
110
111 getDragActor: function() {
101 }
102
103 getDragActor() {
112104 return this._app.create_icon_texture(APPLICATION_ICON_SIZE);
113 },
114
115 getDragActorSource: function() {
105 }
106
107 getDragActorSource() {
116108 return this._iconBin;
117 },
118
119 _updateIcon: function() {
109 }
110
111 _updateIcon() {
120112 this._iconBin.set_child(this.getDragActor());
121113 }
122 });
123
124 const CategoryMenuItem = new Lang.Class({
125 Name: 'CategoryMenuItem',
126 Extends: PopupMenu.PopupBaseMenuItem,
127
128 _init: function(button, category) {
129 this.parent();
130 this._category = category;
114 };
115
116 class CategoryMenuItem extends PopupMenu.PopupBaseMenuItem {
117 constructor(button, category) {
118 super();
119 this._category = category;
131120 this._button = button;
132121
133122 this._oldX = -1;
140129 name = _("Favorites");
141130
142131 this.actor.add_child(new St.Label({ text: name }));
143 this.actor.connect('motion-event', Lang.bind(this, this._onMotionEvent));
144 },
145
146 activate: function(event) {
132 this.actor.connect('motion-event', this._onMotionEvent.bind(this));
133 }
134
135 activate(event) {
147136 this._button.selectCategory(this._category, this);
148137 this._button.scrollToCatButton(this);
149 this.parent(event);
150 },
151
152 _isNavigatingSubmenu: function([x, y]) {
138 super.activate(event);
139 }
140
141 _isNavigatingSubmenu([x, y]) {
153142 let [posX, posY] = this.actor.get_transformed_position();
154143
155144 if (this._oldX == -1) {
204193 return true;
205194
206195 return false;
207 },
208
209 _onMotionEvent: function(actor, event) {
196 }
197
198 _onMotionEvent(actor, event) {
210199 if (!Clutter.get_pointer_grab()) {
211200 this._oldX = -1;
212201 this._oldY = -1;
227216 source.sync_hover();
228217
229218 return false;
230 },
231
232 setActive: function(active, params) {
219 }
220
221 setActive(active, params) {
233222 if (active) {
234223 this._button.selectCategory(this._category, this);
235224 this._button.scrollToCatButton(this);
236225 }
237 this.parent(active, params);
238 }
239 });
240
241 const ApplicationsMenu = new Lang.Class({
242 Name: 'ApplicationsMenu',
243 Extends: PopupMenu.PopupMenu,
244
245 _init: function(sourceActor, arrowAlignment, arrowSide, button) {
246 this.parent(sourceActor, arrowAlignment, arrowSide);
226 super.setActive(active, params);
227 }
228 };
229
230 class ApplicationsMenu extends PopupMenu.PopupMenu {
231 constructor(sourceActor, arrowAlignment, arrowSide, button) {
232 super(sourceActor, arrowAlignment, arrowSide);
247233 this._button = button;
248 },
249
250 isEmpty: function() {
251 return false;
252 },
253
254 open: function(animate) {
234 }
235
236 isEmpty() {
237 return false;
238 }
239
240 open(animate) {
255241 this._button.hotCorner.setBarrierSize(0);
256242 if (this._button.hotCorner.actor) // fallback corner
257243 this._button.hotCorner.actor.hide();
258 this.parent(animate);
259 },
260
261 close: function(animate) {
244 super.open(animate);
245 }
246
247 close(animate) {
262248 let size = Main.layoutManager.panelBox.height;
263249 this._button.hotCorner.setBarrierSize(size);
264250 if (this._button.hotCorner.actor) // fallback corner
265251 this._button.hotCorner.actor.show();
266 this.parent(animate);
267 },
268
269 toggle: function() {
252 super.close(animate);
253 }
254
255 toggle() {
270256 if (this.isOpen) {
271257 this._button.selectCategory(null, null);
272258 } else {
273259 if (Main.overview.visible)
274260 Main.overview.hide();
275261 }
276 this.parent();
277 }
278 });
279
280 const DesktopTarget = new Lang.Class({
281 Name: 'DesktopTarget',
282
283 _init: function() {
262 super.toggle();
263 }
264 };
265
266 class DesktopTarget {
267 constructor() {
284268 this._desktop = null;
285269 this._desktopDestroyedId = 0;
286270
287271 this._windowAddedId =
288272 global.window_group.connect('actor-added',
289 Lang.bind(this, this._onWindowAdded));
273 this._onWindowAdded.bind(this));
290274
291275 global.get_window_actors().forEach(a => {
292276 this._onWindowAdded(a.get_parent(), a);
293277 });
294 },
278 }
295279
296280 get hasDesktop() {
297281 return this._desktop != null;
298 },
299
300 _onWindowAdded: function(group, actor) {
282 }
283
284 _onWindowAdded(group, actor) {
301285 if (!(actor instanceof Meta.WindowActor))
302286 return;
303287
304288 if (actor.meta_window.get_window_type() == Meta.WindowType.DESKTOP)
305289 this._setDesktop(actor);
306 },
307
308 _setDesktop: function(desktop) {
290 }
291
292 _setDesktop(desktop) {
309293 if (this._desktop) {
310294 this._desktop.disconnect(this._desktopDestroyedId);
311295 this._desktopDestroyedId = 0;
322306 });
323307 this._desktop._delegate = this;
324308 }
325 },
326
327 _getSourceAppInfo: function(source) {
309 }
310
311 _getSourceAppInfo(source) {
328312 if (!(source instanceof ApplicationMenuItem))
329313 return null;
330314 return source._app.app_info;
331 },
332
333 _touchFile: function(file) {
315 }
316
317 _touchFile(file) {
334318 let queryFlags = Gio.FileQueryInfoFlags.NONE;
335319 let ioPriority = GLib.PRIORITY_DEFAULT;
336320
345329 log('Failed to update access time: ' + e.message);
346330 }
347331 });
348 },
349
350 _markTrusted: function(file) {
332 }
333
334 _markTrusted(file) {
351335 let modeAttr = Gio.FILE_ATTRIBUTE_UNIX_MODE;
352336 let trustedAttr = 'metadata::trusted';
353337 let queryFlags = Gio.FileQueryInfoFlags.NONE;
372356 log('Failed to mark file as trusted: ' + e.message);
373357 }
374358 });
375 },
376
377 destroy: function() {
359 }
360
361 destroy() {
378362 if (this._windowAddedId)
379363 global.window_group.disconnect(this._windowAddedId);
380364 this._windowAddedId = 0;
381365
382366 this._setDesktop(null);
383 },
384
385 handleDragOver: function(source, actor, x, y, time) {
367 }
368
369 handleDragOver(source, actor, x, y, time) {
386370 let appInfo = this._getSourceAppInfo(source);
387371 if (!appInfo)
388372 return DND.DragMotionResult.CONTINUE;
389373
390374 return DND.DragMotionResult.COPY_DROP;
391 },
392
393 acceptDrop: function(source, actor, x, y, time) {
375 }
376
377 acceptDrop(source, actor, x, y, time) {
394378 let appInfo = this._getSourceAppInfo(source);
395379 if (!appInfo)
396380 return false;
412396
413397 return true;
414398 }
415 });
399 };
416400 Signals.addSignalMethods(DesktopTarget.prototype);
417401
418 const ApplicationsButton = new Lang.Class({
419 Name: 'ApplicationsButton',
420 Extends: PanelMenu.Button,
421
422 _init: function() {
423 this.parent(1.0, null, false);
402 class ApplicationsButton extends PanelMenu.Button {
403 constructor() {
404 super(1.0, null, false);
424405
425406 this.setMenu(new ApplicationsMenu(this.actor, 1.0, St.Side.TOP, this));
426407 Main.panel.menuManager.addMenu(this.menu);
442423 this.actor.name = 'panelApplications';
443424 this.actor.label_actor = this._label;
444425
445 this.actor.connect('captured-event', Lang.bind(this, this._onCapturedEvent));
446 this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
447
448 this._showingId = Main.overview.connect('showing', Lang.bind(this, function() {
426 this.actor.connect('captured-event', this._onCapturedEvent.bind(this));
427 this.actor.connect('destroy', this._onDestroy.bind(this));
428
429 this._showingId = Main.overview.connect('showing', () => {
449430 this.actor.add_accessible_state (Atk.StateType.CHECKED);
450 }));
451 this._hidingId = Main.overview.connect('hiding', Lang.bind(this, function() {
431 });
432 this._hidingId = Main.overview.connect('hiding', () => {
452433 this.actor.remove_accessible_state (Atk.StateType.CHECKED);
453 }));
434 });
454435 Main.layoutManager.connect('startup-complete',
455 Lang.bind(this, this._setKeybinding));
436 this._setKeybinding.bind(this));
456437 this._setKeybinding();
457438
458439 this._desktopTarget = new DesktopTarget();
465446 });
466447 });
467448
449 this._tree = new GMenu.Tree({ menu_basename: 'applications.menu' });
450 this._treeChangedId = this._tree.connect('changed',
451 this._onTreeChanged.bind(this));
452
468453 this._applicationsButtons = new Map();
469454 this.reloadFlag = false;
470455 this._createLayout();
471456 this._display();
472 this._installedChangedId = appSys.connect('installed-changed', Lang.bind(this, function() {
473 if (this.menu.isOpen) {
474 this._redisplay();
475 this.mainBox.show();
476 } else {
477 this.reloadFlag = true;
478 }
479 }));
480 },
457 this._installedChangedId = appSys.connect('installed-changed',
458 this._onTreeChanged.bind(this));
459 }
460
461 _onTreeChanged() {
462 if (this.menu.isOpen) {
463 this._redisplay();
464 this.mainBox.show();
465 } else {
466 this.reloadFlag = true;
467 }
468 }
481469
482470 get hotCorner() {
483471 return Main.layoutManager.hotCorners[Main.layoutManager.primaryIndex];
484 },
485
486 _createVertSeparator: function() {
472 }
473
474 _createVertSeparator() {
487475 let separator = new St.DrawingArea({ style_class: 'calendar-vertical-separator',
488476 pseudo_class: 'highlighted' });
489 separator.connect('repaint', Lang.bind(this, this._onVertSepRepaint));
477 separator.connect('repaint', this._onVertSepRepaint.bind(this));
490478 return separator;
491 },
492
493 _onDestroy: function() {
479 }
480
481 _onDestroy() {
494482 Main.overview.disconnect(this._showingId);
495483 Main.overview.disconnect(this._hidingId);
496484 appSys.disconnect(this._installedChangedId);
485 this._tree.disconnect(this._treeChangedId);
486 this._tree = null;
497487
498488 Main.wm.setCustomKeybindingHandler('panel-main-menu',
499489 Shell.ActionMode.NORMAL |
500490 Shell.ActionMode.OVERVIEW,
501491 Main.sessionMode.hasOverview ?
502 Lang.bind(Main.overview, Main.overview.toggle) :
492 Main.overview.toggle.bind(Main.overview) :
503493 null);
504494
505495 this._desktopTarget.destroy();
506 },
507
508 _onCapturedEvent: function(actor, event) {
496 }
497
498 _onCapturedEvent(actor, event) {
509499 if (event.type() == Clutter.EventType.BUTTON_PRESS) {
510500 if (!Main.overview.shouldToggleByCornerOrButton())
511501 return true;
512502 }
513503 return false;
514 },
515
516 _onMenuKeyPress: function(actor, event) {
504 }
505
506 _onMenuKeyPress(actor, event) {
517507 let symbol = event.get_key_symbol();
518508 if (symbol == Clutter.KEY_Left || symbol == Clutter.KEY_Right) {
519509 let direction = symbol == Clutter.KEY_Left ? Gtk.DirectionType.LEFT
521511 if (this.menu.actor.navigate_focus(global.stage.key_focus, direction, false))
522512 return true;
523513 }
524 return this.parent(actor, event);
525 },
526
527 _onVertSepRepaint: function(area) {
514 return super._onMenuKeyPress(actor, event);
515 }
516
517 _onVertSepRepaint(area) {
528518 let cr = area.get_context();
529519 let themeNode = area.get_theme_node();
530520 let [width, height] = area.get_surface_size();
537527 cr.setDash([1, 3], 1); // Hard-code for now
538528 cr.setLineWidth(stippleWidth);
539529 cr.stroke();
540 },
541
542 _onOpenStateChanged: function(menu, open) {
530 }
531
532 _onOpenStateChanged(menu, open) {
543533 if (open) {
544534 if (this.reloadFlag) {
545535 this._redisplay();
547537 }
548538 this.mainBox.show();
549539 }
550 this.parent(menu, open);
551 },
552
553 _setKeybinding: function() {
540 super._onOpenStateChanged(menu, open);
541 }
542
543 _setKeybinding() {
554544 Main.wm.setCustomKeybindingHandler('panel-main-menu',
555545 Shell.ActionMode.NORMAL |
556546 Shell.ActionMode.OVERVIEW,
557 Lang.bind(this, function() {
558 this.menu.toggle();
559 }));
560 },
561
562 _redisplay: function() {
547 () => { this.menu.toggle(); });
548 }
549
550 _redisplay() {
563551 this.applicationsBox.destroy_all_children();
564552 this.categoriesBox.destroy_all_children();
565553 this._display();
566 },
567
568 _loadCategory: function(categoryId, dir) {
554 }
555
556 _loadCategory(categoryId, dir) {
569557 let iter = dir.iter();
570558 let nextType;
571559 while ((nextType = iter.next()) != GMenu.TreeItemType.INVALID) {
582570 app = new Shell.App({ app_info: entry.get_app_info() });
583571 if (app.get_app_info().should_show())
584572 this.applicationsByCategory[categoryId].push(app);
573 } else if (nextType == GMenu.TreeItemType.SEPARATOR) {
574 this.applicationsByCategory[categoryId].push('separator');
585575 } else if (nextType == GMenu.TreeItemType.DIRECTORY) {
586576 let subdir = iter.get_directory();
587577 if (!subdir.get_is_nodisplay())
588578 this._loadCategory(categoryId, subdir);
589579 }
590580 }
591 },
592
593 scrollToButton: function(button) {
581 }
582
583 scrollToButton(button) {
594584 let appsScrollBoxAdj = this.applicationsScrollBox.get_vscroll_bar().get_adjustment();
595585 let appsScrollBoxAlloc = this.applicationsScrollBox.get_allocation_box();
596586 let currentScrollValue = appsScrollBoxAdj.get_value();
603593 newScrollValue = buttonAlloc.y2 - boxHeight + 10;
604594 if (newScrollValue != currentScrollValue)
605595 appsScrollBoxAdj.set_value(newScrollValue);
606 },
607
608 scrollToCatButton: function(button) {
596 }
597
598 scrollToCatButton(button) {
609599 let catsScrollBoxAdj = this.categoriesScrollBox.get_vscroll_bar().get_adjustment();
610600 let catsScrollBoxAlloc = this.categoriesScrollBox.get_allocation_box();
611601 let currentScrollValue = catsScrollBoxAdj.get_value();
618608 newScrollValue = buttonAlloc.y2 - boxHeight + 10;
619609 if (newScrollValue != currentScrollValue)
620610 catsScrollBoxAdj.set_value(newScrollValue);
621 },
622
623 _createLayout: function() {
611 }
612
613 _createLayout() {
624614 let section = new PopupMenu.PopupMenuSection();
625615 this.menu.addMenuItem(section);
626616 this.mainBox = new St.BoxLayout({ vertical: false });
630620 style_class: 'apps-menu vfade' });
631621 this.applicationsScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
632622 let vscroll = this.applicationsScrollBox.get_vscroll_bar();
633 vscroll.connect('scroll-start', Lang.bind(this, function() {
623 vscroll.connect('scroll-start', () => {
634624 this.menu.passEvents = true;
635 }));
636 vscroll.connect('scroll-stop', Lang.bind(this, function() {
625 });
626 vscroll.connect('scroll-stop', () => {
637627 this.menu.passEvents = false;
638 }));
628 });
639629 this.categoriesScrollBox = new St.ScrollView({ x_fill: true, y_fill: false,
640630 y_align: St.Align.START,
641631 style_class: 'vfade' });
642632 this.categoriesScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
643633 vscroll = this.categoriesScrollBox.get_vscroll_bar();
644 vscroll.connect('scroll-start', Lang.bind(this, function() {
645 this.menu.passEvents = true;
646 }));
647 vscroll.connect('scroll-stop', Lang.bind(this, function() {
648 this.menu.passEvents = false;
649 }));
634 vscroll.connect('scroll-start', () => { this.menu.passEvents = true; });
635 vscroll.connect('scroll-stop', () => { this.menu.passEvents = false; });
650636 this.leftBox.add(this.categoriesScrollBox, { expand: true,
651637 x_fill: true, y_fill: true,
652638 y_align: St.Align.START });
665651 this.mainBox.add(this._createVertSeparator(), { expand: false, x_fill: false, y_fill: true});
666652 this.mainBox.add(this.applicationsScrollBox, { expand: true, x_fill: true, y_fill: true });
667653 section.actor.add_actor(this.mainBox);
668 },
669
670 _display: function() {
654 }
655
656 _display() {
671657 this._applicationsButtons.clear();
672658 this.mainBox.style=('width: 35em;');
673659 this.mainBox.hide();
674660
675661 //Load categories
676662 this.applicationsByCategory = {};
677 let tree = new GMenu.Tree({ menu_basename: 'applications.menu' });
678 tree.load_sync();
679 let root = tree.get_root_directory();
663 this._tree.load_sync();
664 let root = this._tree.get_root_directory();
680665 let categoryMenuItem = new CategoryMenuItem(this, null);
681666 this.categoriesBox.add_actor(categoryMenuItem.actor);
682667 let iter = root.iter();
701686
702687 let height = this.categoriesBox.height + MENU_HEIGHT_OFFSET + 'px';
703688 this.mainBox.style+=('height: ' + height);
704 },
705
706 _clearApplicationsBox: function(selectedActor) {
707 let actors = this.applicationsBox.get_children();
708 for (let i = 0; i < actors.length; i++) {
709 let actor = actors[i];
710 this.applicationsBox.remove_actor(actor);
711 }
712 },
713
714 selectCategory: function(dir, categoryMenuItem) {
715 if (categoryMenuItem)
716 this._clearApplicationsBox(categoryMenuItem.actor);
717 else
718 this._clearApplicationsBox(null);
689 }
690
691 selectCategory(dir, categoryMenuItem) {
692 this.applicationsBox.get_children().forEach(c => {
693 if (c._delegate instanceof PopupMenu.PopupSeparatorMenuItem)
694 c._delegate.destroy();
695 else
696 this.applicationsBox.remove_actor(c);
697 });
719698
720699 if (dir)
721700 this._displayButtons(this._listApplications(dir.get_menu_id()));
722701 else
723702 this._displayButtons(this._listApplications(null));
724 },
725
726 _displayButtons: function(apps) {
703 }
704
705 _displayButtons(apps) {
727706 if (apps) {
728707 for (let i = 0; i < apps.length; i++) {
729708 let app = apps[i];
730 let item = this._applicationsButtons.get(app);
709 let item;
710 if (app instanceof Shell.App)
711 item = this._applicationsButtons.get(app);
712 else
713 item = new PopupMenu.PopupSeparatorMenuItem();
731714 if (!item) {
732715 item = new ApplicationMenuItem(this, app);
733716 item.setDragEnabled(this._desktopTarget.hasDesktop);
737720 this.applicationsBox.add_actor(item.actor);
738721 }
739722 }
740 },
741
742 _listApplications: function(category_menu_id) {
723 }
724
725 _listApplications(category_menu_id) {
743726 let applist;
744727
745728 if (category_menu_id) {
746729 applist = this.applicationsByCategory[category_menu_id];
747 applist.sort(function(a,b) {
748 return a.get_name().toLowerCase() > b.get_name().toLowerCase();
749 });
750730 } else {
751731 applist = new Array();
752732 let favorites = global.settings.get_strv('favorite-apps');
758738 }
759739
760740 return applist;
761 },
762
763 destroy: function() {
764 this.menu.actor.get_children().forEach(function(c) { c.destroy() });
765 this.parent();
766 }
767 });
741 }
742
743 destroy() {
744 this.menu.actor.get_children().forEach(c => { c.destroy() });
745 super.destroy();
746 }
747 };
768748
769749 let appsMenuButton;
770750 let activitiesButton;
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
22 "uuid": "@uuid@",
33 "gettext-domain": "@gettext_domain@",
44 "name": "Applications Menu",
5 "description": "Add a category-based menu for applications.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
5 "description": "Add a category-based menu for applications.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
66 "original-authors": [ "[email protected]", "[email protected]" ],
77 "shell-version": [ "@shell_current@" ],
88 "url": "@url@"
+0
-7
extensions/auto-move-windows/Makefile.am less more
0 EXTENSION_ID = auto-move-windows
1
2 EXTRA_MODULES = prefs.js
3
4 include ../../extension.mk
5 include ../../settings.mk
6
+0
-554
extensions/auto-move-windows/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/auto-move-windows
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk \
156 $(srcdir)/../../settings.mk $(srcdir)/Makefile.in \
157 $(top_srcdir)/include.mk
158 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
159 ACLOCAL = @ACLOCAL@
160 ALL_EXTENSIONS = @ALL_EXTENSIONS@
161 AMTAR = @AMTAR@
162 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
163 AUTOCONF = @AUTOCONF@
164 AUTOHEADER = @AUTOHEADER@
165 AUTOMAKE = @AUTOMAKE@
166 AWK = @AWK@
167 CC = @CC@
168 CCDEPMODE = @CCDEPMODE@
169 CFLAGS = @CFLAGS@
170 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
171 CPP = @CPP@
172 CPPFLAGS = @CPPFLAGS@
173 CYGPATH_W = @CYGPATH_W@
174 DEFS = @DEFS@
175 DEPDIR = @DEPDIR@
176 ECHO_C = @ECHO_C@
177 ECHO_N = @ECHO_N@
178 ECHO_T = @ECHO_T@
179 EGREP = @EGREP@
180 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
181 EXEEXT = @EXEEXT@
182 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
183 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
184 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
185 GMSGFMT = @GMSGFMT@
186 GMSGFMT_015 = @GMSGFMT_015@
187 GREP = @GREP@
188 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
189 INSTALL = @INSTALL@
190 INSTALL_DATA = @INSTALL_DATA@
191 INSTALL_PROGRAM = @INSTALL_PROGRAM@
192 INSTALL_SCRIPT = @INSTALL_SCRIPT@
193 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
194 INTLLIBS = @INTLLIBS@
195 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
196 LDFLAGS = @LDFLAGS@
197 LIBICONV = @LIBICONV@
198 LIBINTL = @LIBINTL@
199 LIBOBJS = @LIBOBJS@
200 LIBS = @LIBS@
201 LTLIBICONV = @LTLIBICONV@
202 LTLIBINTL = @LTLIBINTL@
203 LTLIBOBJS = @LTLIBOBJS@
204 MAKEINFO = @MAKEINFO@
205 MKDIR_P = @MKDIR_P@
206 MSGFMT = @MSGFMT@
207 MSGFMT_015 = @MSGFMT_015@
208 MSGMERGE = @MSGMERGE@
209 OBJEXT = @OBJEXT@
210 PACKAGE = @PACKAGE@
211 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
212 PACKAGE_NAME = @PACKAGE_NAME@
213 PACKAGE_STRING = @PACKAGE_STRING@
214 PACKAGE_TARNAME = @PACKAGE_TARNAME@
215 PACKAGE_URL = @PACKAGE_URL@
216 PACKAGE_VERSION = @PACKAGE_VERSION@
217 PATH_SEPARATOR = @PATH_SEPARATOR@
218 PKG_CONFIG = @PKG_CONFIG@
219 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
220 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
221 POSUB = @POSUB@
222 SASSC = @SASSC@
223 SED = @SED@
224 SET_MAKE = @SET_MAKE@
225 SHELL = @SHELL@
226 SHELL_VERSION = @SHELL_VERSION@
227 STRIP = @STRIP@
228 USE_NLS = @USE_NLS@
229 VERSION = @VERSION@
230 XGETTEXT = @XGETTEXT@
231 XGETTEXT_015 = @XGETTEXT_015@
232 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
233 abs_builddir = @abs_builddir@
234 abs_srcdir = @abs_srcdir@
235 abs_top_builddir = @abs_top_builddir@
236 abs_top_srcdir = @abs_top_srcdir@
237 ac_ct_CC = @ac_ct_CC@
238 am__include = @am__include@
239 am__leading_dot = @am__leading_dot@
240 am__quote = @am__quote@
241 am__tar = @am__tar@
242 am__untar = @am__untar@
243 bindir = @bindir@
244 build = @build@
245 build_alias = @build_alias@
246 build_cpu = @build_cpu@
247 build_os = @build_os@
248 build_vendor = @build_vendor@
249 builddir = @builddir@
250 datadir = @datadir@
251 datarootdir = @datarootdir@
252 docdir = @docdir@
253 dvidir = @dvidir@
254 exec_prefix = @exec_prefix@
255 gsettingsschemadir = @gsettingsschemadir@
256 host = @host@
257 host_alias = @host_alias@
258 host_cpu = @host_cpu@
259 host_os = @host_os@
260 host_vendor = @host_vendor@
261 htmldir = @htmldir@
262 includedir = @includedir@
263 infodir = @infodir@
264 install_sh = @install_sh@
265 libdir = @libdir@
266 libexecdir = @libexecdir@
267 localedir = @localedir@
268 localstatedir = @localstatedir@
269 mandir = @mandir@
270 mkdir_p = @mkdir_p@
271 oldincludedir = @oldincludedir@
272 pdfdir = @pdfdir@
273 prefix = @prefix@
274 program_transform_name = @program_transform_name@
275 psdir = @psdir@
276 sbindir = @sbindir@
277 sharedstatedir = @sharedstatedir@
278 srcdir = @srcdir@
279 sysconfdir = @sysconfdir@
280 target_alias = @target_alias@
281 top_build_prefix = @top_build_prefix@
282 top_builddir = @top_builddir@
283 top_srcdir = @top_srcdir@
284 EXTENSION_ID = auto-move-windows
285 EXTRA_MODULES = prefs.js
286 extensionurl = http://git.gnome.org/gnome-shell-extensions
287
288 # Change these to modify how installation is performed
289 topextensiondir = $(datadir)/gnome-shell/extensions
290 extensionbase = @gnome-shell-extensions.gcampax.github.com
291 gschemabase = org.gnome.shell.extensions
292 uuid = $(EXTENSION_ID)$(extensionbase)
293 gschemaname = $(gschemabase).$(EXTENSION_ID)
294 extensiondir = $(topextensiondir)/$(uuid)
295 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
296 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
297 EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS)
298 CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid)
299 gsettings_SCHEMAS = $(gschemaname).gschema.xml
300 all: all-am
301
302 .SUFFIXES:
303 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__configure_deps)
304 @for dep in $?; do \
305 case '$(am__configure_deps)' in \
306 *$$dep*) \
307 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
308 && { if test -f $@; then exit 0; else break; fi; }; \
309 exit 1;; \
310 esac; \
311 done; \
312 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/auto-move-windows/Makefile'; \
313 $(am__cd) $(top_srcdir) && \
314 $(AUTOMAKE) --foreign extensions/auto-move-windows/Makefile
315 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
316 @case '$?' in \
317 *config.status*) \
318 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
319 *) \
320 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
321 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
322 esac;
323 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__empty):
324
325 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
327
328 $(top_srcdir)/configure: $(am__configure_deps)
329 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
330 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
331 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
332 $(am__aclocal_m4_deps):
333 install-dist_extensionDATA: $(dist_extension_DATA)
334 @$(NORMAL_INSTALL)
335 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
336 if test -n "$$list"; then \
337 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
338 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
339 fi; \
340 for p in $$list; do \
341 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
342 echo "$$d$$p"; \
343 done | $(am__base_list) | \
344 while read files; do \
345 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
346 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
347 done
348
349 uninstall-dist_extensionDATA:
350 @$(NORMAL_UNINSTALL)
351 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
352 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
353 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
354 install-nodist_extensionDATA: $(nodist_extension_DATA)
355 @$(NORMAL_INSTALL)
356 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
357 if test -n "$$list"; then \
358 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
359 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
360 fi; \
361 for p in $$list; do \
362 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
363 echo "$$d$$p"; \
364 done | $(am__base_list) | \
365 while read files; do \
366 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
367 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
368 done
369
370 uninstall-nodist_extensionDATA:
371 @$(NORMAL_UNINSTALL)
372 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
373 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
374 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
375 tags TAGS:
376
377 ctags CTAGS:
378
379 cscope cscopelist:
380
381
382 distdir: $(DISTFILES)
383 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
384 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
385 list='$(DISTFILES)'; \
386 dist_files=`for file in $$list; do echo $$file; done | \
387 sed -e "s|^$$srcdirstrip/||;t" \
388 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
389 case $$dist_files in \
390 */*) $(MKDIR_P) `echo "$$dist_files" | \
391 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
392 sort -u` ;; \
393 esac; \
394 for file in $$dist_files; do \
395 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
396 if test -d $$d/$$file; then \
397 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
398 if test -d "$(distdir)/$$file"; then \
399 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
400 fi; \
401 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
402 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
403 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
404 fi; \
405 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
406 else \
407 test -f "$(distdir)/$$file" \
408 || cp -p $$d/$$file "$(distdir)/$$file" \
409 || exit 1; \
410 fi; \
411 done
412 check-am: all-am
413 check: check-am
414 all-am: Makefile $(DATA)
415 installdirs:
416 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
417 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
418 done
419 install: install-am
420 install-exec: install-exec-am
421 install-data: install-data-am
422 uninstall: uninstall-am
423
424 install-am: all-am
425 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
426
427 installcheck: installcheck-am
428 install-strip:
429 if test -z '$(STRIP)'; then \
430 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
431 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
432 install; \
433 else \
434 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
435 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
436 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
437 fi
438 mostlyclean-generic:
439
440 clean-generic:
441 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
442
443 distclean-generic:
444 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
445 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
446
447 maintainer-clean-generic:
448 @echo "This command is intended for maintainers to use"
449 @echo "it deletes files that may require special tools to rebuild."
450 clean: clean-am
451
452 clean-am: clean-generic mostlyclean-am
453
454 distclean: distclean-am
455 -rm -f Makefile
456 distclean-am: clean-am distclean-generic
457
458 dvi: dvi-am
459
460 dvi-am:
461
462 html: html-am
463
464 html-am:
465
466 info: info-am
467
468 info-am:
469
470 install-data-am: install-dist_extensionDATA \
471 install-nodist_extensionDATA
472
473 install-dvi: install-dvi-am
474
475 install-dvi-am:
476
477 install-exec-am:
478
479 install-html: install-html-am
480
481 install-html-am:
482
483 install-info: install-info-am
484
485 install-info-am:
486
487 install-man:
488
489 install-pdf: install-pdf-am
490
491 install-pdf-am:
492
493 install-ps: install-ps-am
494
495 install-ps-am:
496
497 installcheck-am:
498
499 maintainer-clean: maintainer-clean-am
500 -rm -f Makefile
501 maintainer-clean-am: distclean-am maintainer-clean-generic
502
503 mostlyclean: mostlyclean-am
504
505 mostlyclean-am: mostlyclean-generic
506
507 pdf: pdf-am
508
509 pdf-am:
510
511 ps: ps-am
512
513 ps-am:
514
515 uninstall-am: uninstall-dist_extensionDATA \
516 uninstall-nodist_extensionDATA
517
518 .MAKE: install-am install-strip
519
520 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
521 ctags-am distclean distclean-generic distdir dvi dvi-am html \
522 html-am info info-am install install-am install-data \
523 install-data-am install-dist_extensionDATA install-dvi \
524 install-dvi-am install-exec install-exec-am install-html \
525 install-html-am install-info install-info-am install-man \
526 install-nodist_extensionDATA install-pdf install-pdf-am \
527 install-ps install-ps-am install-strip installcheck \
528 installcheck-am installdirs maintainer-clean \
529 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
530 pdf-am ps ps-am tags-am uninstall uninstall-am \
531 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
532
533 .PRECIOUS: Makefile
534
535
536 metadata.json: metadata.json.in $(top_builddir)/config.status
537 $(AM_V_GEN) sed \
538 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
539 -e "s|[@]uuid@|$(uuid)|" \
540 -e "s|[@]gschemaname@|$(gschemaname)|" \
541 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
542 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
543 -e "s|[@]url@|$(extensionurl)|" \
544 $< > $@
545
546 %.desktop:%.desktop.in
547 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
548
549 @GSETTINGS_RULES@
550
551 # Tell versions [3.59,3.63) of GNU make to not export all variables.
552 # Otherwise a system limit (for SysV at least) may be exceeded.
553 .NOEXPORT:
00 // -*- mode: js2; indent-tabs-mode: nil; js2-basic-offset: 4 -*-
11 // Start apps on custom workspaces
22
3 const Glib = imports.gi.GLib;
4 const Gio = imports.gi.Gio;
5 const Lang = imports.lang;
6 const Mainloop = imports.mainloop;
7 const Meta = imports.gi.Meta;
83 const Shell = imports.gi.Shell;
9 const St = imports.gi.St;
104
115 const Main = imports.ui.main;
126
148 const Me = ExtensionUtils.getCurrentExtension();
159 const Convenience = Me.imports.convenience;
1610
17 const SETTINGS_KEY = 'application-list';
11 class WindowMover {
12 constructor() {
13 this._settings = Convenience.getSettings();
14 this._appSystem = Shell.AppSystem.get_default();
15 this._appConfigs = new Map();
16 this._appData = new Map();
1817
19 let settings;
18 this._appsChangedId =
19 this._appSystem.connect('installed-changed',
20 this._updateAppData.bind(this));
2021
21 const WindowMover = new Lang.Class({
22 Name: 'AutoMoveWindows.WindowMover',
22 this._settings.connect('changed', this._updateAppConfigs.bind(this));
23 this._updateAppConfigs();
24 }
2325
24 _init: function() {
25 this._settings = settings;
26 this._windowTracker = Shell.WindowTracker.get_default();
26 _updateAppConfigs() {
27 this._appConfigs.clear();
2728
28 let display = global.screen.get_display();
29 // Connect after so the handler from ShellWindowTracker has already run
30 this._windowCreatedId = display.connect_after('window-created', Lang.bind(this, this._findAndMove));
31 },
29 this._settings.get_strv('application-list').forEach(v => {
30 let [appId, num] = v.split(':');
31 this._appConfigs.set(appId, parseInt(num) - 1);
32 });
3233
33 destroy: function() {
34 if (this._windowCreatedId) {
35 global.screen.get_display().disconnect(this._windowCreatedId);
36 this._windowCreatedId = 0;
34 this._updateAppData();
35 }
36
37 _updateAppData() {
38 let ids = [...this._appConfigs.keys()];
39 let removedApps = [...this._appData.keys()].filter(
40 a => !ids.includes(a.id)
41 );
42 removedApps.forEach(app => {
43 app.disconnect(this._appData.get(app).windowsChangedId);
44 this._appData.delete(app);
45 });
46
47 let addedApps = ids.map(id => this._appSystem.lookup_app(id)).filter(
48 app => app != null && !this._appData.has(app)
49 );
50 addedApps.forEach(app => {
51 let data = {
52 windowsChangedId: app.connect('windows-changed',
53 this._appWindowsChanged.bind(this)),
54 moveWindowsId: 0,
55 windows: app.get_windows()
56 }
57 this._appData.set(app, data);
58 });
59 }
60
61 destroy() {
62 if (this._appsChangedId) {
63 this._appSystem.disconnect(this._appsChangedId);
64 this._appsChangedId = 0;
3765 }
38 },
3966
40 _ensureAtLeastWorkspaces: function(num, window) {
41 for (let j = global.screen.n_workspaces; j <= num; j++) {
42 window.change_workspace_by_index(j-1, false);
43 global.screen.append_new_workspace(false, 0);
67 if (this._settings) {
68 this._settings.run_dispose();
69 this._settings = null;
4470 }
45 },
4671
47 _findAndMove: function(display, window, noRecurse) {
72 this._appConfigs.clear();
73 this._updateAppData();
74 }
75
76 _moveWindow(window, workspaceNum) {
4877 if (window.skip_taskbar)
4978 return;
5079
51 let spaces = this._settings.get_strv(SETTINGS_KEY);
80 // ensure we have the required number of workspaces
81 for (let i = global.screen.n_workspaces; i <= workspaceNum; i++) {
82 window.change_workspace_by_index(i - 1, false);
83 global.screen.append_new_workspace(false, 0);
84 }
5285
53 let app = this._windowTracker.get_window_app(window);
54 if (!app) {
55 if (!noRecurse) {
56 // window is not tracked yet
57 Mainloop.idle_add(Lang.bind(this, function() {
58 this._findAndMove(display, window, true);
59 return false;
60 }));
61 } else
62 log ('Cannot find application for window');
63 return;
64 }
65 let app_id = app.get_id();
66 for ( let j = 0 ; j < spaces.length; j++ ) {
67 let apps_to_space = spaces[j].split(":");
68 // Match application id
69 if (apps_to_space[0] == app_id) {
70 let workspace_num = parseInt(apps_to_space[1]) - 1;
86 window.change_workspace_by_index(workspaceNum, false);
87 }
7188
72 if (workspace_num >= global.screen.n_workspaces)
73 this._ensureAtLeastWorkspaces(workspace_num, window);
89 _appWindowsChanged(app) {
90 let data = this._appData.get(app);
91 let windows = app.get_windows();
7492
75 window.change_workspace_by_index(workspace_num, false);
76 }
77 }
93 // If get_compositor_private() returns non-NULL on a removed windows,
94 // the window still exists and is just moved to a different workspace
95 // or something; assume it'll be added back immediately, so keep it
96 // to avoid moving it again
97 windows.push(...data.windows.filter(
98 w => !windows.includes(w) && w.get_compositor_private() != null
99 ));
100
101 let workspaceNum = this._appConfigs.get(app.id);
102 windows.filter(w => !data.windows.includes(w)).forEach(window => {
103 this._moveWindow(window, workspaceNum);
104 });
105 data.windows = windows;
78106 }
79 });
107 };
80108
81109 let prevCheckWorkspaces;
82110 let winMover;
83111
84112 function init() {
85113 Convenience.initTranslations();
86 settings = Convenience.getSettings();
87114 }
88115
89116 function myCheckWorkspaces() {
90 let i;
91 let emptyWorkspaces = new Array(this._workspaces.length);
92
93 if (!Meta.prefs_get_dynamic_workspaces()) {
94 this._checkWorkspacesId = 0;
95 return false;
117 let keepAliveWorkspaces = [];
118 let foundNonEmpty = false;
119 for (let i = this._workspaces.length - 1; i >= 0; i--) {
120 if (!foundNonEmpty)
121 foundNonEmpty = this._workspaces[i].list_windows().length > 0;
122 else if (!this._workspaces[i]._keepAliveId)
123 keepAliveWorkspaces.push(this._workspaces[i]);
96124 }
97125
98 for (i = 0; i < this._workspaces.length; i++) {
99 let lastRemoved = this._workspaces[i]._lastRemovedWindow;
100 if ((lastRemoved &&
101 (lastRemoved.get_window_type() == Meta.WindowType.SPLASHSCREEN ||
102 lastRemoved.get_window_type() == Meta.WindowType.DIALOG ||
103 lastRemoved.get_window_type() == Meta.WindowType.MODAL_DIALOG)) ||
104 this._workspaces[i]._keepAliveId)
105 emptyWorkspaces[i] = false;
106 else
107 emptyWorkspaces[i] = true;
108 }
126 // make sure the original method only removes empty workspaces at the end
127 keepAliveWorkspaces.forEach(ws => { ws._keepAliveId = 1; });
128 prevCheckWorkspaces.call(this);
129 keepAliveWorkspaces.forEach(ws => { delete ws._keepAliveId; });
109130
110 let sequences = Shell.WindowTracker.get_default().get_startup_sequences();
111 for (i = 0; i < sequences.length; i++) {
112 let index = sequences[i].get_workspace();
113 if (index >= 0 && index <= global.screen.n_workspaces)
114 emptyWorkspaces[index] = false;
115 }
116
117 let windows = global.get_window_actors();
118 for (i = 0; i < windows.length; i++) {
119 let winActor = windows[i];
120 let win = winActor.meta_window;
121 if (win.is_on_all_workspaces())
122 continue;
123
124 let workspaceIndex = win.get_workspace().index();
125 emptyWorkspaces[workspaceIndex] = false;
126 }
127
128 // If we don't have an empty workspace at the end, add one
129 if (!emptyWorkspaces[emptyWorkspaces.length -1]) {
130 global.screen.append_new_workspace(false, global.get_current_time());
131 emptyWorkspaces.push(false);
132 }
133
134 let activeWorkspaceIndex = global.screen.get_active_workspace_index();
135 emptyWorkspaces[activeWorkspaceIndex] = false;
136
137 // Delete other empty workspaces; do it from the end to avoid index changes
138 for (i = emptyWorkspaces.length - 2; i >= 0; i--) {
139 if (emptyWorkspaces[i])
140 global.screen.remove_workspace(this._workspaces[i], global.get_current_time());
141 else
142 break;
143 }
144
145 this._checkWorkspacesId = 0;
146131 return false;
147132 }
148133
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_sources += files('prefs.js')
7 extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml')
33 const Gio = imports.gi.Gio;
44 const GObject = imports.gi.GObject;
55 const Gtk = imports.gi.Gtk;
6 const Lang = imports.lang;
76
87 const Gettext = imports.gettext.domain('gnome-shell-extensions');
98 const _ = Gettext.gettext;
10 const N_ = function(e) { return e };
9 const N_ = e => e;
1110
1211 const ExtensionUtils = imports.misc.extensionUtils;
1312 const Me = ExtensionUtils.getCurrentExtension();
2524 ADJUSTMENT: 4
2625 };
2726
28 const Widget = new GObject.Class({
29 Name: 'AutoMoveWindows.Prefs.Widget',
27 const Widget = GObject.registerClass({
3028 GTypeName: 'AutoMoveWindowsPrefsWidget',
31 Extends: Gtk.Grid,
32
33 _init: function(params) {
34 this.parent(params);
29 }, class Widget extends Gtk.Grid {
30 _init(params) {
31 super._init(params);
3532 this.set_orientation(Gtk.Orientation.VERTICAL);
3633
37 this._settings = Convenience.getSettings();
38 this._settings.connect('changed', Lang.bind(this, this._refresh));
39 this._changedPermitted = false;
40
41 this._store = new Gtk.ListStore();
42 this._store.set_column_types([Gio.AppInfo, GObject.TYPE_STRING, Gio.Icon, GObject.TYPE_INT,
34 this._settings = Convenience.getSettings();
35 this._settings.connect('changed', this._refresh.bind(this));
36 this._changedPermitted = false;
37
38 this._store = new Gtk.ListStore();
39 this._store.set_column_types([Gio.AppInfo, GObject.TYPE_STRING, Gio.Icon, GObject.TYPE_INT,
4340 Gtk.Adjustment]);
4441
4542 let scrolled = new Gtk.ScrolledWindow({ shadow_type: Gtk.ShadowType.IN});
4744 this.add(scrolled);
4845
4946
50 this._treeView = new Gtk.TreeView({ model: this._store,
47 this._treeView = new Gtk.TreeView({ model: this._store,
5148 hexpand: true, vexpand: true });
52 this._treeView.get_selection().set_mode(Gtk.SelectionMode.SINGLE);
53
54 let appColumn = new Gtk.TreeViewColumn({ expand: true, sort_column_id: Columns.DISPLAY_NAME,
55 title: _("Application") });
56 let iconRenderer = new Gtk.CellRendererPixbuf;
57 appColumn.pack_start(iconRenderer, false);
58 appColumn.add_attribute(iconRenderer, "gicon", Columns.ICON);
59 let nameRenderer = new Gtk.CellRendererText;
60 appColumn.pack_start(nameRenderer, true);
61 appColumn.add_attribute(nameRenderer, "text", Columns.DISPLAY_NAME);
62 this._treeView.append_column(appColumn);
63
64 let workspaceColumn = new Gtk.TreeViewColumn({ title: _("Workspace"),
49 this._treeView.get_selection().set_mode(Gtk.SelectionMode.SINGLE);
50
51 let appColumn = new Gtk.TreeViewColumn({ expand: true, sort_column_id: Columns.DISPLAY_NAME,
52 title: _("Application") });
53 let iconRenderer = new Gtk.CellRendererPixbuf;
54 appColumn.pack_start(iconRenderer, false);
55 appColumn.add_attribute(iconRenderer, "gicon", Columns.ICON);
56 let nameRenderer = new Gtk.CellRendererText;
57 appColumn.pack_start(nameRenderer, true);
58 appColumn.add_attribute(nameRenderer, "text", Columns.DISPLAY_NAME);
59 this._treeView.append_column(appColumn);
60
61 let workspaceColumn = new Gtk.TreeViewColumn({ title: _("Workspace"),
6562 sort_column_id: Columns.WORKSPACE });
66 let workspaceRenderer = new Gtk.CellRendererSpin({ editable: true });
67 workspaceRenderer.connect('edited', Lang.bind(this, this._workspaceEdited));
68 workspaceColumn.pack_start(workspaceRenderer, true);
69 workspaceColumn.add_attribute(workspaceRenderer, "adjustment", Columns.ADJUSTMENT);
63 let workspaceRenderer = new Gtk.CellRendererSpin({ editable: true });
64 workspaceRenderer.connect('edited', this._workspaceEdited.bind(this));
65 workspaceColumn.pack_start(workspaceRenderer, true);
66 workspaceColumn.add_attribute(workspaceRenderer, "adjustment", Columns.ADJUSTMENT);
7067 workspaceColumn.add_attribute(workspaceRenderer, "text", Columns.WORKSPACE);
71 this._treeView.append_column(workspaceColumn);
72
73 scrolled.add(this._treeView);
74
75 let toolbar = new Gtk.Toolbar({ icon_size: Gtk.IconSize.SMALL_TOOLBAR });
76 toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_INLINE_TOOLBAR);
77 this.add(toolbar);
78
79 let newButton = new Gtk.ToolButton({ icon_name: 'bookmark-new-symbolic',
68 this._treeView.append_column(workspaceColumn);
69
70 scrolled.add(this._treeView);
71
72 let toolbar = new Gtk.Toolbar({ icon_size: Gtk.IconSize.SMALL_TOOLBAR });
73 toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_INLINE_TOOLBAR);
74 this.add(toolbar);
75
76 let newButton = new Gtk.ToolButton({ icon_name: 'bookmark-new-symbolic',
8077 label: _("Add Rule"),
81 is_important: true });
82 newButton.connect('clicked', Lang.bind(this, this._createNew));
83 toolbar.add(newButton);
84
85 let delButton = new Gtk.ToolButton({ icon_name: 'edit-delete-symbolic' });
86 delButton.connect('clicked', Lang.bind(this, this._deleteSelected));
87 toolbar.add(delButton);
78 is_important: true });
79 newButton.connect('clicked', this._createNew.bind(this));
80 toolbar.add(newButton);
81
82 let delButton = new Gtk.ToolButton({ icon_name: 'edit-delete-symbolic' });
83 delButton.connect('clicked', this._deleteSelected.bind(this));
84 toolbar.add(delButton);
8885
8986 let selection = this._treeView.get_selection();
90 selection.connect('changed',
91 function() {
92 delButton.sensitive = selection.count_selected_rows() > 0;
93 });
87 selection.connect('changed', () => {
88 delButton.sensitive = selection.count_selected_rows() > 0;
89 });
9490 delButton.sensitive = selection.count_selected_rows() > 0;
9591
96 this._changedPermitted = true;
97 this._refresh();
98 },
99
100 _createNew: function() {
101 let dialog = new Gtk.Dialog({ title: _("Create new matching rule"),
102 transient_for: this.get_toplevel(),
92 this._changedPermitted = true;
93 this._refresh();
94 }
95
96 _createNew() {
97 let dialog = new Gtk.Dialog({ title: _("Create new matching rule"),
98 transient_for: this.get_toplevel(),
10399 use_header_bar: true,
104 modal: true });
105 dialog.add_button(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL);
106 let addButton = dialog.add_button(_("Add"), Gtk.ResponseType.OK);
100 modal: true });
101 dialog.add_button(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL);
102 let addButton = dialog.add_button(_("Add"), Gtk.ResponseType.OK);
107103 dialog.set_default_response(Gtk.ResponseType.OK);
108104
109 let grid = new Gtk.Grid({ column_spacing: 10,
105 let grid = new Gtk.Grid({ column_spacing: 10,
110106 row_spacing: 15,
111107 margin: 10 });
112 dialog._appChooser = new Gtk.AppChooserWidget({ show_all: true });
113 dialog._appChooser.connect('application-selected', Lang.bind(this,
114 function(w, appInfo) {
115 addButton.sensitive = appInfo &&
116 this._checkId(appInfo.get_id());
117 }));
108 dialog._appChooser = new Gtk.AppChooserWidget({ show_all: true });
109 dialog._appChooser.connect('application-selected', (w, appInfo) => {
110 addButton.sensitive = appInfo && this._checkId(appInfo.get_id());
111 });
118112 let appInfo = dialog._appChooser.get_app_info();
119113 addButton.sensitive = appInfo && this._checkId(appInfo.get_id());
120114
121 grid.attach(dialog._appChooser, 0, 0, 2, 1);
122 grid.attach(new Gtk.Label({ label: _("Workspace"),
115 grid.attach(dialog._appChooser, 0, 0, 2, 1);
116 grid.attach(new Gtk.Label({ label: _("Workspace"),
123117 halign: Gtk.Align.END }), 0, 1, 1, 1);
124 let adjustment = new Gtk.Adjustment({ lower: 1,
125 upper: WORKSPACE_MAX,
126 step_increment: 1
118 let adjustment = new Gtk.Adjustment({ lower: 1,
119 upper: WORKSPACE_MAX,
120 step_increment: 1
127121 });
128 dialog._spin = new Gtk.SpinButton({ adjustment: adjustment,
129 snap_to_ticks: true });
122 dialog._spin = new Gtk.SpinButton({ adjustment: adjustment,
123 snap_to_ticks: true });
130124 dialog._spin.set_value(1);
131 grid.attach(dialog._spin, 1, 1, 1, 1);
132 dialog.get_content_area().add(grid);
133
134 dialog.connect('response', Lang.bind(this, function(dialog, id) {
135 if (id != Gtk.ResponseType.OK) {
125 grid.attach(dialog._spin, 1, 1, 1, 1);
126 dialog.get_content_area().add(grid);
127
128 dialog.connect('response', (dialog, id) => {
129 if (id != Gtk.ResponseType.OK) {
136130 dialog.destroy();
137 return;
131 return;
138132 }
139133
140 let appInfo = dialog._appChooser.get_app_info();
141 if (!appInfo)
142 return;
143 let index = Math.floor(dialog._spin.value);
144 if (isNaN(index) || index < 0)
145 index = 1;
146
147 this._changedPermitted = false;
148 this._appendItem(appInfo.get_id(), index);
149 this._changedPermitted = true;
150
151 let iter = this._store.append();
152 let adj = new Gtk.Adjustment({ lower: 1,
153 upper: WORKSPACE_MAX,
154 step_increment: 1,
134 let appInfo = dialog._appChooser.get_app_info();
135 if (!appInfo)
136 return;
137 let index = Math.floor(dialog._spin.value);
138 if (isNaN(index) || index < 0)
139 index = 1;
140
141 this._changedPermitted = false;
142 this._appendItem(appInfo.get_id(), index);
143 this._changedPermitted = true;
144
145 let iter = this._store.append();
146 let adj = new Gtk.Adjustment({ lower: 1,
147 upper: WORKSPACE_MAX,
148 step_increment: 1,
155149 value: index });
156 this._store.set(iter,
157 [Columns.APPINFO, Columns.ICON, Columns.DISPLAY_NAME, Columns.WORKSPACE, Columns.ADJUSTMENT],
158 [appInfo, appInfo.get_icon(), appInfo.get_display_name(), index, adj]);
150 this._store.set(iter,
151 [Columns.APPINFO, Columns.ICON, Columns.DISPLAY_NAME, Columns.WORKSPACE, Columns.ADJUSTMENT],
152 [appInfo, appInfo.get_icon(), appInfo.get_display_name(), index, adj]);
159153
160154 dialog.destroy();
161 }));
162 dialog.show_all();
163 },
164
165 _deleteSelected: function() {
166 let [any, model, iter] = this._treeView.get_selection().get_selected();
167
168 if (any) {
169 let appInfo = this._store.get_value(iter, Columns.APPINFO);
170
171 this._changedPermitted = false;
172 this._removeItem(appInfo.get_id());
173 this._changedPermitted = true;
174 this._store.remove(iter);
175 }
176 },
177
178 _workspaceEdited: function(renderer, pathString, text) {
179 let index = parseInt(text);
180 if (isNaN(index) || index < 0)
181 index = 1;
155 });
156 dialog.show_all();
157 }
158
159 _deleteSelected() {
160 let [any, model, iter] = this._treeView.get_selection().get_selected();
161
162 if (any) {
163 let appInfo = this._store.get_value(iter, Columns.APPINFO);
164
165 this._changedPermitted = false;
166 this._removeItem(appInfo.get_id());
167 this._changedPermitted = true;
168 this._store.remove(iter);
169 }
170 }
171
172 _workspaceEdited(renderer, pathString, text) {
173 let index = parseInt(text);
174 if (isNaN(index) || index < 0)
175 index = 1;
182176 let path = Gtk.TreePath.new_from_string(pathString);
183 let [model, iter] = this._store.get_iter(path);
184 let appInfo = this._store.get_value(iter, Columns.APPINFO);
185
186 this._changedPermitted = false;
187 this._changeItem(appInfo.get_id(), index);
188 this._store.set_value(iter, Columns.WORKSPACE, index);
189 this._changedPermitted = true;
190 },
191
192 _refresh: function() {
193 if (!this._changedPermitted)
194 // Ignore this notification, model is being modified outside
195 return;
196
197 this._store.clear();
198
199 let currentItems = this._settings.get_strv(SETTINGS_KEY);
200 let validItems = [ ];
201 for (let i = 0; i < currentItems.length; i++) {
202 let [id, index] = currentItems[i].split(':');
203 let appInfo = Gio.DesktopAppInfo.new(id);
204 if (!appInfo)
205 continue;
206 validItems.push(currentItems[i]);
207
208 let iter = this._store.append();
209 let adj = new Gtk.Adjustment({ lower: 1,
210 upper: WORKSPACE_MAX,
211 step_increment: 1,
177 let [model, iter] = this._store.get_iter(path);
178 let appInfo = this._store.get_value(iter, Columns.APPINFO);
179
180 this._changedPermitted = false;
181 this._changeItem(appInfo.get_id(), index);
182 this._store.set_value(iter, Columns.WORKSPACE, index);
183 this._changedPermitted = true;
184 }
185
186 _refresh() {
187 if (!this._changedPermitted)
188 // Ignore this notification, model is being modified outside
189 return;
190
191 this._store.clear();
192
193 let currentItems = this._settings.get_strv(SETTINGS_KEY);
194 let validItems = [ ];
195 for (let i = 0; i < currentItems.length; i++) {
196 let [id, index] = currentItems[i].split(':');
197 let appInfo = Gio.DesktopAppInfo.new(id);
198 if (!appInfo)
199 continue;
200 validItems.push(currentItems[i]);
201
202 let iter = this._store.append();
203 let adj = new Gtk.Adjustment({ lower: 1,
204 upper: WORKSPACE_MAX,
205 step_increment: 1,
212206 value: index });
213 this._store.set(iter,
214 [Columns.APPINFO, Columns.ICON, Columns.DISPLAY_NAME, Columns.WORKSPACE, Columns.ADJUSTMENT],
215 [appInfo, appInfo.get_icon(), appInfo.get_display_name(), parseInt(index), adj]);
216 }
217
218 if (validItems.length != currentItems.length) // some items were filtered out
219 this._settings.set_strv(SETTINGS_KEY, validItems);
220 },
221
222 _checkId: function(id) {
207 this._store.set(iter,
208 [Columns.APPINFO, Columns.ICON, Columns.DISPLAY_NAME, Columns.WORKSPACE, Columns.ADJUSTMENT],
209 [appInfo, appInfo.get_icon(), appInfo.get_display_name(), parseInt(index), adj]);
210 }
211
212 if (validItems.length != currentItems.length) // some items were filtered out
213 this._settings.set_strv(SETTINGS_KEY, validItems);
214 }
215
216 _checkId(id) {
223217 let items = this._settings.get_strv(SETTINGS_KEY);
224 return !items.some(function(i) { return i.startsWith(id + ':'); });
225 },
226
227 _appendItem: function(id, workspace) {
228 let currentItems = this._settings.get_strv(SETTINGS_KEY);
229 currentItems.push(id + ':' + workspace);
230 this._settings.set_strv(SETTINGS_KEY, currentItems);
231 },
232
233 _removeItem: function(id) {
234 let currentItems = this._settings.get_strv(SETTINGS_KEY);
235 let index = currentItems.map(function(el) {
236 return el.split(':')[0];
237 }).indexOf(id);
238
239 if (index < 0)
240 return;
241 currentItems.splice(index, 1);
242 this._settings.set_strv(SETTINGS_KEY, currentItems);
243 },
244
245 _changeItem: function(id, workspace) {
246 let currentItems = this._settings.get_strv(SETTINGS_KEY);
247 let index = currentItems.map(function(el) {
248 return el.split(':')[0];
249 }).indexOf(id);
250
251 if (index < 0)
252 currentItems.push(id + ':' + workspace);
253 else
254 currentItems[index] = id + ':' + workspace;
255 this._settings.set_strv(SETTINGS_KEY, currentItems);
218 return !items.some(i => i.startsWith(id + ':'));
219 }
220
221 _appendItem(id, workspace) {
222 let currentItems = this._settings.get_strv(SETTINGS_KEY);
223 currentItems.push(id + ':' + workspace);
224 this._settings.set_strv(SETTINGS_KEY, currentItems);
225 }
226
227 _removeItem(id) {
228 let currentItems = this._settings.get_strv(SETTINGS_KEY);
229 let index = currentItems.map(el => el.split(':')[0]).indexOf(id);
230
231 if (index < 0)
232 return;
233 currentItems.splice(index, 1);
234 this._settings.set_strv(SETTINGS_KEY, currentItems);
235 }
236
237 _changeItem(id, workspace) {
238 let currentItems = this._settings.get_strv(SETTINGS_KEY);
239 let index = currentItems.map(el => el.split(':')[0]).indexOf(id);
240
241 if (index < 0)
242 currentItems.push(id + ':' + workspace);
243 else
244 currentItems[index] = id + ':' + workspace;
245 this._settings.set_strv(SETTINGS_KEY, currentItems);
256246 }
257247 });
258248
+0
-3
extensions/drive-menu/Makefile.am less more
0 EXTENSION_ID = drive-menu
1
2 include ../../extension.mk
+0
-546
extensions/drive-menu/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/drive-menu
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk $(srcdir)/Makefile.in \
156 $(top_srcdir)/include.mk
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 ACLOCAL = @ACLOCAL@
159 ALL_EXTENSIONS = @ALL_EXTENSIONS@
160 AMTAR = @AMTAR@
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 AUTOCONF = @AUTOCONF@
163 AUTOHEADER = @AUTOHEADER@
164 AUTOMAKE = @AUTOMAKE@
165 AWK = @AWK@
166 CC = @CC@
167 CCDEPMODE = @CCDEPMODE@
168 CFLAGS = @CFLAGS@
169 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
170 CPP = @CPP@
171 CPPFLAGS = @CPPFLAGS@
172 CYGPATH_W = @CYGPATH_W@
173 DEFS = @DEFS@
174 DEPDIR = @DEPDIR@
175 ECHO_C = @ECHO_C@
176 ECHO_N = @ECHO_N@
177 ECHO_T = @ECHO_T@
178 EGREP = @EGREP@
179 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
180 EXEEXT = @EXEEXT@
181 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
182 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
183 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
184 GMSGFMT = @GMSGFMT@
185 GMSGFMT_015 = @GMSGFMT_015@
186 GREP = @GREP@
187 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
188 INSTALL = @INSTALL@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 INTLLIBS = @INTLLIBS@
194 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
195 LDFLAGS = @LDFLAGS@
196 LIBICONV = @LIBICONV@
197 LIBINTL = @LIBINTL@
198 LIBOBJS = @LIBOBJS@
199 LIBS = @LIBS@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBINTL = @LTLIBINTL@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAKEINFO = @MAKEINFO@
204 MKDIR_P = @MKDIR_P@
205 MSGFMT = @MSGFMT@
206 MSGFMT_015 = @MSGFMT_015@
207 MSGMERGE = @MSGMERGE@
208 OBJEXT = @OBJEXT@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_URL = @PACKAGE_URL@
215 PACKAGE_VERSION = @PACKAGE_VERSION@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PKG_CONFIG = @PKG_CONFIG@
218 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
219 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220 POSUB = @POSUB@
221 SASSC = @SASSC@
222 SED = @SED@
223 SET_MAKE = @SET_MAKE@
224 SHELL = @SHELL@
225 SHELL_VERSION = @SHELL_VERSION@
226 STRIP = @STRIP@
227 USE_NLS = @USE_NLS@
228 VERSION = @VERSION@
229 XGETTEXT = @XGETTEXT@
230 XGETTEXT_015 = @XGETTEXT_015@
231 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
232 abs_builddir = @abs_builddir@
233 abs_srcdir = @abs_srcdir@
234 abs_top_builddir = @abs_top_builddir@
235 abs_top_srcdir = @abs_top_srcdir@
236 ac_ct_CC = @ac_ct_CC@
237 am__include = @am__include@
238 am__leading_dot = @am__leading_dot@
239 am__quote = @am__quote@
240 am__tar = @am__tar@
241 am__untar = @am__untar@
242 bindir = @bindir@
243 build = @build@
244 build_alias = @build_alias@
245 build_cpu = @build_cpu@
246 build_os = @build_os@
247 build_vendor = @build_vendor@
248 builddir = @builddir@
249 datadir = @datadir@
250 datarootdir = @datarootdir@
251 docdir = @docdir@
252 dvidir = @dvidir@
253 exec_prefix = @exec_prefix@
254 gsettingsschemadir = @gsettingsschemadir@
255 host = @host@
256 host_alias = @host_alias@
257 host_cpu = @host_cpu@
258 host_os = @host_os@
259 host_vendor = @host_vendor@
260 htmldir = @htmldir@
261 includedir = @includedir@
262 infodir = @infodir@
263 install_sh = @install_sh@
264 libdir = @libdir@
265 libexecdir = @libexecdir@
266 localedir = @localedir@
267 localstatedir = @localstatedir@
268 mandir = @mandir@
269 mkdir_p = @mkdir_p@
270 oldincludedir = @oldincludedir@
271 pdfdir = @pdfdir@
272 prefix = @prefix@
273 program_transform_name = @program_transform_name@
274 psdir = @psdir@
275 sbindir = @sbindir@
276 sharedstatedir = @sharedstatedir@
277 srcdir = @srcdir@
278 sysconfdir = @sysconfdir@
279 target_alias = @target_alias@
280 top_build_prefix = @top_build_prefix@
281 top_builddir = @top_builddir@
282 top_srcdir = @top_srcdir@
283 EXTENSION_ID = drive-menu
284 extensionurl = http://git.gnome.org/gnome-shell-extensions
285
286 # Change these to modify how installation is performed
287 topextensiondir = $(datadir)/gnome-shell/extensions
288 extensionbase = @gnome-shell-extensions.gcampax.github.com
289 gschemabase = org.gnome.shell.extensions
290 uuid = $(EXTENSION_ID)$(extensionbase)
291 gschemaname = $(gschemabase).$(EXTENSION_ID)
292 extensiondir = $(topextensiondir)/$(uuid)
293 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
294 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
295 EXTRA_DIST = metadata.json.in
296 CLEANFILES = metadata.json
297 all: all-am
298
299 .SUFFIXES:
300 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__configure_deps)
301 @for dep in $?; do \
302 case '$(am__configure_deps)' in \
303 *$$dep*) \
304 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
305 && { if test -f $@; then exit 0; else break; fi; }; \
306 exit 1;; \
307 esac; \
308 done; \
309 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/drive-menu/Makefile'; \
310 $(am__cd) $(top_srcdir) && \
311 $(AUTOMAKE) --foreign extensions/drive-menu/Makefile
312 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
313 @case '$?' in \
314 *config.status*) \
315 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
316 *) \
317 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
318 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
319 esac;
320 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__empty):
321
322 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
323 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
324
325 $(top_srcdir)/configure: $(am__configure_deps)
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
327 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329 $(am__aclocal_m4_deps):
330 install-dist_extensionDATA: $(dist_extension_DATA)
331 @$(NORMAL_INSTALL)
332 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
333 if test -n "$$list"; then \
334 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
335 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
336 fi; \
337 for p in $$list; do \
338 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
339 echo "$$d$$p"; \
340 done | $(am__base_list) | \
341 while read files; do \
342 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
343 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
344 done
345
346 uninstall-dist_extensionDATA:
347 @$(NORMAL_UNINSTALL)
348 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
349 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
350 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
351 install-nodist_extensionDATA: $(nodist_extension_DATA)
352 @$(NORMAL_INSTALL)
353 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
354 if test -n "$$list"; then \
355 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
356 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
357 fi; \
358 for p in $$list; do \
359 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
360 echo "$$d$$p"; \
361 done | $(am__base_list) | \
362 while read files; do \
363 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
364 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
365 done
366
367 uninstall-nodist_extensionDATA:
368 @$(NORMAL_UNINSTALL)
369 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
370 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
371 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
372 tags TAGS:
373
374 ctags CTAGS:
375
376 cscope cscopelist:
377
378
379 distdir: $(DISTFILES)
380 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 list='$(DISTFILES)'; \
383 dist_files=`for file in $$list; do echo $$file; done | \
384 sed -e "s|^$$srcdirstrip/||;t" \
385 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
386 case $$dist_files in \
387 */*) $(MKDIR_P) `echo "$$dist_files" | \
388 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
389 sort -u` ;; \
390 esac; \
391 for file in $$dist_files; do \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 if test -d $$d/$$file; then \
394 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
395 if test -d "$(distdir)/$$file"; then \
396 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
397 fi; \
398 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
399 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
400 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
401 fi; \
402 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
403 else \
404 test -f "$(distdir)/$$file" \
405 || cp -p $$d/$$file "$(distdir)/$$file" \
406 || exit 1; \
407 fi; \
408 done
409 check-am: all-am
410 check: check-am
411 all-am: Makefile $(DATA)
412 installdirs:
413 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
414 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
415 done
416 install: install-am
417 install-exec: install-exec-am
418 install-data: install-data-am
419 uninstall: uninstall-am
420
421 install-am: all-am
422 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
423
424 installcheck: installcheck-am
425 install-strip:
426 if test -z '$(STRIP)'; then \
427 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
428 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
429 install; \
430 else \
431 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
432 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
433 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
434 fi
435 mostlyclean-generic:
436
437 clean-generic:
438 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
439
440 distclean-generic:
441 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
442 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
443
444 maintainer-clean-generic:
445 @echo "This command is intended for maintainers to use"
446 @echo "it deletes files that may require special tools to rebuild."
447 clean: clean-am
448
449 clean-am: clean-generic mostlyclean-am
450
451 distclean: distclean-am
452 -rm -f Makefile
453 distclean-am: clean-am distclean-generic
454
455 dvi: dvi-am
456
457 dvi-am:
458
459 html: html-am
460
461 html-am:
462
463 info: info-am
464
465 info-am:
466
467 install-data-am: install-dist_extensionDATA \
468 install-nodist_extensionDATA
469
470 install-dvi: install-dvi-am
471
472 install-dvi-am:
473
474 install-exec-am:
475
476 install-html: install-html-am
477
478 install-html-am:
479
480 install-info: install-info-am
481
482 install-info-am:
483
484 install-man:
485
486 install-pdf: install-pdf-am
487
488 install-pdf-am:
489
490 install-ps: install-ps-am
491
492 install-ps-am:
493
494 installcheck-am:
495
496 maintainer-clean: maintainer-clean-am
497 -rm -f Makefile
498 maintainer-clean-am: distclean-am maintainer-clean-generic
499
500 mostlyclean: mostlyclean-am
501
502 mostlyclean-am: mostlyclean-generic
503
504 pdf: pdf-am
505
506 pdf-am:
507
508 ps: ps-am
509
510 ps-am:
511
512 uninstall-am: uninstall-dist_extensionDATA \
513 uninstall-nodist_extensionDATA
514
515 .MAKE: install-am install-strip
516
517 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
518 ctags-am distclean distclean-generic distdir dvi dvi-am html \
519 html-am info info-am install install-am install-data \
520 install-data-am install-dist_extensionDATA install-dvi \
521 install-dvi-am install-exec install-exec-am install-html \
522 install-html-am install-info install-info-am install-man \
523 install-nodist_extensionDATA install-pdf install-pdf-am \
524 install-ps install-ps-am install-strip installcheck \
525 installcheck-am installdirs maintainer-clean \
526 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
527 pdf-am ps ps-am tags-am uninstall uninstall-am \
528 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
529
530 .PRECIOUS: Makefile
531
532
533 metadata.json: metadata.json.in $(top_builddir)/config.status
534 $(AM_V_GEN) sed \
535 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
536 -e "s|[@]uuid@|$(uuid)|" \
537 -e "s|[@]gschemaname@|$(gschemaname)|" \
538 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
539 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
540 -e "s|[@]url@|$(extensionurl)|" \
541 $< > $@
542
543 # Tell versions [3.59,3.63) of GNU make to not export all variables.
544 # Otherwise a system limit (for SysV at least) may be exceeded.
545 .NOEXPORT:
00 // Drive menu extension
11 const Clutter = imports.gi.Clutter;
22 const Gio = imports.gi.Gio;
3 const Lang = imports.lang;
43 const St = imports.gi.St;
54 const Shell = imports.gi.Shell;
65
1716 const Me = ExtensionUtils.getCurrentExtension();
1817 const Convenience = Me.imports.convenience;
1918
20 const MountMenuItem = new Lang.Class({
21 Name: 'DriveMenu.MountMenuItem',
22 Extends: PopupMenu.PopupBaseMenuItem,
23
24 _init: function(mount) {
25 this.parent();
26
27 this.label = new St.Label({ text: mount.get_name() });
28 this.actor.add(this.label, { expand: true });
19 class MountMenuItem extends PopupMenu.PopupBaseMenuItem {
20 constructor(mount) {
21 super();
22
23 this.label = new St.Label({ text: mount.get_name() });
24 this.actor.add(this.label, { expand: true });
2925 this.actor.label_actor = this.label;
3026
31 this.mount = mount;
32
33 let ejectIcon = new St.Icon({ icon_name: 'media-eject-symbolic',
34 style_class: 'popup-menu-icon ' });
35 let ejectButton = new St.Button({ child: ejectIcon });
36 ejectButton.connect('clicked', Lang.bind(this, this._eject));
37 this.actor.add(ejectButton);
38
39 this._changedId = mount.connect('changed', Lang.bind(this, this._syncVisibility));
27 this.mount = mount;
28
29 let ejectIcon = new St.Icon({ icon_name: 'media-eject-symbolic',
30 style_class: 'popup-menu-icon ' });
31 let ejectButton = new St.Button({ child: ejectIcon });
32 ejectButton.connect('clicked', this._eject.bind(this));
33 this.actor.add(ejectButton);
34
35 this._changedId = mount.connect('changed', this._syncVisibility.bind(this));
4036 this._syncVisibility();
41 },
42
43 destroy: function() {
37 }
38
39 destroy() {
4440 if (this._changedId) {
4541 this.mount.disconnect(this._changedId);
4642 this._changedId = 0;
4743 }
4844
49 this.parent();
50 },
51
52 _isInteresting: function() {
45 super.destroy();
46 }
47
48 _isInteresting() {
5349 if (!this.mount.can_eject() && !this.mount.can_unmount())
5450 return false;
5551 if (this.mount.is_shadowed())
6460 }
6561
6662 return volume.get_identifier('class') != 'network';
67 },
68
69 _syncVisibility: function() {
63 }
64
65 _syncVisibility() {
7066 this.actor.visible = this._isInteresting();
71 },
72
73 _eject: function() {
67 }
68
69 _eject() {
7470 let mountOp = new ShellMountOperation.ShellMountOperation(this.mount);
7571
76 if (this.mount.can_eject())
77 this.mount.eject_with_operation(Gio.MountUnmountFlags.NONE,
72 if (this.mount.can_eject())
73 this.mount.eject_with_operation(Gio.MountUnmountFlags.NONE,
7874 mountOp.mountOp,
79 null, // Gio.Cancellable
80 Lang.bind(this, this._ejectFinish));
81 else
82 this.mount.unmount_with_operation(Gio.MountUnmountFlags.NONE,
75 null, // Gio.Cancellable
76 this._ejectFinish.bind(this));
77 else
78 this.mount.unmount_with_operation(Gio.MountUnmountFlags.NONE,
8379 mountOp.mountOp,
84 null, // Gio.Cancellable
85 Lang.bind(this, this._unmountFinish));
86 },
87
88 _unmountFinish: function(mount, result) {
89 try {
90 mount.unmount_with_operation_finish(result);
91 } catch(e) {
92 this._reportFailure(e);
93 }
94 },
95
96 _ejectFinish: function(mount, result) {
97 try {
98 mount.eject_with_operation_finish(result);
99 } catch(e) {
100 this._reportFailure(e);
101 }
102 },
103
104 _reportFailure: function(exception) {
105 // TRANSLATORS: %s is the filesystem name
106 let msg = _("Ejecting drive “%s” failed:").format(this.mount.get_name());
107 Main.notifyError(msg, exception.message);
108 },
109
110 activate: function(event) {
80 null, // Gio.Cancellable
81 this._unmountFinish.bind(this));
82 }
83
84 _unmountFinish(mount, result) {
85 try {
86 mount.unmount_with_operation_finish(result);
87 } catch(e) {
88 this._reportFailure(e);
89 }
90 }
91
92 _ejectFinish(mount, result) {
93 try {
94 mount.eject_with_operation_finish(result);
95 } catch(e) {
96 this._reportFailure(e);
97 }
98 }
99
100 _reportFailure(exception) {
101 // TRANSLATORS: %s is the filesystem name
102 let msg = _("Ejecting drive “%s” failed:").format(this.mount.get_name());
103 Main.notifyError(msg, exception.message);
104 }
105
106 activate(event) {
111107 let context = global.create_app_launch_context(event.get_time(), -1);
112108 Gio.AppInfo.launch_default_for_uri(this.mount.get_root().get_uri(),
113109 context);
114110
115 this.parent(event);
116 }
117 });
118
119 const DriveMenu = new Lang.Class({
120 Name: 'DriveMenu.DriveMenu',
121 Extends: PanelMenu.Button,
122
123 _init: function() {
124 this.parent(0.0, _("Removable devices"));
111 super.activate(event);
112 }
113 };
114
115 class DriveMenu extends PanelMenu.Button {
116 constructor() {
117 super(0.0, _("Removable devices"));
125118
126119 let hbox = new St.BoxLayout({ style_class: 'panel-status-menu-box' });
127120 let icon = new St.Icon({ icon_name: 'media-eject-symbolic',
131124 hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
132125 this.actor.add_child(hbox);
133126
134 this._monitor = Gio.VolumeMonitor.get();
135 this._addedId = this._monitor.connect('mount-added', Lang.bind(this, function(monitor, mount) {
136 this._addMount(mount);
137 this._updateMenuVisibility();
138 }));
139 this._removedId = this._monitor.connect('mount-removed', Lang.bind(this, function(monitor, mount) {
140 this._removeMount(mount);
141 this._updateMenuVisibility();
142 }));
143
144 this._mounts = [ ];
145
146 this._monitor.get_mounts().forEach(Lang.bind(this, this._addMount));
147
148 this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
149 this.menu.addAction(_("Open Files"), function(event) {
150 let appSystem = Shell.AppSystem.get_default();
151 let app = appSystem.lookup_app('org.gnome.Nautilus.desktop');
152 app.activate_full(-1, event.get_time());
153 });
154
155 this._updateMenuVisibility();
156 },
157
158 _updateMenuVisibility: function() {
159 if (this._mounts.filter(function(i) i.actor.visible).length > 0)
160 this.actor.show();
161 else
162 this.actor.hide();
163 },
164
165 _addMount: function(mount) {
166 let item = new MountMenuItem(mount);
167 this._mounts.unshift(item);
168 this.menu.addMenuItem(item, 0);
169 },
170
171 _removeMount: function(mount) {
172 for (let i = 0; i < this._mounts.length; i++) {
173 let item = this._mounts[i];
174 if (item.mount == mount) {
175 item.destroy();
176 this._mounts.splice(i, 1);
177 return;
178 }
179 }
180 log ('Removing a mount that was never added to the menu');
181 },
182
183 destroy: function() {
127 this._monitor = Gio.VolumeMonitor.get();
128 this._addedId = this._monitor.connect('mount-added', (monitor, mount) => {
129 this._addMount(mount);
130 this._updateMenuVisibility();
131 });
132 this._removedId = this._monitor.connect('mount-removed', (monitor, mount) => {
133 this._removeMount(mount);
134 this._updateMenuVisibility();
135 });
136
137 this._mounts = [ ];
138
139 this._monitor.get_mounts().forEach(this._addMount.bind(this));
140
141 this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
142 this.menu.addAction(_("Open Files"), event => {
143 let appSystem = Shell.AppSystem.get_default();
144 let app = appSystem.lookup_app('org.gnome.Nautilus.desktop');
145 app.activate_full(-1, event.get_time());
146 });
147
148 this._updateMenuVisibility();
149 }
150
151 _updateMenuVisibility() {
152 if (this._mounts.filter(i => i.actor.visible).length > 0)
153 this.actor.show();
154 else
155 this.actor.hide();
156 }
157
158 _addMount(mount) {
159 let item = new MountMenuItem(mount);
160 this._mounts.unshift(item);
161 this.menu.addMenuItem(item, 0);
162 }
163
164 _removeMount(mount) {
165 for (let i = 0; i < this._mounts.length; i++) {
166 let item = this._mounts[i];
167 if (item.mount == mount) {
168 item.destroy();
169 this._mounts.splice(i, 1);
170 return;
171 }
172 }
173 log ('Removing a mount that was never added to the menu');
174 }
175
176 destroy() {
184177 if (this._connectedId) {
185 this._monitor.disconnect(this._connectedId);
186 this._monitor.disconnect(this._disconnectedId);
178 this._monitor.disconnect(this._connectedId);
179 this._monitor.disconnect(this._disconnectedId);
187180 this._connectedId = 0;
188181 this._disconnectedId = 0;
189182 }
190183
191 this.parent();
192 },
193 });
184 super.destroy();
185 }
186 };
194187
195188 function init() {
196189 Convenience.initTranslations();
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
+0
-6
extensions/example/Makefile.am less more
0 EXTENSION_ID = example
1
2 EXTRA_MODULES = prefs.js
3
4 include ../../extension.mk
5 include ../../settings.mk
+0
-554
extensions/example/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/example
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk \
156 $(srcdir)/../../settings.mk $(srcdir)/Makefile.in \
157 $(top_srcdir)/include.mk
158 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
159 ACLOCAL = @ACLOCAL@
160 ALL_EXTENSIONS = @ALL_EXTENSIONS@
161 AMTAR = @AMTAR@
162 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
163 AUTOCONF = @AUTOCONF@
164 AUTOHEADER = @AUTOHEADER@
165 AUTOMAKE = @AUTOMAKE@
166 AWK = @AWK@
167 CC = @CC@
168 CCDEPMODE = @CCDEPMODE@
169 CFLAGS = @CFLAGS@
170 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
171 CPP = @CPP@
172 CPPFLAGS = @CPPFLAGS@
173 CYGPATH_W = @CYGPATH_W@
174 DEFS = @DEFS@
175 DEPDIR = @DEPDIR@
176 ECHO_C = @ECHO_C@
177 ECHO_N = @ECHO_N@
178 ECHO_T = @ECHO_T@
179 EGREP = @EGREP@
180 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
181 EXEEXT = @EXEEXT@
182 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
183 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
184 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
185 GMSGFMT = @GMSGFMT@
186 GMSGFMT_015 = @GMSGFMT_015@
187 GREP = @GREP@
188 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
189 INSTALL = @INSTALL@
190 INSTALL_DATA = @INSTALL_DATA@
191 INSTALL_PROGRAM = @INSTALL_PROGRAM@
192 INSTALL_SCRIPT = @INSTALL_SCRIPT@
193 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
194 INTLLIBS = @INTLLIBS@
195 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
196 LDFLAGS = @LDFLAGS@
197 LIBICONV = @LIBICONV@
198 LIBINTL = @LIBINTL@
199 LIBOBJS = @LIBOBJS@
200 LIBS = @LIBS@
201 LTLIBICONV = @LTLIBICONV@
202 LTLIBINTL = @LTLIBINTL@
203 LTLIBOBJS = @LTLIBOBJS@
204 MAKEINFO = @MAKEINFO@
205 MKDIR_P = @MKDIR_P@
206 MSGFMT = @MSGFMT@
207 MSGFMT_015 = @MSGFMT_015@
208 MSGMERGE = @MSGMERGE@
209 OBJEXT = @OBJEXT@
210 PACKAGE = @PACKAGE@
211 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
212 PACKAGE_NAME = @PACKAGE_NAME@
213 PACKAGE_STRING = @PACKAGE_STRING@
214 PACKAGE_TARNAME = @PACKAGE_TARNAME@
215 PACKAGE_URL = @PACKAGE_URL@
216 PACKAGE_VERSION = @PACKAGE_VERSION@
217 PATH_SEPARATOR = @PATH_SEPARATOR@
218 PKG_CONFIG = @PKG_CONFIG@
219 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
220 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
221 POSUB = @POSUB@
222 SASSC = @SASSC@
223 SED = @SED@
224 SET_MAKE = @SET_MAKE@
225 SHELL = @SHELL@
226 SHELL_VERSION = @SHELL_VERSION@
227 STRIP = @STRIP@
228 USE_NLS = @USE_NLS@
229 VERSION = @VERSION@
230 XGETTEXT = @XGETTEXT@
231 XGETTEXT_015 = @XGETTEXT_015@
232 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
233 abs_builddir = @abs_builddir@
234 abs_srcdir = @abs_srcdir@
235 abs_top_builddir = @abs_top_builddir@
236 abs_top_srcdir = @abs_top_srcdir@
237 ac_ct_CC = @ac_ct_CC@
238 am__include = @am__include@
239 am__leading_dot = @am__leading_dot@
240 am__quote = @am__quote@
241 am__tar = @am__tar@
242 am__untar = @am__untar@
243 bindir = @bindir@
244 build = @build@
245 build_alias = @build_alias@
246 build_cpu = @build_cpu@
247 build_os = @build_os@
248 build_vendor = @build_vendor@
249 builddir = @builddir@
250 datadir = @datadir@
251 datarootdir = @datarootdir@
252 docdir = @docdir@
253 dvidir = @dvidir@
254 exec_prefix = @exec_prefix@
255 gsettingsschemadir = @gsettingsschemadir@
256 host = @host@
257 host_alias = @host_alias@
258 host_cpu = @host_cpu@
259 host_os = @host_os@
260 host_vendor = @host_vendor@
261 htmldir = @htmldir@
262 includedir = @includedir@
263 infodir = @infodir@
264 install_sh = @install_sh@
265 libdir = @libdir@
266 libexecdir = @libexecdir@
267 localedir = @localedir@
268 localstatedir = @localstatedir@
269 mandir = @mandir@
270 mkdir_p = @mkdir_p@
271 oldincludedir = @oldincludedir@
272 pdfdir = @pdfdir@
273 prefix = @prefix@
274 program_transform_name = @program_transform_name@
275 psdir = @psdir@
276 sbindir = @sbindir@
277 sharedstatedir = @sharedstatedir@
278 srcdir = @srcdir@
279 sysconfdir = @sysconfdir@
280 target_alias = @target_alias@
281 top_build_prefix = @top_build_prefix@
282 top_builddir = @top_builddir@
283 top_srcdir = @top_srcdir@
284 EXTENSION_ID = example
285 EXTRA_MODULES = prefs.js
286 extensionurl = http://git.gnome.org/gnome-shell-extensions
287
288 # Change these to modify how installation is performed
289 topextensiondir = $(datadir)/gnome-shell/extensions
290 extensionbase = @gnome-shell-extensions.gcampax.github.com
291 gschemabase = org.gnome.shell.extensions
292 uuid = $(EXTENSION_ID)$(extensionbase)
293 gschemaname = $(gschemabase).$(EXTENSION_ID)
294 extensiondir = $(topextensiondir)/$(uuid)
295 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
296 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
297 EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS)
298 CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid)
299 gsettings_SCHEMAS = $(gschemaname).gschema.xml
300 all: all-am
301
302 .SUFFIXES:
303 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__configure_deps)
304 @for dep in $?; do \
305 case '$(am__configure_deps)' in \
306 *$$dep*) \
307 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
308 && { if test -f $@; then exit 0; else break; fi; }; \
309 exit 1;; \
310 esac; \
311 done; \
312 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/example/Makefile'; \
313 $(am__cd) $(top_srcdir) && \
314 $(AUTOMAKE) --foreign extensions/example/Makefile
315 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
316 @case '$?' in \
317 *config.status*) \
318 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
319 *) \
320 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
321 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
322 esac;
323 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__empty):
324
325 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
327
328 $(top_srcdir)/configure: $(am__configure_deps)
329 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
330 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
331 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
332 $(am__aclocal_m4_deps):
333 install-dist_extensionDATA: $(dist_extension_DATA)
334 @$(NORMAL_INSTALL)
335 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
336 if test -n "$$list"; then \
337 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
338 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
339 fi; \
340 for p in $$list; do \
341 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
342 echo "$$d$$p"; \
343 done | $(am__base_list) | \
344 while read files; do \
345 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
346 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
347 done
348
349 uninstall-dist_extensionDATA:
350 @$(NORMAL_UNINSTALL)
351 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
352 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
353 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
354 install-nodist_extensionDATA: $(nodist_extension_DATA)
355 @$(NORMAL_INSTALL)
356 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
357 if test -n "$$list"; then \
358 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
359 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
360 fi; \
361 for p in $$list; do \
362 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
363 echo "$$d$$p"; \
364 done | $(am__base_list) | \
365 while read files; do \
366 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
367 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
368 done
369
370 uninstall-nodist_extensionDATA:
371 @$(NORMAL_UNINSTALL)
372 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
373 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
374 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
375 tags TAGS:
376
377 ctags CTAGS:
378
379 cscope cscopelist:
380
381
382 distdir: $(DISTFILES)
383 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
384 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
385 list='$(DISTFILES)'; \
386 dist_files=`for file in $$list; do echo $$file; done | \
387 sed -e "s|^$$srcdirstrip/||;t" \
388 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
389 case $$dist_files in \
390 */*) $(MKDIR_P) `echo "$$dist_files" | \
391 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
392 sort -u` ;; \
393 esac; \
394 for file in $$dist_files; do \
395 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
396 if test -d $$d/$$file; then \
397 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
398 if test -d "$(distdir)/$$file"; then \
399 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
400 fi; \
401 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
402 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
403 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
404 fi; \
405 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
406 else \
407 test -f "$(distdir)/$$file" \
408 || cp -p $$d/$$file "$(distdir)/$$file" \
409 || exit 1; \
410 fi; \
411 done
412 check-am: all-am
413 check: check-am
414 all-am: Makefile $(DATA)
415 installdirs:
416 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
417 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
418 done
419 install: install-am
420 install-exec: install-exec-am
421 install-data: install-data-am
422 uninstall: uninstall-am
423
424 install-am: all-am
425 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
426
427 installcheck: installcheck-am
428 install-strip:
429 if test -z '$(STRIP)'; then \
430 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
431 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
432 install; \
433 else \
434 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
435 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
436 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
437 fi
438 mostlyclean-generic:
439
440 clean-generic:
441 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
442
443 distclean-generic:
444 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
445 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
446
447 maintainer-clean-generic:
448 @echo "This command is intended for maintainers to use"
449 @echo "it deletes files that may require special tools to rebuild."
450 clean: clean-am
451
452 clean-am: clean-generic mostlyclean-am
453
454 distclean: distclean-am
455 -rm -f Makefile
456 distclean-am: clean-am distclean-generic
457
458 dvi: dvi-am
459
460 dvi-am:
461
462 html: html-am
463
464 html-am:
465
466 info: info-am
467
468 info-am:
469
470 install-data-am: install-dist_extensionDATA \
471 install-nodist_extensionDATA
472
473 install-dvi: install-dvi-am
474
475 install-dvi-am:
476
477 install-exec-am:
478
479 install-html: install-html-am
480
481 install-html-am:
482
483 install-info: install-info-am
484
485 install-info-am:
486
487 install-man:
488
489 install-pdf: install-pdf-am
490
491 install-pdf-am:
492
493 install-ps: install-ps-am
494
495 install-ps-am:
496
497 installcheck-am:
498
499 maintainer-clean: maintainer-clean-am
500 -rm -f Makefile
501 maintainer-clean-am: distclean-am maintainer-clean-generic
502
503 mostlyclean: mostlyclean-am
504
505 mostlyclean-am: mostlyclean-generic
506
507 pdf: pdf-am
508
509 pdf-am:
510
511 ps: ps-am
512
513 ps-am:
514
515 uninstall-am: uninstall-dist_extensionDATA \
516 uninstall-nodist_extensionDATA
517
518 .MAKE: install-am install-strip
519
520 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
521 ctags-am distclean distclean-generic distdir dvi dvi-am html \
522 html-am info info-am install install-am install-data \
523 install-data-am install-dist_extensionDATA install-dvi \
524 install-dvi-am install-exec install-exec-am install-html \
525 install-html-am install-info install-info-am install-man \
526 install-nodist_extensionDATA install-pdf install-pdf-am \
527 install-ps install-ps-am install-strip installcheck \
528 installcheck-am installdirs maintainer-clean \
529 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
530 pdf-am ps ps-am tags-am uninstall uninstall-am \
531 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
532
533 .PRECIOUS: Makefile
534
535
536 metadata.json: metadata.json.in $(top_builddir)/config.status
537 $(AM_V_GEN) sed \
538 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
539 -e "s|[@]uuid@|$(uuid)|" \
540 -e "s|[@]gschemaname@|$(gschemaname)|" \
541 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
542 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
543 -e "s|[@]url@|$(extensionurl)|" \
544 $< > $@
545
546 %.desktop:%.desktop.in
547 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
548
549 @GSETTINGS_RULES@
550
551 # Tell versions [3.59,3.63) of GNU make to not export all variables.
552 # Otherwise a system limit (for SysV at least) may be exceeded.
553 .NOEXPORT:
1919 let monitor = Main.layoutManager.primaryMonitor;
2020 global.stage.add_actor(label);
2121 label.set_position(Math.floor (monitor.width / 2 - label.width / 2), Math.floor(monitor.height / 2 - label.height / 2));
22 Mainloop.timeout_add(3000, function () { label.destroy(); });
22 Mainloop.timeout_add(3000, () => { label.destroy(); });
2323 }
2424
2525 // Put your extension initialization code here
4242 log ('Example extension disabled');
4343
4444 if (signalId) {
45 Main.panel.actor.disconnect(signalId);
46 signalId = 0;
45 Main.panel.actor.disconnect(signalId);
46 signalId = 0;
4747 }
4848 }
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_sources += files('prefs.js')
7 extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml')
1515 Convenience.initTranslations();
1616 }
1717
18 const ExamplePrefsWidget = new GObject.Class({
19 Name: 'Example.Prefs.Widget',
20 GTypeName: 'ExamplePrefsWidget',
21 Extends: Gtk.Grid,
22
23 _init: function(params) {
24 this.parent(params);
18 const ExamplePrefsWidget = GObject.registerClass(
19 class ExamplePrefsWidget extends Gtk.Grid {
20 _init(params) {
21 super._init(params);
2522 this.margin = 12;
2623 this.row_spacing = this.column_spacing = 6;
2724 this.set_orientation(Gtk.Orientation.VERTICAL);
2825
29 this.add(new Gtk.Label({ label: '<b>' + _("Message") + '</b>',
26 this.add(new Gtk.Label({ label: '<b>' + _("Message") + '</b>',
3027 use_markup: true,
3128 halign: Gtk.Align.START }));
3229
3431 margin_bottom: 12 });
3532 this.add(entry);
3633
37 this._settings = Convenience.getSettings();
38 this._settings.bind('hello-text', entry, 'text', Gio.SettingsBindFlags.DEFAULT);
34 this._settings = Convenience.getSettings();
35 this._settings.bind('hello-text', entry, 'text', Gio.SettingsBindFlags.DEFAULT);
3936
40 // TRANSLATORS: Example is the name of the extension, should not be
41 // translated
42 let primaryText = _("Example aims to show how to build well behaved \
37 // TRANSLATORS: Example is the name of the extension, should not be
38 // translated
39 let primaryText = _("Example aims to show how to build well behaved \
4340 extensions for the Shell and as such it has little functionality on its own.\n\
4441 Nevertheless it’s possible to customize the greeting message.");
4542
46 this.add(new Gtk.Label({ label: primaryText,
43 this.add(new Gtk.Label({ label: primaryText,
4744 wrap: true, xalign: 0 }));
4845 }
4946 });
+0
-3
extensions/launch-new-instance/Makefile.am less more
0 EXTENSION_ID = launch-new-instance
1
2 include ../../extension.mk
+0
-546
extensions/launch-new-instance/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/launch-new-instance
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk $(srcdir)/Makefile.in \
156 $(top_srcdir)/include.mk
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 ACLOCAL = @ACLOCAL@
159 ALL_EXTENSIONS = @ALL_EXTENSIONS@
160 AMTAR = @AMTAR@
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 AUTOCONF = @AUTOCONF@
163 AUTOHEADER = @AUTOHEADER@
164 AUTOMAKE = @AUTOMAKE@
165 AWK = @AWK@
166 CC = @CC@
167 CCDEPMODE = @CCDEPMODE@
168 CFLAGS = @CFLAGS@
169 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
170 CPP = @CPP@
171 CPPFLAGS = @CPPFLAGS@
172 CYGPATH_W = @CYGPATH_W@
173 DEFS = @DEFS@
174 DEPDIR = @DEPDIR@
175 ECHO_C = @ECHO_C@
176 ECHO_N = @ECHO_N@
177 ECHO_T = @ECHO_T@
178 EGREP = @EGREP@
179 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
180 EXEEXT = @EXEEXT@
181 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
182 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
183 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
184 GMSGFMT = @GMSGFMT@
185 GMSGFMT_015 = @GMSGFMT_015@
186 GREP = @GREP@
187 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
188 INSTALL = @INSTALL@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 INTLLIBS = @INTLLIBS@
194 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
195 LDFLAGS = @LDFLAGS@
196 LIBICONV = @LIBICONV@
197 LIBINTL = @LIBINTL@
198 LIBOBJS = @LIBOBJS@
199 LIBS = @LIBS@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBINTL = @LTLIBINTL@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAKEINFO = @MAKEINFO@
204 MKDIR_P = @MKDIR_P@
205 MSGFMT = @MSGFMT@
206 MSGFMT_015 = @MSGFMT_015@
207 MSGMERGE = @MSGMERGE@
208 OBJEXT = @OBJEXT@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_URL = @PACKAGE_URL@
215 PACKAGE_VERSION = @PACKAGE_VERSION@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PKG_CONFIG = @PKG_CONFIG@
218 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
219 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220 POSUB = @POSUB@
221 SASSC = @SASSC@
222 SED = @SED@
223 SET_MAKE = @SET_MAKE@
224 SHELL = @SHELL@
225 SHELL_VERSION = @SHELL_VERSION@
226 STRIP = @STRIP@
227 USE_NLS = @USE_NLS@
228 VERSION = @VERSION@
229 XGETTEXT = @XGETTEXT@
230 XGETTEXT_015 = @XGETTEXT_015@
231 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
232 abs_builddir = @abs_builddir@
233 abs_srcdir = @abs_srcdir@
234 abs_top_builddir = @abs_top_builddir@
235 abs_top_srcdir = @abs_top_srcdir@
236 ac_ct_CC = @ac_ct_CC@
237 am__include = @am__include@
238 am__leading_dot = @am__leading_dot@
239 am__quote = @am__quote@
240 am__tar = @am__tar@
241 am__untar = @am__untar@
242 bindir = @bindir@
243 build = @build@
244 build_alias = @build_alias@
245 build_cpu = @build_cpu@
246 build_os = @build_os@
247 build_vendor = @build_vendor@
248 builddir = @builddir@
249 datadir = @datadir@
250 datarootdir = @datarootdir@
251 docdir = @docdir@
252 dvidir = @dvidir@
253 exec_prefix = @exec_prefix@
254 gsettingsschemadir = @gsettingsschemadir@
255 host = @host@
256 host_alias = @host_alias@
257 host_cpu = @host_cpu@
258 host_os = @host_os@
259 host_vendor = @host_vendor@
260 htmldir = @htmldir@
261 includedir = @includedir@
262 infodir = @infodir@
263 install_sh = @install_sh@
264 libdir = @libdir@
265 libexecdir = @libexecdir@
266 localedir = @localedir@
267 localstatedir = @localstatedir@
268 mandir = @mandir@
269 mkdir_p = @mkdir_p@
270 oldincludedir = @oldincludedir@
271 pdfdir = @pdfdir@
272 prefix = @prefix@
273 program_transform_name = @program_transform_name@
274 psdir = @psdir@
275 sbindir = @sbindir@
276 sharedstatedir = @sharedstatedir@
277 srcdir = @srcdir@
278 sysconfdir = @sysconfdir@
279 target_alias = @target_alias@
280 top_build_prefix = @top_build_prefix@
281 top_builddir = @top_builddir@
282 top_srcdir = @top_srcdir@
283 EXTENSION_ID = launch-new-instance
284 extensionurl = http://git.gnome.org/gnome-shell-extensions
285
286 # Change these to modify how installation is performed
287 topextensiondir = $(datadir)/gnome-shell/extensions
288 extensionbase = @gnome-shell-extensions.gcampax.github.com
289 gschemabase = org.gnome.shell.extensions
290 uuid = $(EXTENSION_ID)$(extensionbase)
291 gschemaname = $(gschemabase).$(EXTENSION_ID)
292 extensiondir = $(topextensiondir)/$(uuid)
293 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
294 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
295 EXTRA_DIST = metadata.json.in
296 CLEANFILES = metadata.json
297 all: all-am
298
299 .SUFFIXES:
300 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__configure_deps)
301 @for dep in $?; do \
302 case '$(am__configure_deps)' in \
303 *$$dep*) \
304 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
305 && { if test -f $@; then exit 0; else break; fi; }; \
306 exit 1;; \
307 esac; \
308 done; \
309 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/launch-new-instance/Makefile'; \
310 $(am__cd) $(top_srcdir) && \
311 $(AUTOMAKE) --foreign extensions/launch-new-instance/Makefile
312 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
313 @case '$?' in \
314 *config.status*) \
315 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
316 *) \
317 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
318 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
319 esac;
320 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__empty):
321
322 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
323 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
324
325 $(top_srcdir)/configure: $(am__configure_deps)
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
327 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329 $(am__aclocal_m4_deps):
330 install-dist_extensionDATA: $(dist_extension_DATA)
331 @$(NORMAL_INSTALL)
332 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
333 if test -n "$$list"; then \
334 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
335 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
336 fi; \
337 for p in $$list; do \
338 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
339 echo "$$d$$p"; \
340 done | $(am__base_list) | \
341 while read files; do \
342 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
343 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
344 done
345
346 uninstall-dist_extensionDATA:
347 @$(NORMAL_UNINSTALL)
348 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
349 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
350 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
351 install-nodist_extensionDATA: $(nodist_extension_DATA)
352 @$(NORMAL_INSTALL)
353 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
354 if test -n "$$list"; then \
355 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
356 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
357 fi; \
358 for p in $$list; do \
359 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
360 echo "$$d$$p"; \
361 done | $(am__base_list) | \
362 while read files; do \
363 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
364 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
365 done
366
367 uninstall-nodist_extensionDATA:
368 @$(NORMAL_UNINSTALL)
369 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
370 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
371 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
372 tags TAGS:
373
374 ctags CTAGS:
375
376 cscope cscopelist:
377
378
379 distdir: $(DISTFILES)
380 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 list='$(DISTFILES)'; \
383 dist_files=`for file in $$list; do echo $$file; done | \
384 sed -e "s|^$$srcdirstrip/||;t" \
385 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
386 case $$dist_files in \
387 */*) $(MKDIR_P) `echo "$$dist_files" | \
388 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
389 sort -u` ;; \
390 esac; \
391 for file in $$dist_files; do \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 if test -d $$d/$$file; then \
394 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
395 if test -d "$(distdir)/$$file"; then \
396 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
397 fi; \
398 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
399 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
400 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
401 fi; \
402 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
403 else \
404 test -f "$(distdir)/$$file" \
405 || cp -p $$d/$$file "$(distdir)/$$file" \
406 || exit 1; \
407 fi; \
408 done
409 check-am: all-am
410 check: check-am
411 all-am: Makefile $(DATA)
412 installdirs:
413 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
414 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
415 done
416 install: install-am
417 install-exec: install-exec-am
418 install-data: install-data-am
419 uninstall: uninstall-am
420
421 install-am: all-am
422 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
423
424 installcheck: installcheck-am
425 install-strip:
426 if test -z '$(STRIP)'; then \
427 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
428 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
429 install; \
430 else \
431 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
432 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
433 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
434 fi
435 mostlyclean-generic:
436
437 clean-generic:
438 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
439
440 distclean-generic:
441 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
442 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
443
444 maintainer-clean-generic:
445 @echo "This command is intended for maintainers to use"
446 @echo "it deletes files that may require special tools to rebuild."
447 clean: clean-am
448
449 clean-am: clean-generic mostlyclean-am
450
451 distclean: distclean-am
452 -rm -f Makefile
453 distclean-am: clean-am distclean-generic
454
455 dvi: dvi-am
456
457 dvi-am:
458
459 html: html-am
460
461 html-am:
462
463 info: info-am
464
465 info-am:
466
467 install-data-am: install-dist_extensionDATA \
468 install-nodist_extensionDATA
469
470 install-dvi: install-dvi-am
471
472 install-dvi-am:
473
474 install-exec-am:
475
476 install-html: install-html-am
477
478 install-html-am:
479
480 install-info: install-info-am
481
482 install-info-am:
483
484 install-man:
485
486 install-pdf: install-pdf-am
487
488 install-pdf-am:
489
490 install-ps: install-ps-am
491
492 install-ps-am:
493
494 installcheck-am:
495
496 maintainer-clean: maintainer-clean-am
497 -rm -f Makefile
498 maintainer-clean-am: distclean-am maintainer-clean-generic
499
500 mostlyclean: mostlyclean-am
501
502 mostlyclean-am: mostlyclean-generic
503
504 pdf: pdf-am
505
506 pdf-am:
507
508 ps: ps-am
509
510 ps-am:
511
512 uninstall-am: uninstall-dist_extensionDATA \
513 uninstall-nodist_extensionDATA
514
515 .MAKE: install-am install-strip
516
517 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
518 ctags-am distclean distclean-generic distdir dvi dvi-am html \
519 html-am info info-am install install-am install-data \
520 install-data-am install-dist_extensionDATA install-dvi \
521 install-dvi-am install-exec install-exec-am install-html \
522 install-html-am install-info install-info-am install-man \
523 install-nodist_extensionDATA install-pdf install-pdf-am \
524 install-ps install-ps-am install-strip installcheck \
525 installcheck-am installdirs maintainer-clean \
526 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
527 pdf-am ps ps-am tags-am uninstall uninstall-am \
528 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
529
530 .PRECIOUS: Makefile
531
532
533 metadata.json: metadata.json.in $(top_builddir)/config.status
534 $(AM_V_GEN) sed \
535 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
536 -e "s|[@]uuid@|$(uuid)|" \
537 -e "s|[@]gschemaname@|$(gschemaname)|" \
538 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
539 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
540 -e "s|[@]url@|$(extensionurl)|" \
541 $< > $@
542
543 # Tell versions [3.59,3.63) of GNU make to not export all variables.
544 # Otherwise a system limit (for SysV at least) may be exceeded.
545 .NOEXPORT:
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
33 "settings-schema": "@gschemaname@",
44 "gettext-domain": "@gettext_domain@",
55 "name": "Launch new instance",
6 "description": "Always launch a new instance when clicking in the dash or the application view.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
6 "description": "Always launch a new instance when clicking in the dash or the application view.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
77 "shell-version": [ "@shell_current@" ],
88 "url": "@url@"
99 }
0 extension_schemas = []
1 js_sources = extensionlib
2
3 metadata_name = 'metadata.json'
4
5 foreach e : all_extensions
6 uuid = e + uuid_suffix
7
8 metadata_conf = configuration_data()
9 metadata_conf.set('extension_id', e)
10 metadata_conf.set('uuid', uuid)
11 metadata_conf.set('gschemaname', 'org.gnome.shell.extensions.' + e)
12 metadata_conf.set('gettext_domain', gettext_domain)
13 metadata_conf.set('shell_current', shell_version)
14 metadata_conf.set('url', 'https://gitlab.gnome.org/GNOME/gnome-shell-extensions')
15
16 extension_sources = files(e + '/extension.js')
17 extension_data = files(e + '/stylesheet.css')
18
19 subdir(e)
20
21 js_sources += extension_sources
22
23 if (enabled_extensions.contains(e))
24 install_data (extension_sources + extension_data + extensionlib,
25 install_dir: join_paths(extensiondir, uuid)
26 )
27 endif
28 endforeach
29
30 install_data (extension_schemas,
31 install_dir: schemadir
32 )
33
34 foreach js_source : js_sources
35 if (js52.found())
36 path_array = '@0@'.format(js_source).split('/')
37 name = join_paths(path_array[-2], path_array[-1])
38
39 test('Checking syntax of ' + name, js52,
40 args: ['-s', '-c', js_source],
41 workdir: meson.current_source_dir()
42 )
43 endif
44 endforeach
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 # extension_sources += files('prefs.js')
7 # extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml')
+0
-5
extensions/native-window-placement/Makefile.am less more
0 EXTENSION_ID = native-window-placement
1
2 include ../../extension.mk
3 include ../../settings.mk
4
+0
-553
extensions/native-window-placement/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/native-window-placement
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk \
156 $(srcdir)/../../settings.mk $(srcdir)/Makefile.in \
157 $(top_srcdir)/include.mk
158 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
159 ACLOCAL = @ACLOCAL@
160 ALL_EXTENSIONS = @ALL_EXTENSIONS@
161 AMTAR = @AMTAR@
162 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
163 AUTOCONF = @AUTOCONF@
164 AUTOHEADER = @AUTOHEADER@
165 AUTOMAKE = @AUTOMAKE@
166 AWK = @AWK@
167 CC = @CC@
168 CCDEPMODE = @CCDEPMODE@
169 CFLAGS = @CFLAGS@
170 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
171 CPP = @CPP@
172 CPPFLAGS = @CPPFLAGS@
173 CYGPATH_W = @CYGPATH_W@
174 DEFS = @DEFS@
175 DEPDIR = @DEPDIR@
176 ECHO_C = @ECHO_C@
177 ECHO_N = @ECHO_N@
178 ECHO_T = @ECHO_T@
179 EGREP = @EGREP@
180 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
181 EXEEXT = @EXEEXT@
182 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
183 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
184 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
185 GMSGFMT = @GMSGFMT@
186 GMSGFMT_015 = @GMSGFMT_015@
187 GREP = @GREP@
188 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
189 INSTALL = @INSTALL@
190 INSTALL_DATA = @INSTALL_DATA@
191 INSTALL_PROGRAM = @INSTALL_PROGRAM@
192 INSTALL_SCRIPT = @INSTALL_SCRIPT@
193 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
194 INTLLIBS = @INTLLIBS@
195 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
196 LDFLAGS = @LDFLAGS@
197 LIBICONV = @LIBICONV@
198 LIBINTL = @LIBINTL@
199 LIBOBJS = @LIBOBJS@
200 LIBS = @LIBS@
201 LTLIBICONV = @LTLIBICONV@
202 LTLIBINTL = @LTLIBINTL@
203 LTLIBOBJS = @LTLIBOBJS@
204 MAKEINFO = @MAKEINFO@
205 MKDIR_P = @MKDIR_P@
206 MSGFMT = @MSGFMT@
207 MSGFMT_015 = @MSGFMT_015@
208 MSGMERGE = @MSGMERGE@
209 OBJEXT = @OBJEXT@
210 PACKAGE = @PACKAGE@
211 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
212 PACKAGE_NAME = @PACKAGE_NAME@
213 PACKAGE_STRING = @PACKAGE_STRING@
214 PACKAGE_TARNAME = @PACKAGE_TARNAME@
215 PACKAGE_URL = @PACKAGE_URL@
216 PACKAGE_VERSION = @PACKAGE_VERSION@
217 PATH_SEPARATOR = @PATH_SEPARATOR@
218 PKG_CONFIG = @PKG_CONFIG@
219 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
220 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
221 POSUB = @POSUB@
222 SASSC = @SASSC@
223 SED = @SED@
224 SET_MAKE = @SET_MAKE@
225 SHELL = @SHELL@
226 SHELL_VERSION = @SHELL_VERSION@
227 STRIP = @STRIP@
228 USE_NLS = @USE_NLS@
229 VERSION = @VERSION@
230 XGETTEXT = @XGETTEXT@
231 XGETTEXT_015 = @XGETTEXT_015@
232 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
233 abs_builddir = @abs_builddir@
234 abs_srcdir = @abs_srcdir@
235 abs_top_builddir = @abs_top_builddir@
236 abs_top_srcdir = @abs_top_srcdir@
237 ac_ct_CC = @ac_ct_CC@
238 am__include = @am__include@
239 am__leading_dot = @am__leading_dot@
240 am__quote = @am__quote@
241 am__tar = @am__tar@
242 am__untar = @am__untar@
243 bindir = @bindir@
244 build = @build@
245 build_alias = @build_alias@
246 build_cpu = @build_cpu@
247 build_os = @build_os@
248 build_vendor = @build_vendor@
249 builddir = @builddir@
250 datadir = @datadir@
251 datarootdir = @datarootdir@
252 docdir = @docdir@
253 dvidir = @dvidir@
254 exec_prefix = @exec_prefix@
255 gsettingsschemadir = @gsettingsschemadir@
256 host = @host@
257 host_alias = @host_alias@
258 host_cpu = @host_cpu@
259 host_os = @host_os@
260 host_vendor = @host_vendor@
261 htmldir = @htmldir@
262 includedir = @includedir@
263 infodir = @infodir@
264 install_sh = @install_sh@
265 libdir = @libdir@
266 libexecdir = @libexecdir@
267 localedir = @localedir@
268 localstatedir = @localstatedir@
269 mandir = @mandir@
270 mkdir_p = @mkdir_p@
271 oldincludedir = @oldincludedir@
272 pdfdir = @pdfdir@
273 prefix = @prefix@
274 program_transform_name = @program_transform_name@
275 psdir = @psdir@
276 sbindir = @sbindir@
277 sharedstatedir = @sharedstatedir@
278 srcdir = @srcdir@
279 sysconfdir = @sysconfdir@
280 target_alias = @target_alias@
281 top_build_prefix = @top_build_prefix@
282 top_builddir = @top_builddir@
283 top_srcdir = @top_srcdir@
284 EXTENSION_ID = native-window-placement
285 extensionurl = http://git.gnome.org/gnome-shell-extensions
286
287 # Change these to modify how installation is performed
288 topextensiondir = $(datadir)/gnome-shell/extensions
289 extensionbase = @gnome-shell-extensions.gcampax.github.com
290 gschemabase = org.gnome.shell.extensions
291 uuid = $(EXTENSION_ID)$(extensionbase)
292 gschemaname = $(gschemabase).$(EXTENSION_ID)
293 extensiondir = $(topextensiondir)/$(uuid)
294 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
295 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
296 EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS)
297 CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid)
298 gsettings_SCHEMAS = $(gschemaname).gschema.xml
299 all: all-am
300
301 .SUFFIXES:
302 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__configure_deps)
303 @for dep in $?; do \
304 case '$(am__configure_deps)' in \
305 *$$dep*) \
306 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
307 && { if test -f $@; then exit 0; else break; fi; }; \
308 exit 1;; \
309 esac; \
310 done; \
311 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/native-window-placement/Makefile'; \
312 $(am__cd) $(top_srcdir) && \
313 $(AUTOMAKE) --foreign extensions/native-window-placement/Makefile
314 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
315 @case '$?' in \
316 *config.status*) \
317 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
318 *) \
319 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
320 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
321 esac;
322 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__empty):
323
324 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
325 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
326
327 $(top_srcdir)/configure: $(am__configure_deps)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
330 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
331 $(am__aclocal_m4_deps):
332 install-dist_extensionDATA: $(dist_extension_DATA)
333 @$(NORMAL_INSTALL)
334 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
335 if test -n "$$list"; then \
336 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
337 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
338 fi; \
339 for p in $$list; do \
340 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
341 echo "$$d$$p"; \
342 done | $(am__base_list) | \
343 while read files; do \
344 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
345 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
346 done
347
348 uninstall-dist_extensionDATA:
349 @$(NORMAL_UNINSTALL)
350 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
351 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
352 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
353 install-nodist_extensionDATA: $(nodist_extension_DATA)
354 @$(NORMAL_INSTALL)
355 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
356 if test -n "$$list"; then \
357 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
358 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
359 fi; \
360 for p in $$list; do \
361 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
362 echo "$$d$$p"; \
363 done | $(am__base_list) | \
364 while read files; do \
365 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
366 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
367 done
368
369 uninstall-nodist_extensionDATA:
370 @$(NORMAL_UNINSTALL)
371 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
372 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
373 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
374 tags TAGS:
375
376 ctags CTAGS:
377
378 cscope cscopelist:
379
380
381 distdir: $(DISTFILES)
382 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
383 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
384 list='$(DISTFILES)'; \
385 dist_files=`for file in $$list; do echo $$file; done | \
386 sed -e "s|^$$srcdirstrip/||;t" \
387 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
388 case $$dist_files in \
389 */*) $(MKDIR_P) `echo "$$dist_files" | \
390 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
391 sort -u` ;; \
392 esac; \
393 for file in $$dist_files; do \
394 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
395 if test -d $$d/$$file; then \
396 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
397 if test -d "$(distdir)/$$file"; then \
398 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
399 fi; \
400 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
401 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
402 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
403 fi; \
404 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
405 else \
406 test -f "$(distdir)/$$file" \
407 || cp -p $$d/$$file "$(distdir)/$$file" \
408 || exit 1; \
409 fi; \
410 done
411 check-am: all-am
412 check: check-am
413 all-am: Makefile $(DATA)
414 installdirs:
415 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
416 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
417 done
418 install: install-am
419 install-exec: install-exec-am
420 install-data: install-data-am
421 uninstall: uninstall-am
422
423 install-am: all-am
424 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
425
426 installcheck: installcheck-am
427 install-strip:
428 if test -z '$(STRIP)'; then \
429 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
430 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
431 install; \
432 else \
433 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
434 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
435 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
436 fi
437 mostlyclean-generic:
438
439 clean-generic:
440 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
441
442 distclean-generic:
443 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
444 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
445
446 maintainer-clean-generic:
447 @echo "This command is intended for maintainers to use"
448 @echo "it deletes files that may require special tools to rebuild."
449 clean: clean-am
450
451 clean-am: clean-generic mostlyclean-am
452
453 distclean: distclean-am
454 -rm -f Makefile
455 distclean-am: clean-am distclean-generic
456
457 dvi: dvi-am
458
459 dvi-am:
460
461 html: html-am
462
463 html-am:
464
465 info: info-am
466
467 info-am:
468
469 install-data-am: install-dist_extensionDATA \
470 install-nodist_extensionDATA
471
472 install-dvi: install-dvi-am
473
474 install-dvi-am:
475
476 install-exec-am:
477
478 install-html: install-html-am
479
480 install-html-am:
481
482 install-info: install-info-am
483
484 install-info-am:
485
486 install-man:
487
488 install-pdf: install-pdf-am
489
490 install-pdf-am:
491
492 install-ps: install-ps-am
493
494 install-ps-am:
495
496 installcheck-am:
497
498 maintainer-clean: maintainer-clean-am
499 -rm -f Makefile
500 maintainer-clean-am: distclean-am maintainer-clean-generic
501
502 mostlyclean: mostlyclean-am
503
504 mostlyclean-am: mostlyclean-generic
505
506 pdf: pdf-am
507
508 pdf-am:
509
510 ps: ps-am
511
512 ps-am:
513
514 uninstall-am: uninstall-dist_extensionDATA \
515 uninstall-nodist_extensionDATA
516
517 .MAKE: install-am install-strip
518
519 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
520 ctags-am distclean distclean-generic distdir dvi dvi-am html \
521 html-am info info-am install install-am install-data \
522 install-data-am install-dist_extensionDATA install-dvi \
523 install-dvi-am install-exec install-exec-am install-html \
524 install-html-am install-info install-info-am install-man \
525 install-nodist_extensionDATA install-pdf install-pdf-am \
526 install-ps install-ps-am install-strip installcheck \
527 installcheck-am installdirs maintainer-clean \
528 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
529 pdf-am ps ps-am tags-am uninstall uninstall-am \
530 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
531
532 .PRECIOUS: Makefile
533
534
535 metadata.json: metadata.json.in $(top_builddir)/config.status
536 $(AM_V_GEN) sed \
537 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
538 -e "s|[@]uuid@|$(uuid)|" \
539 -e "s|[@]gschemaname@|$(gschemaname)|" \
540 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
541 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
542 -e "s|[@]url@|$(extensionurl)|" \
543 $< > $@
544
545 %.desktop:%.desktop.in
546 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
547
548 @GSETTINGS_RULES@
549
550 # Tell versions [3.59,3.63) of GNU make to not export all variables.
551 # Otherwise a system limit (for SysV at least) may be exceeded.
552 .NOEXPORT:
00 // -*- mode: js2; indent-tabs-mode: nil; js2-basic-offset: 4 -*-
1 // import just everything from workspace.js:
2 const Clutter = imports.gi.Clutter;
3 const Gio = imports.gi.Gio;
4 const Lang = imports.lang;
5 const Mainloop = imports.mainloop;
6 const Meta = imports.gi.Meta;
7 const Pango = imports.gi.Pango;
8 const Shell = imports.gi.Shell;
9 const St = imports.gi.St;
10 const Signals = imports.signals;
11
12 const DND = imports.ui.dnd;
13 const Lightbox = imports.ui.lightbox;
14 const Main = imports.ui.main;
15 const Overview = imports.ui.overview;
16 const Panel = imports.ui.panel;
17 const Tweener = imports.ui.tweener;
18
191 const Workspace = imports.ui.workspace;
20 const WindowPositionFlags = Workspace.WindowPositionFlags;
212
223 const ExtensionUtils = imports.misc.extensionUtils;
234 const Me = ExtensionUtils.getCurrentExtension();
3011 const WINDOW_PLACEMENT_NATURAL_GAPS = 5; // half of the minimum gap between windows
3112 const WINDOW_PLACEMENT_NATURAL_MAX_TRANSLATIONS = 5000; // safety limit for preventing endless loop if something is wrong in the algorithm
3213
33 const PLACE_WINDOW_CAPTIONS_ON_TOP = true; // place window titles in overview on top of windows with overlap parameter
34
35 const WORKSPACE_BORDER_GAP = 10; // minimum gap between the workspace area and the workspace selector
36 const WINDOW_AREA_TOP_GAP = 20; // minimum gap between the workspace area and the top border. This keeps window captions and close buttons visible. 13px (26/2) should currently be enough.
37
38 const BUTTON_LAYOUT_SCHEMA = 'org.gnome.desktop.wm.preferences';
39 const BUTTON_LAYOUT_KEY = 'button-layout';
40
41 function injectToFunction(parent, name, func) {
42 let origin = parent[name];
43 parent[name] = function() {
44 let ret;
45 ret = origin.apply(this, arguments);
46 if (ret === undefined)
47 ret = func.apply(this, arguments);
48 return ret;
49 }
50 }
51
52 const Rect = new Lang.Class({
53 Name: 'NativeWindowPlacement.Rect',
54
55 _init: function(x, y, width, height) {
14 class Rect {
15 constructor(x, y, width, height) {
5616 [this.x, this.y, this.width, this.height] = [x, y, width, height];
57 },
17 }
5818
5919 /**
6020 * used in _calculateWindowTransformationsNatural to replace Meta.Rectangle that is too slow.
6121 */
62 copy: function() {
22 copy() {
6323 return new Rect(this.x, this.y, this.width, this.height);
64 },
65
66 union: function(rect2) {
24 }
25
26 union(rect2) {
6727 let dest = this.copy();
6828 if (rect2.x < dest.x)
6929 {
8141 dest.height = rect2.y + rect2.height - dest.y;
8242
8343 return dest;
84 },
85
86 adjusted: function(dx, dy, dx2, dy2) {
44 }
45
46 adjusted(dx, dy, dx2, dy2) {
8747 let dest = this.copy();
8848 dest.x += dx;
8949 dest.y += dy;
9050 dest.width += -dx + dx2;
9151 dest.height += -dy + dy2;
9252 return dest;
93 },
94
95 overlap: function(rect2) {
53 }
54
55 overlap(rect2) {
9656 return !((this.x + this.width <= rect2.x) ||
9757 (rect2.x + rect2.width <= this.x) ||
9858 (this.y + this.height <= rect2.y) ||
9959 (rect2.y + rect2.height <= this.y));
100 },
101
102 center: function() {
60 }
61
62 center() {
10363 return [this.x + this.width / 2, this.y + this.height / 2];
104 },
105
106 translate: function(dx, dy) {
64 }
65
66 translate(dx, dy) {
10767 this.x += dx;
10868 this.y += dy;
10969 }
110 });
111
112 let winInjections, workspaceInjections, connectedSignals;
113
114 function resetState() {
115 winInjections = { };
116 workspaceInjections = { };
117 connectedSignals = [ ];
118 }
119
120 function enable() {
121 resetState();
122
123 let settings = Convenience.getSettings();
124 let useMoreScreen = settings.get_boolean('use-more-screen');
125 let windowCaptionsOnTop = settings.get_boolean('window-captions-on-top');
126 let signalId = settings.connect('changed::use-more-screen', function() {
127 useMoreScreen = settings.get_boolean('use-more-screen');
128 });
129 connectedSignals.push({ obj: settings, id: signalId });
70 };
71
72 class NaturalLayoutStrategy extends Workspace.LayoutStrategy {
73 constructor(settings) {
74 super();
75 this._settings = settings;
76 }
77
78 computeLayout(windows, layout) {
79 layout.windows = windows;
80 }
13081
13182 /**
132 * _calculateWindowTransformationsNatural:
133 * @clones: Array of #MetaWindow
134 *
13583 * Returns clones with matching target coordinates and scales to arrange windows in a natural way that no overlap exists and relative window size is preserved.
13684 * This function is almost a 1:1 copy of the function
13785 * PresentWindowsEffect::calculateWindowTransformationsNatural() from KDE, see:
13886 * https://projects.kde.org/projects/kde/kdebase/kde-workspace/repository/revisions/master/entry/kwin/effects/presentwindows/presentwindows.cpp
13987 */
140 Workspace.Workspace.prototype._calculateWindowTransformationsNatural = function(clones, area) {
88 computeWindowSlots(layout, area) {
14189 // As we are using pseudo-random movement (See "slot") we need to make sure the list
14290 // is always sorted the same way no matter which window is currently active.
14391
14492 let area_rect = new Rect(area.x, area.y, area.width, area.height);
14593 let bounds = area_rect.copy();
94 let clones = layout.windows;
14695
14796 let direction = 0;
14897 let directions = [];
200149 rects[j].translate(diff[0], diff[1]);
201150
202151
203 if (useMoreScreen) {
152 if (this._settings.get_boolean('use-more-screen')) {
204153 // Try to keep the bounding rect the same aspect as the screen so that more
205154 // screen real estate is utilised. We do this by splitting the screen into nine
206155 // equal sections, if the window center is in any of the corner sections pull the
290239
291240 return slots;
292241 }
293 workspaceInjections['_calculateWindowTransformationsNatural'] = undefined;
294
295 /**
296 * _updateWindowPositions:
297 * @flags:
298 * INITIAL - this is the initial positioning of the windows.
299 * ANIMATE - Indicates that we need animate changing position.
300 */
301 workspaceInjections['_updateWindowPositions'] = Workspace.Workspace.prototype._updateWindowPositions;
302 Workspace.Workspace.prototype._updateWindowPositions = function(flags) {
303 if (this._currentLayout == null) {
304 this._recalculateWindowPositions(flags);
305 return;
306 }
307
308 let initialPositioning = flags & WindowPositionFlags.INITIAL;
309 let animate = flags & WindowPositionFlags.ANIMATE;
310
311 let layout = this._currentLayout;
312 let strategy = layout.strategy;
313
314 let [, , padding] = this._getSpacingAndPadding();
315 let area = Workspace.padArea(this._actualGeometry, padding);
316
317 /// EDIT replace this version by our own:
318 //let slots = strategy.computeWindowSlots(layout, area);
319
320
321 /// EDIT copied from _realRecalculateWindowPositions:
322 let clones = this._windows.slice();
323 if (clones.length == 0)
324 return;
325
326 clones.sort(function(a, b) {
327 return a.metaWindow.get_stable_sequence() - b.metaWindow.get_stable_sequence();
328 });
329
330 if (this._reservedSlot)
331 clones.push(this._reservedSlot);
332
333 /// EDIT our own window placement function:
334 let slots = this._calculateWindowTransformationsNatural(clones, area);
335
336
337 let currentWorkspace = global.screen.get_active_workspace();
338 let isOnCurrentWorkspace = this.metaWorkspace == null || this.metaWorkspace == currentWorkspace;
339
340 for (let i = 0; i < slots.length; i++) {
341 let slot = slots[i];
342 let [x, y, scale, clone] = slot;
343 let metaWindow = clone.metaWindow;
344 let overlay = clone.overlay;
345 clone.slotId = i;
346
347 // Positioning a window currently being dragged must be avoided;
348 // we'll just leave a blank spot in the layout for it.
349 if (clone.inDrag)
350 continue;
351
352 let cloneWidth = clone.actor.width * scale;
353 let cloneHeight = clone.actor.height * scale;
354 clone.slot = [x, y, cloneWidth, cloneHeight];
355
356 if (overlay && (initialPositioning || !clone.positioned))
357 overlay.hide();
358
359 if (!clone.positioned) {
360 // This window appeared after the overview was already up
361 // Grow the clone from the center of the slot
362 clone.actor.x = x + cloneWidth / 2;
363 clone.actor.y = y + cloneHeight / 2;
364 clone.actor.scale_x = 0;
365 clone.actor.scale_y = 0;
366 clone.positioned = true;
367 }
368
369 if (animate && isOnCurrentWorkspace) {
370 if (!metaWindow.showing_on_its_workspace()) {
371 /* Hidden windows should fade in and grow
372 * therefore we need to resize them now so they
373 * can be scaled up later */
374 if (initialPositioning) {
375 clone.actor.opacity = 0;
376 clone.actor.scale_x = 0;
377 clone.actor.scale_y = 0;
378 clone.actor.x = x;
379 clone.actor.y = y;
380 }
381
382 Tweener.addTween(clone.actor,
383 { opacity: 255,
384 time: Overview.ANIMATION_TIME,
385 transition: 'easeInQuad'
386 });
387 }
388
389 this._animateClone(clone, overlay, x, y, scale, initialPositioning);
390 } else {
391 // cancel any active tweens (otherwise they might override our changes)
392 Tweener.removeTweens(clone.actor);
393 clone.actor.set_position(x, y);
394 clone.actor.set_scale(scale, scale);
395 clone.overlay.relayout(false);
396 this._showWindowOverlay(clone, overlay, isOnCurrentWorkspace);
397 }
398 }
399 }
400
401
242 };
243
244 let winInjections, workspaceInjections;
245
246 function resetState() {
247 winInjections = { };
248 workspaceInjections = { };
249 }
250
251 function enable() {
252 resetState();
253
254 let settings = Convenience.getSettings();
255
256 workspaceInjections['_getBestLayout'] = Workspace.Workspace.prototype._getBestLayout;
257 Workspace.Workspace.prototype._getBestLayout = function(windows) {
258 let strategy = new NaturalLayoutStrategy(settings);
259 let layout = { strategy };
260 strategy.computeLayout(windows, layout);
261
262 return layout;
263 }
402264
403265 /// position window titles on top of windows in overlay ////
404 if (windowCaptionsOnTop) {
405
406 /// This is almost a direct copy of the original relayout function. Differences are marked.
407 winInjections['relayout'] = Workspace.WindowOverlay.prototype.relayout;
408 Workspace.WindowOverlay.prototype.relayout = function(animate) {
409 winInjections['relayout'].call(this, animate);
410 let title = this.title;
411 let border = this.border;
412
413 this._parentActor.set_child_above_sibling(title, border);
414
415 Tweener.removeTweens(title);
416
417 let [cloneX, cloneY, cloneWidth, cloneHeight] = this._windowClone.slot;
418
419 // Clutter.Actor.get_preferred_width() will return the fixed width if one
420 // is set, so we need to reset the width by calling set_width(-1), to forward
421 // the call down to StLabel.
422 // We also need to save and restore the current width, otherwise the animation
423 // starts from the wrong point.
424 let prevTitleWidth = title.width;
425 title.set_width(-1);
426 let [titleMinWidth, titleNatWidth] = title.get_preferred_width(-1);
427 let titleWidth = Math.max(titleMinWidth, Math.min(titleNatWidth, cloneWidth));
428 title.width = prevTitleWidth;
429
430 let titleX = cloneX + (cloneWidth - titleWidth) / 2;
431
432 /// this is the actual difference to original gnome-shell:
433 //let titleY = cloneY + cloneHeight - (title.height - this.borderSize) / 2;
434 let titleY = cloneY - (title.height - this.borderSize) / 2;
435
436 if (animate)
437 this._animateOverlayActor(title, Math.floor(titleX), Math.floor(titleY), titleWidth);
438 else {
439 title.width = titleWidth;
440 title.set_position(Math.floor(titleX), Math.floor(titleY));
441 }
442 };
443 }
266 winInjections['relayout'] = Workspace.WindowOverlay.prototype.relayout;
267 Workspace.WindowOverlay.prototype.relayout = function(animate) {
268 if (settings.get_boolean('window-captions-on-top')) {
269 let [, , , cloneHeight] = this._windowClone.slot;
270 this.title.translation_y = -cloneHeight;
271 }
272
273 winInjections['relayout'].call(this, animate);
274 };
444275 }
445276
446277 function removeInjection(object, injection, name) {
458289 for (i in winInjections)
459290 removeInjection(Workspace.WindowOverlay.prototype, winInjections, i);
460291
461 for each (i in connectedSignals)
462 i.obj.disconnect(i.id);
463
464292 global.stage.queue_relayout();
465293 resetState();
466294 }
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml')
+0
-5
extensions/places-menu/Makefile.am less more
0 EXTENSION_ID = places-menu
1
2 EXTRA_MODULES = placeDisplay.js
3
4 include ../../extension.mk
+0
-547
extensions/places-menu/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/places-menu
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk $(srcdir)/Makefile.in \
156 $(top_srcdir)/include.mk
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 ACLOCAL = @ACLOCAL@
159 ALL_EXTENSIONS = @ALL_EXTENSIONS@
160 AMTAR = @AMTAR@
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 AUTOCONF = @AUTOCONF@
163 AUTOHEADER = @AUTOHEADER@
164 AUTOMAKE = @AUTOMAKE@
165 AWK = @AWK@
166 CC = @CC@
167 CCDEPMODE = @CCDEPMODE@
168 CFLAGS = @CFLAGS@
169 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
170 CPP = @CPP@
171 CPPFLAGS = @CPPFLAGS@
172 CYGPATH_W = @CYGPATH_W@
173 DEFS = @DEFS@
174 DEPDIR = @DEPDIR@
175 ECHO_C = @ECHO_C@
176 ECHO_N = @ECHO_N@
177 ECHO_T = @ECHO_T@
178 EGREP = @EGREP@
179 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
180 EXEEXT = @EXEEXT@
181 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
182 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
183 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
184 GMSGFMT = @GMSGFMT@
185 GMSGFMT_015 = @GMSGFMT_015@
186 GREP = @GREP@
187 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
188 INSTALL = @INSTALL@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 INTLLIBS = @INTLLIBS@
194 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
195 LDFLAGS = @LDFLAGS@
196 LIBICONV = @LIBICONV@
197 LIBINTL = @LIBINTL@
198 LIBOBJS = @LIBOBJS@
199 LIBS = @LIBS@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBINTL = @LTLIBINTL@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAKEINFO = @MAKEINFO@
204 MKDIR_P = @MKDIR_P@
205 MSGFMT = @MSGFMT@
206 MSGFMT_015 = @MSGFMT_015@
207 MSGMERGE = @MSGMERGE@
208 OBJEXT = @OBJEXT@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_URL = @PACKAGE_URL@
215 PACKAGE_VERSION = @PACKAGE_VERSION@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PKG_CONFIG = @PKG_CONFIG@
218 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
219 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220 POSUB = @POSUB@
221 SASSC = @SASSC@
222 SED = @SED@
223 SET_MAKE = @SET_MAKE@
224 SHELL = @SHELL@
225 SHELL_VERSION = @SHELL_VERSION@
226 STRIP = @STRIP@
227 USE_NLS = @USE_NLS@
228 VERSION = @VERSION@
229 XGETTEXT = @XGETTEXT@
230 XGETTEXT_015 = @XGETTEXT_015@
231 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
232 abs_builddir = @abs_builddir@
233 abs_srcdir = @abs_srcdir@
234 abs_top_builddir = @abs_top_builddir@
235 abs_top_srcdir = @abs_top_srcdir@
236 ac_ct_CC = @ac_ct_CC@
237 am__include = @am__include@
238 am__leading_dot = @am__leading_dot@
239 am__quote = @am__quote@
240 am__tar = @am__tar@
241 am__untar = @am__untar@
242 bindir = @bindir@
243 build = @build@
244 build_alias = @build_alias@
245 build_cpu = @build_cpu@
246 build_os = @build_os@
247 build_vendor = @build_vendor@
248 builddir = @builddir@
249 datadir = @datadir@
250 datarootdir = @datarootdir@
251 docdir = @docdir@
252 dvidir = @dvidir@
253 exec_prefix = @exec_prefix@
254 gsettingsschemadir = @gsettingsschemadir@
255 host = @host@
256 host_alias = @host_alias@
257 host_cpu = @host_cpu@
258 host_os = @host_os@
259 host_vendor = @host_vendor@
260 htmldir = @htmldir@
261 includedir = @includedir@
262 infodir = @infodir@
263 install_sh = @install_sh@
264 libdir = @libdir@
265 libexecdir = @libexecdir@
266 localedir = @localedir@
267 localstatedir = @localstatedir@
268 mandir = @mandir@
269 mkdir_p = @mkdir_p@
270 oldincludedir = @oldincludedir@
271 pdfdir = @pdfdir@
272 prefix = @prefix@
273 program_transform_name = @program_transform_name@
274 psdir = @psdir@
275 sbindir = @sbindir@
276 sharedstatedir = @sharedstatedir@
277 srcdir = @srcdir@
278 sysconfdir = @sysconfdir@
279 target_alias = @target_alias@
280 top_build_prefix = @top_build_prefix@
281 top_builddir = @top_builddir@
282 top_srcdir = @top_srcdir@
283 EXTENSION_ID = places-menu
284 EXTRA_MODULES = placeDisplay.js
285 extensionurl = http://git.gnome.org/gnome-shell-extensions
286
287 # Change these to modify how installation is performed
288 topextensiondir = $(datadir)/gnome-shell/extensions
289 extensionbase = @gnome-shell-extensions.gcampax.github.com
290 gschemabase = org.gnome.shell.extensions
291 uuid = $(EXTENSION_ID)$(extensionbase)
292 gschemaname = $(gschemabase).$(EXTENSION_ID)
293 extensiondir = $(topextensiondir)/$(uuid)
294 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
295 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
296 EXTRA_DIST = metadata.json.in
297 CLEANFILES = metadata.json
298 all: all-am
299
300 .SUFFIXES:
301 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__configure_deps)
302 @for dep in $?; do \
303 case '$(am__configure_deps)' in \
304 *$$dep*) \
305 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
306 && { if test -f $@; then exit 0; else break; fi; }; \
307 exit 1;; \
308 esac; \
309 done; \
310 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/places-menu/Makefile'; \
311 $(am__cd) $(top_srcdir) && \
312 $(AUTOMAKE) --foreign extensions/places-menu/Makefile
313 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
314 @case '$?' in \
315 *config.status*) \
316 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
317 *) \
318 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
319 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
320 esac;
321 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__empty):
322
323 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
324 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
325
326 $(top_srcdir)/configure: $(am__configure_deps)
327 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
328 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
329 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
330 $(am__aclocal_m4_deps):
331 install-dist_extensionDATA: $(dist_extension_DATA)
332 @$(NORMAL_INSTALL)
333 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
334 if test -n "$$list"; then \
335 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
336 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
337 fi; \
338 for p in $$list; do \
339 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
340 echo "$$d$$p"; \
341 done | $(am__base_list) | \
342 while read files; do \
343 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
344 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
345 done
346
347 uninstall-dist_extensionDATA:
348 @$(NORMAL_UNINSTALL)
349 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
350 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
351 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
352 install-nodist_extensionDATA: $(nodist_extension_DATA)
353 @$(NORMAL_INSTALL)
354 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
355 if test -n "$$list"; then \
356 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
357 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
358 fi; \
359 for p in $$list; do \
360 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
361 echo "$$d$$p"; \
362 done | $(am__base_list) | \
363 while read files; do \
364 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
365 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
366 done
367
368 uninstall-nodist_extensionDATA:
369 @$(NORMAL_UNINSTALL)
370 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
371 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
372 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
373 tags TAGS:
374
375 ctags CTAGS:
376
377 cscope cscopelist:
378
379
380 distdir: $(DISTFILES)
381 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
383 list='$(DISTFILES)'; \
384 dist_files=`for file in $$list; do echo $$file; done | \
385 sed -e "s|^$$srcdirstrip/||;t" \
386 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
387 case $$dist_files in \
388 */*) $(MKDIR_P) `echo "$$dist_files" | \
389 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
390 sort -u` ;; \
391 esac; \
392 for file in $$dist_files; do \
393 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
394 if test -d $$d/$$file; then \
395 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
396 if test -d "$(distdir)/$$file"; then \
397 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
398 fi; \
399 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
400 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
401 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
402 fi; \
403 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
404 else \
405 test -f "$(distdir)/$$file" \
406 || cp -p $$d/$$file "$(distdir)/$$file" \
407 || exit 1; \
408 fi; \
409 done
410 check-am: all-am
411 check: check-am
412 all-am: Makefile $(DATA)
413 installdirs:
414 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
415 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
416 done
417 install: install-am
418 install-exec: install-exec-am
419 install-data: install-data-am
420 uninstall: uninstall-am
421
422 install-am: all-am
423 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
424
425 installcheck: installcheck-am
426 install-strip:
427 if test -z '$(STRIP)'; then \
428 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
429 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
430 install; \
431 else \
432 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
433 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
434 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
435 fi
436 mostlyclean-generic:
437
438 clean-generic:
439 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
440
441 distclean-generic:
442 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
443 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
444
445 maintainer-clean-generic:
446 @echo "This command is intended for maintainers to use"
447 @echo "it deletes files that may require special tools to rebuild."
448 clean: clean-am
449
450 clean-am: clean-generic mostlyclean-am
451
452 distclean: distclean-am
453 -rm -f Makefile
454 distclean-am: clean-am distclean-generic
455
456 dvi: dvi-am
457
458 dvi-am:
459
460 html: html-am
461
462 html-am:
463
464 info: info-am
465
466 info-am:
467
468 install-data-am: install-dist_extensionDATA \
469 install-nodist_extensionDATA
470
471 install-dvi: install-dvi-am
472
473 install-dvi-am:
474
475 install-exec-am:
476
477 install-html: install-html-am
478
479 install-html-am:
480
481 install-info: install-info-am
482
483 install-info-am:
484
485 install-man:
486
487 install-pdf: install-pdf-am
488
489 install-pdf-am:
490
491 install-ps: install-ps-am
492
493 install-ps-am:
494
495 installcheck-am:
496
497 maintainer-clean: maintainer-clean-am
498 -rm -f Makefile
499 maintainer-clean-am: distclean-am maintainer-clean-generic
500
501 mostlyclean: mostlyclean-am
502
503 mostlyclean-am: mostlyclean-generic
504
505 pdf: pdf-am
506
507 pdf-am:
508
509 ps: ps-am
510
511 ps-am:
512
513 uninstall-am: uninstall-dist_extensionDATA \
514 uninstall-nodist_extensionDATA
515
516 .MAKE: install-am install-strip
517
518 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
519 ctags-am distclean distclean-generic distdir dvi dvi-am html \
520 html-am info info-am install install-am install-data \
521 install-data-am install-dist_extensionDATA install-dvi \
522 install-dvi-am install-exec install-exec-am install-html \
523 install-html-am install-info install-info-am install-man \
524 install-nodist_extensionDATA install-pdf install-pdf-am \
525 install-ps install-ps-am install-strip installcheck \
526 installcheck-am installdirs maintainer-clean \
527 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
528 pdf-am ps ps-am tags-am uninstall uninstall-am \
529 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
530
531 .PRECIOUS: Makefile
532
533
534 metadata.json: metadata.json.in $(top_builddir)/config.status
535 $(AM_V_GEN) sed \
536 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
537 -e "s|[@]uuid@|$(uuid)|" \
538 -e "s|[@]gschemaname@|$(gschemaname)|" \
539 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
540 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
541 -e "s|[@]url@|$(extensionurl)|" \
542 $< > $@
543
544 # Tell versions [3.59,3.63) of GNU make to not export all variables.
545 # Otherwise a system limit (for SysV at least) may be exceeded.
546 .NOEXPORT:
22 const Clutter = imports.gi.Clutter;
33 const Gio = imports.gi.Gio;
44 const GLib = imports.gi.GLib;
5 const Lang = imports.lang;
65 const Shell = imports.gi.Shell;
76 const St = imports.gi.St;
87
1312
1413 const Gettext = imports.gettext.domain('gnome-shell-extensions');
1514 const _ = Gettext.gettext;
16 const N_ = function(x) { return x; }
15 const N_ = x => x;
1716
1817 const ExtensionUtils = imports.misc.extensionUtils;
1918 const Me = ExtensionUtils.getCurrentExtension();
2221
2322 const PLACE_ICON_SIZE = 16;
2423
25 const PlaceMenuItem = new Lang.Class({
26 Name: 'PlaceMenuItem',
27 Extends: PopupMenu.PopupBaseMenuItem,
28
29 _init: function(info) {
30 this.parent();
31 this._info = info;
24 class PlaceMenuItem extends PopupMenu.PopupBaseMenuItem {
25 constructor(info) {
26 super();
27 this._info = info;
3228
3329 this._icon = new St.Icon({ gicon: info.icon,
3430 icon_size: PLACE_ICON_SIZE });
35 this.actor.add_child(this._icon);
31 this.actor.add_child(this._icon);
3632
37 this._label = new St.Label({ text: info.name });
33 this._label = new St.Label({ text: info.name, x_expand: true });
3834 this.actor.add_child(this._label);
3935
36 if (info.isRemovable()) {
37 this._ejectIcon = new St.Icon({ icon_name: 'media-eject-symbolic',
38 style_class: 'popup-menu-icon ' });
39 this._ejectButton = new St.Button({ child: this._ejectIcon });
40 this._ejectButton.connect('clicked', info.eject.bind(info));
41 this.actor.add_child(this._ejectButton);
42 }
43
4044 this._changedId = info.connect('changed',
41 Lang.bind(this, this._propertiesChanged));
42 },
45 this._propertiesChanged.bind(this));
46 }
4347
44 destroy: function() {
48 destroy() {
4549 if (this._changedId) {
4650 this._info.disconnect(this._changedId);
4751 this._changedId = 0;
4852 }
4953
50 this.parent();
51 },
54 super.destroy();
55 }
5256
53 activate: function(event) {
54 this._info.launch(event.get_time());
57 activate(event) {
58 this._info.launch(event.get_time());
5559
56 this.parent(event);
57 },
60 super.activate(event);
61 }
5862
59 _propertiesChanged: function(info) {
63 _propertiesChanged(info) {
6064 this._icon.gicon = info.icon;
6165 this._label.text = info.name;
62 },
63 });
66 }
67 };
6468
6569 const SECTIONS = [
6670 'special',
6973 'network'
7074 ]
7175
72 const PlacesMenu = new Lang.Class({
73 Name: 'PlacesMenu.PlacesMenu',
74 Extends: PanelMenu.Button,
75
76 _init: function() {
77 this.parent(0.0, _("Places"));
76 class PlacesMenu extends PanelMenu.Button {
77 constructor() {
78 super(0.0, _("Places"));
7879
7980 let hbox = new St.BoxLayout({ style_class: 'panel-status-menu-box' });
8081 let label = new St.Label({ text: _("Places"),
8687
8788 this.placesManager = new PlaceDisplay.PlacesManager();
8889
89 this._sections = { };
90 this._sections = { };
9091
91 for (let i=0; i < SECTIONS.length; i++) {
92 let id = SECTIONS[i];
93 this._sections[id] = new PopupMenu.PopupMenuSection();
94 this.placesManager.connect(id + '-updated', Lang.bind(this, function() {
95 this._redisplay(id);
96 }));
92 for (let i=0; i < SECTIONS.length; i++) {
93 let id = SECTIONS[i];
94 this._sections[id] = new PopupMenu.PopupMenuSection();
95 this.placesManager.connect(id + '-updated', () => {
96 this._redisplay(id);
97 });
9798
98 this._create(id);
99 this.menu.addMenuItem(this._sections[id]);
100 this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
101 }
102 },
99 this._create(id);
100 this.menu.addMenuItem(this._sections[id]);
101 this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
102 }
103 }
103104
104 destroy: function() {
105 this.placesManager.destroy();
105 destroy() {
106 this.placesManager.destroy();
106107
107 this.parent();
108 },
108 super.destroy();
109 }
109110
110 _redisplay: function(id) {
111 this._sections[id].removeAll();
111 _redisplay(id) {
112 this._sections[id].removeAll();
112113 this._create(id);
113 },
114 }
114115
115 _create: function(id) {
116 _create(id) {
116117 let places = this.placesManager.get(id);
117118
118119 for (let i = 0; i < places.length; i++)
119120 this._sections[id].addMenuItem(new PlaceMenuItem(places[i]));
120121
121 this._sections[id].actor.visible = places.length > 0;
122 this._sections[id].actor.visible = places.length > 0;
122123 }
123 });
124 };
124125
125126 function init() {
126127 Convenience.initTranslations();
133134
134135 let pos = 1;
135136 if ('apps-menu' in Main.panel.statusArea)
136 pos = 2;
137 pos = 2;
137138 Main.panel.addToStatusArea('places-menu', _indicator, pos, 'left');
138139 }
139140
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_sources += files('placeDisplay.js')
33 "settings-schema": "@gschemaname@",
44 "gettext-domain": "@gettext_domain@",
55 "name": "Places Status Indicator",
6 "description": "Add a menu for quickly navigating places in the system.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
6 "description": "Add a menu for quickly navigating places in the system.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
77 "shell-version": [ "@shell_current@" ],
88 "url": "@url@"
99 }
22 const GLib = imports.gi.GLib;
33 const Gio = imports.gi.Gio;
44 const Shell = imports.gi.Shell;
5 const Lang = imports.lang;
65 const Mainloop = imports.mainloop;
76 const Signals = imports.signals;
87 const St = imports.gi.St;
1615
1716 const Gettext = imports.gettext.domain('gnome-shell-extensions');
1817 const _ = Gettext.gettext;
19 const N_ = function(x) { return x; }
18 const N_ = x => x;
2019
2120 const BACKGROUND_SCHEMA = 'org.gnome.desktop.background';
2221
2726 </node>';
2827 const Hostname1 = Gio.DBusProxy.makeProxyWrapper(Hostname1Iface);
2928
30 const PlaceInfo = new Lang.Class({
31 Name: 'PlaceInfo',
32
33 _init: function(kind, file, name, icon) {
29 class PlaceInfo {
30 constructor() {
31 this._init.apply(this, arguments);
32 }
33
34 _init(kind, file, name, icon) {
3435 this.kind = kind;
3536 this.file = file;
3637 this.name = name || this._getFileName();
3738 this.icon = icon ? new Gio.ThemedIcon({ name: icon }) : this.getIcon();
38 },
39
40 destroy: function() {
41 },
42
43 isRemovable: function() {
39 }
40
41 destroy() {
42 }
43
44 isRemovable() {
4445 return false;
45 },
46
47 _createLaunchCallback: function(launchContext, tryMount) {
46 }
47
48 _createLaunchCallback(launchContext, tryMount) {
4849 return (_ignored, result) => {
4950 try {
5051 Gio.AppInfo.launch_default_for_uri_finish(result);
7778 Main.notifyError(_("Failed to launch “%s”").format(this.name), e.message);
7879 }
7980 }
80 },
81
82 launch: function(timestamp) {
81 }
82
83 launch(timestamp) {
8384 let launchContext = global.create_app_launch_context(timestamp, -1);
8485 let callback = this._createLaunchCallback(launchContext, true);
8586 Gio.AppInfo.launch_default_for_uri_async(this.file.get_uri(),
8687 launchContext,
8788 null,
8889 callback);
89 },
90
91 getIcon: function() {
90 }
91
92 getIcon() {
9293 this.file.query_info_async('standard::symbolic-icon', 0, 0, null,
93 Lang.bind(this, function(file, result) {
94 (file, result) => {
9495 try {
9596 let info = file.query_info_finish(result);
9697 this.icon = info.get_symbolic_icon();
9899 } catch(e if e instanceof Gio.IOErrorEnum) {
99100 return;
100101 }
101 }));
102 });
102103
103104 // return a generic icon for this kind for now, until we have the
104105 // icon from the query info above
115116 else
116117 return new Gio.ThemedIcon({ name: 'folder-symbolic' });
117118 }
118 },
119
120 _getFileName: function() {
119 }
120
121 _getFileName() {
121122 try {
122123 let info = this.file.query_info('standard::display-name', 0, null);
123124 return info.get_display_name();
124125 } catch(e if e instanceof Gio.IOErrorEnum) {
125126 return this.file.get_basename();
126127 }
127 },
128 });
128 }
129 };
129130 Signals.addSignalMethods(PlaceInfo.prototype);
130131
131 const RootInfo = new Lang.Class({
132 Name: 'RootInfo',
133 Extends: PlaceInfo,
134
135 _init: function() {
136 this.parent('devices', Gio.File.new_for_path('/'), _("Computer"));
137
138 this._proxy = new Hostname1(Gio.DBus.system,
139 'org.freedesktop.hostname1',
140 '/org/freedesktop/hostname1',
141 Lang.bind(this, function(obj, error) {
142 if (error)
143 return;
144
145 this._proxy.connect('g-properties-changed',
146 Lang.bind(this, this._propertiesChanged));
147 this._propertiesChanged(obj);
148 }));
149 },
150
151 getIcon: function() {
132 class RootInfo extends PlaceInfo {
133 _init() {
134 super._init('devices', Gio.File.new_for_path('/'), _("Computer"));
135
136 let busName = 'org.freedesktop.hostname1';
137 let objPath = '/org/freedesktop/hostname1';
138 new Hostname1(Gio.DBus.system, busName, objPath, (obj, error) => {
139 if (error)
140 return;
141
142 this._proxy = obj;
143 this._proxy.connect('g-properties-changed',
144 this._propertiesChanged.bind(this));
145 this._propertiesChanged(obj);
146 });
147 }
148
149 getIcon() {
152150 return new Gio.ThemedIcon({ name: 'drive-harddisk-symbolic' });
153 },
154
155 _propertiesChanged: function(proxy) {
151 }
152
153 _propertiesChanged(proxy) {
156154 // GDBusProxy will emit a g-properties-changed when hostname1 goes down
157155 // ignore it
158156 if (proxy.g_name_owner) {
159157 this.name = proxy.PrettyHostname || _("Computer");
160158 this.emit('changed');
161159 }
162 },
163
164 destroy: function() {
165 this._proxy.run_dispose();
166 this.parent();
167 }
168 });
169
170
171 const PlaceDeviceInfo = new Lang.Class({
172 Name: 'PlaceDeviceInfo',
173 Extends: PlaceInfo,
174
175 _init: function(kind, mount) {
160 }
161
162 destroy() {
163 if (this._proxy) {
164 this._proxy.run_dispose();
165 this._proxy = null;
166 }
167 super.destroy();
168 }
169 };
170
171
172 class PlaceDeviceInfo extends PlaceInfo {
173 _init(kind, mount) {
176174 this._mount = mount;
177 this.parent(kind, mount.get_root(), mount.get_name());
178 },
179
180 getIcon: function() {
175 super._init(kind, mount.get_root(), mount.get_name());
176 }
177
178 getIcon() {
181179 return this._mount.get_symbolic_icon();
182180 }
183 });
184
185 const PlaceVolumeInfo = new Lang.Class({
186 Name: 'PlaceVolumeInfo',
187 Extends: PlaceInfo,
188
189 _init: function(kind, volume) {
181
182 isRemovable() {
183 return this._mount.can_eject();
184 }
185
186 eject() {
187 let mountOp = new ShellMountOperation.ShellMountOperation(this._mount);
188
189 if (this._mount.can_eject())
190 this._mount.eject_with_operation(Gio.MountUnmountFlags.NONE,
191 mountOp.mountOp,
192 null, // Gio.Cancellable
193 this._ejectFinish.bind(this));
194 else
195 this._mount.unmount_with_operation(Gio.MountUnmountFlags.NONE,
196 mountOp.mountOp,
197 null, // Gio.Cancellable
198 this._unmountFinish.bind(this));
199 }
200
201 _ejectFinish(mount, result) {
202 try {
203 mount.eject_with_operation_finish(result);
204 } catch(e) {
205 this._reportFailure(e);
206 }
207 }
208
209 _unmountFinish(mount, result) {
210 try {
211 mount.unmount_with_operation_finish(result);
212 } catch(e) {
213 this._reportFailure(e);
214 }
215 }
216
217 _reportFailure(exception) {
218 let msg = _("Ejecting drive “%s” failed:").format(this._mount.get_name());
219 Main.notifyError(msg, exception.message);
220 }
221 };
222
223 class PlaceVolumeInfo extends PlaceInfo {
224 _init(kind, volume) {
190225 this._volume = volume;
191 this.parent(kind, volume.get_activation_root(), volume.get_name());
192 },
193
194 launch: function(timestamp) {
226 super._init(kind, volume.get_activation_root(), volume.get_name());
227 }
228
229 launch(timestamp) {
195230 if (this.file) {
196 this.parent(timestamp);
231 super.launch(timestamp);
197232 return;
198233 }
199234
200 this._volume.mount(0, null, null, Lang.bind(this, function(volume, result) {
235 this._volume.mount(0, null, null, (volume, result) => {
201236 volume.mount_finish(result);
202237
203238 let mount = volume.get_mount();
204239 this.file = mount.get_root();
205 this.parent(timestamp);
206 }));
207 },
208
209 getIcon: function() {
240 super.launch(timestamp);
241 });
242 }
243
244 getIcon() {
210245 return this._volume.get_symbolic_icon();
211246 }
212 });
247 };
213248
214249 const DEFAULT_DIRECTORIES = [
215250 GLib.UserDirectory.DIRECTORY_DOCUMENTS,
219254 GLib.UserDirectory.DIRECTORY_VIDEOS,
220255 ];
221256
222 var PlacesManager = new Lang.Class({
223 Name: 'PlacesManager',
224
225 _init: function() {
257 var PlacesManager = class {
258 constructor() {
226259 this._places = {
227260 special: [],
228261 devices: [],
233266 this._settings = new Gio.Settings({ schema_id: BACKGROUND_SCHEMA });
234267 this._showDesktopIconsChangedId =
235268 this._settings.connect('changed::show-desktop-icons',
236 Lang.bind(this, this._updateSpecials));
269 this._updateSpecials.bind(this));
237270 this._updateSpecials();
238271
239272 /*
249282
250283 if (this._bookmarksFile) {
251284 this._monitor = this._bookmarksFile.monitor_file(Gio.FileMonitorFlags.NONE, null);
252 this._monitor.connect('changed', Lang.bind(this, function () {
285 this._monitor.connect('changed', () => {
253286 if (this._bookmarkTimeoutId > 0)
254287 return;
255288 /* Defensive event compression */
256 this._bookmarkTimeoutId = Mainloop.timeout_add(100, Lang.bind(this, function () {
289 this._bookmarkTimeoutId = Mainloop.timeout_add(100, () => {
257290 this._bookmarkTimeoutId = 0;
258291 this._reloadBookmarks();
259292 return false;
260 }));
261 }));
293 });
294 });
262295
263296 this._reloadBookmarks();
264297 }
265 },
266
267 _connectVolumeMonitorSignals: function() {
298 }
299
300 _connectVolumeMonitorSignals() {
268301 const signals = ['volume-added', 'volume-removed', 'volume-changed',
269302 'mount-added', 'mount-removed', 'mount-changed',
270303 'drive-connected', 'drive-disconnected', 'drive-changed'];
271304
272305 this._volumeMonitorSignals = [];
273 let func = Lang.bind(this, this._updateMounts);
306 let func = this._updateMounts.bind(this);
274307 for (let i = 0; i < signals.length; i++) {
275308 let id = this._volumeMonitor.connect(signals[i], func);
276309 this._volumeMonitorSignals.push(id);
277310 }
278 },
279
280 destroy: function() {
311 }
312
313 destroy() {
281314 if (this._settings)
282315 this._settings.disconnect(this._showDesktopIconsChangedId);
283316 this._settings = null;
289322 this._monitor.cancel();
290323 if (this._bookmarkTimeoutId)
291324 Mainloop.source_remove(this._bookmarkTimeoutId);
292 },
293
294 _updateSpecials: function() {
295 this._places.special.forEach(function (p) { p.destroy(); });
325 }
326
327 _updateSpecials() {
328 this._places.special.forEach(p => { p.destroy(); });
296329 this._places.special = [];
297330
298331 let homePath = GLib.get_home_dir();
322355 specials.push(info);
323356 }
324357
325 specials.sort(function(a, b) {
326 return GLib.utf8_collate(a.name, b.name);
327 });
358 specials.sort((a, b) => GLib.utf8_collate(a.name, b.name));
328359 this._places.special = this._places.special.concat(specials);
329360
330361 this.emit('special-updated');
331 },
332
333 _updateMounts: function() {
362 }
363
364 _updateMounts() {
334365 let networkMounts = [];
335366 let networkVolumes = [];
336367
337 this._places.devices.forEach(function (p) { p.destroy(); });
368 this._places.devices.forEach(p => { p.destroy(); });
338369 this._places.devices = [];
339 this._places.network.forEach(function (p) { p.destroy(); });
370 this._places.network.forEach(p => { p.destroy(); });
340371 this._places.network = [];
341372
342373 /* Add standard places */
411442
412443 this.emit('devices-updated');
413444 this.emit('network-updated');
414 },
415
416 _findBookmarksFile: function() {
445 }
446
447 _findBookmarksFile() {
417448 let paths = [
418449 GLib.build_filenamev([GLib.get_user_config_dir(), 'gtk-3.0', 'bookmarks']),
419450 GLib.build_filenamev([GLib.get_home_dir(), '.gtk-bookmarks']),
425456 }
426457
427458 return null;
428 },
429
430 _reloadBookmarks: function() {
459 }
460
461 _reloadBookmarks() {
431462
432463 this._bookmarks = [];
433464
475506 this._places.bookmarks = bookmarks;
476507
477508 this.emit('bookmarks-updated');
478 },
479
480 _addMount: function(kind, mount) {
509 }
510
511 _addMount(kind, mount) {
481512 let devItem;
482513
483514 try {
487518 }
488519
489520 this._places[kind].push(devItem);
490 },
491
492 _addVolume: function(kind, volume) {
521 }
522
523 _addVolume(kind, volume) {
493524 let volItem;
494525
495526 try {
499530 }
500531
501532 this._places[kind].push(volItem);
502 },
503
504 get: function (kind) {
533 }
534
535 get(kind) {
505536 return this._places[kind];
506537 }
507 });
538 };
508539 Signals.addSignalMethods(PlacesManager.prototype);
+0
-4
extensions/screenshot-window-sizer/Makefile.am less more
0 EXTENSION_ID = screenshot-window-sizer
1
2 include ../../extension.mk
3 include ../../settings.mk
+0
-553
extensions/screenshot-window-sizer/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/screenshot-window-sizer
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk \
156 $(srcdir)/../../settings.mk $(srcdir)/Makefile.in \
157 $(top_srcdir)/include.mk
158 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
159 ACLOCAL = @ACLOCAL@
160 ALL_EXTENSIONS = @ALL_EXTENSIONS@
161 AMTAR = @AMTAR@
162 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
163 AUTOCONF = @AUTOCONF@
164 AUTOHEADER = @AUTOHEADER@
165 AUTOMAKE = @AUTOMAKE@
166 AWK = @AWK@
167 CC = @CC@
168 CCDEPMODE = @CCDEPMODE@
169 CFLAGS = @CFLAGS@
170 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
171 CPP = @CPP@
172 CPPFLAGS = @CPPFLAGS@
173 CYGPATH_W = @CYGPATH_W@
174 DEFS = @DEFS@
175 DEPDIR = @DEPDIR@
176 ECHO_C = @ECHO_C@
177 ECHO_N = @ECHO_N@
178 ECHO_T = @ECHO_T@
179 EGREP = @EGREP@
180 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
181 EXEEXT = @EXEEXT@
182 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
183 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
184 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
185 GMSGFMT = @GMSGFMT@
186 GMSGFMT_015 = @GMSGFMT_015@
187 GREP = @GREP@
188 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
189 INSTALL = @INSTALL@
190 INSTALL_DATA = @INSTALL_DATA@
191 INSTALL_PROGRAM = @INSTALL_PROGRAM@
192 INSTALL_SCRIPT = @INSTALL_SCRIPT@
193 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
194 INTLLIBS = @INTLLIBS@
195 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
196 LDFLAGS = @LDFLAGS@
197 LIBICONV = @LIBICONV@
198 LIBINTL = @LIBINTL@
199 LIBOBJS = @LIBOBJS@
200 LIBS = @LIBS@
201 LTLIBICONV = @LTLIBICONV@
202 LTLIBINTL = @LTLIBINTL@
203 LTLIBOBJS = @LTLIBOBJS@
204 MAKEINFO = @MAKEINFO@
205 MKDIR_P = @MKDIR_P@
206 MSGFMT = @MSGFMT@
207 MSGFMT_015 = @MSGFMT_015@
208 MSGMERGE = @MSGMERGE@
209 OBJEXT = @OBJEXT@
210 PACKAGE = @PACKAGE@
211 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
212 PACKAGE_NAME = @PACKAGE_NAME@
213 PACKAGE_STRING = @PACKAGE_STRING@
214 PACKAGE_TARNAME = @PACKAGE_TARNAME@
215 PACKAGE_URL = @PACKAGE_URL@
216 PACKAGE_VERSION = @PACKAGE_VERSION@
217 PATH_SEPARATOR = @PATH_SEPARATOR@
218 PKG_CONFIG = @PKG_CONFIG@
219 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
220 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
221 POSUB = @POSUB@
222 SASSC = @SASSC@
223 SED = @SED@
224 SET_MAKE = @SET_MAKE@
225 SHELL = @SHELL@
226 SHELL_VERSION = @SHELL_VERSION@
227 STRIP = @STRIP@
228 USE_NLS = @USE_NLS@
229 VERSION = @VERSION@
230 XGETTEXT = @XGETTEXT@
231 XGETTEXT_015 = @XGETTEXT_015@
232 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
233 abs_builddir = @abs_builddir@
234 abs_srcdir = @abs_srcdir@
235 abs_top_builddir = @abs_top_builddir@
236 abs_top_srcdir = @abs_top_srcdir@
237 ac_ct_CC = @ac_ct_CC@
238 am__include = @am__include@
239 am__leading_dot = @am__leading_dot@
240 am__quote = @am__quote@
241 am__tar = @am__tar@
242 am__untar = @am__untar@
243 bindir = @bindir@
244 build = @build@
245 build_alias = @build_alias@
246 build_cpu = @build_cpu@
247 build_os = @build_os@
248 build_vendor = @build_vendor@
249 builddir = @builddir@
250 datadir = @datadir@
251 datarootdir = @datarootdir@
252 docdir = @docdir@
253 dvidir = @dvidir@
254 exec_prefix = @exec_prefix@
255 gsettingsschemadir = @gsettingsschemadir@
256 host = @host@
257 host_alias = @host_alias@
258 host_cpu = @host_cpu@
259 host_os = @host_os@
260 host_vendor = @host_vendor@
261 htmldir = @htmldir@
262 includedir = @includedir@
263 infodir = @infodir@
264 install_sh = @install_sh@
265 libdir = @libdir@
266 libexecdir = @libexecdir@
267 localedir = @localedir@
268 localstatedir = @localstatedir@
269 mandir = @mandir@
270 mkdir_p = @mkdir_p@
271 oldincludedir = @oldincludedir@
272 pdfdir = @pdfdir@
273 prefix = @prefix@
274 program_transform_name = @program_transform_name@
275 psdir = @psdir@
276 sbindir = @sbindir@
277 sharedstatedir = @sharedstatedir@
278 srcdir = @srcdir@
279 sysconfdir = @sysconfdir@
280 target_alias = @target_alias@
281 top_build_prefix = @top_build_prefix@
282 top_builddir = @top_builddir@
283 top_srcdir = @top_srcdir@
284 EXTENSION_ID = screenshot-window-sizer
285 extensionurl = http://git.gnome.org/gnome-shell-extensions
286
287 # Change these to modify how installation is performed
288 topextensiondir = $(datadir)/gnome-shell/extensions
289 extensionbase = @gnome-shell-extensions.gcampax.github.com
290 gschemabase = org.gnome.shell.extensions
291 uuid = $(EXTENSION_ID)$(extensionbase)
292 gschemaname = $(gschemabase).$(EXTENSION_ID)
293 extensiondir = $(topextensiondir)/$(uuid)
294 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
295 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
296 EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS)
297 CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid)
298 gsettings_SCHEMAS = $(gschemaname).gschema.xml
299 all: all-am
300
301 .SUFFIXES:
302 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__configure_deps)
303 @for dep in $?; do \
304 case '$(am__configure_deps)' in \
305 *$$dep*) \
306 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
307 && { if test -f $@; then exit 0; else break; fi; }; \
308 exit 1;; \
309 esac; \
310 done; \
311 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/screenshot-window-sizer/Makefile'; \
312 $(am__cd) $(top_srcdir) && \
313 $(AUTOMAKE) --foreign extensions/screenshot-window-sizer/Makefile
314 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
315 @case '$?' in \
316 *config.status*) \
317 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
318 *) \
319 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
320 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
321 esac;
322 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__empty):
323
324 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
325 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
326
327 $(top_srcdir)/configure: $(am__configure_deps)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
330 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
331 $(am__aclocal_m4_deps):
332 install-dist_extensionDATA: $(dist_extension_DATA)
333 @$(NORMAL_INSTALL)
334 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
335 if test -n "$$list"; then \
336 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
337 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
338 fi; \
339 for p in $$list; do \
340 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
341 echo "$$d$$p"; \
342 done | $(am__base_list) | \
343 while read files; do \
344 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
345 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
346 done
347
348 uninstall-dist_extensionDATA:
349 @$(NORMAL_UNINSTALL)
350 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
351 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
352 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
353 install-nodist_extensionDATA: $(nodist_extension_DATA)
354 @$(NORMAL_INSTALL)
355 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
356 if test -n "$$list"; then \
357 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
358 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
359 fi; \
360 for p in $$list; do \
361 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
362 echo "$$d$$p"; \
363 done | $(am__base_list) | \
364 while read files; do \
365 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
366 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
367 done
368
369 uninstall-nodist_extensionDATA:
370 @$(NORMAL_UNINSTALL)
371 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
372 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
373 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
374 tags TAGS:
375
376 ctags CTAGS:
377
378 cscope cscopelist:
379
380
381 distdir: $(DISTFILES)
382 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
383 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
384 list='$(DISTFILES)'; \
385 dist_files=`for file in $$list; do echo $$file; done | \
386 sed -e "s|^$$srcdirstrip/||;t" \
387 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
388 case $$dist_files in \
389 */*) $(MKDIR_P) `echo "$$dist_files" | \
390 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
391 sort -u` ;; \
392 esac; \
393 for file in $$dist_files; do \
394 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
395 if test -d $$d/$$file; then \
396 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
397 if test -d "$(distdir)/$$file"; then \
398 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
399 fi; \
400 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
401 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
402 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
403 fi; \
404 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
405 else \
406 test -f "$(distdir)/$$file" \
407 || cp -p $$d/$$file "$(distdir)/$$file" \
408 || exit 1; \
409 fi; \
410 done
411 check-am: all-am
412 check: check-am
413 all-am: Makefile $(DATA)
414 installdirs:
415 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
416 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
417 done
418 install: install-am
419 install-exec: install-exec-am
420 install-data: install-data-am
421 uninstall: uninstall-am
422
423 install-am: all-am
424 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
425
426 installcheck: installcheck-am
427 install-strip:
428 if test -z '$(STRIP)'; then \
429 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
430 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
431 install; \
432 else \
433 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
434 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
435 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
436 fi
437 mostlyclean-generic:
438
439 clean-generic:
440 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
441
442 distclean-generic:
443 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
444 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
445
446 maintainer-clean-generic:
447 @echo "This command is intended for maintainers to use"
448 @echo "it deletes files that may require special tools to rebuild."
449 clean: clean-am
450
451 clean-am: clean-generic mostlyclean-am
452
453 distclean: distclean-am
454 -rm -f Makefile
455 distclean-am: clean-am distclean-generic
456
457 dvi: dvi-am
458
459 dvi-am:
460
461 html: html-am
462
463 html-am:
464
465 info: info-am
466
467 info-am:
468
469 install-data-am: install-dist_extensionDATA \
470 install-nodist_extensionDATA
471
472 install-dvi: install-dvi-am
473
474 install-dvi-am:
475
476 install-exec-am:
477
478 install-html: install-html-am
479
480 install-html-am:
481
482 install-info: install-info-am
483
484 install-info-am:
485
486 install-man:
487
488 install-pdf: install-pdf-am
489
490 install-pdf-am:
491
492 install-ps: install-ps-am
493
494 install-ps-am:
495
496 installcheck-am:
497
498 maintainer-clean: maintainer-clean-am
499 -rm -f Makefile
500 maintainer-clean-am: distclean-am maintainer-clean-generic
501
502 mostlyclean: mostlyclean-am
503
504 mostlyclean-am: mostlyclean-generic
505
506 pdf: pdf-am
507
508 pdf-am:
509
510 ps: ps-am
511
512 ps-am:
513
514 uninstall-am: uninstall-dist_extensionDATA \
515 uninstall-nodist_extensionDATA
516
517 .MAKE: install-am install-strip
518
519 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
520 ctags-am distclean distclean-generic distdir dvi dvi-am html \
521 html-am info info-am install install-am install-data \
522 install-data-am install-dist_extensionDATA install-dvi \
523 install-dvi-am install-exec install-exec-am install-html \
524 install-html-am install-info install-info-am install-man \
525 install-nodist_extensionDATA install-pdf install-pdf-am \
526 install-ps install-ps-am install-strip installcheck \
527 installcheck-am installdirs maintainer-clean \
528 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
529 pdf-am ps ps-am tags-am uninstall uninstall-am \
530 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
531
532 .PRECIOUS: Makefile
533
534
535 metadata.json: metadata.json.in $(top_builddir)/config.status
536 $(AM_V_GEN) sed \
537 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
538 -e "s|[@]uuid@|$(uuid)|" \
539 -e "s|[@]gschemaname@|$(gschemaname)|" \
540 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
541 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
542 -e "s|[@]url@|$(extensionurl)|" \
543 $< > $@
544
545 %.desktop:%.desktop.in
546 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
547
548 @GSETTINGS_RULES@
549
550 # Tell versions [3.59,3.63) of GNU make to not export all variables.
551 # Otherwise a system limit (for SysV at least) may be exceeded.
552 .NOEXPORT:
8383
8484 // Double both axes if on a hidpi display
8585 let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
86 let scaledSizes = SIZES.map(function(size) {
87 return size.map(function(wh) {
88 return wh * scaleFactor;
89 });
90 });
86 let scaledSizes = SIZES.map(size => size.map(wh => wh * scaleFactor));
9187
9288 // Find the nearest 16:9 size for the current window size
9389 let nearestIndex;
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml')
+0
-5
extensions/user-theme/Makefile.am less more
0 EXTENSION_ID = user-theme
1
2 include ../../extension.mk
3 include ../../settings.mk
4
+0
-553
extensions/user-theme/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/user-theme
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk \
156 $(srcdir)/../../settings.mk $(srcdir)/Makefile.in \
157 $(top_srcdir)/include.mk
158 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
159 ACLOCAL = @ACLOCAL@
160 ALL_EXTENSIONS = @ALL_EXTENSIONS@
161 AMTAR = @AMTAR@
162 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
163 AUTOCONF = @AUTOCONF@
164 AUTOHEADER = @AUTOHEADER@
165 AUTOMAKE = @AUTOMAKE@
166 AWK = @AWK@
167 CC = @CC@
168 CCDEPMODE = @CCDEPMODE@
169 CFLAGS = @CFLAGS@
170 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
171 CPP = @CPP@
172 CPPFLAGS = @CPPFLAGS@
173 CYGPATH_W = @CYGPATH_W@
174 DEFS = @DEFS@
175 DEPDIR = @DEPDIR@
176 ECHO_C = @ECHO_C@
177 ECHO_N = @ECHO_N@
178 ECHO_T = @ECHO_T@
179 EGREP = @EGREP@
180 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
181 EXEEXT = @EXEEXT@
182 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
183 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
184 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
185 GMSGFMT = @GMSGFMT@
186 GMSGFMT_015 = @GMSGFMT_015@
187 GREP = @GREP@
188 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
189 INSTALL = @INSTALL@
190 INSTALL_DATA = @INSTALL_DATA@
191 INSTALL_PROGRAM = @INSTALL_PROGRAM@
192 INSTALL_SCRIPT = @INSTALL_SCRIPT@
193 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
194 INTLLIBS = @INTLLIBS@
195 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
196 LDFLAGS = @LDFLAGS@
197 LIBICONV = @LIBICONV@
198 LIBINTL = @LIBINTL@
199 LIBOBJS = @LIBOBJS@
200 LIBS = @LIBS@
201 LTLIBICONV = @LTLIBICONV@
202 LTLIBINTL = @LTLIBINTL@
203 LTLIBOBJS = @LTLIBOBJS@
204 MAKEINFO = @MAKEINFO@
205 MKDIR_P = @MKDIR_P@
206 MSGFMT = @MSGFMT@
207 MSGFMT_015 = @MSGFMT_015@
208 MSGMERGE = @MSGMERGE@
209 OBJEXT = @OBJEXT@
210 PACKAGE = @PACKAGE@
211 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
212 PACKAGE_NAME = @PACKAGE_NAME@
213 PACKAGE_STRING = @PACKAGE_STRING@
214 PACKAGE_TARNAME = @PACKAGE_TARNAME@
215 PACKAGE_URL = @PACKAGE_URL@
216 PACKAGE_VERSION = @PACKAGE_VERSION@
217 PATH_SEPARATOR = @PATH_SEPARATOR@
218 PKG_CONFIG = @PKG_CONFIG@
219 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
220 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
221 POSUB = @POSUB@
222 SASSC = @SASSC@
223 SED = @SED@
224 SET_MAKE = @SET_MAKE@
225 SHELL = @SHELL@
226 SHELL_VERSION = @SHELL_VERSION@
227 STRIP = @STRIP@
228 USE_NLS = @USE_NLS@
229 VERSION = @VERSION@
230 XGETTEXT = @XGETTEXT@
231 XGETTEXT_015 = @XGETTEXT_015@
232 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
233 abs_builddir = @abs_builddir@
234 abs_srcdir = @abs_srcdir@
235 abs_top_builddir = @abs_top_builddir@
236 abs_top_srcdir = @abs_top_srcdir@
237 ac_ct_CC = @ac_ct_CC@
238 am__include = @am__include@
239 am__leading_dot = @am__leading_dot@
240 am__quote = @am__quote@
241 am__tar = @am__tar@
242 am__untar = @am__untar@
243 bindir = @bindir@
244 build = @build@
245 build_alias = @build_alias@
246 build_cpu = @build_cpu@
247 build_os = @build_os@
248 build_vendor = @build_vendor@
249 builddir = @builddir@
250 datadir = @datadir@
251 datarootdir = @datarootdir@
252 docdir = @docdir@
253 dvidir = @dvidir@
254 exec_prefix = @exec_prefix@
255 gsettingsschemadir = @gsettingsschemadir@
256 host = @host@
257 host_alias = @host_alias@
258 host_cpu = @host_cpu@
259 host_os = @host_os@
260 host_vendor = @host_vendor@
261 htmldir = @htmldir@
262 includedir = @includedir@
263 infodir = @infodir@
264 install_sh = @install_sh@
265 libdir = @libdir@
266 libexecdir = @libexecdir@
267 localedir = @localedir@
268 localstatedir = @localstatedir@
269 mandir = @mandir@
270 mkdir_p = @mkdir_p@
271 oldincludedir = @oldincludedir@
272 pdfdir = @pdfdir@
273 prefix = @prefix@
274 program_transform_name = @program_transform_name@
275 psdir = @psdir@
276 sbindir = @sbindir@
277 sharedstatedir = @sharedstatedir@
278 srcdir = @srcdir@
279 sysconfdir = @sysconfdir@
280 target_alias = @target_alias@
281 top_build_prefix = @top_build_prefix@
282 top_builddir = @top_builddir@
283 top_srcdir = @top_srcdir@
284 EXTENSION_ID = user-theme
285 extensionurl = http://git.gnome.org/gnome-shell-extensions
286
287 # Change these to modify how installation is performed
288 topextensiondir = $(datadir)/gnome-shell/extensions
289 extensionbase = @gnome-shell-extensions.gcampax.github.com
290 gschemabase = org.gnome.shell.extensions
291 uuid = $(EXTENSION_ID)$(extensionbase)
292 gschemaname = $(gschemabase).$(EXTENSION_ID)
293 extensiondir = $(topextensiondir)/$(uuid)
294 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
295 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
296 EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS)
297 CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid)
298 gsettings_SCHEMAS = $(gschemaname).gschema.xml
299 all: all-am
300
301 .SUFFIXES:
302 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__configure_deps)
303 @for dep in $?; do \
304 case '$(am__configure_deps)' in \
305 *$$dep*) \
306 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
307 && { if test -f $@; then exit 0; else break; fi; }; \
308 exit 1;; \
309 esac; \
310 done; \
311 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/user-theme/Makefile'; \
312 $(am__cd) $(top_srcdir) && \
313 $(AUTOMAKE) --foreign extensions/user-theme/Makefile
314 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
315 @case '$?' in \
316 *config.status*) \
317 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
318 *) \
319 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
320 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
321 esac;
322 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__empty):
323
324 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
325 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
326
327 $(top_srcdir)/configure: $(am__configure_deps)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
330 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
331 $(am__aclocal_m4_deps):
332 install-dist_extensionDATA: $(dist_extension_DATA)
333 @$(NORMAL_INSTALL)
334 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
335 if test -n "$$list"; then \
336 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
337 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
338 fi; \
339 for p in $$list; do \
340 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
341 echo "$$d$$p"; \
342 done | $(am__base_list) | \
343 while read files; do \
344 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
345 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
346 done
347
348 uninstall-dist_extensionDATA:
349 @$(NORMAL_UNINSTALL)
350 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
351 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
352 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
353 install-nodist_extensionDATA: $(nodist_extension_DATA)
354 @$(NORMAL_INSTALL)
355 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
356 if test -n "$$list"; then \
357 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
358 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
359 fi; \
360 for p in $$list; do \
361 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
362 echo "$$d$$p"; \
363 done | $(am__base_list) | \
364 while read files; do \
365 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
366 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
367 done
368
369 uninstall-nodist_extensionDATA:
370 @$(NORMAL_UNINSTALL)
371 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
372 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
373 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
374 tags TAGS:
375
376 ctags CTAGS:
377
378 cscope cscopelist:
379
380
381 distdir: $(DISTFILES)
382 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
383 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
384 list='$(DISTFILES)'; \
385 dist_files=`for file in $$list; do echo $$file; done | \
386 sed -e "s|^$$srcdirstrip/||;t" \
387 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
388 case $$dist_files in \
389 */*) $(MKDIR_P) `echo "$$dist_files" | \
390 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
391 sort -u` ;; \
392 esac; \
393 for file in $$dist_files; do \
394 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
395 if test -d $$d/$$file; then \
396 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
397 if test -d "$(distdir)/$$file"; then \
398 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
399 fi; \
400 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
401 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
402 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
403 fi; \
404 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
405 else \
406 test -f "$(distdir)/$$file" \
407 || cp -p $$d/$$file "$(distdir)/$$file" \
408 || exit 1; \
409 fi; \
410 done
411 check-am: all-am
412 check: check-am
413 all-am: Makefile $(DATA)
414 installdirs:
415 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
416 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
417 done
418 install: install-am
419 install-exec: install-exec-am
420 install-data: install-data-am
421 uninstall: uninstall-am
422
423 install-am: all-am
424 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
425
426 installcheck: installcheck-am
427 install-strip:
428 if test -z '$(STRIP)'; then \
429 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
430 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
431 install; \
432 else \
433 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
434 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
435 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
436 fi
437 mostlyclean-generic:
438
439 clean-generic:
440 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
441
442 distclean-generic:
443 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
444 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
445
446 maintainer-clean-generic:
447 @echo "This command is intended for maintainers to use"
448 @echo "it deletes files that may require special tools to rebuild."
449 clean: clean-am
450
451 clean-am: clean-generic mostlyclean-am
452
453 distclean: distclean-am
454 -rm -f Makefile
455 distclean-am: clean-am distclean-generic
456
457 dvi: dvi-am
458
459 dvi-am:
460
461 html: html-am
462
463 html-am:
464
465 info: info-am
466
467 info-am:
468
469 install-data-am: install-dist_extensionDATA \
470 install-nodist_extensionDATA
471
472 install-dvi: install-dvi-am
473
474 install-dvi-am:
475
476 install-exec-am:
477
478 install-html: install-html-am
479
480 install-html-am:
481
482 install-info: install-info-am
483
484 install-info-am:
485
486 install-man:
487
488 install-pdf: install-pdf-am
489
490 install-pdf-am:
491
492 install-ps: install-ps-am
493
494 install-ps-am:
495
496 installcheck-am:
497
498 maintainer-clean: maintainer-clean-am
499 -rm -f Makefile
500 maintainer-clean-am: distclean-am maintainer-clean-generic
501
502 mostlyclean: mostlyclean-am
503
504 mostlyclean-am: mostlyclean-generic
505
506 pdf: pdf-am
507
508 pdf-am:
509
510 ps: ps-am
511
512 ps-am:
513
514 uninstall-am: uninstall-dist_extensionDATA \
515 uninstall-nodist_extensionDATA
516
517 .MAKE: install-am install-strip
518
519 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
520 ctags-am distclean distclean-generic distdir dvi dvi-am html \
521 html-am info info-am install install-am install-data \
522 install-data-am install-dist_extensionDATA install-dvi \
523 install-dvi-am install-exec install-exec-am install-html \
524 install-html-am install-info install-info-am install-man \
525 install-nodist_extensionDATA install-pdf install-pdf-am \
526 install-ps install-ps-am install-strip installcheck \
527 installcheck-am installdirs maintainer-clean \
528 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
529 pdf-am ps ps-am tags-am uninstall uninstall-am \
530 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
531
532 .PRECIOUS: Makefile
533
534
535 metadata.json: metadata.json.in $(top_builddir)/config.status
536 $(AM_V_GEN) sed \
537 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
538 -e "s|[@]uuid@|$(uuid)|" \
539 -e "s|[@]gschemaname@|$(gschemaname)|" \
540 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
541 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
542 -e "s|[@]url@|$(extensionurl)|" \
543 $< > $@
544
545 %.desktop:%.desktop.in
546 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
547
548 @GSETTINGS_RULES@
549
550 # Tell versions [3.59,3.63) of GNU make to not export all variables.
551 # Otherwise a system limit (for SysV at least) may be exceeded.
552 .NOEXPORT:
22
33 const GLib = imports.gi.GLib;
44 const Gio = imports.gi.Gio;
5 const Lang = imports.lang;
65 const Main = imports.ui.main;
76
87 const SETTINGS_KEY = 'name';
1110 const Me = ExtensionUtils.getCurrentExtension();
1211 const Convenience = Me.imports.convenience;
1312
14 const ThemeManager = new Lang.Class({
15 Name: 'UserTheme.ThemeManager',
13 class ThemeManager {
14 constructor() {
15 this._settings = Convenience.getSettings();
16 }
1617
17 _init: function() {
18 this._settings = Convenience.getSettings();
19 },
18 enable() {
19 this._changedId = this._settings.connect('changed::'+SETTINGS_KEY, this._changeTheme.bind(this));
20 this._changeTheme();
21 }
2022
21 enable: function() {
22 this._changedId = this._settings.connect('changed::'+SETTINGS_KEY, Lang.bind(this, this._changeTheme));
23 this._changeTheme();
24 },
25
26 disable: function() {
23 disable() {
2724 if (this._changedId) {
2825 this._settings.disconnect(this._changedId);
2926 this._changedId = 0;
3128
3229 Main.setThemeStylesheet(null);
3330 Main.loadTheme();
34 },
31 }
3532
36 _changeTheme: function() {
33 _changeTheme() {
3734 let _stylesheet = null;
3835 let _themeName = this._settings.get_string(SETTINGS_KEY);
3936
6360 Main.setThemeStylesheet(_stylesheet);
6461 Main.loadTheme();
6562 }
66 });
63 };
6764
6865 function init() {
6966 return new ThemeManager();
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml')
+0
-10
extensions/window-list/Makefile.am less more
0 EXTENSION_ID = window-list
1
2 EXTRA_MODULES = prefs.js
3
4 if CLASSIC_MODE
5 EXTRA_MODULES += classic.css
6 endif
7
8 include ../../extension.mk
9 include ../../settings.mk
+0
-557
extensions/window-list/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 @CLASSIC_MODE_TRUE@am__append_1 = classic.css
91 subdir = extensions/window-list
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
94 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
95 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
96 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
97 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
98 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 $(ACLOCAL_M4)
101 DIST_COMMON = $(srcdir)/Makefile.am $(am__dist_extension_DATA_DIST) \
102 $(am__DIST_COMMON)
103 mkinstalldirs = $(install_sh) -d
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 AM_V_P = $(am__v_P_@AM_V@)
107 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
108 am__v_P_0 = false
109 am__v_P_1 = :
110 AM_V_GEN = $(am__v_GEN_@AM_V@)
111 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
112 am__v_GEN_0 = @echo " GEN " $@;
113 am__v_GEN_1 =
114 AM_V_at = $(am__v_at_@AM_V@)
115 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
116 am__v_at_0 = @
117 am__v_at_1 =
118 SOURCES =
119 DIST_SOURCES =
120 am__can_run_installinfo = \
121 case $$AM_UPDATE_INFO_DIR in \
122 n|no|NO) false;; \
123 *) (install-info --version) >/dev/null 2>&1;; \
124 esac
125 am__dist_extension_DATA_DIST = extension.js stylesheet.css prefs.js \
126 classic.css
127 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
128 am__vpath_adj = case $$p in \
129 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
130 *) f=$$p;; \
131 esac;
132 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
133 am__install_max = 40
134 am__nobase_strip_setup = \
135 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
136 am__nobase_strip = \
137 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
138 am__nobase_list = $(am__nobase_strip_setup); \
139 for p in $$list; do echo "$$p $$p"; done | \
140 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
141 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
142 if (++n[$$2] == $(am__install_max)) \
143 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
144 END { for (dir in files) print dir, files[dir] }'
145 am__base_list = \
146 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
147 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
148 am__uninstall_files_from_dir = { \
149 test -z "$$files" \
150 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
151 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
152 $(am__cd) "$$dir" && rm -f $$files; }; \
153 }
154 am__installdirs = "$(DESTDIR)$(extensiondir)" \
155 "$(DESTDIR)$(extensiondir)"
156 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
157 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
158 am__DIST_COMMON = $(srcdir)/../../extension.mk \
159 $(srcdir)/../../settings.mk $(srcdir)/Makefile.in \
160 $(top_srcdir)/include.mk
161 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
162 ACLOCAL = @ACLOCAL@
163 ALL_EXTENSIONS = @ALL_EXTENSIONS@
164 AMTAR = @AMTAR@
165 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
166 AUTOCONF = @AUTOCONF@
167 AUTOHEADER = @AUTOHEADER@
168 AUTOMAKE = @AUTOMAKE@
169 AWK = @AWK@
170 CC = @CC@
171 CCDEPMODE = @CCDEPMODE@
172 CFLAGS = @CFLAGS@
173 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
174 CPP = @CPP@
175 CPPFLAGS = @CPPFLAGS@
176 CYGPATH_W = @CYGPATH_W@
177 DEFS = @DEFS@
178 DEPDIR = @DEPDIR@
179 ECHO_C = @ECHO_C@
180 ECHO_N = @ECHO_N@
181 ECHO_T = @ECHO_T@
182 EGREP = @EGREP@
183 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
184 EXEEXT = @EXEEXT@
185 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
186 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
187 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
188 GMSGFMT = @GMSGFMT@
189 GMSGFMT_015 = @GMSGFMT_015@
190 GREP = @GREP@
191 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
192 INSTALL = @INSTALL@
193 INSTALL_DATA = @INSTALL_DATA@
194 INSTALL_PROGRAM = @INSTALL_PROGRAM@
195 INSTALL_SCRIPT = @INSTALL_SCRIPT@
196 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
197 INTLLIBS = @INTLLIBS@
198 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
199 LDFLAGS = @LDFLAGS@
200 LIBICONV = @LIBICONV@
201 LIBINTL = @LIBINTL@
202 LIBOBJS = @LIBOBJS@
203 LIBS = @LIBS@
204 LTLIBICONV = @LTLIBICONV@
205 LTLIBINTL = @LTLIBINTL@
206 LTLIBOBJS = @LTLIBOBJS@
207 MAKEINFO = @MAKEINFO@
208 MKDIR_P = @MKDIR_P@
209 MSGFMT = @MSGFMT@
210 MSGFMT_015 = @MSGFMT_015@
211 MSGMERGE = @MSGMERGE@
212 OBJEXT = @OBJEXT@
213 PACKAGE = @PACKAGE@
214 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
215 PACKAGE_NAME = @PACKAGE_NAME@
216 PACKAGE_STRING = @PACKAGE_STRING@
217 PACKAGE_TARNAME = @PACKAGE_TARNAME@
218 PACKAGE_URL = @PACKAGE_URL@
219 PACKAGE_VERSION = @PACKAGE_VERSION@
220 PATH_SEPARATOR = @PATH_SEPARATOR@
221 PKG_CONFIG = @PKG_CONFIG@
222 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
223 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
224 POSUB = @POSUB@
225 SASSC = @SASSC@
226 SED = @SED@
227 SET_MAKE = @SET_MAKE@
228 SHELL = @SHELL@
229 SHELL_VERSION = @SHELL_VERSION@
230 STRIP = @STRIP@
231 USE_NLS = @USE_NLS@
232 VERSION = @VERSION@
233 XGETTEXT = @XGETTEXT@
234 XGETTEXT_015 = @XGETTEXT_015@
235 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
236 abs_builddir = @abs_builddir@
237 abs_srcdir = @abs_srcdir@
238 abs_top_builddir = @abs_top_builddir@
239 abs_top_srcdir = @abs_top_srcdir@
240 ac_ct_CC = @ac_ct_CC@
241 am__include = @am__include@
242 am__leading_dot = @am__leading_dot@
243 am__quote = @am__quote@
244 am__tar = @am__tar@
245 am__untar = @am__untar@
246 bindir = @bindir@
247 build = @build@
248 build_alias = @build_alias@
249 build_cpu = @build_cpu@
250 build_os = @build_os@
251 build_vendor = @build_vendor@
252 builddir = @builddir@
253 datadir = @datadir@
254 datarootdir = @datarootdir@
255 docdir = @docdir@
256 dvidir = @dvidir@
257 exec_prefix = @exec_prefix@
258 gsettingsschemadir = @gsettingsschemadir@
259 host = @host@
260 host_alias = @host_alias@
261 host_cpu = @host_cpu@
262 host_os = @host_os@
263 host_vendor = @host_vendor@
264 htmldir = @htmldir@
265 includedir = @includedir@
266 infodir = @infodir@
267 install_sh = @install_sh@
268 libdir = @libdir@
269 libexecdir = @libexecdir@
270 localedir = @localedir@
271 localstatedir = @localstatedir@
272 mandir = @mandir@
273 mkdir_p = @mkdir_p@
274 oldincludedir = @oldincludedir@
275 pdfdir = @pdfdir@
276 prefix = @prefix@
277 program_transform_name = @program_transform_name@
278 psdir = @psdir@
279 sbindir = @sbindir@
280 sharedstatedir = @sharedstatedir@
281 srcdir = @srcdir@
282 sysconfdir = @sysconfdir@
283 target_alias = @target_alias@
284 top_build_prefix = @top_build_prefix@
285 top_builddir = @top_builddir@
286 top_srcdir = @top_srcdir@
287 EXTENSION_ID = window-list
288 EXTRA_MODULES = prefs.js $(am__append_1)
289 extensionurl = http://git.gnome.org/gnome-shell-extensions
290
291 # Change these to modify how installation is performed
292 topextensiondir = $(datadir)/gnome-shell/extensions
293 extensionbase = @gnome-shell-extensions.gcampax.github.com
294 gschemabase = org.gnome.shell.extensions
295 uuid = $(EXTENSION_ID)$(extensionbase)
296 gschemaname = $(gschemabase).$(EXTENSION_ID)
297 extensiondir = $(topextensiondir)/$(uuid)
298 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
299 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
300 EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS)
301 CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid)
302 gsettings_SCHEMAS = $(gschemaname).gschema.xml
303 all: all-am
304
305 .SUFFIXES:
306 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__configure_deps)
307 @for dep in $?; do \
308 case '$(am__configure_deps)' in \
309 *$$dep*) \
310 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
311 && { if test -f $@; then exit 0; else break; fi; }; \
312 exit 1;; \
313 esac; \
314 done; \
315 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/window-list/Makefile'; \
316 $(am__cd) $(top_srcdir) && \
317 $(AUTOMAKE) --foreign extensions/window-list/Makefile
318 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
319 @case '$?' in \
320 *config.status*) \
321 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
322 *) \
323 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
324 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
325 esac;
326 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(srcdir)/../../settings.mk $(am__empty):
327
328 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
329 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
330
331 $(top_srcdir)/configure: $(am__configure_deps)
332 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
333 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
334 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
335 $(am__aclocal_m4_deps):
336 install-dist_extensionDATA: $(dist_extension_DATA)
337 @$(NORMAL_INSTALL)
338 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
339 if test -n "$$list"; then \
340 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
341 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
342 fi; \
343 for p in $$list; do \
344 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
345 echo "$$d$$p"; \
346 done | $(am__base_list) | \
347 while read files; do \
348 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
349 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
350 done
351
352 uninstall-dist_extensionDATA:
353 @$(NORMAL_UNINSTALL)
354 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
355 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
356 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
357 install-nodist_extensionDATA: $(nodist_extension_DATA)
358 @$(NORMAL_INSTALL)
359 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
360 if test -n "$$list"; then \
361 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
362 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
363 fi; \
364 for p in $$list; do \
365 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
366 echo "$$d$$p"; \
367 done | $(am__base_list) | \
368 while read files; do \
369 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
370 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
371 done
372
373 uninstall-nodist_extensionDATA:
374 @$(NORMAL_UNINSTALL)
375 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
376 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
377 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
378 tags TAGS:
379
380 ctags CTAGS:
381
382 cscope cscopelist:
383
384
385 distdir: $(DISTFILES)
386 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
387 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
388 list='$(DISTFILES)'; \
389 dist_files=`for file in $$list; do echo $$file; done | \
390 sed -e "s|^$$srcdirstrip/||;t" \
391 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
392 case $$dist_files in \
393 */*) $(MKDIR_P) `echo "$$dist_files" | \
394 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
395 sort -u` ;; \
396 esac; \
397 for file in $$dist_files; do \
398 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
399 if test -d $$d/$$file; then \
400 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
401 if test -d "$(distdir)/$$file"; then \
402 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
403 fi; \
404 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
405 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
406 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
407 fi; \
408 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
409 else \
410 test -f "$(distdir)/$$file" \
411 || cp -p $$d/$$file "$(distdir)/$$file" \
412 || exit 1; \
413 fi; \
414 done
415 check-am: all-am
416 check: check-am
417 all-am: Makefile $(DATA)
418 installdirs:
419 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
420 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
421 done
422 install: install-am
423 install-exec: install-exec-am
424 install-data: install-data-am
425 uninstall: uninstall-am
426
427 install-am: all-am
428 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
429
430 installcheck: installcheck-am
431 install-strip:
432 if test -z '$(STRIP)'; then \
433 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
434 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
435 install; \
436 else \
437 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
438 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
439 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
440 fi
441 mostlyclean-generic:
442
443 clean-generic:
444 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
445
446 distclean-generic:
447 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
448 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
449
450 maintainer-clean-generic:
451 @echo "This command is intended for maintainers to use"
452 @echo "it deletes files that may require special tools to rebuild."
453 clean: clean-am
454
455 clean-am: clean-generic mostlyclean-am
456
457 distclean: distclean-am
458 -rm -f Makefile
459 distclean-am: clean-am distclean-generic
460
461 dvi: dvi-am
462
463 dvi-am:
464
465 html: html-am
466
467 html-am:
468
469 info: info-am
470
471 info-am:
472
473 install-data-am: install-dist_extensionDATA \
474 install-nodist_extensionDATA
475
476 install-dvi: install-dvi-am
477
478 install-dvi-am:
479
480 install-exec-am:
481
482 install-html: install-html-am
483
484 install-html-am:
485
486 install-info: install-info-am
487
488 install-info-am:
489
490 install-man:
491
492 install-pdf: install-pdf-am
493
494 install-pdf-am:
495
496 install-ps: install-ps-am
497
498 install-ps-am:
499
500 installcheck-am:
501
502 maintainer-clean: maintainer-clean-am
503 -rm -f Makefile
504 maintainer-clean-am: distclean-am maintainer-clean-generic
505
506 mostlyclean: mostlyclean-am
507
508 mostlyclean-am: mostlyclean-generic
509
510 pdf: pdf-am
511
512 pdf-am:
513
514 ps: ps-am
515
516 ps-am:
517
518 uninstall-am: uninstall-dist_extensionDATA \
519 uninstall-nodist_extensionDATA
520
521 .MAKE: install-am install-strip
522
523 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
524 ctags-am distclean distclean-generic distdir dvi dvi-am html \
525 html-am info info-am install install-am install-data \
526 install-data-am install-dist_extensionDATA install-dvi \
527 install-dvi-am install-exec install-exec-am install-html \
528 install-html-am install-info install-info-am install-man \
529 install-nodist_extensionDATA install-pdf install-pdf-am \
530 install-ps install-ps-am install-strip installcheck \
531 installcheck-am installdirs maintainer-clean \
532 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
533 pdf-am ps ps-am tags-am uninstall uninstall-am \
534 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
535
536 .PRECIOUS: Makefile
537
538
539 metadata.json: metadata.json.in $(top_builddir)/config.status
540 $(AM_V_GEN) sed \
541 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
542 -e "s|[@]uuid@|$(uuid)|" \
543 -e "s|[@]gschemaname@|$(gschemaname)|" \
544 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
545 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
546 -e "s|[@]url@|$(extensionurl)|" \
547 $< > $@
548
549 %.desktop:%.desktop.in
550 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
551
552 @GSETTINGS_RULES@
553
554 # Tell versions [3.59,3.63) of GNU make to not export all variables.
555 # Otherwise a system limit (for SysV at least) may be exceeded.
556 .NOEXPORT:
66 const St = imports.gi.St;
77
88 const DND = imports.ui.dnd;
9 const Lang = imports.lang;
109 const Main = imports.ui.main;
1110 const PanelMenu = imports.ui.panelMenu;
1211 const PopupMenu = imports.ui.popupMenu;
5655 }
5756
5857 function _getAppStableSequence(app) {
59 let windows = app.get_windows().filter(function(w) { return !w.skip_taskbar; });
60 return windows.reduce(function(prev, cur) {
58 let windows = app.get_windows().filter(w => !w.skip_taskbar);
59 return windows.reduce((prev, cur) => {
6160 return Math.min(prev, cur.get_stable_sequence());
6261 }, Infinity);
6362 }
6463
6564
66 const WindowContextMenu = new Lang.Class({
67 Name: 'WindowContextMenu',
68 Extends: PopupMenu.PopupMenu,
69
70 _init: function(source, metaWindow) {
71 this.parent(source, 0.5, St.Side.BOTTOM);
65 class WindowContextMenu extends PopupMenu.PopupMenu {
66 constructor(source, metaWindow) {
67 super(source, 0.5, St.Side.BOTTOM);
7268
7369 this._metaWindow = metaWindow;
7470
7571 this._minimizeItem = new PopupMenu.PopupMenuItem('');
76 this._minimizeItem.connect('activate', Lang.bind(this, function() {
72 this._minimizeItem.connect('activate', () => {
7773 if (this._metaWindow.minimized)
7874 this._metaWindow.unminimize();
7975 else
8076 this._metaWindow.minimize();
81 }));
77 });
8278 this.addMenuItem(this._minimizeItem);
8379
8480 this._notifyMinimizedId =
8581 this._metaWindow.connect('notify::minimized',
86 Lang.bind(this, this._updateMinimizeItem));
82 this._updateMinimizeItem.bind(this));
8783 this._updateMinimizeItem();
8884
8985 this._maximizeItem = new PopupMenu.PopupMenuItem('');
90 this._maximizeItem.connect('activate', Lang.bind(this, function() {
86 this._maximizeItem.connect('activate', () => {
9187 if (this._metaWindow.maximized_vertically &&
9288 this._metaWindow.maximized_horizontally)
9389 this._metaWindow.unmaximize(Meta.MaximizeFlags.HORIZONTAL |
9591 else
9692 this._metaWindow.maximize(Meta.MaximizeFlags.HORIZONTAL |
9793 Meta.MaximizeFlags.VERTICAL);
98 }));
94 });
9995 this.addMenuItem(this._maximizeItem);
10096
10197 this._notifyMaximizedHId =
10298 this._metaWindow.connect('notify::maximized-horizontally',
103 Lang.bind(this, this._updateMaximizeItem));
99 this._updateMaximizeItem.bind(this));
104100 this._notifyMaximizedVId =
105101 this._metaWindow.connect('notify::maximized-vertically',
106 Lang.bind(this, this._updateMaximizeItem));
102 this._updateMaximizeItem.bind(this));
107103 this._updateMaximizeItem();
108104
109105 this._closeItem = new PopupMenu.PopupMenuItem(_("Close"));
110 this._closeItem.connect('activate', Lang.bind(this, function() {
106 this._closeItem.connect('activate', () => {
111107 this._metaWindow.delete(global.get_current_time());
112 }));
108 });
113109 this.addMenuItem(this._closeItem);
114110
115 this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
111 this.actor.connect('destroy', this._onDestroy.bind(this));
116112
117113 this.connect('open-state-changed', () => {
118114 if (!this.isOpen)
122118 this._maximizeItem.setSensitive(this._metaWindow.can_maximize());
123119 this._closeItem.setSensitive(this._metaWindow.can_close());
124120 });
125 },
126
127 _updateMinimizeItem: function() {
121 }
122
123 _updateMinimizeItem() {
128124 this._minimizeItem.label.text = this._metaWindow.minimized ? _("Unminimize")
129125 : _("Minimize");
130 },
131
132 _updateMaximizeItem: function() {
126 }
127
128 _updateMaximizeItem() {
133129 let maximized = this._metaWindow.maximized_vertically &&
134130 this._metaWindow.maximized_horizontally;
135131 this._maximizeItem.label.text = maximized ? _("Unmaximize")
136132 : _("Maximize");
137 },
138
139 _onDestroy: function() {
133 }
134
135 _onDestroy() {
140136 this._metaWindow.disconnect(this._notifyMinimizedId);
141137 this._metaWindow.disconnect(this._notifyMaximizedHId);
142138 this._metaWindow.disconnect(this._notifyMaximizedVId);
143139 }
144 });
145
146 const WindowTitle = new Lang.Class({
147 Name: 'WindowTitle',
148
149 _init: function(metaWindow) {
140 };
141
142 class WindowTitle {
143 constructor(metaWindow) {
150144 this._metaWindow = metaWindow;
151145 this.actor = new St.BoxLayout({ style_class: 'window-button-box',
152146 x_expand: true, y_expand: true });
159153 this._textureCache = St.TextureCache.get_default();
160154 this._iconThemeChangedId =
161155 this._textureCache.connect('icon-theme-changed',
162 Lang.bind(this, this._updateIcon));
156 this._updateIcon.bind(this));
163157 this._notifyWmClass =
164 this._metaWindow.connect('notify::wm-class',
165 Lang.bind(this, this._updateIcon));
158 this._metaWindow.connect_after('notify::wm-class',
159 this._updateIcon.bind(this));
166160 this._notifyAppId =
167 this._metaWindow.connect('notify::gtk-application-id',
168 Lang.bind(this, this._updateIcon));
161 this._metaWindow.connect_after('notify::gtk-application-id',
162 this._updateIcon.bind(this));
169163 this._updateIcon();
170164
171 this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
165 this.actor.connect('destroy', this._onDestroy.bind(this));
172166
173167 this._notifyTitleId =
174168 this._metaWindow.connect('notify::title',
175 Lang.bind(this, this._updateTitle));
169 this._updateTitle.bind(this));
176170 this._notifyMinimizedId =
177171 this._metaWindow.connect('notify::minimized',
178 Lang.bind(this, this._minimizedChanged));
172 this._minimizedChanged.bind(this));
179173 this._minimizedChanged();
180 },
181
182 _minimizedChanged: function() {
174 }
175
176 _minimizedChanged() {
183177 this._icon.opacity = this._metaWindow.minimized ? 128 : 255;
184178 this._updateTitle();
185 },
186
187 _updateTitle: function() {
179 }
180
181 _updateTitle() {
188182 if (!this._metaWindow.title)
189183 return;
190184
192186 this.label_actor.text = '[%s]'.format(this._metaWindow.title);
193187 else
194188 this.label_actor.text = this._metaWindow.title;
195 },
196
197 _updateIcon: function() {
189 }
190
191 _updateIcon() {
198192 let app = Shell.WindowTracker.get_default().get_window_app(this._metaWindow);
199193 if (app)
200194 this._icon.child = app.create_icon_texture(ICON_TEXTURE_SIZE);
201195 else
202196 this._icon.child = new St.Icon({ icon_name: 'icon-missing',
203197 icon_size: ICON_TEXTURE_SIZE });
204 },
205
206 _onDestroy: function() {
198 }
199
200 _onDestroy() {
207201 this._textureCache.disconnect(this._iconThemeChangedId);
208202 this._metaWindow.disconnect(this._notifyTitleId);
209203 this._metaWindow.disconnect(this._notifyMinimizedId);
210204 this._metaWindow.disconnect(this._notifyWmClass);
211205 this._metaWindow.disconnect(this._notifyAppId);
212206 }
213 });
214
215
216 const BaseButton = new Lang.Class({
217 Name: 'BaseButton',
218 Abstract: true,
219
220 _init: function(perMonitor, monitorIndex) {
207 };
208
209
210 class BaseButton {
211 constructor(perMonitor, monitorIndex) {
212 if (this.constructor === BaseButton)
213 throw new TypeError('Cannot instantiate abstract class BaseButton');
214
221215 this._perMonitor = perMonitor;
222216 this._monitorIndex = monitorIndex;
223217
230224 this.actor._delegate = this;
231225
232226 this.actor.connect('allocation-changed',
233 Lang.bind(this, this._updateIconGeometry));
234 this.actor.connect('clicked', Lang.bind(this, this._onClicked));
235 this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
236 this.actor.connect('popup-menu', Lang.bind(this, this._onPopupMenu));
227 this._updateIconGeometry.bind(this));
228 this.actor.connect('clicked', this._onClicked.bind(this));
229 this.actor.connect('destroy', this._onDestroy.bind(this));
230 this.actor.connect('popup-menu', this._onPopupMenu.bind(this));
237231
238232 this._contextMenuManager = new PopupMenu.PopupMenuManager(this);
239233
240234 this._switchWorkspaceId =
241235 global.window_manager.connect('switch-workspace',
242 Lang.bind(this, this._updateVisibility));
236 this._updateVisibility.bind(this));
243237
244238 if (this._perMonitor) {
245239 this._windowEnteredMonitorId =
246240 global.screen.connect('window-entered-monitor',
247 Lang.bind(this, this._windowEnteredOrLeftMonitor));
241 this._windowEnteredOrLeftMonitor.bind(this));
248242 this._windowLeftMonitorId =
249243 global.screen.connect('window-left-monitor',
250 Lang.bind(this, this._windowEnteredOrLeftMonitor));
251 }
252 },
244 this._windowEnteredOrLeftMonitor.bind(this));
245 }
246 }
253247
254248 get active() {
255249 return this.actor.has_style_class_name('focused');
256 },
257
258 activate: function() {
250 }
251
252 activate() {
259253 if (this.active)
260254 return;
261255
262256 this._onClicked(this.actor, 1);
263 },
264
265 _onClicked: function(actor, button) {
257 }
258
259 _onClicked(actor, button) {
266260 throw new Error('Not implemented');
267 },
268
269 _canOpenPopupMenu: function() {
261 }
262
263 _canOpenPopupMenu() {
270264 return true;
271 },
272
273 _onPopupMenu: function(actor) {
265 }
266
267 _onPopupMenu(actor) {
274268 if (!this._canOpenPopupMenu() || this._contextMenu.isOpen)
275269 return;
276270 _openMenu(this._contextMenu);
277 },
278
279 _isFocused: function() {
271 }
272
273 _isFocused() {
280274 throw new Error('Not implemented');
281 },
282
283 _updateStyle: function() {
275 }
276
277 _updateStyle() {
284278 if (this._isFocused())
285279 this.actor.add_style_class_name('focused');
286280 else
287281 this.actor.remove_style_class_name('focused');
288 },
289
290 _windowEnteredOrLeftMonitor: function(metaScreen, monitorIndex, metaWindow) {
282 }
283
284 _windowEnteredOrLeftMonitor(metaScreen, monitorIndex, metaWindow) {
291285 throw new Error('Not implemented');
292 },
293
294 _isWindowVisible: function(window) {
286 }
287
288 _isWindowVisible(window) {
295289 let workspace = global.screen.get_active_workspace();
296290
297291 return !window.skip_taskbar &&
298292 window.located_on_workspace(workspace) &&
299293 (!this._perMonitor || window.get_monitor() == this._monitorIndex);
300 },
301
302 _updateVisibility: function() {
294 }
295
296 _updateVisibility() {
303297 throw new Error('Not implemented');
304 },
305
306 _getIconGeometry: function() {
298 }
299
300 _getIconGeometry() {
307301 let rect = new Meta.Rectangle();
308302
309303 [rect.x, rect.y] = this.actor.get_transformed_position();
310304 [rect.width, rect.height] = this.actor.get_transformed_size();
311305
312306 return rect;
313 },
314
315 _updateIconGeometry: function() {
307 }
308
309 _updateIconGeometry() {
316310 throw new Error('Not implemented');
317 },
318
319 _onDestroy: function() {
311 }
312
313 _onDestroy() {
320314 global.window_manager.disconnect(this._switchWorkspaceId);
321315
322316 if (this._windowEnteredMonitorId)
327321 global.screen.disconnect(this._windowLeftMonitorId);
328322 this._windowLeftMonitorId = 0;
329323 }
330 });
331
332
333 const WindowButton = new Lang.Class({
334 Name: 'WindowButton',
335 Extends: BaseButton,
336
337 _init: function(metaWindow, perMonitor, monitorIndex) {
338 this.parent(perMonitor, monitorIndex);
324 };
325
326
327 class WindowButton extends BaseButton {
328 constructor(metaWindow, perMonitor, monitorIndex) {
329 super(perMonitor, monitorIndex);
339330
340331 this.metaWindow = metaWindow;
341332 this._updateVisibility();
352343
353344 this._workspaceChangedId =
354345 this.metaWindow.connect('workspace-changed',
355 Lang.bind(this, this._updateVisibility));
346 this._updateVisibility.bind(this));
356347
357348 this._notifyFocusId =
358349 global.display.connect('notify::focus-window',
359 Lang.bind(this, this._updateStyle));
350 this._updateStyle.bind(this));
360351 this._updateStyle();
361 },
362
363 _onClicked: function(actor, button) {
352 }
353
354 _onClicked(actor, button) {
364355 if (this._contextMenu.isOpen) {
365356 this._contextMenu.close();
366357 return;
370361 _minimizeOrActivateWindow(this.metaWindow);
371362 else
372363 _openMenu(this._contextMenu);
373 },
374
375 _isFocused: function() {
364 }
365
366 _isFocused() {
376367 return global.display.focus_window == this.metaWindow;
377 },
378
379 _updateStyle: function() {
380 this.parent();
368 }
369
370 _updateStyle() {
371 super._updateStyle();
381372
382373 if (this.metaWindow.minimized)
383374 this.actor.add_style_class_name('minimized');
384375 else
385376 this.actor.remove_style_class_name('minimized');
386 },
387
388 _windowEnteredOrLeftMonitor: function(metaScreen, monitorIndex, metaWindow) {
377 }
378
379 _windowEnteredOrLeftMonitor(metaScreen, monitorIndex, metaWindow) {
389380 if (monitorIndex == this._monitorIndex && metaWindow == this.metaWindow)
390381 this._updateVisibility();
391 },
392
393 _updateVisibility: function() {
382 }
383
384 _updateVisibility() {
394385 this.actor.visible = this._isWindowVisible(this.metaWindow);
395 },
396
397 _updateIconGeometry: function() {
386 }
387
388 _updateIconGeometry() {
398389 this.metaWindow.set_icon_geometry(this._getIconGeometry());
399 },
400
401 _onDestroy: function() {
402 this.parent();
390 }
391
392 _onDestroy() {
393 super._onDestroy();
403394 this.metaWindow.disconnect(this._workspaceChangedId);
404395 global.display.disconnect(this._notifyFocusId);
405396 this._contextMenu.destroy();
406397 }
407 });
408
409
410 const AppContextMenu = new Lang.Class({
411 Name: 'AppContextMenu',
412 Extends: PopupMenu.PopupMenu,
413
414 _init: function(source, appButton) {
415 this.parent(source, 0.5, St.Side.BOTTOM);
398 };
399
400
401 class AppContextMenu extends PopupMenu.PopupMenu {
402 constructor(source, appButton) {
403 super(source, 0.5, St.Side.BOTTOM);
416404
417405 this._appButton = appButton;
418406
419407 this._minimizeItem = new PopupMenu.PopupMenuItem(_("Minimize all"));
420 this._minimizeItem.connect('activate', Lang.bind(this, function() {
421 this._appButton.getWindowList().forEach(function(w) {
422 w.minimize();
423 });
424 }));
408 this._minimizeItem.connect('activate', () => {
409 this._appButton.getWindowList().forEach(w => { w.minimize(); });
410 });
425411 this.addMenuItem(this._minimizeItem);
426412
427413 this._unminimizeItem = new PopupMenu.PopupMenuItem(_("Unminimize all"));
428 this._unminimizeItem.connect('activate', Lang.bind(this, function() {
429 this._appButton.getWindowList().forEach(function(w) {
430 w.unminimize();
431 });
432 }));
414 this._unminimizeItem.connect('activate', () => {
415 this._appButton.getWindowList().forEach(w => { w.unminimize(); });
416 });
433417 this.addMenuItem(this._unminimizeItem);
434418
435419 this._maximizeItem = new PopupMenu.PopupMenuItem(_("Maximize all"));
436 this._maximizeItem.connect('activate', Lang.bind(this, function() {
437 this._appButton.getWindowList().forEach(function(w) {
420 this._maximizeItem.connect('activate', () => {
421 this._appButton.getWindowList().forEach(w => {
438422 w.maximize(Meta.MaximizeFlags.HORIZONTAL |
439423 Meta.MaximizeFlags.VERTICAL);
440424 });
441 }));
425 });
442426 this.addMenuItem(this._maximizeItem);
443427
444428 this._unmaximizeItem = new PopupMenu.PopupMenuItem(_("Unmaximize all"));
445 this._unmaximizeItem.connect('activate', Lang.bind(this, function() {
446 this._appButton.getWindowList().forEach(function(w) {
429 this._unmaximizeItem.connect('activate', () => {
430 this._appButton.getWindowList().forEach(w => {
447431 w.unmaximize(Meta.MaximizeFlags.HORIZONTAL |
448432 Meta.MaximizeFlags.VERTICAL);
449433 });
450 }));
434 });
451435 this.addMenuItem(this._unmaximizeItem);
452436
453437 let item = new PopupMenu.PopupMenuItem(_("Close all"));
454 item.connect('activate', Lang.bind(this, function() {
455 this._appButton.getWindowList().forEach(function(w) {
438 item.connect('activate', () => {
439 this._appButton.getWindowList().forEach(w => {
456440 w.delete(global.get_current_time());
457441 });
458 }));
442 });
459443 this.addMenuItem(item);
460 },
461
462 open: function(animate) {
444 }
445
446 open(animate) {
463447 let windows = this._appButton.getWindowList();
464 this._minimizeItem.actor.visible = windows.some(function(w) {
465 return !w.minimized;
466 });
467 this._unminimizeItem.actor.visible = windows.some(function(w) {
468 return w.minimized;
469 });
470 this._maximizeItem.actor.visible = windows.some(function(w) {
448 this._minimizeItem.actor.visible = windows.some(w => !w.minimized);
449 this._unminimizeItem.actor.visible = windows.some(w => w.minimized);
450 this._maximizeItem.actor.visible = windows.some(w => {
471451 return !(w.maximized_horizontally && w.maximized_vertically);
472452 });
473 this._unmaximizeItem.actor.visible = windows.some(function(w) {
453 this._unmaximizeItem.actor.visible = windows.some(w => {
474454 return w.maximized_horizontally && w.maximized_vertically;
475455 });
476456
477 this.parent(animate);
478 }
479 });
480
481 const AppButton = new Lang.Class({
482 Name: 'AppButton',
483 Extends: BaseButton,
484
485 _init: function(app, perMonitor, monitorIndex) {
486 this.parent(perMonitor, monitorIndex);
457 super.open(animate);
458 }
459 };
460
461 class AppButton extends BaseButton {
462 constructor(app, perMonitor, monitorIndex) {
463 super(perMonitor, monitorIndex);
487464
488465 this.app = app;
489466 this._updateVisibility();
513490 this._menu = new PopupMenu.PopupMenu(this.actor, 0.5, St.Side.BOTTOM);
514491 this._menu.connect('open-state-changed', _onMenuStateChanged);
515492 this._menu.actor.hide();
516 this._menu.connect('activate', Lang.bind(this, this._onMenuActivate));
493 this._menu.connect('activate', this._onMenuActivate.bind(this));
517494 this._menuManager.addMenu(this._menu);
518495 Main.uiGroup.add_actor(this._menu.actor);
519496
524501
525502 this._textureCache = St.TextureCache.get_default();
526503 this._iconThemeChangedId =
527 this._textureCache.connect('icon-theme-changed', Lang.bind(this,
528 function() {
529 this._icon.child = app.create_icon_texture(ICON_TEXTURE_SIZE);
530 }));
504 this._textureCache.connect('icon-theme-changed', () => {
505 this._icon.child = app.create_icon_texture(ICON_TEXTURE_SIZE);
506 });
531507
532508 this._windowsChangedId =
533509 this.app.connect('windows-changed',
534 Lang.bind(this, this._windowsChanged));
510 this._windowsChanged.bind(this));
535511 this._windowsChanged();
536512
537513 this._windowTracker = Shell.WindowTracker.get_default();
538514 this._notifyFocusId =
539515 this._windowTracker.connect('notify::focus-app',
540 Lang.bind(this, this._updateStyle));
516 this._updateStyle.bind(this));
541517 this._updateStyle();
542 },
543
544 _windowEnteredOrLeftMonitor: function(metaScreen, monitorIndex, metaWindow) {
518 }
519
520 _windowEnteredOrLeftMonitor(metaScreen, monitorIndex, metaWindow) {
545521 if (this._windowTracker.get_window_app(metaWindow) == this.app &&
546522 monitorIndex == this._monitorIndex) {
547523 this._updateVisibility();
548524 this._windowsChanged();
549525 }
550 },
551
552 _updateVisibility: function() {
526 }
527
528 _updateVisibility() {
553529 if (!this._perMonitor) {
554530 // fast path: use ShellApp API to avoid iterating over all windows.
555531 let workspace = global.screen.get_active_workspace();
557533 } else {
558534 this.actor.visible = this.getWindowList().length >= 1;
559535 }
560 },
561
562 _isFocused: function() {
536 }
537
538 _isFocused() {
563539 return this._windowTracker.focus_app == this.app;
564 },
565
566 _updateIconGeometry: function() {
540 }
541
542 _updateIconGeometry() {
567543 let rect = this._getIconGeometry();
568544
569545 let windows = this.app.get_windows();
570 windows.forEach(function(w) {
571 w.set_icon_geometry(rect);
572 });
573 },
574
575
576 getWindowList: function() {
577 return this.app.get_windows().filter(Lang.bind(this, function(win) {
578 return this._isWindowVisible(win);
579 }));
580 },
581
582 _windowsChanged: function() {
546 windows.forEach(w => { w.set_icon_geometry(rect); });
547 }
548
549 getWindowList() {
550 return this.app.get_windows().filter(win => this._isWindowVisible(win));
551 }
552
553 _windowsChanged() {
583554 let windows = this.getWindowList();
584555 this._singleWindowTitle.visible = windows.length == 1;
585556 this._multiWindowTitle.visible = !this._singleWindowTitle.visible;
612583 this.actor.label_actor = this._multiWindowTitle.label_actor;
613584 }
614585
615 },
616
617 _onClicked: function(actor, button) {
586 }
587
588 _onClicked(actor, button) {
618589 let menuWasOpen = this._menu.isOpen;
619590 if (menuWasOpen)
620591 this._menu.close();
649620 return;
650621 _openMenu(this._contextMenu);
651622 }
652 },
653
654 _canOpenPopupMenu: function() {
623 }
624
625 _canOpenPopupMenu() {
655626 return !this._menu.isOpen;
656 },
657
658 _onMenuActivate: function(menu, child) {
627 }
628
629 _onMenuActivate(menu, child) {
659630 child._window.activate(global.get_current_time());
660 },
661
662 _onDestroy: function() {
663 this.parent();
631 }
632
633 _onDestroy() {
634 super._onDestroy();
664635 this._textureCache.disconnect(this._iconThemeChangedId);
665636 this._windowTracker.disconnect(this._notifyFocusId);
666637 this.app.disconnect(this._windowsChangedId);
667638 this._menu.destroy();
668639 }
669 });
670
671
672 const WorkspaceIndicator = new Lang.Class({
673 Name: 'WindowList.WorkspaceIndicator',
674 Extends: PanelMenu.Button,
675
676 _init: function(){
677 this.parent(0.0, _("Workspace Indicator"), true);
640 };
641
642
643 class WorkspaceIndicator extends PanelMenu.Button {
644 constructor() {
645 super(0.0, _("Workspace Indicator"), true);
678646 this.setMenu(new PopupMenu.PopupMenu(this.actor, 0.0, St.Side.BOTTOM));
679647 this.actor.add_style_class_name('window-list-workspace-indicator');
680648 this.menu.actor.remove_style_class_name('panel-menu');
692660 this.workspacesItems = [];
693661
694662 this._screenSignals = [];
695 this._screenSignals.push(global.screen.connect('notify::n-workspaces', Lang.bind(this,this._updateMenu)));
696 this._screenSignals.push(global.screen.connect_after('workspace-switched', Lang.bind(this,this._updateIndicator)));
697
698 this.actor.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
663 this._screenSignals.push(global.screen.connect('notify::n-workspaces',
664 this._updateMenu.bind(this)));
665 this._screenSignals.push(global.screen.connect_after('workspace-switched',
666 this._updateIndicator.bind(this)));
667
668 this.actor.connect('scroll-event', this._onScrollEvent.bind(this));
699669 this._updateMenu();
700670
701671 this._settings = new Gio.Settings({ schema_id: 'org.gnome.desktop.wm.preferences' });
702 this._settingsChangedId = this._settings.connect('changed::workspace-names', Lang.bind(this, this._updateMenu));
703 },
704
705 destroy: function() {
672 this._settingsChangedId =
673 this._settings.connect('changed::workspace-names',
674 this._updateMenu.bind(this));
675 }
676
677 destroy() {
706678 for (let i = 0; i < this._screenSignals.length; i++)
707679 global.screen.disconnect(this._screenSignals[i]);
708680
711683 this._settingsChangedId = 0;
712684 }
713685
714 this.parent();
715 },
716
717 _updateIndicator: function() {
686 super.destroy();
687 }
688
689 _updateIndicator() {
718690 this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.NONE);
719691 this._currentWorkspace = global.screen.get_active_workspace().index();
720692 this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.DOT);
721693
722694 this.statusLabel.set_text(this._getStatusText());
723 },
724
725 _getStatusText: function() {
695 }
696
697 _getStatusText() {
726698 let current = global.screen.get_active_workspace().index();
727699 let total = global.screen.n_workspaces;
728700
729701 return '%d / %d'.format(current + 1, total);
730 },
731
732 _updateMenu: function() {
702 }
703
704 _updateMenu() {
733705 this.menu.removeAll();
734706 this.workspacesItems = [];
735707 this._currentWorkspace = global.screen.get_active_workspace().index();
739711 let item = new PopupMenu.PopupMenuItem(name);
740712 item.workspaceId = i;
741713
742 item.connect('activate', Lang.bind(this, function(item, event) {
714 item.connect('activate', (item, event) => {
743715 this._activate(item.workspaceId);
744 }));
716 });
745717
746718 if (i == this._currentWorkspace)
747719 item.setOrnament(PopupMenu.Ornament.DOT);
751723 }
752724
753725 this.statusLabel.set_text(this._getStatusText());
754 },
755
756 _activate: function(index) {
726 }
727
728 _activate(index) {
757729 if(index >= 0 && index < global.screen.n_workspaces) {
758730 let metaWorkspace = global.screen.get_workspace_by_index(index);
759731 metaWorkspace.activate(global.get_current_time());
760732 }
761 },
762
763 _onScrollEvent: function(actor, event) {
733 }
734
735 _onScrollEvent(actor, event) {
764736 let direction = event.get_scroll_direction();
765737 let diff = 0;
766738 if (direction == Clutter.ScrollDirection.DOWN) {
773745
774746 let newIndex = this._currentWorkspace + diff;
775747 this._activate(newIndex);
776 },
777
778 _allocate: function(actor, box, flags) {
748 }
749
750 _allocate(actor, box, flags) {
779751 if (actor.get_n_children() > 0)
780752 actor.get_first_child().allocate(box, flags);
781753 }
782 });
783
784 const WindowList = new Lang.Class({
785 Name: 'WindowList',
786
787 _init: function(perMonitor, monitor) {
754 };
755
756 class WindowList {
757 constructor(perMonitor, monitor) {
788758 this._perMonitor = perMonitor;
789759 this._monitor = monitor;
790760
793763 reactive: true,
794764 track_hover: true,
795765 layout_manager: new Clutter.BinLayout()});
796 this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
766 this.actor.connect('destroy', this._onDestroy.bind(this));
797767
798768 let box = new St.BoxLayout({ x_expand: true, y_expand: true });
799769 this.actor.add_actor(box);
807777 y_expand: true });
808778 box.add(this._windowList, { expand: true });
809779
810 this._windowList.connect('style-changed', Lang.bind(this,
811 function() {
812 let node = this._windowList.get_theme_node();
813 let spacing = node.get_length('spacing');
814 this._windowList.layout_manager.spacing = spacing;
815 }));
816 this._windowList.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
780 this._windowList.connect('style-changed', () => {
781 let node = this._windowList.get_theme_node();
782 let spacing = node.get_length('spacing');
783 this._windowList.layout_manager.spacing = spacing;
784 });
785 this._windowList.connect('scroll-event', this._onScrollEvent.bind(this));
817786
818787 let indicatorsBox = new St.BoxLayout({ x_align: Clutter.ActorAlign.END });
819788 box.add(indicatorsBox);
825794 this._workspaceSettings = this._getWorkspaceSettings();
826795 this._workspacesOnlyOnPrimaryChangedId =
827796 this._workspaceSettings.connect('changed::workspaces-only-on-primary',
828 Lang.bind(this, this._updateWorkspaceIndicatorVisibility));
797 this._updateWorkspaceIndicatorVisibility.bind(this));
829798 this._dynamicWorkspacesSettings = this._getDynamicWorkspacesSettings();
830799 this._dynamicWorkspacesChangedId =
831800 this._dynamicWorkspacesSettings.connect('changed::dynamic-workspaces',
832 Lang.bind(this, this._updateWorkspaceIndicatorVisibility));
801 this._updateWorkspaceIndicatorVisibility.bind(this));
833802 this._updateWorkspaceIndicatorVisibility();
834803
835804 this._menuManager = new PopupMenu.PopupMenuManager(this);
841810 Main.ctrlAltTabManager.addGroup(this.actor, _("Window List"), 'start-here-symbolic');
842811
843812 this.actor.width = this._monitor.width;
844 this.actor.connect('notify::height', Lang.bind(this, this._updatePosition));
813 this.actor.connect('notify::height', this._updatePosition.bind(this));
845814 this._updatePosition();
846815
847816 this._appSystem = Shell.AppSystem.get_default();
848817 this._appStateChangedId =
849818 this._appSystem.connect('app-state-changed',
850 Lang.bind(this, this._onAppStateChanged));
819 this._onAppStateChanged.bind(this));
851820
852821 this._keyboardVisiblechangedId =
853822 Main.layoutManager.connect('keyboard-visible-changed',
854 Lang.bind(this, function(o, state) {
823 (o, state) => {
855824 Main.layoutManager.keyboardBox.visible = state;
856825 let keyboardBox = Main.layoutManager.keyboardBox;
857826 keyboardBox.visible = state;
861830 Main.uiGroup.set_child_above_sibling(this.actor,
862831 Main.layoutManager.panelBox);
863832 this._updateKeyboardAnchor();
864 }));
833 });
865834
866835 this._workspaceSignals = new Map();
867836 this._nWorkspacesChangedId =
868837 global.screen.connect('notify::n-workspaces',
869 Lang.bind(this, this._onWorkspacesChanged));
838 this._onWorkspacesChanged.bind(this));
870839 this._onWorkspacesChanged();
871840
872841 this._switchWorkspaceId =
873842 global.window_manager.connect('switch-workspace',
874 Lang.bind(this, this._checkGrouping));
843 this._checkGrouping.bind(this));
875844
876845 this._overviewShowingId =
877 Main.overview.connect('showing', Lang.bind(this, function() {
846 Main.overview.connect('showing', () => {
878847 this.actor.hide();
879848 this._updateKeyboardAnchor();
880 }));
849 });
881850
882851 this._overviewHidingId =
883 Main.overview.connect('hiding', Lang.bind(this, function() {
852 Main.overview.connect('hiding', () => {
884853 this.actor.visible = !Main.layoutManager.primaryMonitor.inFullscreen;
885854 this._updateKeyboardAnchor();
886 }));
855 });
887856
888857 this._fullscreenChangedId =
889 global.screen.connect('in-fullscreen-changed', Lang.bind(this, function() {
858 global.screen.connect('in-fullscreen-changed', () => {
890859 this._updateKeyboardAnchor();
891 }));
860 });
892861
893862 this._dragBeginId =
894863 Main.xdndHandler.connect('drag-begin',
895 Lang.bind(this, this._onDragBegin));
864 this._onDragBegin.bind(this));
896865 this._dragEndId =
897866 Main.xdndHandler.connect('drag-end',
898 Lang.bind(this, this._onDragEnd));
867 this._onDragEnd.bind(this));
899868 this._dragMonitor = {
900 dragMotion: Lang.bind(this, this._onDragMotion)
869 dragMotion: this._onDragMotion.bind(this)
901870 };
902871
903872 this._dndTimeoutId = 0;
906875 this._settings = Convenience.getSettings();
907876 this._groupingModeChangedId =
908877 this._settings.connect('changed::grouping-mode',
909 Lang.bind(this, this._groupingModeChanged));
878 this._groupingModeChanged.bind(this));
910879 this._grouped = undefined;
911880 this._groupingModeChanged();
912 },
913
914 _getDynamicWorkspacesSettings: function() {
881 }
882
883 _getDynamicWorkspacesSettings() {
915884 if (this._workspaceSettings.list_keys().indexOf('dynamic-workspaces') > -1)
916885 return this._workspaceSettings;
917886 return this._mutterSettings;
918 },
919
920 _getWorkspaceSettings: function() {
887 }
888
889 _getWorkspaceSettings() {
921890 let settings = global.get_overrides_settings();
922891 if (settings.list_keys().indexOf('workspaces-only-on-primary') > -1)
923892 return settings;
924893 return this._mutterSettings;
925 },
926
927 _onScrollEvent: function(actor, event) {
894 }
895
896 _onScrollEvent(actor, event) {
928897 let direction = event.get_scroll_direction();
929898 let diff = 0;
930899 if (direction == Clutter.ScrollDirection.DOWN)
934903 else
935904 return;
936905
937 let children = this._windowList.get_children().map(function(actor) {
938 return actor._delegate;
939 });
906 let children = this._windowList.get_children().map(a => a._delegate);
940907 let active = 0;
941908 for (let i = 0; i < children.length; i++) {
942909 if (children[i].active) {
947914
948915 active = Math.max(0, Math.min(active + diff, children.length-1));
949916 children[active].activate();
950 },
951
952 _updatePosition: function() {
917 }
918
919 _updatePosition() {
953920 this.actor.set_position(this._monitor.x,
954921 this._monitor.y + this._monitor.height - this.actor.height);
955 },
956
957 _updateWorkspaceIndicatorVisibility: function() {
922 }
923
924 _updateWorkspaceIndicatorVisibility() {
958925 let hasWorkspaces = this._dynamicWorkspacesSettings.get_boolean('dynamic-workspaces') ||
959926 global.screen.n_workspaces > 1;
960927 let workspacesOnMonitor = this._monitor == Main.layoutManager.primaryMonitor ||
961928 !this._workspaceSettings.get_boolean('workspaces-only-on-primary');
962929
963930 this._workspaceIndicator.actor.visible = hasWorkspaces && workspacesOnMonitor;
964 },
965
966 _getPreferredUngroupedWindowListWidth: function() {
931 }
932
933 _getPreferredUngroupedWindowListWidth() {
967934 if (this._windowList.get_n_children() == 0)
968935 return this._windowList.get_preferred_width(-1)[1];
969936
973940
974941 let workspace = global.screen.get_active_workspace();
975942 let windows = global.display.get_tab_list(Meta.TabList.NORMAL, workspace);
976 if (this._perMonitor) {
977 windows = windows.filter(Lang.bind(this, function(window) {
978 return window.get_monitor() == this._monitor.index;
979 }));
980 }
943 if (this._perMonitor)
944 windows = windows.filter(w => w.get_monitor() == this._monitor.index);
981945 let nWindows = windows.length;
982946 if (nWindows == 0)
983947 return this._windowList.get_preferred_width(-1)[1];
984948
985949 return nWindows * childWidth + (nWindows - 1) * spacing;
986 },
987
988 _getMaxWindowListWidth: function() {
950 }
951
952 _getMaxWindowListWidth() {
989953 let indicatorsBox = this._workspaceIndicator.actor.get_parent();
990954 return this.actor.width - indicatorsBox.get_preferred_width(-1)[1];
991 },
992
993 _groupingModeChanged: function() {
955 }
956
957 _groupingModeChanged() {
994958 this._groupingMode = this._settings.get_enum('grouping-mode');
995959
996960 if (this._groupingMode == GroupingMode.AUTO) {
999963 this._grouped = this._groupingMode == GroupingMode.ALWAYS;
1000964 this._populateWindowList();
1001965 }
1002 },
1003
1004 _checkGrouping: function() {
966 }
967
968 _checkGrouping() {
1005969 if (this._groupingMode != GroupingMode.AUTO)
1006970 return;
1007971
1013977 this._grouped = grouped;
1014978 this._populateWindowList();
1015979 }
1016 },
1017
1018 _populateWindowList: function() {
980 }
981
982 _populateWindowList() {
1019983 this._windowList.destroy_all_children();
1020984
1021985 if (!this._grouped) {
1022 let windows = global.get_window_actors().sort(
1023 function(w1, w2) {
1024 return w1.metaWindow.get_stable_sequence() -
1025 w2.metaWindow.get_stable_sequence();
1026 });
986 let windows = global.get_window_actors().sort((w1, w2) => {
987 return w1.metaWindow.get_stable_sequence() -
988 w2.metaWindow.get_stable_sequence();
989 });
1027990 for (let i = 0; i < windows.length; i++)
1028991 this._onWindowAdded(null, windows[i].metaWindow);
1029992 } else {
1030 let apps = this._appSystem.get_running().sort(
1031 function(a1, a2) {
1032 return _getAppStableSequence(a1) -
1033 _getAppStableSequence(a2);
1034 });
993 let apps = this._appSystem.get_running().sort((a1, a2) => {
994 return _getAppStableSequence(a1) -
995 _getAppStableSequence(a2);
996 });
1035997 for (let i = 0; i < apps.length; i++)
1036998 this._addApp(apps[i]);
1037999 }
1038 },
1039
1040 _updateKeyboardAnchor: function() {
1000 }
1001
1002 _updateKeyboardAnchor() {
10411003 if (!Main.keyboard.actor)
10421004 return;
10431005
10441006 let anchorY = Main.overview.visible ? 0 : this.actor.height;
10451007 Main.keyboard.actor.anchor_y = anchorY;
1046 },
1047
1048 _onAppStateChanged: function(appSys, app) {
1008 }
1009
1010 _onAppStateChanged(appSys, app) {
10491011 if (!this._grouped)
10501012 return;
10511013
10531015 this._addApp(app);
10541016 else if (app.state == Shell.AppState.STOPPED)
10551017 this._removeApp(app);
1056 },
1057
1058 _addApp: function(app) {
1018 }
1019
1020 _addApp(app) {
10591021 let button = new AppButton(app, this._perMonitor, this._monitor.index);
10601022 this._windowList.layout_manager.pack(button.actor,
10611023 true, true, true,
10621024 Clutter.BoxAlignment.START,
10631025 Clutter.BoxAlignment.START);
1064 },
1065
1066 _removeApp: function(app) {
1026 }
1027
1028 _removeApp(app) {
10671029 let children = this._windowList.get_children();
10681030 for (let i = 0; i < children.length; i++) {
10691031 if (children[i]._delegate.app == app) {
10711033 return;
10721034 }
10731035 }
1074 },
1075
1076 _onWindowAdded: function(ws, win) {
1036 }
1037
1038 _onWindowAdded(ws, win) {
10771039 if (win.skip_taskbar)
10781040 return;
10791041
10941056 true, true, true,
10951057 Clutter.BoxAlignment.START,
10961058 Clutter.BoxAlignment.START);
1097 },
1098
1099 _onWindowRemoved: function(ws, win) {
1059 }
1060
1061 _onWindowRemoved(ws, win) {
11001062 if (this._grouped)
11011063 this._checkGrouping();
11021064
11131075 return;
11141076 }
11151077 }
1116 },
1117
1118 _onWorkspacesChanged: function() {
1078 }
1079
1080 _onWorkspacesChanged() {
11191081 let numWorkspaces = global.screen.n_workspaces;
11201082 for (let i = 0; i < numWorkspaces; i++) {
11211083 let workspace = global.screen.get_workspace_by_index(i);
11251087 let signals = { windowAddedId: 0, windowRemovedId: 0 };
11261088 signals._windowAddedId =
11271089 workspace.connect_after('window-added',
1128 Lang.bind(this, this._onWindowAdded));
1090 this._onWindowAdded.bind(this));
11291091 signals._windowRemovedId =
11301092 workspace.connect('window-removed',
1131 Lang.bind(this, this._onWindowRemoved));
1093 this._onWindowRemoved.bind(this));
11321094 this._workspaceSignals.set(workspace, signals);
11331095 }
11341096
11351097 this._updateWorkspaceIndicatorVisibility();
1136 },
1137
1138 _disconnectWorkspaceSignals: function() {
1098 }
1099
1100 _disconnectWorkspaceSignals() {
11391101 let numWorkspaces = global.screen.n_workspaces;
11401102 for (let i = 0; i < numWorkspaces; i++) {
11411103 let workspace = global.screen.get_workspace_by_index(i);
11441106 workspace.disconnect(signals._windowAddedId);
11451107 workspace.disconnect(signals._windowRemovedId);
11461108 }
1147 },
1148
1149 _onDragBegin: function() {
1109 }
1110
1111 _onDragBegin() {
11501112 DND.addDragMonitor(this._dragMonitor);
1151 },
1152
1153 _onDragEnd: function() {
1113 }
1114
1115 _onDragEnd() {
11541116 DND.removeDragMonitor(this._dragMonitor);
11551117 this._removeActivateTimeout();
1156 },
1157
1158 _onDragMotion: function(dragEvent) {
1118 }
1119
1120 _onDragMotion(dragEvent) {
11591121 if (Main.overview.visible ||
11601122 !this.actor.contains(dragEvent.targetActor)) {
11611123 this._removeActivateTimeout();
11751137 this._dndWindow = hoveredWindow;
11761138 this._dndTimeoutId = GLib.timeout_add(GLib.PRIORITY_DEFAULT,
11771139 DND_ACTIVATE_TIMEOUT,
1178 Lang.bind(this, this._activateWindow));
1140 this._activateWindow.bind(this));
11791141
11801142 return DND.DragMotionResult.CONTINUE;
1181 },
1182
1183 _removeActivateTimeout: function() {
1143 }
1144
1145 _removeActivateTimeout() {
11841146 if (this._dndTimeoutId)
11851147 GLib.source_remove (this._dndTimeoutId);
11861148 this._dndTimeoutId = 0;
11871149 this._dndWindow = null;
1188 },
1189
1190 _activateWindow: function() {
1150 }
1151
1152 _activateWindow() {
11911153 let [x, y] = global.get_pointer();
11921154 let pickedActor = global.stage.get_actor_at_pos(Clutter.PickMode.ALL, x, y);
11931155
11971159 this._dndTimeoutId = 0;
11981160
11991161 return false;
1200 },
1201
1202 _onDestroy: function() {
1162 }
1163
1164 _onDestroy() {
12031165 this._workspaceSettings.disconnect(this._workspacesOnlyOnPrimaryChangedId);
12041166 this._dynamicWorkspacesSettings.disconnect(this._dynamicWorkspacesChangedId);
12051167
12371199 for (let i = 0; i < windows.length; i++)
12381200 windows[i].metaWindow.set_icon_geometry(null);
12391201 }
1240 });
1241
1242 const Extension = new Lang.Class({
1243 Name: 'Extension',
1244
1245 _init: function() {
1202 };
1203
1204 class Extension {
1205 constructor() {
12461206 this._windowLists = null;
12471207 this._injections = {};
1248 },
1249
1250 enable: function() {
1208 }
1209
1210 enable() {
12511211 this._windowLists = [];
12521212
12531213 this._settings = Convenience.getSettings();
12541214 this._showOnAllMonitorsChangedId =
12551215 this._settings.connect('changed::show-on-all-monitors',
1256 Lang.bind(this, this._buildWindowLists));
1216 this._buildWindowLists.bind(this));
12571217
12581218 this._monitorsChangedId =
12591219 Main.layoutManager.connect('monitors-changed',
1260 Lang.bind(this, this._buildWindowLists));
1220 this._buildWindowLists.bind(this));
12611221
12621222 this._buildWindowLists();
1263 },
1264
1265 _buildWindowLists: function() {
1266 this._windowLists.forEach(function(windowList) {
1267 windowList.actor.destroy();
1268 });
1223 }
1224
1225 _buildWindowLists() {
1226 this._windowLists.forEach(list => { list.actor.destroy(); });
12691227 this._windowLists = [];
12701228
12711229 let showOnAllMonitors = this._settings.get_boolean('show-on-all-monitors');
12721230
1273 Main.layoutManager.monitors.forEach(Lang.bind(this, function(monitor) {
1231 Main.layoutManager.monitors.forEach(monitor => {
12741232 if (showOnAllMonitors || monitor == Main.layoutManager.primaryMonitor)
12751233 this._windowLists.push(new WindowList(showOnAllMonitors, monitor));
1276 }));
1277 },
1278
1279 disable: function() {
1234 });
1235 }
1236
1237 disable() {
12801238 if (!this._windowLists)
12811239 return;
12821240
12861244 Main.layoutManager.disconnect(this._monitorsChangedId);
12871245 this._monitorsChangedId = 0;
12881246
1289 this._windowLists.forEach(function(windowList) {
1247 this._windowLists.forEach(windowList => {
12901248 windowList.actor.hide();
12911249 windowList.actor.destroy();
12921250 });
12931251 this._windowLists = null;
1294 },
1295
1296 someWindowListContains: function(actor) {
1297 return this._windowLists.some(function(windowList) {
1298 return windowList.actor.contains(actor);
1299 });
1300 }
1301 });
1252 }
1253
1254 someWindowListContains(actor) {
1255 return this._windowLists.some(list => list.actor.contains(actor));
1256 }
1257 };
13021258
13031259 function init() {
13041260 return new Extension();
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_sources += files('prefs.js')
7 extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml')
8
9 if classic_mode_enabled
10 extension_data += files('classic.css')
11 endif
33 "settings-schema": "@gschemaname@",
44 "gettext-domain": "@gettext_domain@",
55 "name": "Window List",
6 "description": "Display a window list at the bottom of the screen.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
6 "description": "Display a window list at the bottom of the screen.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
77 "shell-version": [ "@shell_current@" ],
88 "url": "@url@"
99 }
22 const Gio = imports.gi.Gio;
33 const GObject = imports.gi.GObject;
44 const Gtk = imports.gi.Gtk;
5 const Lang = imports.lang;
65
76 const Gettext = imports.gettext.domain('gnome-shell-extensions');
87 const _ = Gettext.gettext;
1615 Convenience.initTranslations();
1716 }
1817
19 const WindowListPrefsWidget = new GObject.Class({
20 Name: 'WindowList.Prefs.Widget',
21 GTypeName: 'WindowListPrefsWidget',
22 Extends: Gtk.Grid,
23
24 _init: function(params) {
25 this.parent(params);
18 const WindowListPrefsWidget = GObject.registerClass(
19 class WindowListPrefsWidget extends Gtk.Grid {
20 _init(params) {
21 super._init(params);
2622
2723 this.margin = 24;
2824 this.row_spacing = 6;
6561 group: radio });
6662 grid.add(radio);
6763
68 radio.connect('toggled', Lang.bind(this, function(button) {
64 radio.connect('toggled', button => {
6965 if (button.active)
7066 this._settings.set_string('grouping-mode', mode);
71 }));
67 });
7268 }
7369
7470 let check = new Gtk.CheckButton({ label: _("Show on all monitors"),
+0
-3
extensions/windowsNavigator/Makefile.am less more
0 EXTENSION_ID = windowsNavigator
1
2 include ../../extension.mk
+0
-546
extensions/windowsNavigator/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/windowsNavigator
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk $(srcdir)/Makefile.in \
156 $(top_srcdir)/include.mk
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 ACLOCAL = @ACLOCAL@
159 ALL_EXTENSIONS = @ALL_EXTENSIONS@
160 AMTAR = @AMTAR@
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 AUTOCONF = @AUTOCONF@
163 AUTOHEADER = @AUTOHEADER@
164 AUTOMAKE = @AUTOMAKE@
165 AWK = @AWK@
166 CC = @CC@
167 CCDEPMODE = @CCDEPMODE@
168 CFLAGS = @CFLAGS@
169 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
170 CPP = @CPP@
171 CPPFLAGS = @CPPFLAGS@
172 CYGPATH_W = @CYGPATH_W@
173 DEFS = @DEFS@
174 DEPDIR = @DEPDIR@
175 ECHO_C = @ECHO_C@
176 ECHO_N = @ECHO_N@
177 ECHO_T = @ECHO_T@
178 EGREP = @EGREP@
179 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
180 EXEEXT = @EXEEXT@
181 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
182 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
183 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
184 GMSGFMT = @GMSGFMT@
185 GMSGFMT_015 = @GMSGFMT_015@
186 GREP = @GREP@
187 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
188 INSTALL = @INSTALL@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 INTLLIBS = @INTLLIBS@
194 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
195 LDFLAGS = @LDFLAGS@
196 LIBICONV = @LIBICONV@
197 LIBINTL = @LIBINTL@
198 LIBOBJS = @LIBOBJS@
199 LIBS = @LIBS@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBINTL = @LTLIBINTL@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAKEINFO = @MAKEINFO@
204 MKDIR_P = @MKDIR_P@
205 MSGFMT = @MSGFMT@
206 MSGFMT_015 = @MSGFMT_015@
207 MSGMERGE = @MSGMERGE@
208 OBJEXT = @OBJEXT@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_URL = @PACKAGE_URL@
215 PACKAGE_VERSION = @PACKAGE_VERSION@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PKG_CONFIG = @PKG_CONFIG@
218 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
219 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220 POSUB = @POSUB@
221 SASSC = @SASSC@
222 SED = @SED@
223 SET_MAKE = @SET_MAKE@
224 SHELL = @SHELL@
225 SHELL_VERSION = @SHELL_VERSION@
226 STRIP = @STRIP@
227 USE_NLS = @USE_NLS@
228 VERSION = @VERSION@
229 XGETTEXT = @XGETTEXT@
230 XGETTEXT_015 = @XGETTEXT_015@
231 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
232 abs_builddir = @abs_builddir@
233 abs_srcdir = @abs_srcdir@
234 abs_top_builddir = @abs_top_builddir@
235 abs_top_srcdir = @abs_top_srcdir@
236 ac_ct_CC = @ac_ct_CC@
237 am__include = @am__include@
238 am__leading_dot = @am__leading_dot@
239 am__quote = @am__quote@
240 am__tar = @am__tar@
241 am__untar = @am__untar@
242 bindir = @bindir@
243 build = @build@
244 build_alias = @build_alias@
245 build_cpu = @build_cpu@
246 build_os = @build_os@
247 build_vendor = @build_vendor@
248 builddir = @builddir@
249 datadir = @datadir@
250 datarootdir = @datarootdir@
251 docdir = @docdir@
252 dvidir = @dvidir@
253 exec_prefix = @exec_prefix@
254 gsettingsschemadir = @gsettingsschemadir@
255 host = @host@
256 host_alias = @host_alias@
257 host_cpu = @host_cpu@
258 host_os = @host_os@
259 host_vendor = @host_vendor@
260 htmldir = @htmldir@
261 includedir = @includedir@
262 infodir = @infodir@
263 install_sh = @install_sh@
264 libdir = @libdir@
265 libexecdir = @libexecdir@
266 localedir = @localedir@
267 localstatedir = @localstatedir@
268 mandir = @mandir@
269 mkdir_p = @mkdir_p@
270 oldincludedir = @oldincludedir@
271 pdfdir = @pdfdir@
272 prefix = @prefix@
273 program_transform_name = @program_transform_name@
274 psdir = @psdir@
275 sbindir = @sbindir@
276 sharedstatedir = @sharedstatedir@
277 srcdir = @srcdir@
278 sysconfdir = @sysconfdir@
279 target_alias = @target_alias@
280 top_build_prefix = @top_build_prefix@
281 top_builddir = @top_builddir@
282 top_srcdir = @top_srcdir@
283 EXTENSION_ID = windowsNavigator
284 extensionurl = http://git.gnome.org/gnome-shell-extensions
285
286 # Change these to modify how installation is performed
287 topextensiondir = $(datadir)/gnome-shell/extensions
288 extensionbase = @gnome-shell-extensions.gcampax.github.com
289 gschemabase = org.gnome.shell.extensions
290 uuid = $(EXTENSION_ID)$(extensionbase)
291 gschemaname = $(gschemabase).$(EXTENSION_ID)
292 extensiondir = $(topextensiondir)/$(uuid)
293 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
294 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
295 EXTRA_DIST = metadata.json.in
296 CLEANFILES = metadata.json
297 all: all-am
298
299 .SUFFIXES:
300 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__configure_deps)
301 @for dep in $?; do \
302 case '$(am__configure_deps)' in \
303 *$$dep*) \
304 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
305 && { if test -f $@; then exit 0; else break; fi; }; \
306 exit 1;; \
307 esac; \
308 done; \
309 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/windowsNavigator/Makefile'; \
310 $(am__cd) $(top_srcdir) && \
311 $(AUTOMAKE) --foreign extensions/windowsNavigator/Makefile
312 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
313 @case '$?' in \
314 *config.status*) \
315 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
316 *) \
317 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
318 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
319 esac;
320 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__empty):
321
322 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
323 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
324
325 $(top_srcdir)/configure: $(am__configure_deps)
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
327 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329 $(am__aclocal_m4_deps):
330 install-dist_extensionDATA: $(dist_extension_DATA)
331 @$(NORMAL_INSTALL)
332 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
333 if test -n "$$list"; then \
334 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
335 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
336 fi; \
337 for p in $$list; do \
338 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
339 echo "$$d$$p"; \
340 done | $(am__base_list) | \
341 while read files; do \
342 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
343 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
344 done
345
346 uninstall-dist_extensionDATA:
347 @$(NORMAL_UNINSTALL)
348 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
349 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
350 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
351 install-nodist_extensionDATA: $(nodist_extension_DATA)
352 @$(NORMAL_INSTALL)
353 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
354 if test -n "$$list"; then \
355 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
356 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
357 fi; \
358 for p in $$list; do \
359 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
360 echo "$$d$$p"; \
361 done | $(am__base_list) | \
362 while read files; do \
363 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
364 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
365 done
366
367 uninstall-nodist_extensionDATA:
368 @$(NORMAL_UNINSTALL)
369 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
370 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
371 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
372 tags TAGS:
373
374 ctags CTAGS:
375
376 cscope cscopelist:
377
378
379 distdir: $(DISTFILES)
380 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 list='$(DISTFILES)'; \
383 dist_files=`for file in $$list; do echo $$file; done | \
384 sed -e "s|^$$srcdirstrip/||;t" \
385 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
386 case $$dist_files in \
387 */*) $(MKDIR_P) `echo "$$dist_files" | \
388 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
389 sort -u` ;; \
390 esac; \
391 for file in $$dist_files; do \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 if test -d $$d/$$file; then \
394 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
395 if test -d "$(distdir)/$$file"; then \
396 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
397 fi; \
398 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
399 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
400 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
401 fi; \
402 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
403 else \
404 test -f "$(distdir)/$$file" \
405 || cp -p $$d/$$file "$(distdir)/$$file" \
406 || exit 1; \
407 fi; \
408 done
409 check-am: all-am
410 check: check-am
411 all-am: Makefile $(DATA)
412 installdirs:
413 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
414 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
415 done
416 install: install-am
417 install-exec: install-exec-am
418 install-data: install-data-am
419 uninstall: uninstall-am
420
421 install-am: all-am
422 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
423
424 installcheck: installcheck-am
425 install-strip:
426 if test -z '$(STRIP)'; then \
427 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
428 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
429 install; \
430 else \
431 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
432 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
433 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
434 fi
435 mostlyclean-generic:
436
437 clean-generic:
438 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
439
440 distclean-generic:
441 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
442 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
443
444 maintainer-clean-generic:
445 @echo "This command is intended for maintainers to use"
446 @echo "it deletes files that may require special tools to rebuild."
447 clean: clean-am
448
449 clean-am: clean-generic mostlyclean-am
450
451 distclean: distclean-am
452 -rm -f Makefile
453 distclean-am: clean-am distclean-generic
454
455 dvi: dvi-am
456
457 dvi-am:
458
459 html: html-am
460
461 html-am:
462
463 info: info-am
464
465 info-am:
466
467 install-data-am: install-dist_extensionDATA \
468 install-nodist_extensionDATA
469
470 install-dvi: install-dvi-am
471
472 install-dvi-am:
473
474 install-exec-am:
475
476 install-html: install-html-am
477
478 install-html-am:
479
480 install-info: install-info-am
481
482 install-info-am:
483
484 install-man:
485
486 install-pdf: install-pdf-am
487
488 install-pdf-am:
489
490 install-ps: install-ps-am
491
492 install-ps-am:
493
494 installcheck-am:
495
496 maintainer-clean: maintainer-clean-am
497 -rm -f Makefile
498 maintainer-clean-am: distclean-am maintainer-clean-generic
499
500 mostlyclean: mostlyclean-am
501
502 mostlyclean-am: mostlyclean-generic
503
504 pdf: pdf-am
505
506 pdf-am:
507
508 ps: ps-am
509
510 ps-am:
511
512 uninstall-am: uninstall-dist_extensionDATA \
513 uninstall-nodist_extensionDATA
514
515 .MAKE: install-am install-strip
516
517 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
518 ctags-am distclean distclean-generic distdir dvi dvi-am html \
519 html-am info info-am install install-am install-data \
520 install-data-am install-dist_extensionDATA install-dvi \
521 install-dvi-am install-exec install-exec-am install-html \
522 install-html-am install-info install-info-am install-man \
523 install-nodist_extensionDATA install-pdf install-pdf-am \
524 install-ps install-ps-am install-strip installcheck \
525 installcheck-am installdirs maintainer-clean \
526 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
527 pdf-am ps ps-am tags-am uninstall uninstall-am \
528 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
529
530 .PRECIOUS: Makefile
531
532
533 metadata.json: metadata.json.in $(top_builddir)/config.status
534 $(AM_V_GEN) sed \
535 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
536 -e "s|[@]uuid@|$(uuid)|" \
537 -e "s|[@]gschemaname@|$(gschemaname)|" \
538 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
539 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
540 -e "s|[@]url@|$(extensionurl)|" \
541 $< > $@
542
543 # Tell versions [3.59,3.63) of GNU make to not export all variables.
544 # Otherwise a system limit (for SysV at least) may be exceeded.
545 .NOEXPORT:
00 /* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
11 const Clutter = imports.gi.Clutter;
2 const Lang = imports.lang;
32 const Mainloop = imports.mainloop;
43 const St = imports.gi.St;
54
232231 visible: false }));
233232
234233 this.actor.add_actor(this._tip);
235 let signalId = this.actor.connect('notify::scale-x', Lang.bind(this, function() {
234 let signalId = this.actor.connect('notify::scale-x', () => {
236235 this._tip.set_scale(1 / this.actor.scale_x, 1 / this.actor.scale_x);
237 }));
236 });
238237 connectedSignals.push({ obj: this.actor, id: signalId });
239238 } else
240239 this._tip = null;
243242 workViewInjections['_init'] = injectToFunction(WorkspacesView.WorkspacesView.prototype, '_init', function(width, height, x, y, workspaces) {
244243 this._pickWorkspace = false;
245244 this._pickWindow = false;
246 this._keyPressEventId = global.stage.connect('key-press-event', Lang.bind(this, this._onKeyPress));
247 this._keyReleaseEventId = global.stage.connect('key-release-event', Lang.bind(this, this._onKeyRelease));
245 this._keyPressEventId =
246 global.stage.connect('key-press-event', this._onKeyPress.bind(this));
247 this._keyReleaseEventId =
248 global.stage.connect('key-release-event', this._onKeyRelease.bind(this));
248249 connectedSignals.push({ obj: global.stage, id: this._keyPressEventId });
249250 connectedSignals.push({ obj: global.stage, id: this._keyReleaseEventId });
250251 });
273274 for (i in workViewInjections)
274275 removeInjection(WorkspacesView.WorkspacesView.prototype, workViewInjections, i);
275276
276 for each (i in connectedSignals)
277 for (i of connectedSignals)
277278 i.obj.disconnect(i.id);
278279
279 for each (i in createdActors)
280 for (i of createdActors)
280281 i.destroy();
281282
282283 resetState();
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
+0
-5
extensions/workspace-indicator/Makefile.am less more
0 EXTENSION_ID = workspace-indicator
1
2 EXTRA_MODULES = prefs.js
3
4 include ../../extension.mk
+0
-547
extensions/workspace-indicator/Makefile.in less more
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = extensions/workspace-indicator
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
93 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_extension_DATA) \
101 $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_CLEAN_FILES =
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
117 SOURCES =
118 DIST_SOURCES =
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
125 am__vpath_adj = case $$p in \
126 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
127 *) f=$$p;; \
128 esac;
129 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
130 am__install_max = 40
131 am__nobase_strip_setup = \
132 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
133 am__nobase_strip = \
134 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
135 am__nobase_list = $(am__nobase_strip_setup); \
136 for p in $$list; do echo "$$p $$p"; done | \
137 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
138 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
139 if (++n[$$2] == $(am__install_max)) \
140 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
141 END { for (dir in files) print dir, files[dir] }'
142 am__base_list = \
143 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
144 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
145 am__uninstall_files_from_dir = { \
146 test -z "$$files" \
147 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
148 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
149 $(am__cd) "$$dir" && rm -f $$files; }; \
150 }
151 am__installdirs = "$(DESTDIR)$(extensiondir)" \
152 "$(DESTDIR)$(extensiondir)"
153 DATA = $(dist_extension_DATA) $(nodist_extension_DATA)
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 am__DIST_COMMON = $(srcdir)/../../extension.mk $(srcdir)/Makefile.in \
156 $(top_srcdir)/include.mk
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 ACLOCAL = @ACLOCAL@
159 ALL_EXTENSIONS = @ALL_EXTENSIONS@
160 AMTAR = @AMTAR@
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 AUTOCONF = @AUTOCONF@
163 AUTOHEADER = @AUTOHEADER@
164 AUTOMAKE = @AUTOMAKE@
165 AWK = @AWK@
166 CC = @CC@
167 CCDEPMODE = @CCDEPMODE@
168 CFLAGS = @CFLAGS@
169 CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@
170 CPP = @CPP@
171 CPPFLAGS = @CPPFLAGS@
172 CYGPATH_W = @CYGPATH_W@
173 DEFS = @DEFS@
174 DEPDIR = @DEPDIR@
175 ECHO_C = @ECHO_C@
176 ECHO_N = @ECHO_N@
177 ECHO_T = @ECHO_T@
178 EGREP = @EGREP@
179 ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@
180 EXEEXT = @EXEEXT@
181 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
182 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
183 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
184 GMSGFMT = @GMSGFMT@
185 GMSGFMT_015 = @GMSGFMT_015@
186 GREP = @GREP@
187 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
188 INSTALL = @INSTALL@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 INTLLIBS = @INTLLIBS@
194 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
195 LDFLAGS = @LDFLAGS@
196 LIBICONV = @LIBICONV@
197 LIBINTL = @LIBINTL@
198 LIBOBJS = @LIBOBJS@
199 LIBS = @LIBS@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBINTL = @LTLIBINTL@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAKEINFO = @MAKEINFO@
204 MKDIR_P = @MKDIR_P@
205 MSGFMT = @MSGFMT@
206 MSGFMT_015 = @MSGFMT_015@
207 MSGMERGE = @MSGMERGE@
208 OBJEXT = @OBJEXT@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_URL = @PACKAGE_URL@
215 PACKAGE_VERSION = @PACKAGE_VERSION@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PKG_CONFIG = @PKG_CONFIG@
218 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
219 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220 POSUB = @POSUB@
221 SASSC = @SASSC@
222 SED = @SED@
223 SET_MAKE = @SET_MAKE@
224 SHELL = @SHELL@
225 SHELL_VERSION = @SHELL_VERSION@
226 STRIP = @STRIP@
227 USE_NLS = @USE_NLS@
228 VERSION = @VERSION@
229 XGETTEXT = @XGETTEXT@
230 XGETTEXT_015 = @XGETTEXT_015@
231 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
232 abs_builddir = @abs_builddir@
233 abs_srcdir = @abs_srcdir@
234 abs_top_builddir = @abs_top_builddir@
235 abs_top_srcdir = @abs_top_srcdir@
236 ac_ct_CC = @ac_ct_CC@
237 am__include = @am__include@
238 am__leading_dot = @am__leading_dot@
239 am__quote = @am__quote@
240 am__tar = @am__tar@
241 am__untar = @am__untar@
242 bindir = @bindir@
243 build = @build@
244 build_alias = @build_alias@
245 build_cpu = @build_cpu@
246 build_os = @build_os@
247 build_vendor = @build_vendor@
248 builddir = @builddir@
249 datadir = @datadir@
250 datarootdir = @datarootdir@
251 docdir = @docdir@
252 dvidir = @dvidir@
253 exec_prefix = @exec_prefix@
254 gsettingsschemadir = @gsettingsschemadir@
255 host = @host@
256 host_alias = @host_alias@
257 host_cpu = @host_cpu@
258 host_os = @host_os@
259 host_vendor = @host_vendor@
260 htmldir = @htmldir@
261 includedir = @includedir@
262 infodir = @infodir@
263 install_sh = @install_sh@
264 libdir = @libdir@
265 libexecdir = @libexecdir@
266 localedir = @localedir@
267 localstatedir = @localstatedir@
268 mandir = @mandir@
269 mkdir_p = @mkdir_p@
270 oldincludedir = @oldincludedir@
271 pdfdir = @pdfdir@
272 prefix = @prefix@
273 program_transform_name = @program_transform_name@
274 psdir = @psdir@
275 sbindir = @sbindir@
276 sharedstatedir = @sharedstatedir@
277 srcdir = @srcdir@
278 sysconfdir = @sysconfdir@
279 target_alias = @target_alias@
280 top_build_prefix = @top_build_prefix@
281 top_builddir = @top_builddir@
282 top_srcdir = @top_srcdir@
283 EXTENSION_ID = workspace-indicator
284 EXTRA_MODULES = prefs.js
285 extensionurl = http://git.gnome.org/gnome-shell-extensions
286
287 # Change these to modify how installation is performed
288 topextensiondir = $(datadir)/gnome-shell/extensions
289 extensionbase = @gnome-shell-extensions.gcampax.github.com
290 gschemabase = org.gnome.shell.extensions
291 uuid = $(EXTENSION_ID)$(extensionbase)
292 gschemaname = $(gschemabase).$(EXTENSION_ID)
293 extensiondir = $(topextensiondir)/$(uuid)
294 dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
295 nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
296 EXTRA_DIST = metadata.json.in
297 CLEANFILES = metadata.json
298 all: all-am
299
300 .SUFFIXES:
301 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__configure_deps)
302 @for dep in $?; do \
303 case '$(am__configure_deps)' in \
304 *$$dep*) \
305 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
306 && { if test -f $@; then exit 0; else break; fi; }; \
307 exit 1;; \
308 esac; \
309 done; \
310 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/workspace-indicator/Makefile'; \
311 $(am__cd) $(top_srcdir) && \
312 $(AUTOMAKE) --foreign extensions/workspace-indicator/Makefile
313 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
314 @case '$?' in \
315 *config.status*) \
316 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
317 *) \
318 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
319 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
320 esac;
321 $(srcdir)/../../extension.mk $(top_srcdir)/include.mk $(am__empty):
322
323 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
324 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
325
326 $(top_srcdir)/configure: $(am__configure_deps)
327 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
328 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
329 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
330 $(am__aclocal_m4_deps):
331 install-dist_extensionDATA: $(dist_extension_DATA)
332 @$(NORMAL_INSTALL)
333 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
334 if test -n "$$list"; then \
335 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
336 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
337 fi; \
338 for p in $$list; do \
339 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
340 echo "$$d$$p"; \
341 done | $(am__base_list) | \
342 while read files; do \
343 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
344 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
345 done
346
347 uninstall-dist_extensionDATA:
348 @$(NORMAL_UNINSTALL)
349 @list='$(dist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
350 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
351 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
352 install-nodist_extensionDATA: $(nodist_extension_DATA)
353 @$(NORMAL_INSTALL)
354 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
355 if test -n "$$list"; then \
356 echo " $(MKDIR_P) '$(DESTDIR)$(extensiondir)'"; \
357 $(MKDIR_P) "$(DESTDIR)$(extensiondir)" || exit 1; \
358 fi; \
359 for p in $$list; do \
360 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
361 echo "$$d$$p"; \
362 done | $(am__base_list) | \
363 while read files; do \
364 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(extensiondir)'"; \
365 $(INSTALL_DATA) $$files "$(DESTDIR)$(extensiondir)" || exit $$?; \
366 done
367
368 uninstall-nodist_extensionDATA:
369 @$(NORMAL_UNINSTALL)
370 @list='$(nodist_extension_DATA)'; test -n "$(extensiondir)" || list=; \
371 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
372 dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir)
373 tags TAGS:
374
375 ctags CTAGS:
376
377 cscope cscopelist:
378
379
380 distdir: $(DISTFILES)
381 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
383 list='$(DISTFILES)'; \
384 dist_files=`for file in $$list; do echo $$file; done | \
385 sed -e "s|^$$srcdirstrip/||;t" \
386 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
387 case $$dist_files in \
388 */*) $(MKDIR_P) `echo "$$dist_files" | \
389 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
390 sort -u` ;; \
391 esac; \
392 for file in $$dist_files; do \
393 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
394 if test -d $$d/$$file; then \
395 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
396 if test -d "$(distdir)/$$file"; then \
397 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
398 fi; \
399 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
400 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
401 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
402 fi; \
403 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
404 else \
405 test -f "$(distdir)/$$file" \
406 || cp -p $$d/$$file "$(distdir)/$$file" \
407 || exit 1; \
408 fi; \
409 done
410 check-am: all-am
411 check: check-am
412 all-am: Makefile $(DATA)
413 installdirs:
414 for dir in "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(extensiondir)"; do \
415 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
416 done
417 install: install-am
418 install-exec: install-exec-am
419 install-data: install-data-am
420 uninstall: uninstall-am
421
422 install-am: all-am
423 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
424
425 installcheck: installcheck-am
426 install-strip:
427 if test -z '$(STRIP)'; then \
428 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
429 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
430 install; \
431 else \
432 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
433 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
434 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
435 fi
436 mostlyclean-generic:
437
438 clean-generic:
439 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
440
441 distclean-generic:
442 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
443 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
444
445 maintainer-clean-generic:
446 @echo "This command is intended for maintainers to use"
447 @echo "it deletes files that may require special tools to rebuild."
448 clean: clean-am
449
450 clean-am: clean-generic mostlyclean-am
451
452 distclean: distclean-am
453 -rm -f Makefile
454 distclean-am: clean-am distclean-generic
455
456 dvi: dvi-am
457
458 dvi-am:
459
460 html: html-am
461
462 html-am:
463
464 info: info-am
465
466 info-am:
467
468 install-data-am: install-dist_extensionDATA \
469 install-nodist_extensionDATA
470
471 install-dvi: install-dvi-am
472
473 install-dvi-am:
474
475 install-exec-am:
476
477 install-html: install-html-am
478
479 install-html-am:
480
481 install-info: install-info-am
482
483 install-info-am:
484
485 install-man:
486
487 install-pdf: install-pdf-am
488
489 install-pdf-am:
490
491 install-ps: install-ps-am
492
493 install-ps-am:
494
495 installcheck-am:
496
497 maintainer-clean: maintainer-clean-am
498 -rm -f Makefile
499 maintainer-clean-am: distclean-am maintainer-clean-generic
500
501 mostlyclean: mostlyclean-am
502
503 mostlyclean-am: mostlyclean-generic
504
505 pdf: pdf-am
506
507 pdf-am:
508
509 ps: ps-am
510
511 ps-am:
512
513 uninstall-am: uninstall-dist_extensionDATA \
514 uninstall-nodist_extensionDATA
515
516 .MAKE: install-am install-strip
517
518 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
519 ctags-am distclean distclean-generic distdir dvi dvi-am html \
520 html-am info info-am install install-am install-data \
521 install-data-am install-dist_extensionDATA install-dvi \
522 install-dvi-am install-exec install-exec-am install-html \
523 install-html-am install-info install-info-am install-man \
524 install-nodist_extensionDATA install-pdf install-pdf-am \
525 install-ps install-ps-am install-strip installcheck \
526 installcheck-am installdirs maintainer-clean \
527 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
528 pdf-am ps ps-am tags-am uninstall uninstall-am \
529 uninstall-dist_extensionDATA uninstall-nodist_extensionDATA
530
531 .PRECIOUS: Makefile
532
533
534 metadata.json: metadata.json.in $(top_builddir)/config.status
535 $(AM_V_GEN) sed \
536 -e "s|[@]extension_id@|$(EXTENSION_ID)|" \
537 -e "s|[@]uuid@|$(uuid)|" \
538 -e "s|[@]gschemaname@|$(gschemaname)|" \
539 -e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
540 -e "s|[@]shell_current@|$(SHELL_VERSION)|" \
541 -e "s|[@]url@|$(extensionurl)|" \
542 $< > $@
543
544 # Tell versions [3.59,3.63) of GNU make to not export all variables.
545 # Otherwise a system limit (for SysV at least) may be exceeded.
546 .NOEXPORT:
33 const Meta = imports.gi.Meta;
44 const Clutter = imports.gi.Clutter;
55 const St = imports.gi.St;
6 const Lang = imports.lang;
76 const Mainloop = imports.mainloop;
87 const PanelMenu = imports.ui.panelMenu;
98 const PopupMenu = imports.ui.popupMenu;
2120 const WORKSPACE_SCHEMA = 'org.gnome.desktop.wm.preferences';
2221 const WORKSPACE_KEY = 'workspace-names';
2322
24 const WorkspaceIndicator = new Lang.Class({
25 Name: 'WorkspaceIndicator.WorkspaceIndicator',
26 Extends: PanelMenu.Button,
23 class WorkspaceIndicator extends PanelMenu.Button {
24 constructor() {
25 super(0.0, _("Workspace Indicator"));
2726
28 _init: function(){
29 this.parent(0.0, _("Workspace Indicator"));
30
31 this._currentWorkspace = global.screen.get_active_workspace().index();
32 this.statusLabel = new St.Label({ y_align: Clutter.ActorAlign.CENTER,
27 this._currentWorkspace = global.screen.get_active_workspace().index();
28 this.statusLabel = new St.Label({ y_align: Clutter.ActorAlign.CENTER,
3329 text: this._labelText() });
3430
35 this.actor.add_actor(this.statusLabel);
31 this.actor.add_actor(this.statusLabel);
3632
37 this.workspacesItems = [];
38 this._workspaceSection = new PopupMenu.PopupMenuSection();
39 this.menu.addMenuItem(this._workspaceSection);
33 this.workspacesItems = [];
34 this._workspaceSection = new PopupMenu.PopupMenuSection();
35 this.menu.addMenuItem(this._workspaceSection);
4036
41 this._screenSignals = [];
42 this._screenSignals.push(global.screen.connect_after('workspace-added', Lang.bind(this,this._createWorkspacesSection)));
43 this._screenSignals.push(global.screen.connect_after('workspace-removed', Lang.bind(this,this._createWorkspacesSection)));
44 this._screenSignals.push(global.screen.connect_after('workspace-switched', Lang.bind(this,this._updateIndicator)));
37 this._screenSignals = [];
38 this._screenSignals.push(global.screen.connect_after('workspace-added', this._createWorkspacesSection.bind(this)));
39 this._screenSignals.push(global.screen.connect_after('workspace-removed',
40 this._createWorkspacesSection.bind(this)));
41 this._screenSignals.push(global.screen.connect_after('workspace-switched',
42 this._updateIndicator.bind(this)));
4543
46 this.actor.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
47 this._createWorkspacesSection();
44 this.actor.connect('scroll-event', this._onScrollEvent.bind(this));
45 this._createWorkspacesSection();
4846
49 //styling
50 this.statusLabel.add_style_class_name('panel-workspace-indicator');
47 //styling
48 this.statusLabel.add_style_class_name('panel-workspace-indicator');
5149
5250 this._settings = new Gio.Settings({ schema_id: WORKSPACE_SCHEMA });
53 this._settingsChangedId = this._settings.connect('changed::' + WORKSPACE_KEY, Lang.bind(this, this._createWorkspacesSection));
54 },
51 this._settingsChangedId =
52 this._settings.connect('changed::' + WORKSPACE_KEY,
53 this._createWorkspacesSection.bind(this));
54 }
5555
56 destroy: function() {
57 for (let i = 0; i < this._screenSignals.length; i++)
58 global.screen.disconnect(this._screenSignals[i]);
56 destroy() {
57 for (let i = 0; i < this._screenSignals.length; i++)
58 global.screen.disconnect(this._screenSignals[i]);
5959
6060 if (this._settingsChangedId) {
6161 this._settings.disconnect(this._settingsChangedId);
6262 this._settingsChangedId = 0;
6363 }
6464
65 this.parent();
66 },
65 super.destroy();
66 }
6767
68 _updateIndicator: function() {
69 this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.NONE);
70 this._currentWorkspace = global.screen.get_active_workspace().index();
71 this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.DOT);
68 _updateIndicator() {
69 this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.NONE);
70 this._currentWorkspace = global.screen.get_active_workspace().index();
71 this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.DOT);
7272
73 this.statusLabel.set_text(this._labelText());
74 },
73 this.statusLabel.set_text(this._labelText());
74 }
7575
76 _labelText : function(workspaceIndex) {
77 if(workspaceIndex == undefined) {
78 workspaceIndex = this._currentWorkspace;
79 return (workspaceIndex + 1).toString();
80 }
81 return Meta.prefs_get_workspace_name(workspaceIndex);
82 },
76 _labelText(workspaceIndex) {
77 if(workspaceIndex == undefined) {
78 workspaceIndex = this._currentWorkspace;
79 return (workspaceIndex + 1).toString();
80 }
81 return Meta.prefs_get_workspace_name(workspaceIndex);
82 }
8383
84 _createWorkspacesSection : function() {
85 this._workspaceSection.removeAll();
86 this.workspacesItems = [];
87 this._currentWorkspace = global.screen.get_active_workspace().index();
84 _createWorkspacesSection() {
85 this._workspaceSection.removeAll();
86 this.workspacesItems = [];
87 this._currentWorkspace = global.screen.get_active_workspace().index();
8888
89 let i = 0;
90 for(; i < global.screen.n_workspaces; i++) {
91 this.workspacesItems[i] = new PopupMenu.PopupMenuItem(this._labelText(i));
92 this._workspaceSection.addMenuItem(this.workspacesItems[i]);
93 this.workspacesItems[i].workspaceId = i;
94 this.workspacesItems[i].label_actor = this.statusLabel;
95 let self = this;
96 this.workspacesItems[i].connect('activate', Lang.bind(this, function(actor, event) {
97 this._activate(actor.workspaceId);
98 }));
89 let i = 0;
90 for(; i < global.screen.n_workspaces; i++) {
91 this.workspacesItems[i] = new PopupMenu.PopupMenuItem(this._labelText(i));
92 this._workspaceSection.addMenuItem(this.workspacesItems[i]);
93 this.workspacesItems[i].workspaceId = i;
94 this.workspacesItems[i].label_actor = this.statusLabel;
95 let self = this;
96 this.workspacesItems[i].connect('activate', (actor, event) => {
97 this._activate(actor.workspaceId);
98 });
9999
100 if (i == this._currentWorkspace)
101 this.workspacesItems[i].setOrnament(PopupMenu.Ornament.DOT);
102 }
100 if (i == this._currentWorkspace)
101 this.workspacesItems[i].setOrnament(PopupMenu.Ornament.DOT);
102 }
103103
104 this.statusLabel.set_text(this._labelText());
105 },
104 this.statusLabel.set_text(this._labelText());
105 }
106106
107 _activate : function (index) {
108 if(index >= 0 && index < global.screen.n_workspaces) {
109 let metaWorkspace = global.screen.get_workspace_by_index(index);
110 metaWorkspace.activate(global.get_current_time());
111 }
112 },
107 _activate(index) {
108 if(index >= 0 && index < global.screen.n_workspaces) {
109 let metaWorkspace = global.screen.get_workspace_by_index(index);
110 metaWorkspace.activate(global.get_current_time());
111 }
112 }
113113
114 _onScrollEvent : function(actor, event) {
115 let direction = event.get_scroll_direction();
116 let diff = 0;
117 if (direction == Clutter.ScrollDirection.DOWN) {
118 diff = 1;
119 } else if (direction == Clutter.ScrollDirection.UP) {
120 diff = -1;
121 } else {
122 return;
123 }
114 _onScrollEvent(actor, event) {
115 let direction = event.get_scroll_direction();
116 let diff = 0;
117 if (direction == Clutter.ScrollDirection.DOWN) {
118 diff = 1;
119 } else if (direction == Clutter.ScrollDirection.UP) {
120 diff = -1;
121 } else {
122 return;
123 }
124124
125 let newIndex = global.screen.get_active_workspace().index() + diff;
126 this._activate(newIndex);
127 },
128 });
125 let newIndex = global.screen.get_active_workspace().index() + diff;
126 this._activate(newIndex);
127 }
128 };
129129
130130 function init(meta) {
131131 Convenience.initTranslations();
0 extension_data += configure_file(
1 input: metadata_name + '.in',
2 output: metadata_name,
3 configuration: metadata_conf
4 )
5
6 extension_sources += files('prefs.js')
33 const GLib = imports.gi.GLib;
44 const GObject = imports.gi.GObject;
55 const Gtk = imports.gi.Gtk;
6 const Lang = imports.lang;
76
87 const Gettext = imports.gettext.domain('gnome-shell-extensions');
98 const _ = Gettext.gettext;
10 const N_ = function(e) { return e };
9 const N_ = e => e;
1110
1211 const ExtensionUtils = imports.misc.extensionUtils;
1312 const Me = ExtensionUtils.getCurrentExtension();
1615 const WORKSPACE_SCHEMA = 'org.gnome.desktop.wm.preferences';
1716 const WORKSPACE_KEY = 'workspace-names';
1817
19 const WorkspaceNameModel = new GObject.Class({
20 Name: 'WorkspaceIndicator.WorkspaceNameModel',
21 GTypeName: 'WorkspaceNameModel',
22 Extends: Gtk.ListStore,
23
24 Columns: {
25 LABEL: 0,
26 },
27
28 _init: function(params) {
29 this.parent(params);
18 const WorkspaceNameModel = GObject.registerClass(
19 class WorkspaceNameModel extends Gtk.ListStore {
20 _init(params) {
21 super._init(params);
3022 this.set_column_types([GObject.TYPE_STRING]);
3123
24 this.Columns = {
25 LABEL: 0,
26 };
27
3228 this._settings = new Gio.Settings({ schema_id: WORKSPACE_SCHEMA });
33 //this._settings.connect('changed::workspace-names', Lang.bind(this, this._reloadFromSettings));
29 //this._settings.connect('changed::workspace-names', this._reloadFromSettings.bind(this));
3430
3531 this._reloadFromSettings();
3632
3733 // overriding class closure doesn't work, because GtkTreeModel
3834 // plays tricks with marshallers and class closures
39 this.connect('row-changed', Lang.bind(this, this._onRowChanged));
40 this.connect('row-inserted', Lang.bind(this, this._onRowInserted));
41 this.connect('row-deleted', Lang.bind(this, this._onRowDeleted));
42 },
43
44 _reloadFromSettings: function() {
35 this.connect('row-changed', this._onRowChanged.bind(this));
36 this.connect('row-inserted', this._onRowInserted.bind(this));
37 this.connect('row-deleted', this._onRowDeleted.bind(this));
38 }
39
40 _reloadFromSettings() {
4541 if (this._preventChanges)
4642 return;
4743 this._preventChanges = true;
6662 }
6763
6864 this._preventChanges = false;
69 },
70
71 _onRowChanged: function(self, path, iter) {
65 }
66
67 _onRowChanged(self, path, iter) {
7268 if (this._preventChanges)
7369 return;
7470 this._preventChanges = true;
8783 this._settings.set_strv(WORKSPACE_KEY, names);
8884
8985 this._preventChanges = false;
90 },
91
92 _onRowInserted: function(self, path, iter) {
86 }
87
88 _onRowInserted(self, path, iter) {
9389 if (this._preventChanges)
9490 return;
9591 this._preventChanges = true;
10298 this._settings.set_strv(WORKSPACE_KEY, names);
10399
104100 this._preventChanges = false;
105 },
106
107 _onRowDeleted: function(self, path) {
101 }
102
103 _onRowDeleted(self, path) {
108104 if (this._preventChanges)
109105 return;
110106 this._preventChanges = true;
124120 this._settings.set_strv(WORKSPACE_KEY, names);
125121
126122 this._preventChanges = false;
127 },
123 }
128124 });
129125
130 const WorkspaceSettingsWidget = new GObject.Class({
131 Name: 'WorkspaceIndicator.WorkspaceSettingsWidget',
132 GTypeName: 'WorkspaceSettingsWidget',
133 Extends: Gtk.Grid,
134
135 _init: function(params) {
136 this.parent(params);
126 const WorkspaceSettingsWidget = GObject.registerClass(
127 class WorkspaceSettingsWidget extends Gtk.Grid {
128 _init(params) {
129 super._init(params);
137130 this.margin = 12;
138131 this.orientation = Gtk.Orientation.VERTICAL;
139132
155148
156149 let column = new Gtk.TreeViewColumn({ title: _("Name") });
157150 let renderer = new Gtk.CellRendererText({ editable: true });
158 renderer.connect('edited', Lang.bind(this, this._cellEdited));
151 renderer.connect('edited', this._cellEdited.bind(this));
159152 column.pack_start(renderer, true);
160153 column.add_attribute(renderer, 'text', this._store.Columns.LABEL);
161154 this._treeView.append_column(column);
166159 toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_INLINE_TOOLBAR);
167160
168161 let newButton = new Gtk.ToolButton({ icon_name: 'list-add-symbolic' });
169 newButton.connect('clicked', Lang.bind(this, this._newClicked));
162 newButton.connect('clicked', this._newClicked.bind(this));
170163 toolbar.add(newButton);
171164
172165 let delButton = new Gtk.ToolButton({ icon_name: 'list-remove-symbolic' });
173 delButton.connect('clicked', Lang.bind(this, this._delClicked));
166 delButton.connect('clicked', this._delClicked.bind(this));
174167 toolbar.add(delButton);
175168
176169 let selection = this._treeView.get_selection();
177 selection.connect('changed',
178 function() {
179 delButton.sensitive = selection.count_selected_rows() > 0;
180 });
170 selection.connect('changed', () => {
171 delButton.sensitive = selection.count_selected_rows() > 0;
172 });
181173 delButton.sensitive = selection.count_selected_rows() > 0;
182174
183175 this.add(toolbar);
184 },
185
186 _cellEdited: function(renderer, path, new_text) {
176 }
177
178 _cellEdited(renderer, path, new_text) {
187179 let [ok, iter] = this._store.get_iter_from_string(path);
188180
189181 if (ok)
190182 this._store.set(iter, [this._store.Columns.LABEL], [new_text]);
191 },
192
193 _newClicked: function() {
183 }
184
185 _newClicked() {
194186 let iter = this._store.append();
195187 let index = this._store.get_path(iter).get_indices()[0];
196188
197189 let label = _("Workspace %d").format(index + 1);
198190 this._store.set(iter, [this._store.Columns.LABEL], [label]);
199 },
200
201 _delClicked: function() {
191 }
192
193 _delClicked() {
202194 let [any, model, iter] = this._treeView.get_selection().get_selected();
203195
204196 if (any)
0 <Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
2 xmlns:foaf="http://xmlns.com/foaf/0.1/"
3 xmlns:gnome="http://api.gnome.org/doap-extensions#"
4 xmlns="http://usefulinc.com/ns/doap#">
5
6 <name xml:lang="en">gnome-shell-extensions</name>
7 <shortdesc xml:lang="en">Modify and extend GNOME Shell functionality and behavior</shortdesc>
8 <description xml:lang="en">
9 GNOME Shell Extensions is a collection of extensions providing
10 additional and optional functionality to GNOME Shell.
11 Most extensions can be installed by configuring --prefix=$HOME/.local,
12 and will be picked automatically at next login.
13 </description>
14 <homepage rdf:resource="https://wiki.gnome.org/Projects/GnomeShell/Extensions" />
15 <mailing-list rdf:resource="http://mail.gnome.org/mailman/listinfo/gnome-shell-list" />
16 <download-page rdf:resource="http://download.gnome.org/sources/gnome-shell-extensions/" />
17 <bug-database rdf:resource="https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues" />
18
19 <category rdf:resource="http://api.gnome.org/doap-extensions#core" />
20 <programming-language>JavaScript</programming-language>
21
22 <maintainer>
23 <foaf:Person>
24 <foaf:name>Giovanni Campagna</foaf:name>
25 <foaf:mbox rdf:resource="mailto:[email protected]" />
26 <gnome:userid>gcampagna</gnome:userid>
27 </foaf:Person>
28 </maintainer>
29 <maintainer>
30 <foaf:Person>
31 <foaf:name>Florian Müllner</foaf:name>
32 <foaf:mbox rdf:resource="mailto:[email protected]" />
33 <gnome:userid>fmuellner</gnome:userid>
34 </foaf:Person>
35 </maintainer>
36 </Project>
+0
-12
include.mk less more
0 extensionurl = http://git.gnome.org/gnome-shell-extensions
1
2 # Change these to modify how installation is performed
3 topextensiondir = $(datadir)/gnome-shell/extensions
4 extensionbase = @gnome-shell-extensions.gcampax.github.com
5
6 gschemabase = org.gnome.shell.extensions
7
8 uuid = $(EXTENSION_ID)$(extensionbase)
9 gschemaname = $(gschemabase).$(EXTENSION_ID)
10
11 extensiondir = $(topextensiondir)/$(uuid)
+0
-405
m4/gettext.m4 less more
0 # gettext.m4 serial 67 (gettext-0.19.6)
1 dnl Copyright (C) 1995-2014 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5 dnl
6 dnl This file can can be used in projects which are not available under
7 dnl the GNU General Public License or the GNU Library General Public
8 dnl License but which still want to provide support for the GNU gettext
9 dnl functionality.
10 dnl Please note that the actual code of the GNU gettext library is covered
11 dnl by the GNU Library General Public License, and the rest of the GNU
12 dnl gettext package package is covered by the GNU General Public License.
13 dnl They are *not* in the public domain.
14
15 dnl Authors:
16 dnl Ulrich Drepper <[email protected]>, 1995-2000.
17 dnl Bruno Haible <[email protected]>, 2000-2006, 2008-2010.
18
19 dnl Macro to add for using GNU gettext.
20
21 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
22 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
23 dnl default (if it is not specified or empty) is 'no-libtool'.
24 dnl INTLSYMBOL should be 'external' for packages with no intl directory,
25 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
26 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
27 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
28 dnl depending on --{enable,disable}-{shared,static} and on the presence of
29 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
30 dnl $(top_builddir)/intl/libintl.a will be created.
31 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
32 dnl implementations (in libc or libintl) without the ngettext() function
33 dnl will be ignored. If NEEDSYMBOL is specified and is
34 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
35 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
36 dnl INTLDIR is used to find the intl libraries. If empty,
37 dnl the value '$(top_builddir)/intl/' is used.
38 dnl
39 dnl The result of the configuration is one of three cases:
40 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
41 dnl and used.
42 dnl Catalog format: GNU --> install in $(datadir)
43 dnl Catalog extension: .mo after installation, .gmo in source tree
44 dnl 2) GNU gettext has been found in the system's C library.
45 dnl Catalog format: GNU --> install in $(datadir)
46 dnl Catalog extension: .mo after installation, .gmo in source tree
47 dnl 3) No internationalization, always use English msgid.
48 dnl Catalog format: none
49 dnl Catalog extension: none
50 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
51 dnl The use of .gmo is historical (it was needed to avoid overwriting the
52 dnl GNU format catalogs when building on a platform with an X/Open gettext),
53 dnl but we keep it in order not to force irrelevant filename changes on the
54 dnl maintainers.
55 dnl
56 AC_DEFUN([AM_GNU_GETTEXT],
57 [
58 dnl Argument checking.
59 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
60 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
61 ])])])])])
62 ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old],
63 [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])])
64 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
65 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
66 ])])])])
67 define([gt_included_intl],
68 ifelse([$1], [external],
69 ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
70 [yes]))
71 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
72 gt_NEEDS_INIT
73 AM_GNU_GETTEXT_NEED([$2])
74
75 AC_REQUIRE([AM_PO_SUBDIRS])dnl
76 ifelse(gt_included_intl, yes, [
77 AC_REQUIRE([AM_INTL_SUBDIR])dnl
78 ])
79
80 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
81 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
82 AC_REQUIRE([AC_LIB_RPATH])
83
84 dnl Sometimes libintl requires libiconv, so first search for libiconv.
85 dnl Ideally we would do this search only after the
86 dnl if test "$USE_NLS" = "yes"; then
87 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
88 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
89 dnl the configure script would need to contain the same shell code
90 dnl again, outside any 'if'. There are two solutions:
91 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
92 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
93 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
94 dnl documented, we avoid it.
95 ifelse(gt_included_intl, yes, , [
96 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
97 ])
98
99 dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation.
100 gt_INTL_MACOSX
101
102 dnl Set USE_NLS.
103 AC_REQUIRE([AM_NLS])
104
105 ifelse(gt_included_intl, yes, [
106 BUILD_INCLUDED_LIBINTL=no
107 USE_INCLUDED_LIBINTL=no
108 ])
109 LIBINTL=
110 LTLIBINTL=
111 POSUB=
112
113 dnl Add a version number to the cache macros.
114 case " $gt_needs " in
115 *" need-formatstring-macros "*) gt_api_version=3 ;;
116 *" need-ngettext "*) gt_api_version=2 ;;
117 *) gt_api_version=1 ;;
118 esac
119 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
120 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
121
122 dnl If we use NLS figure out what method
123 if test "$USE_NLS" = "yes"; then
124 gt_use_preinstalled_gnugettext=no
125 ifelse(gt_included_intl, yes, [
126 AC_MSG_CHECKING([whether included gettext is requested])
127 AC_ARG_WITH([included-gettext],
128 [ --with-included-gettext use the GNU gettext library included here],
129 nls_cv_force_use_gnu_gettext=$withval,
130 nls_cv_force_use_gnu_gettext=no)
131 AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext])
132
133 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
134 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
135 ])
136 dnl User does not insist on using GNU NLS library. Figure out what
137 dnl to use. If GNU gettext is available we use this. Else we have
138 dnl to fall back to GNU NLS library.
139
140 if test $gt_api_version -ge 3; then
141 gt_revision_test_code='
142 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
143 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
144 #endif
145 changequote(,)dnl
146 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
147 changequote([,])dnl
148 '
149 else
150 gt_revision_test_code=
151 fi
152 if test $gt_api_version -ge 2; then
153 gt_expression_test_code=' + * ngettext ("", "", 0)'
154 else
155 gt_expression_test_code=
156 fi
157
158 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
159 [AC_LINK_IFELSE(
160 [AC_LANG_PROGRAM(
161 [[
162 #include <libintl.h>
163 $gt_revision_test_code
164 extern int _nl_msg_cat_cntr;
165 extern int *_nl_domain_bindings;
166 ]],
167 [[
168 bindtextdomain ("", "");
169 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
170 ]])],
171 [eval "$gt_func_gnugettext_libc=yes"],
172 [eval "$gt_func_gnugettext_libc=no"])])
173
174 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
175 dnl Sometimes libintl requires libiconv, so first search for libiconv.
176 ifelse(gt_included_intl, yes, , [
177 AM_ICONV_LINK
178 ])
179 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
180 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
181 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
182 dnl even if libiconv doesn't exist.
183 AC_LIB_LINKFLAGS_BODY([intl])
184 AC_CACHE_CHECK([for GNU gettext in libintl],
185 [$gt_func_gnugettext_libintl],
186 [gt_save_CPPFLAGS="$CPPFLAGS"
187 CPPFLAGS="$CPPFLAGS $INCINTL"
188 gt_save_LIBS="$LIBS"
189 LIBS="$LIBS $LIBINTL"
190 dnl Now see whether libintl exists and does not depend on libiconv.
191 AC_LINK_IFELSE(
192 [AC_LANG_PROGRAM(
193 [[
194 #include <libintl.h>
195 $gt_revision_test_code
196 extern int _nl_msg_cat_cntr;
197 extern
198 #ifdef __cplusplus
199 "C"
200 #endif
201 const char *_nl_expand_alias (const char *);
202 ]],
203 [[
204 bindtextdomain ("", "");
205 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
206 ]])],
207 [eval "$gt_func_gnugettext_libintl=yes"],
208 [eval "$gt_func_gnugettext_libintl=no"])
209 dnl Now see whether libintl exists and depends on libiconv.
210 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
211 LIBS="$LIBS $LIBICONV"
212 AC_LINK_IFELSE(
213 [AC_LANG_PROGRAM(
214 [[
215 #include <libintl.h>
216 $gt_revision_test_code
217 extern int _nl_msg_cat_cntr;
218 extern
219 #ifdef __cplusplus
220 "C"
221 #endif
222 const char *_nl_expand_alias (const char *);
223 ]],
224 [[
225 bindtextdomain ("", "");
226 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
227 ]])],
228 [LIBINTL="$LIBINTL $LIBICONV"
229 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
230 eval "$gt_func_gnugettext_libintl=yes"
231 ])
232 fi
233 CPPFLAGS="$gt_save_CPPFLAGS"
234 LIBS="$gt_save_LIBS"])
235 fi
236
237 dnl If an already present or preinstalled GNU gettext() is found,
238 dnl use it. But if this macro is used in GNU gettext, and GNU
239 dnl gettext is already preinstalled in libintl, we update this
240 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
241 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
242 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
243 && test "$PACKAGE" != gettext-runtime \
244 && test "$PACKAGE" != gettext-tools; }; then
245 gt_use_preinstalled_gnugettext=yes
246 else
247 dnl Reset the values set by searching for libintl.
248 LIBINTL=
249 LTLIBINTL=
250 INCINTL=
251 fi
252
253 ifelse(gt_included_intl, yes, [
254 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
255 dnl GNU gettext is not found in the C library.
256 dnl Fall back on included GNU gettext library.
257 nls_cv_use_gnu_gettext=yes
258 fi
259 fi
260
261 if test "$nls_cv_use_gnu_gettext" = "yes"; then
262 dnl Mark actions used to generate GNU NLS library.
263 BUILD_INCLUDED_LIBINTL=yes
264 USE_INCLUDED_LIBINTL=yes
265 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
266 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
267 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
268 fi
269
270 CATOBJEXT=
271 if test "$gt_use_preinstalled_gnugettext" = "yes" \
272 || test "$nls_cv_use_gnu_gettext" = "yes"; then
273 dnl Mark actions to use GNU gettext tools.
274 CATOBJEXT=.gmo
275 fi
276 ])
277
278 if test -n "$INTL_MACOSX_LIBS"; then
279 if test "$gt_use_preinstalled_gnugettext" = "yes" \
280 || test "$nls_cv_use_gnu_gettext" = "yes"; then
281 dnl Some extra flags are needed during linking.
282 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
283 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
284 fi
285 fi
286
287 if test "$gt_use_preinstalled_gnugettext" = "yes" \
288 || test "$nls_cv_use_gnu_gettext" = "yes"; then
289 AC_DEFINE([ENABLE_NLS], [1],
290 [Define to 1 if translation of program messages to the user's native language
291 is requested.])
292 else
293 USE_NLS=no
294 fi
295 fi
296
297 AC_MSG_CHECKING([whether to use NLS])
298 AC_MSG_RESULT([$USE_NLS])
299 if test "$USE_NLS" = "yes"; then
300 AC_MSG_CHECKING([where the gettext function comes from])
301 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
302 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
303 gt_source="external libintl"
304 else
305 gt_source="libc"
306 fi
307 else
308 gt_source="included intl directory"
309 fi
310 AC_MSG_RESULT([$gt_source])
311 fi
312
313 if test "$USE_NLS" = "yes"; then
314
315 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
316 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
317 AC_MSG_CHECKING([how to link with libintl])
318 AC_MSG_RESULT([$LIBINTL])
319 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
320 fi
321
322 dnl For backward compatibility. Some packages may be using this.
323 AC_DEFINE([HAVE_GETTEXT], [1],
324 [Define if the GNU gettext() function is already present or preinstalled.])
325 AC_DEFINE([HAVE_DCGETTEXT], [1],
326 [Define if the GNU dcgettext() function is already present or preinstalled.])
327 fi
328
329 dnl We need to process the po/ directory.
330 POSUB=po
331 fi
332
333 ifelse(gt_included_intl, yes, [
334 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
335 dnl to 'yes' because some of the testsuite requires it.
336 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
337 BUILD_INCLUDED_LIBINTL=yes
338 fi
339
340 dnl Make all variables we use known to autoconf.
341 AC_SUBST([BUILD_INCLUDED_LIBINTL])
342 AC_SUBST([USE_INCLUDED_LIBINTL])
343 AC_SUBST([CATOBJEXT])
344
345 dnl For backward compatibility. Some configure.ins may be using this.
346 nls_cv_header_intl=
347 nls_cv_header_libgt=
348
349 dnl For backward compatibility. Some Makefiles may be using this.
350 DATADIRNAME=share
351 AC_SUBST([DATADIRNAME])
352
353 dnl For backward compatibility. Some Makefiles may be using this.
354 INSTOBJEXT=.mo
355 AC_SUBST([INSTOBJEXT])
356
357 dnl For backward compatibility. Some Makefiles may be using this.
358 GENCAT=gencat
359 AC_SUBST([GENCAT])
360
361 dnl For backward compatibility. Some Makefiles may be using this.
362 INTLOBJS=
363 if test "$USE_INCLUDED_LIBINTL" = yes; then
364 INTLOBJS="\$(GETTOBJS)"
365 fi
366 AC_SUBST([INTLOBJS])
367
368 dnl Enable libtool support if the surrounding package wishes it.
369 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
370 AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX])
371 ])
372
373 dnl For backward compatibility. Some Makefiles may be using this.
374 INTLLIBS="$LIBINTL"
375 AC_SUBST([INTLLIBS])
376
377 dnl Make all documented variables known to autoconf.
378 AC_SUBST([LIBINTL])
379 AC_SUBST([LTLIBINTL])
380 AC_SUBST([POSUB])
381 ])
382
383
384 dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
385 m4_define([gt_NEEDS_INIT],
386 [
387 m4_divert_text([DEFAULTS], [gt_needs=])
388 m4_define([gt_NEEDS_INIT], [])
389 ])
390
391
392 dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
393 AC_DEFUN([AM_GNU_GETTEXT_NEED],
394 [
395 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
396 ])
397
398
399 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
400 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
401
402
403 dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version])
404 AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], [])
+0
-271
m4/iconv.m4 less more
0 # iconv.m4 serial 19 (gettext-0.18.2)
1 dnl Copyright (C) 2000-2002, 2007-2014 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5
6 dnl From Bruno Haible.
7
8 AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
9 [
10 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
11 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
12 AC_REQUIRE([AC_LIB_RPATH])
13
14 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
15 dnl accordingly.
16 AC_LIB_LINKFLAGS_BODY([iconv])
17 ])
18
19 AC_DEFUN([AM_ICONV_LINK],
20 [
21 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
22 dnl those with the standalone portable GNU libiconv installed).
23 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
24
25 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
26 dnl accordingly.
27 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
28
29 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
30 dnl because if the user has installed libiconv and not disabled its use
31 dnl via --without-libiconv-prefix, he wants to use it. The first
32 dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed.
33 am_save_CPPFLAGS="$CPPFLAGS"
34 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
35
36 AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
37 am_cv_func_iconv="no, consider installing GNU libiconv"
38 am_cv_lib_iconv=no
39 AC_LINK_IFELSE(
40 [AC_LANG_PROGRAM(
41 [[
42 #include <stdlib.h>
43 #include <iconv.h>
44 ]],
45 [[iconv_t cd = iconv_open("","");
46 iconv(cd,NULL,NULL,NULL,NULL);
47 iconv_close(cd);]])],
48 [am_cv_func_iconv=yes])
49 if test "$am_cv_func_iconv" != yes; then
50 am_save_LIBS="$LIBS"
51 LIBS="$LIBS $LIBICONV"
52 AC_LINK_IFELSE(
53 [AC_LANG_PROGRAM(
54 [[
55 #include <stdlib.h>
56 #include <iconv.h>
57 ]],
58 [[iconv_t cd = iconv_open("","");
59 iconv(cd,NULL,NULL,NULL,NULL);
60 iconv_close(cd);]])],
61 [am_cv_lib_iconv=yes]
62 [am_cv_func_iconv=yes])
63 LIBS="$am_save_LIBS"
64 fi
65 ])
66 if test "$am_cv_func_iconv" = yes; then
67 AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
68 dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11,
69 dnl Solaris 10.
70 am_save_LIBS="$LIBS"
71 if test $am_cv_lib_iconv = yes; then
72 LIBS="$LIBS $LIBICONV"
73 fi
74 am_cv_func_iconv_works=no
75 for ac_iconv_const in '' 'const'; do
76 AC_RUN_IFELSE(
77 [AC_LANG_PROGRAM(
78 [[
79 #include <iconv.h>
80 #include <string.h>
81
82 #ifndef ICONV_CONST
83 # define ICONV_CONST $ac_iconv_const
84 #endif
85 ]],
86 [[int result = 0;
87 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
88 returns. */
89 {
90 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
91 if (cd_utf8_to_88591 != (iconv_t)(-1))
92 {
93 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
94 char buf[10];
95 ICONV_CONST char *inptr = input;
96 size_t inbytesleft = strlen (input);
97 char *outptr = buf;
98 size_t outbytesleft = sizeof (buf);
99 size_t res = iconv (cd_utf8_to_88591,
100 &inptr, &inbytesleft,
101 &outptr, &outbytesleft);
102 if (res == 0)
103 result |= 1;
104 iconv_close (cd_utf8_to_88591);
105 }
106 }
107 /* Test against Solaris 10 bug: Failures are not distinguishable from
108 successful returns. */
109 {
110 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
111 if (cd_ascii_to_88591 != (iconv_t)(-1))
112 {
113 static ICONV_CONST char input[] = "\263";
114 char buf[10];
115 ICONV_CONST char *inptr = input;
116 size_t inbytesleft = strlen (input);
117 char *outptr = buf;
118 size_t outbytesleft = sizeof (buf);
119 size_t res = iconv (cd_ascii_to_88591,
120 &inptr, &inbytesleft,
121 &outptr, &outbytesleft);
122 if (res == 0)
123 result |= 2;
124 iconv_close (cd_ascii_to_88591);
125 }
126 }
127 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
128 {
129 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
130 if (cd_88591_to_utf8 != (iconv_t)(-1))
131 {
132 static ICONV_CONST char input[] = "\304";
133 static char buf[2] = { (char)0xDE, (char)0xAD };
134 ICONV_CONST char *inptr = input;
135 size_t inbytesleft = 1;
136 char *outptr = buf;
137 size_t outbytesleft = 1;
138 size_t res = iconv (cd_88591_to_utf8,
139 &inptr, &inbytesleft,
140 &outptr, &outbytesleft);
141 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
142 result |= 4;
143 iconv_close (cd_88591_to_utf8);
144 }
145 }
146 #if 0 /* This bug could be worked around by the caller. */
147 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
148 {
149 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
150 if (cd_88591_to_utf8 != (iconv_t)(-1))
151 {
152 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
153 char buf[50];
154 ICONV_CONST char *inptr = input;
155 size_t inbytesleft = strlen (input);
156 char *outptr = buf;
157 size_t outbytesleft = sizeof (buf);
158 size_t res = iconv (cd_88591_to_utf8,
159 &inptr, &inbytesleft,
160 &outptr, &outbytesleft);
161 if ((int)res > 0)
162 result |= 8;
163 iconv_close (cd_88591_to_utf8);
164 }
165 }
166 #endif
167 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
168 provided. */
169 if (/* Try standardized names. */
170 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
171 /* Try IRIX, OSF/1 names. */
172 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
173 /* Try AIX names. */
174 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
175 /* Try HP-UX names. */
176 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
177 result |= 16;
178 return result;
179 ]])],
180 [am_cv_func_iconv_works=yes], ,
181 [case "$host_os" in
182 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
183 *) am_cv_func_iconv_works="guessing yes" ;;
184 esac])
185 test "$am_cv_func_iconv_works" = no || break
186 done
187 LIBS="$am_save_LIBS"
188 ])
189 case "$am_cv_func_iconv_works" in
190 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
191 *) am_func_iconv=yes ;;
192 esac
193 else
194 am_func_iconv=no am_cv_lib_iconv=no
195 fi
196 if test "$am_func_iconv" = yes; then
197 AC_DEFINE([HAVE_ICONV], [1],
198 [Define if you have the iconv() function and it works.])
199 fi
200 if test "$am_cv_lib_iconv" = yes; then
201 AC_MSG_CHECKING([how to link with libiconv])
202 AC_MSG_RESULT([$LIBICONV])
203 else
204 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
205 dnl either.
206 CPPFLAGS="$am_save_CPPFLAGS"
207 LIBICONV=
208 LTLIBICONV=
209 fi
210 AC_SUBST([LIBICONV])
211 AC_SUBST([LTLIBICONV])
212 ])
213
214 dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
215 dnl avoid warnings like
216 dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
217 dnl This is tricky because of the way 'aclocal' is implemented:
218 dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
219 dnl Otherwise aclocal's initial scan pass would miss the macro definition.
220 dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
221 dnl Otherwise aclocal would emit many "Use of uninitialized value $1"
222 dnl warnings.
223 m4_define([gl_iconv_AC_DEFUN],
224 m4_version_prereq([2.64],
225 [[AC_DEFUN_ONCE(
226 [$1], [$2])]],
227 [m4_ifdef([gl_00GNULIB],
228 [[AC_DEFUN_ONCE(
229 [$1], [$2])]],
230 [[AC_DEFUN(
231 [$1], [$2])]])]))
232 gl_iconv_AC_DEFUN([AM_ICONV],
233 [
234 AM_ICONV_LINK
235 if test "$am_cv_func_iconv" = yes; then
236 AC_MSG_CHECKING([for iconv declaration])
237 AC_CACHE_VAL([am_cv_proto_iconv], [
238 AC_COMPILE_IFELSE(
239 [AC_LANG_PROGRAM(
240 [[
241 #include <stdlib.h>
242 #include <iconv.h>
243 extern
244 #ifdef __cplusplus
245 "C"
246 #endif
247 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
248 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
249 #else
250 size_t iconv();
251 #endif
252 ]],
253 [[]])],
254 [am_cv_proto_iconv_arg1=""],
255 [am_cv_proto_iconv_arg1="const"])
256 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
257 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
258 AC_MSG_RESULT([
259 $am_cv_proto_iconv])
260 AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
261 [Define as const if the declaration of iconv() needs const.])
262 dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>.
263 m4_ifdef([gl_ICONV_H_DEFAULTS],
264 [AC_REQUIRE([gl_ICONV_H_DEFAULTS])
265 if test -n "$am_cv_proto_iconv_arg1"; then
266 ICONV_CONST="const"
267 fi
268 ])
269 fi
270 ])
+0
-56
m4/intlmacosx.m4 less more
0 # intlmacosx.m4 serial 5 (gettext-0.18.2)
1 dnl Copyright (C) 2004-2014 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5 dnl
6 dnl This file can can be used in projects which are not available under
7 dnl the GNU General Public License or the GNU Library General Public
8 dnl License but which still want to provide support for the GNU gettext
9 dnl functionality.
10 dnl Please note that the actual code of the GNU gettext library is covered
11 dnl by the GNU Library General Public License, and the rest of the GNU
12 dnl gettext package package is covered by the GNU General Public License.
13 dnl They are *not* in the public domain.
14
15 dnl Checks for special options needed on Mac OS X.
16 dnl Defines INTL_MACOSX_LIBS.
17 AC_DEFUN([gt_INTL_MACOSX],
18 [
19 dnl Check for API introduced in Mac OS X 10.2.
20 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
21 [gt_cv_func_CFPreferencesCopyAppValue],
22 [gt_save_LIBS="$LIBS"
23 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
24 AC_LINK_IFELSE(
25 [AC_LANG_PROGRAM(
26 [[#include <CoreFoundation/CFPreferences.h>]],
27 [[CFPreferencesCopyAppValue(NULL, NULL)]])],
28 [gt_cv_func_CFPreferencesCopyAppValue=yes],
29 [gt_cv_func_CFPreferencesCopyAppValue=no])
30 LIBS="$gt_save_LIBS"])
31 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
32 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
33 [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
34 fi
35 dnl Check for API introduced in Mac OS X 10.3.
36 AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
37 [gt_save_LIBS="$LIBS"
38 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
39 AC_LINK_IFELSE(
40 [AC_LANG_PROGRAM(
41 [[#include <CoreFoundation/CFLocale.h>]],
42 [[CFLocaleCopyCurrent();]])],
43 [gt_cv_func_CFLocaleCopyCurrent=yes],
44 [gt_cv_func_CFLocaleCopyCurrent=no])
45 LIBS="$gt_save_LIBS"])
46 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
47 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
48 [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
49 fi
50 INTL_MACOSX_LIBS=
51 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
52 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
53 fi
54 AC_SUBST([INTL_MACOSX_LIBS])
55 ])
+0
-119
m4/lib-ld.m4 less more
0 # lib-ld.m4 serial 6
1 dnl Copyright (C) 1996-2003, 2009-2015 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5
6 dnl Subroutines of libtool.m4,
7 dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid
8 dnl collision with libtool.m4.
9
10 dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no.
11 AC_DEFUN([AC_LIB_PROG_LD_GNU],
12 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
13 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
14 case `$LD -v 2>&1 </dev/null` in
15 *GNU* | *'with BFD'*)
16 acl_cv_prog_gnu_ld=yes
17 ;;
18 *)
19 acl_cv_prog_gnu_ld=no
20 ;;
21 esac])
22 with_gnu_ld=$acl_cv_prog_gnu_ld
23 ])
24
25 dnl From libtool-2.4. Sets the variable LD.
26 AC_DEFUN([AC_LIB_PROG_LD],
27 [AC_REQUIRE([AC_PROG_CC])dnl
28 AC_REQUIRE([AC_CANONICAL_HOST])dnl
29
30 AC_ARG_WITH([gnu-ld],
31 [AS_HELP_STRING([--with-gnu-ld],
32 [assume the C compiler uses GNU ld [default=no]])],
33 [test "$withval" = no || with_gnu_ld=yes],
34 [with_gnu_ld=no])dnl
35
36 # Prepare PATH_SEPARATOR.
37 # The user is always right.
38 if test "${PATH_SEPARATOR+set}" != set; then
39 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
40 # contains only /bin. Note that ksh looks also at the FPATH variable,
41 # so we have to set that as well for the test.
42 PATH_SEPARATOR=:
43 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
44 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
45 || PATH_SEPARATOR=';'
46 }
47 fi
48
49 ac_prog=ld
50 if test "$GCC" = yes; then
51 # Check if gcc -print-prog-name=ld gives a path.
52 AC_MSG_CHECKING([for ld used by $CC])
53 case $host in
54 *-*-mingw*)
55 # gcc leaves a trailing carriage return which upsets mingw
56 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
57 *)
58 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
59 esac
60 case $ac_prog in
61 # Accept absolute paths.
62 [[\\/]]* | ?:[[\\/]]*)
63 re_direlt='/[[^/]][[^/]]*/\.\./'
64 # Canonicalize the pathname of ld
65 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
66 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
67 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
68 done
69 test -z "$LD" && LD="$ac_prog"
70 ;;
71 "")
72 # If it fails, then pretend we aren't using GCC.
73 ac_prog=ld
74 ;;
75 *)
76 # If it is relative, then search for the first ld in PATH.
77 with_gnu_ld=unknown
78 ;;
79 esac
80 elif test "$with_gnu_ld" = yes; then
81 AC_MSG_CHECKING([for GNU ld])
82 else
83 AC_MSG_CHECKING([for non-GNU ld])
84 fi
85 AC_CACHE_VAL([acl_cv_path_LD],
86 [if test -z "$LD"; then
87 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
88 for ac_dir in $PATH; do
89 IFS="$acl_save_ifs"
90 test -z "$ac_dir" && ac_dir=.
91 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
92 acl_cv_path_LD="$ac_dir/$ac_prog"
93 # Check to see if the program is GNU ld. I'd rather use --version,
94 # but apparently some variants of GNU ld only accept -v.
95 # Break only if it was the GNU/non-GNU ld that we prefer.
96 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
97 *GNU* | *'with BFD'*)
98 test "$with_gnu_ld" != no && break
99 ;;
100 *)
101 test "$with_gnu_ld" != yes && break
102 ;;
103 esac
104 fi
105 done
106 IFS="$acl_save_ifs"
107 else
108 acl_cv_path_LD="$LD" # Let the user override the test with a path.
109 fi])
110 LD="$acl_cv_path_LD"
111 if test -n "$LD"; then
112 AC_MSG_RESULT([$LD])
113 else
114 AC_MSG_RESULT([no])
115 fi
116 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
117 AC_LIB_PROG_LD_GNU
118 ])
+0
-777
m4/lib-link.m4 less more
0 # lib-link.m4 serial 26 (gettext-0.18.2)
1 dnl Copyright (C) 2001-2015 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5
6 dnl From Bruno Haible.
7
8 AC_PREREQ([2.54])
9
10 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
11 dnl the libraries corresponding to explicit and implicit dependencies.
12 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
13 dnl augments the CPPFLAGS variable.
14 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
15 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
16 AC_DEFUN([AC_LIB_LINKFLAGS],
17 [
18 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
19 AC_REQUIRE([AC_LIB_RPATH])
20 pushdef([Name],[m4_translit([$1],[./+-], [____])])
21 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
22 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
23 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
24 AC_LIB_LINKFLAGS_BODY([$1], [$2])
25 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
26 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
27 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
28 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
29 ])
30 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
31 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
32 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
33 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
34 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
35 AC_SUBST([LIB]NAME)
36 AC_SUBST([LTLIB]NAME)
37 AC_SUBST([LIB]NAME[_PREFIX])
38 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
39 dnl results of this search when this library appears as a dependency.
40 HAVE_LIB[]NAME=yes
41 popdef([NAME])
42 popdef([Name])
43 ])
44
45 dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message])
46 dnl searches for libname and the libraries corresponding to explicit and
47 dnl implicit dependencies, together with the specified include files and
48 dnl the ability to compile and link the specified testcode. The missing-message
49 dnl defaults to 'no' and may contain additional hints for the user.
50 dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME}
51 dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and
52 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
53 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
54 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
55 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
56 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
57 [
58 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
59 AC_REQUIRE([AC_LIB_RPATH])
60 pushdef([Name],[m4_translit([$1],[./+-], [____])])
61 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
62 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
63
64 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
65 dnl accordingly.
66 AC_LIB_LINKFLAGS_BODY([$1], [$2])
67
68 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
69 dnl because if the user has installed lib[]Name and not disabled its use
70 dnl via --without-lib[]Name-prefix, he wants to use it.
71 ac_save_CPPFLAGS="$CPPFLAGS"
72 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
73
74 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
75 ac_save_LIBS="$LIBS"
76 dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
77 dnl because these -l options might require -L options that are present in
78 dnl LIBS. -l options benefit only from the -L options listed before it.
79 dnl Otherwise, add it to the front of LIBS, because it may be a static
80 dnl library that depends on another static library that is present in LIBS.
81 dnl Static libraries benefit only from the static libraries listed after
82 dnl it.
83 case " $LIB[]NAME" in
84 *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
85 *) LIBS="$LIB[]NAME $LIBS" ;;
86 esac
87 AC_LINK_IFELSE(
88 [AC_LANG_PROGRAM([[$3]], [[$4]])],
89 [ac_cv_lib[]Name=yes],
90 [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
91 LIBS="$ac_save_LIBS"
92 ])
93 if test "$ac_cv_lib[]Name" = yes; then
94 HAVE_LIB[]NAME=yes
95 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
96 AC_MSG_CHECKING([how to link with lib[]$1])
97 AC_MSG_RESULT([$LIB[]NAME])
98 else
99 HAVE_LIB[]NAME=no
100 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
101 dnl $INC[]NAME either.
102 CPPFLAGS="$ac_save_CPPFLAGS"
103 LIB[]NAME=
104 LTLIB[]NAME=
105 LIB[]NAME[]_PREFIX=
106 fi
107 AC_SUBST([HAVE_LIB]NAME)
108 AC_SUBST([LIB]NAME)
109 AC_SUBST([LTLIB]NAME)
110 AC_SUBST([LIB]NAME[_PREFIX])
111 popdef([NAME])
112 popdef([Name])
113 ])
114
115 dnl Determine the platform dependent parameters needed to use rpath:
116 dnl acl_libext,
117 dnl acl_shlibext,
118 dnl acl_libname_spec,
119 dnl acl_library_names_spec,
120 dnl acl_hardcode_libdir_flag_spec,
121 dnl acl_hardcode_libdir_separator,
122 dnl acl_hardcode_direct,
123 dnl acl_hardcode_minus_L.
124 AC_DEFUN([AC_LIB_RPATH],
125 [
126 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
127 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
128 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
129 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
130 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
131 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
132 AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
133 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
134 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
135 . ./conftest.sh
136 rm -f ./conftest.sh
137 acl_cv_rpath=done
138 ])
139 wl="$acl_cv_wl"
140 acl_libext="$acl_cv_libext"
141 acl_shlibext="$acl_cv_shlibext"
142 acl_libname_spec="$acl_cv_libname_spec"
143 acl_library_names_spec="$acl_cv_library_names_spec"
144 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
145 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
146 acl_hardcode_direct="$acl_cv_hardcode_direct"
147 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
148 dnl Determine whether the user wants rpath handling at all.
149 AC_ARG_ENABLE([rpath],
150 [ --disable-rpath do not hardcode runtime library paths],
151 :, enable_rpath=yes)
152 ])
153
154 dnl AC_LIB_FROMPACKAGE(name, package)
155 dnl declares that libname comes from the given package. The configure file
156 dnl will then not have a --with-libname-prefix option but a
157 dnl --with-package-prefix option. Several libraries can come from the same
158 dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar
159 dnl macro call that searches for libname.
160 AC_DEFUN([AC_LIB_FROMPACKAGE],
161 [
162 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
163 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
164 define([acl_frompackage_]NAME, [$2])
165 popdef([NAME])
166 pushdef([PACK],[$2])
167 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
168 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
169 define([acl_libsinpackage_]PACKUP,
170 m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
171 popdef([PACKUP])
172 popdef([PACK])
173 ])
174
175 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
176 dnl the libraries corresponding to explicit and implicit dependencies.
177 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
178 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
179 dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
180 AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
181 [
182 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
183 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
184 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
185 pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
186 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
187 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
188 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
189 dnl Autoconf >= 2.61 supports dots in --with options.
190 pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)])
191 dnl By default, look in $includedir and $libdir.
192 use_additional=yes
193 AC_LIB_WITH_FINAL_PREFIX([
194 eval additional_includedir=\"$includedir\"
195 eval additional_libdir=\"$libdir\"
196 ])
197 AC_ARG_WITH(P_A_C_K[-prefix],
198 [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
199 --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
200 [
201 if test "X$withval" = "Xno"; then
202 use_additional=no
203 else
204 if test "X$withval" = "X"; then
205 AC_LIB_WITH_FINAL_PREFIX([
206 eval additional_includedir=\"$includedir\"
207 eval additional_libdir=\"$libdir\"
208 ])
209 else
210 additional_includedir="$withval/include"
211 additional_libdir="$withval/$acl_libdirstem"
212 if test "$acl_libdirstem2" != "$acl_libdirstem" \
213 && ! test -d "$withval/$acl_libdirstem"; then
214 additional_libdir="$withval/$acl_libdirstem2"
215 fi
216 fi
217 fi
218 ])
219 dnl Search the library and its dependencies in $additional_libdir and
220 dnl $LDFLAGS. Using breadth-first-seach.
221 LIB[]NAME=
222 LTLIB[]NAME=
223 INC[]NAME=
224 LIB[]NAME[]_PREFIX=
225 dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
226 dnl computed. So it has to be reset here.
227 HAVE_LIB[]NAME=
228 rpathdirs=
229 ltrpathdirs=
230 names_already_handled=
231 names_next_round='$1 $2'
232 while test -n "$names_next_round"; do
233 names_this_round="$names_next_round"
234 names_next_round=
235 for name in $names_this_round; do
236 already_handled=
237 for n in $names_already_handled; do
238 if test "$n" = "$name"; then
239 already_handled=yes
240 break
241 fi
242 done
243 if test -z "$already_handled"; then
244 names_already_handled="$names_already_handled $name"
245 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
246 dnl or AC_LIB_HAVE_LINKFLAGS call.
247 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
248 eval value=\"\$HAVE_LIB$uppername\"
249 if test -n "$value"; then
250 if test "$value" = yes; then
251 eval value=\"\$LIB$uppername\"
252 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
253 eval value=\"\$LTLIB$uppername\"
254 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
255 else
256 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
257 dnl that this library doesn't exist. So just drop it.
258 :
259 fi
260 else
261 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
262 dnl and the already constructed $LIBNAME/$LTLIBNAME.
263 found_dir=
264 found_la=
265 found_so=
266 found_a=
267 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
268 if test -n "$acl_shlibext"; then
269 shrext=".$acl_shlibext" # typically: shrext=.so
270 else
271 shrext=
272 fi
273 if test $use_additional = yes; then
274 dir="$additional_libdir"
275 dnl The same code as in the loop below:
276 dnl First look for a shared library.
277 if test -n "$acl_shlibext"; then
278 if test -f "$dir/$libname$shrext"; then
279 found_dir="$dir"
280 found_so="$dir/$libname$shrext"
281 else
282 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
283 ver=`(cd "$dir" && \
284 for f in "$libname$shrext".*; do echo "$f"; done \
285 | sed -e "s,^$libname$shrext\\\\.,," \
286 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
287 | sed 1q ) 2>/dev/null`
288 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
289 found_dir="$dir"
290 found_so="$dir/$libname$shrext.$ver"
291 fi
292 else
293 eval library_names=\"$acl_library_names_spec\"
294 for f in $library_names; do
295 if test -f "$dir/$f"; then
296 found_dir="$dir"
297 found_so="$dir/$f"
298 break
299 fi
300 done
301 fi
302 fi
303 fi
304 dnl Then look for a static library.
305 if test "X$found_dir" = "X"; then
306 if test -f "$dir/$libname.$acl_libext"; then
307 found_dir="$dir"
308 found_a="$dir/$libname.$acl_libext"
309 fi
310 fi
311 if test "X$found_dir" != "X"; then
312 if test -f "$dir/$libname.la"; then
313 found_la="$dir/$libname.la"
314 fi
315 fi
316 fi
317 if test "X$found_dir" = "X"; then
318 for x in $LDFLAGS $LTLIB[]NAME; do
319 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
320 case "$x" in
321 -L*)
322 dir=`echo "X$x" | sed -e 's/^X-L//'`
323 dnl First look for a shared library.
324 if test -n "$acl_shlibext"; then
325 if test -f "$dir/$libname$shrext"; then
326 found_dir="$dir"
327 found_so="$dir/$libname$shrext"
328 else
329 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
330 ver=`(cd "$dir" && \
331 for f in "$libname$shrext".*; do echo "$f"; done \
332 | sed -e "s,^$libname$shrext\\\\.,," \
333 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
334 | sed 1q ) 2>/dev/null`
335 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
336 found_dir="$dir"
337 found_so="$dir/$libname$shrext.$ver"
338 fi
339 else
340 eval library_names=\"$acl_library_names_spec\"
341 for f in $library_names; do
342 if test -f "$dir/$f"; then
343 found_dir="$dir"
344 found_so="$dir/$f"
345 break
346 fi
347 done
348 fi
349 fi
350 fi
351 dnl Then look for a static library.
352 if test "X$found_dir" = "X"; then
353 if test -f "$dir/$libname.$acl_libext"; then
354 found_dir="$dir"
355 found_a="$dir/$libname.$acl_libext"
356 fi
357 fi
358 if test "X$found_dir" != "X"; then
359 if test -f "$dir/$libname.la"; then
360 found_la="$dir/$libname.la"
361 fi
362 fi
363 ;;
364 esac
365 if test "X$found_dir" != "X"; then
366 break
367 fi
368 done
369 fi
370 if test "X$found_dir" != "X"; then
371 dnl Found the library.
372 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
373 if test "X$found_so" != "X"; then
374 dnl Linking with a shared library. We attempt to hardcode its
375 dnl directory into the executable's runpath, unless it's the
376 dnl standard /usr/lib.
377 if test "$enable_rpath" = no \
378 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
379 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
380 dnl No hardcoding is needed.
381 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
382 else
383 dnl Use an explicit option to hardcode DIR into the resulting
384 dnl binary.
385 dnl Potentially add DIR to ltrpathdirs.
386 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
387 haveit=
388 for x in $ltrpathdirs; do
389 if test "X$x" = "X$found_dir"; then
390 haveit=yes
391 break
392 fi
393 done
394 if test -z "$haveit"; then
395 ltrpathdirs="$ltrpathdirs $found_dir"
396 fi
397 dnl The hardcoding into $LIBNAME is system dependent.
398 if test "$acl_hardcode_direct" = yes; then
399 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
400 dnl resulting binary.
401 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
402 else
403 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
404 dnl Use an explicit option to hardcode DIR into the resulting
405 dnl binary.
406 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
407 dnl Potentially add DIR to rpathdirs.
408 dnl The rpathdirs will be appended to $LIBNAME at the end.
409 haveit=
410 for x in $rpathdirs; do
411 if test "X$x" = "X$found_dir"; then
412 haveit=yes
413 break
414 fi
415 done
416 if test -z "$haveit"; then
417 rpathdirs="$rpathdirs $found_dir"
418 fi
419 else
420 dnl Rely on "-L$found_dir".
421 dnl But don't add it if it's already contained in the LDFLAGS
422 dnl or the already constructed $LIBNAME
423 haveit=
424 for x in $LDFLAGS $LIB[]NAME; do
425 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
426 if test "X$x" = "X-L$found_dir"; then
427 haveit=yes
428 break
429 fi
430 done
431 if test -z "$haveit"; then
432 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
433 fi
434 if test "$acl_hardcode_minus_L" != no; then
435 dnl FIXME: Not sure whether we should use
436 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
437 dnl here.
438 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
439 else
440 dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
441 dnl here, because this doesn't fit in flags passed to the
442 dnl compiler. So give up. No hardcoding. This affects only
443 dnl very old systems.
444 dnl FIXME: Not sure whether we should use
445 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
446 dnl here.
447 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
448 fi
449 fi
450 fi
451 fi
452 else
453 if test "X$found_a" != "X"; then
454 dnl Linking with a static library.
455 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
456 else
457 dnl We shouldn't come here, but anyway it's good to have a
458 dnl fallback.
459 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
460 fi
461 fi
462 dnl Assume the include files are nearby.
463 additional_includedir=
464 case "$found_dir" in
465 */$acl_libdirstem | */$acl_libdirstem/)
466 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
467 if test "$name" = '$1'; then
468 LIB[]NAME[]_PREFIX="$basedir"
469 fi
470 additional_includedir="$basedir/include"
471 ;;
472 */$acl_libdirstem2 | */$acl_libdirstem2/)
473 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
474 if test "$name" = '$1'; then
475 LIB[]NAME[]_PREFIX="$basedir"
476 fi
477 additional_includedir="$basedir/include"
478 ;;
479 esac
480 if test "X$additional_includedir" != "X"; then
481 dnl Potentially add $additional_includedir to $INCNAME.
482 dnl But don't add it
483 dnl 1. if it's the standard /usr/include,
484 dnl 2. if it's /usr/local/include and we are using GCC on Linux,
485 dnl 3. if it's already present in $CPPFLAGS or the already
486 dnl constructed $INCNAME,
487 dnl 4. if it doesn't exist as a directory.
488 if test "X$additional_includedir" != "X/usr/include"; then
489 haveit=
490 if test "X$additional_includedir" = "X/usr/local/include"; then
491 if test -n "$GCC"; then
492 case $host_os in
493 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
494 esac
495 fi
496 fi
497 if test -z "$haveit"; then
498 for x in $CPPFLAGS $INC[]NAME; do
499 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
500 if test "X$x" = "X-I$additional_includedir"; then
501 haveit=yes
502 break
503 fi
504 done
505 if test -z "$haveit"; then
506 if test -d "$additional_includedir"; then
507 dnl Really add $additional_includedir to $INCNAME.
508 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
509 fi
510 fi
511 fi
512 fi
513 fi
514 dnl Look for dependencies.
515 if test -n "$found_la"; then
516 dnl Read the .la file. It defines the variables
517 dnl dlname, library_names, old_library, dependency_libs, current,
518 dnl age, revision, installed, dlopen, dlpreopen, libdir.
519 save_libdir="$libdir"
520 case "$found_la" in
521 */* | *\\*) . "$found_la" ;;
522 *) . "./$found_la" ;;
523 esac
524 libdir="$save_libdir"
525 dnl We use only dependency_libs.
526 for dep in $dependency_libs; do
527 case "$dep" in
528 -L*)
529 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
530 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
531 dnl But don't add it
532 dnl 1. if it's the standard /usr/lib,
533 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
534 dnl 3. if it's already present in $LDFLAGS or the already
535 dnl constructed $LIBNAME,
536 dnl 4. if it doesn't exist as a directory.
537 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
538 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
539 haveit=
540 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
541 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
542 if test -n "$GCC"; then
543 case $host_os in
544 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
545 esac
546 fi
547 fi
548 if test -z "$haveit"; then
549 haveit=
550 for x in $LDFLAGS $LIB[]NAME; do
551 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
552 if test "X$x" = "X-L$additional_libdir"; then
553 haveit=yes
554 break
555 fi
556 done
557 if test -z "$haveit"; then
558 if test -d "$additional_libdir"; then
559 dnl Really add $additional_libdir to $LIBNAME.
560 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
561 fi
562 fi
563 haveit=
564 for x in $LDFLAGS $LTLIB[]NAME; do
565 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
566 if test "X$x" = "X-L$additional_libdir"; then
567 haveit=yes
568 break
569 fi
570 done
571 if test -z "$haveit"; then
572 if test -d "$additional_libdir"; then
573 dnl Really add $additional_libdir to $LTLIBNAME.
574 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
575 fi
576 fi
577 fi
578 fi
579 ;;
580 -R*)
581 dir=`echo "X$dep" | sed -e 's/^X-R//'`
582 if test "$enable_rpath" != no; then
583 dnl Potentially add DIR to rpathdirs.
584 dnl The rpathdirs will be appended to $LIBNAME at the end.
585 haveit=
586 for x in $rpathdirs; do
587 if test "X$x" = "X$dir"; then
588 haveit=yes
589 break
590 fi
591 done
592 if test -z "$haveit"; then
593 rpathdirs="$rpathdirs $dir"
594 fi
595 dnl Potentially add DIR to ltrpathdirs.
596 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
597 haveit=
598 for x in $ltrpathdirs; do
599 if test "X$x" = "X$dir"; then
600 haveit=yes
601 break
602 fi
603 done
604 if test -z "$haveit"; then
605 ltrpathdirs="$ltrpathdirs $dir"
606 fi
607 fi
608 ;;
609 -l*)
610 dnl Handle this in the next round.
611 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
612 ;;
613 *.la)
614 dnl Handle this in the next round. Throw away the .la's
615 dnl directory; it is already contained in a preceding -L
616 dnl option.
617 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
618 ;;
619 *)
620 dnl Most likely an immediate library name.
621 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
622 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
623 ;;
624 esac
625 done
626 fi
627 else
628 dnl Didn't find the library; assume it is in the system directories
629 dnl known to the linker and runtime loader. (All the system
630 dnl directories known to the linker should also be known to the
631 dnl runtime loader, otherwise the system is severely misconfigured.)
632 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
633 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
634 fi
635 fi
636 fi
637 done
638 done
639 if test "X$rpathdirs" != "X"; then
640 if test -n "$acl_hardcode_libdir_separator"; then
641 dnl Weird platform: only the last -rpath option counts, the user must
642 dnl pass all path elements in one option. We can arrange that for a
643 dnl single library, but not when more than one $LIBNAMEs are used.
644 alldirs=
645 for found_dir in $rpathdirs; do
646 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
647 done
648 dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
649 acl_save_libdir="$libdir"
650 libdir="$alldirs"
651 eval flag=\"$acl_hardcode_libdir_flag_spec\"
652 libdir="$acl_save_libdir"
653 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
654 else
655 dnl The -rpath options are cumulative.
656 for found_dir in $rpathdirs; do
657 acl_save_libdir="$libdir"
658 libdir="$found_dir"
659 eval flag=\"$acl_hardcode_libdir_flag_spec\"
660 libdir="$acl_save_libdir"
661 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
662 done
663 fi
664 fi
665 if test "X$ltrpathdirs" != "X"; then
666 dnl When using libtool, the option that works for both libraries and
667 dnl executables is -R. The -R options are cumulative.
668 for found_dir in $ltrpathdirs; do
669 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
670 done
671 fi
672 popdef([P_A_C_K])
673 popdef([PACKLIBS])
674 popdef([PACKUP])
675 popdef([PACK])
676 popdef([NAME])
677 ])
678
679 dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
680 dnl unless already present in VAR.
681 dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
682 dnl contains two or three consecutive elements that belong together.
683 AC_DEFUN([AC_LIB_APPENDTOVAR],
684 [
685 for element in [$2]; do
686 haveit=
687 for x in $[$1]; do
688 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
689 if test "X$x" = "X$element"; then
690 haveit=yes
691 break
692 fi
693 done
694 if test -z "$haveit"; then
695 [$1]="${[$1]}${[$1]:+ }$element"
696 fi
697 done
698 ])
699
700 dnl For those cases where a variable contains several -L and -l options
701 dnl referring to unknown libraries and directories, this macro determines the
702 dnl necessary additional linker options for the runtime path.
703 dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
704 dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
705 dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
706 dnl otherwise linking without libtool is assumed.
707 AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
708 [
709 AC_REQUIRE([AC_LIB_RPATH])
710 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
711 $1=
712 if test "$enable_rpath" != no; then
713 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
714 dnl Use an explicit option to hardcode directories into the resulting
715 dnl binary.
716 rpathdirs=
717 next=
718 for opt in $2; do
719 if test -n "$next"; then
720 dir="$next"
721 dnl No need to hardcode the standard /usr/lib.
722 if test "X$dir" != "X/usr/$acl_libdirstem" \
723 && test "X$dir" != "X/usr/$acl_libdirstem2"; then
724 rpathdirs="$rpathdirs $dir"
725 fi
726 next=
727 else
728 case $opt in
729 -L) next=yes ;;
730 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
731 dnl No need to hardcode the standard /usr/lib.
732 if test "X$dir" != "X/usr/$acl_libdirstem" \
733 && test "X$dir" != "X/usr/$acl_libdirstem2"; then
734 rpathdirs="$rpathdirs $dir"
735 fi
736 next= ;;
737 *) next= ;;
738 esac
739 fi
740 done
741 if test "X$rpathdirs" != "X"; then
742 if test -n ""$3""; then
743 dnl libtool is used for linking. Use -R options.
744 for dir in $rpathdirs; do
745 $1="${$1}${$1:+ }-R$dir"
746 done
747 else
748 dnl The linker is used for linking directly.
749 if test -n "$acl_hardcode_libdir_separator"; then
750 dnl Weird platform: only the last -rpath option counts, the user
751 dnl must pass all path elements in one option.
752 alldirs=
753 for dir in $rpathdirs; do
754 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
755 done
756 acl_save_libdir="$libdir"
757 libdir="$alldirs"
758 eval flag=\"$acl_hardcode_libdir_flag_spec\"
759 libdir="$acl_save_libdir"
760 $1="$flag"
761 else
762 dnl The -rpath options are cumulative.
763 for dir in $rpathdirs; do
764 acl_save_libdir="$libdir"
765 libdir="$dir"
766 eval flag=\"$acl_hardcode_libdir_flag_spec\"
767 libdir="$acl_save_libdir"
768 $1="${$1}${$1:+ }$flag"
769 done
770 fi
771 fi
772 fi
773 fi
774 fi
775 AC_SUBST([$1])
776 ])
+0
-224
m4/lib-prefix.m4 less more
0 # lib-prefix.m4 serial 7 (gettext-0.18)
1 dnl Copyright (C) 2001-2005, 2008-2015 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5
6 dnl From Bruno Haible.
7
8 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
9 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
10 dnl require excessive bracketing.
11 ifdef([AC_HELP_STRING],
12 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
13 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
14
15 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
16 dnl to access previously installed libraries. The basic assumption is that
17 dnl a user will want packages to use other packages he previously installed
18 dnl with the same --prefix option.
19 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
20 dnl libraries, but is otherwise very convenient.
21 AC_DEFUN([AC_LIB_PREFIX],
22 [
23 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
24 AC_REQUIRE([AC_PROG_CC])
25 AC_REQUIRE([AC_CANONICAL_HOST])
26 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
27 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
28 dnl By default, look in $includedir and $libdir.
29 use_additional=yes
30 AC_LIB_WITH_FINAL_PREFIX([
31 eval additional_includedir=\"$includedir\"
32 eval additional_libdir=\"$libdir\"
33 ])
34 AC_LIB_ARG_WITH([lib-prefix],
35 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
36 --without-lib-prefix don't search for libraries in includedir and libdir],
37 [
38 if test "X$withval" = "Xno"; then
39 use_additional=no
40 else
41 if test "X$withval" = "X"; then
42 AC_LIB_WITH_FINAL_PREFIX([
43 eval additional_includedir=\"$includedir\"
44 eval additional_libdir=\"$libdir\"
45 ])
46 else
47 additional_includedir="$withval/include"
48 additional_libdir="$withval/$acl_libdirstem"
49 fi
50 fi
51 ])
52 if test $use_additional = yes; then
53 dnl Potentially add $additional_includedir to $CPPFLAGS.
54 dnl But don't add it
55 dnl 1. if it's the standard /usr/include,
56 dnl 2. if it's already present in $CPPFLAGS,
57 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
58 dnl 4. if it doesn't exist as a directory.
59 if test "X$additional_includedir" != "X/usr/include"; then
60 haveit=
61 for x in $CPPFLAGS; do
62 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
63 if test "X$x" = "X-I$additional_includedir"; then
64 haveit=yes
65 break
66 fi
67 done
68 if test -z "$haveit"; then
69 if test "X$additional_includedir" = "X/usr/local/include"; then
70 if test -n "$GCC"; then
71 case $host_os in
72 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
73 esac
74 fi
75 fi
76 if test -z "$haveit"; then
77 if test -d "$additional_includedir"; then
78 dnl Really add $additional_includedir to $CPPFLAGS.
79 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
80 fi
81 fi
82 fi
83 fi
84 dnl Potentially add $additional_libdir to $LDFLAGS.
85 dnl But don't add it
86 dnl 1. if it's the standard /usr/lib,
87 dnl 2. if it's already present in $LDFLAGS,
88 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
89 dnl 4. if it doesn't exist as a directory.
90 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
91 haveit=
92 for x in $LDFLAGS; do
93 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
94 if test "X$x" = "X-L$additional_libdir"; then
95 haveit=yes
96 break
97 fi
98 done
99 if test -z "$haveit"; then
100 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
101 if test -n "$GCC"; then
102 case $host_os in
103 linux*) haveit=yes;;
104 esac
105 fi
106 fi
107 if test -z "$haveit"; then
108 if test -d "$additional_libdir"; then
109 dnl Really add $additional_libdir to $LDFLAGS.
110 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
111 fi
112 fi
113 fi
114 fi
115 fi
116 ])
117
118 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
119 dnl acl_final_exec_prefix, containing the values to which $prefix and
120 dnl $exec_prefix will expand at the end of the configure script.
121 AC_DEFUN([AC_LIB_PREPARE_PREFIX],
122 [
123 dnl Unfortunately, prefix and exec_prefix get only finally determined
124 dnl at the end of configure.
125 if test "X$prefix" = "XNONE"; then
126 acl_final_prefix="$ac_default_prefix"
127 else
128 acl_final_prefix="$prefix"
129 fi
130 if test "X$exec_prefix" = "XNONE"; then
131 acl_final_exec_prefix='${prefix}'
132 else
133 acl_final_exec_prefix="$exec_prefix"
134 fi
135 acl_save_prefix="$prefix"
136 prefix="$acl_final_prefix"
137 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
138 prefix="$acl_save_prefix"
139 ])
140
141 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
142 dnl variables prefix and exec_prefix bound to the values they will have
143 dnl at the end of the configure script.
144 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
145 [
146 acl_save_prefix="$prefix"
147 prefix="$acl_final_prefix"
148 acl_save_exec_prefix="$exec_prefix"
149 exec_prefix="$acl_final_exec_prefix"
150 $1
151 exec_prefix="$acl_save_exec_prefix"
152 prefix="$acl_save_prefix"
153 ])
154
155 dnl AC_LIB_PREPARE_MULTILIB creates
156 dnl - a variable acl_libdirstem, containing the basename of the libdir, either
157 dnl "lib" or "lib64" or "lib/64",
158 dnl - a variable acl_libdirstem2, as a secondary possible value for
159 dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or
160 dnl "lib/amd64".
161 AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
162 [
163 dnl There is no formal standard regarding lib and lib64.
164 dnl On glibc systems, the current practice is that on a system supporting
165 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
166 dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
167 dnl the compiler's default mode by looking at the compiler's library search
168 dnl path. If at least one of its elements ends in /lib64 or points to a
169 dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
170 dnl Otherwise we use the default, namely "lib".
171 dnl On Solaris systems, the current practice is that on a system supporting
172 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
173 dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
174 dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
175 AC_REQUIRE([AC_CANONICAL_HOST])
176 acl_libdirstem=lib
177 acl_libdirstem2=
178 case "$host_os" in
179 solaris*)
180 dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
181 dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
182 dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
183 dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
184 dnl symlink is missing, so we set acl_libdirstem2 too.
185 AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
186 [AC_EGREP_CPP([sixtyfour bits], [
187 #ifdef _LP64
188 sixtyfour bits
189 #endif
190 ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
191 ])
192 if test $gl_cv_solaris_64bit = yes; then
193 acl_libdirstem=lib/64
194 case "$host_cpu" in
195 sparc*) acl_libdirstem2=lib/sparcv9 ;;
196 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
197 esac
198 fi
199 ;;
200 *)
201 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
202 if test -n "$searchpath"; then
203 acl_save_IFS="${IFS= }"; IFS=":"
204 for searchdir in $searchpath; do
205 if test -d "$searchdir"; then
206 case "$searchdir" in
207 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
208 */../ | */.. )
209 # Better ignore directories of this form. They are misleading.
210 ;;
211 *) searchdir=`cd "$searchdir" && pwd`
212 case "$searchdir" in
213 */lib64 ) acl_libdirstem=lib64 ;;
214 esac ;;
215 esac
216 fi
217 done
218 IFS="$acl_save_IFS"
219 fi
220 ;;
221 esac
222 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
223 ])
+0
-32
m4/nls.m4 less more
0 # nls.m4 serial 5 (gettext-0.18)
1 dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
2 dnl Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6 dnl
7 dnl This file can can be used in projects which are not available under
8 dnl the GNU General Public License or the GNU Library General Public
9 dnl License but which still want to provide support for the GNU gettext
10 dnl functionality.
11 dnl Please note that the actual code of the GNU gettext library is covered
12 dnl by the GNU Library General Public License, and the rest of the GNU
13 dnl gettext package package is covered by the GNU General Public License.
14 dnl They are *not* in the public domain.
15
16 dnl Authors:
17 dnl Ulrich Drepper <[email protected]>, 1995-2000.
18 dnl Bruno Haible <[email protected]>, 2000-2003.
19
20 AC_PREREQ([2.50])
21
22 AC_DEFUN([AM_NLS],
23 [
24 AC_MSG_CHECKING([whether NLS is requested])
25 dnl Default is enabled NLS
26 AC_ARG_ENABLE([nls],
27 [ --disable-nls do not use Native Language Support],
28 USE_NLS=$enableval, USE_NLS=yes)
29 AC_MSG_RESULT([$USE_NLS])
30 AC_SUBST([USE_NLS])
31 ])
+0
-453
m4/po.m4 less more
0 # po.m4 serial 24 (gettext-0.19)
1 dnl Copyright (C) 1995-2014 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5 dnl
6 dnl This file can can be used in projects which are not available under
7 dnl the GNU General Public License or the GNU Library General Public
8 dnl License but which still want to provide support for the GNU gettext
9 dnl functionality.
10 dnl Please note that the actual code of the GNU gettext library is covered
11 dnl by the GNU Library General Public License, and the rest of the GNU
12 dnl gettext package package is covered by the GNU General Public License.
13 dnl They are *not* in the public domain.
14
15 dnl Authors:
16 dnl Ulrich Drepper <[email protected]>, 1995-2000.
17 dnl Bruno Haible <[email protected]>, 2000-2003.
18
19 AC_PREREQ([2.60])
20
21 dnl Checks for all prerequisites of the po subdirectory.
22 AC_DEFUN([AM_PO_SUBDIRS],
23 [
24 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
25 AC_REQUIRE([AC_PROG_INSTALL])dnl
26 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
27 AC_REQUIRE([AC_PROG_SED])dnl
28 AC_REQUIRE([AM_NLS])dnl
29
30 dnl Release version of the gettext macros. This is used to ensure that
31 dnl the gettext macros and po/Makefile.in.in are in sync.
32 AC_SUBST([GETTEXT_MACRO_VERSION], [0.19])
33
34 dnl Perform the following tests also if --disable-nls has been given,
35 dnl because they are needed for "make dist" to work.
36
37 dnl Search for GNU msgfmt in the PATH.
38 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
39 dnl The second test excludes FreeBSD msgfmt.
40 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
41 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
42 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
43 :)
44 AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
45
46 dnl Test whether it is GNU msgfmt >= 0.15.
47 changequote(,)dnl
48 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
49 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
50 *) MSGFMT_015=$MSGFMT ;;
51 esac
52 changequote([,])dnl
53 AC_SUBST([MSGFMT_015])
54 changequote(,)dnl
55 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
56 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
57 *) GMSGFMT_015=$GMSGFMT ;;
58 esac
59 changequote([,])dnl
60 AC_SUBST([GMSGFMT_015])
61
62 dnl Search for GNU xgettext 0.12 or newer in the PATH.
63 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
64 dnl The second test excludes FreeBSD xgettext.
65 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
66 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
67 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
68 :)
69 dnl Remove leftover from FreeBSD xgettext call.
70 rm -f messages.po
71
72 dnl Test whether it is GNU xgettext >= 0.15.
73 changequote(,)dnl
74 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
75 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
76 *) XGETTEXT_015=$XGETTEXT ;;
77 esac
78 changequote([,])dnl
79 AC_SUBST([XGETTEXT_015])
80
81 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
82 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
83 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
84
85 dnl Installation directories.
86 dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
87 dnl have to define it here, so that it can be used in po/Makefile.
88 test -n "$localedir" || localedir='${datadir}/locale'
89 AC_SUBST([localedir])
90
91 dnl Support for AM_XGETTEXT_OPTION.
92 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
93 AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
94
95 AC_CONFIG_COMMANDS([po-directories], [[
96 for ac_file in $CONFIG_FILES; do
97 # Support "outfile[:infile[:infile...]]"
98 case "$ac_file" in
99 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
100 esac
101 # PO directories have a Makefile.in generated from Makefile.in.in.
102 case "$ac_file" in */Makefile.in)
103 # Adjust a relative srcdir.
104 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
105 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
106 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
107 # In autoconf-2.13 it is called $ac_given_srcdir.
108 # In autoconf-2.50 it is called $srcdir.
109 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
110 case "$ac_given_srcdir" in
111 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
112 /*) top_srcdir="$ac_given_srcdir" ;;
113 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
114 esac
115 # Treat a directory as a PO directory if and only if it has a
116 # POTFILES.in file. This allows packages to have multiple PO
117 # directories under different names or in different locations.
118 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
119 rm -f "$ac_dir/POTFILES"
120 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
121 gt_tab=`printf '\t'`
122 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
123 POMAKEFILEDEPS="POTFILES.in"
124 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
125 # on $ac_dir but don't depend on user-specified configuration
126 # parameters.
127 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
128 # The LINGUAS file contains the set of available languages.
129 if test -n "$OBSOLETE_ALL_LINGUAS"; then
130 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
131 fi
132 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
133 # Hide the ALL_LINGUAS assignment from automake < 1.5.
134 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
135 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
136 else
137 # The set of available languages was given in configure.in.
138 # Hide the ALL_LINGUAS assignment from automake < 1.5.
139 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
140 fi
141 # Compute POFILES
142 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
143 # Compute UPDATEPOFILES
144 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
145 # Compute DUMMYPOFILES
146 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
147 # Compute GMOFILES
148 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
149 case "$ac_given_srcdir" in
150 .) srcdirpre= ;;
151 *) srcdirpre='$(srcdir)/' ;;
152 esac
153 POFILES=
154 UPDATEPOFILES=
155 DUMMYPOFILES=
156 GMOFILES=
157 for lang in $ALL_LINGUAS; do
158 POFILES="$POFILES $srcdirpre$lang.po"
159 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
160 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
161 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
162 done
163 # CATALOGS depends on both $ac_dir and the user's LINGUAS
164 # environment variable.
165 INST_LINGUAS=
166 if test -n "$ALL_LINGUAS"; then
167 for presentlang in $ALL_LINGUAS; do
168 useit=no
169 if test "%UNSET%" != "$LINGUAS"; then
170 desiredlanguages="$LINGUAS"
171 else
172 desiredlanguages="$ALL_LINGUAS"
173 fi
174 for desiredlang in $desiredlanguages; do
175 # Use the presentlang catalog if desiredlang is
176 # a. equal to presentlang, or
177 # b. a variant of presentlang (because in this case,
178 # presentlang can be used as a fallback for messages
179 # which are not translated in the desiredlang catalog).
180 case "$desiredlang" in
181 "$presentlang"*) useit=yes;;
182 esac
183 done
184 if test $useit = yes; then
185 INST_LINGUAS="$INST_LINGUAS $presentlang"
186 fi
187 done
188 fi
189 CATALOGS=
190 if test -n "$INST_LINGUAS"; then
191 for lang in $INST_LINGUAS; do
192 CATALOGS="$CATALOGS $lang.gmo"
193 done
194 fi
195 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
196 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
197 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
198 if test -f "$f"; then
199 case "$f" in
200 *.orig | *.bak | *~) ;;
201 *) cat "$f" >> "$ac_dir/Makefile" ;;
202 esac
203 fi
204 done
205 fi
206 ;;
207 esac
208 done]],
209 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
210 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
211 # from automake < 1.5.
212 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
213 # Capture the value of LINGUAS because we need it to compute CATALOGS.
214 LINGUAS="${LINGUAS-%UNSET%}"
215 ])
216 ])
217
218 dnl Postprocesses a Makefile in a directory containing PO files.
219 AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
220 [
221 # When this code is run, in config.status, two variables have already been
222 # set:
223 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
224 # - LINGUAS is the value of the environment variable LINGUAS at configure
225 # time.
226
227 changequote(,)dnl
228 # Adjust a relative srcdir.
229 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
230 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
231 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
232 # In autoconf-2.13 it is called $ac_given_srcdir.
233 # In autoconf-2.50 it is called $srcdir.
234 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
235 case "$ac_given_srcdir" in
236 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
237 /*) top_srcdir="$ac_given_srcdir" ;;
238 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
239 esac
240
241 # Find a way to echo strings without interpreting backslash.
242 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
243 gt_echo='echo'
244 else
245 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
246 gt_echo='printf %s\n'
247 else
248 echo_func () {
249 cat <<EOT
250 $*
251 EOT
252 }
253 gt_echo='echo_func'
254 fi
255 fi
256
257 # A sed script that extracts the value of VARIABLE from a Makefile.
258 tab=`printf '\t'`
259 sed_x_variable='
260 # Test if the hold space is empty.
261 x
262 s/P/P/
263 x
264 ta
265 # Yes it was empty. Look if we have the expected variable definition.
266 /^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
267 # Seen the first line of the variable definition.
268 s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
269 ba
270 }
271 bd
272 :a
273 # Here we are processing a line from the variable definition.
274 # Remove comment, more precisely replace it with a space.
275 s/#.*$/ /
276 # See if the line ends in a backslash.
277 tb
278 :b
279 s/\\$//
280 # Print the line, without the trailing backslash.
281 p
282 tc
283 # There was no trailing backslash. The end of the variable definition is
284 # reached. Clear the hold space.
285 s/^.*$//
286 x
287 bd
288 :c
289 # A trailing backslash means that the variable definition continues in the
290 # next line. Put a nonempty string into the hold space to indicate this.
291 s/^.*$/P/
292 x
293 :d
294 '
295 changequote([,])dnl
296
297 # Set POTFILES to the value of the Makefile variable POTFILES.
298 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
299 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
300 # Compute POTFILES_DEPS as
301 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
302 POTFILES_DEPS=
303 for file in $POTFILES; do
304 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
305 done
306 POMAKEFILEDEPS=""
307
308 if test -n "$OBSOLETE_ALL_LINGUAS"; then
309 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
310 fi
311 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
312 # The LINGUAS file contains the set of available languages.
313 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
314 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
315 else
316 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
317 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
318 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
319 fi
320 # Hide the ALL_LINGUAS assignment from automake < 1.5.
321 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
322 # Compute POFILES
323 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
324 # Compute UPDATEPOFILES
325 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
326 # Compute DUMMYPOFILES
327 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
328 # Compute GMOFILES
329 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
330 # Compute PROPERTIESFILES
331 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
332 # Compute CLASSFILES
333 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
334 # Compute QMFILES
335 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
336 # Compute MSGFILES
337 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
338 # Compute RESOURCESDLLFILES
339 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
340 case "$ac_given_srcdir" in
341 .) srcdirpre= ;;
342 *) srcdirpre='$(srcdir)/' ;;
343 esac
344 POFILES=
345 UPDATEPOFILES=
346 DUMMYPOFILES=
347 GMOFILES=
348 PROPERTIESFILES=
349 CLASSFILES=
350 QMFILES=
351 MSGFILES=
352 RESOURCESDLLFILES=
353 for lang in $ALL_LINGUAS; do
354 POFILES="$POFILES $srcdirpre$lang.po"
355 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
356 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
357 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
358 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
359 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
360 QMFILES="$QMFILES $srcdirpre$lang.qm"
361 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
362 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
363 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
364 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
365 done
366 # CATALOGS depends on both $ac_dir and the user's LINGUAS
367 # environment variable.
368 INST_LINGUAS=
369 if test -n "$ALL_LINGUAS"; then
370 for presentlang in $ALL_LINGUAS; do
371 useit=no
372 if test "%UNSET%" != "$LINGUAS"; then
373 desiredlanguages="$LINGUAS"
374 else
375 desiredlanguages="$ALL_LINGUAS"
376 fi
377 for desiredlang in $desiredlanguages; do
378 # Use the presentlang catalog if desiredlang is
379 # a. equal to presentlang, or
380 # b. a variant of presentlang (because in this case,
381 # presentlang can be used as a fallback for messages
382 # which are not translated in the desiredlang catalog).
383 case "$desiredlang" in
384 "$presentlang"*) useit=yes;;
385 esac
386 done
387 if test $useit = yes; then
388 INST_LINGUAS="$INST_LINGUAS $presentlang"
389 fi
390 done
391 fi
392 CATALOGS=
393 JAVACATALOGS=
394 QTCATALOGS=
395 TCLCATALOGS=
396 CSHARPCATALOGS=
397 if test -n "$INST_LINGUAS"; then
398 for lang in $INST_LINGUAS; do
399 CATALOGS="$CATALOGS $lang.gmo"
400 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
401 QTCATALOGS="$QTCATALOGS $lang.qm"
402 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
403 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
404 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
405 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
406 done
407 fi
408
409 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
410 tab=`printf '\t'`
411 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
412 # Add dependencies that cannot be formulated as a simple suffix rule.
413 for lang in $ALL_LINGUAS; do
414 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
415 cat >> "$ac_file.tmp" <<EOF
416 $frobbedlang.msg: $lang.po
417 ${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
418 ${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
419 EOF
420 done
421 fi
422 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
423 # Add dependencies that cannot be formulated as a simple suffix rule.
424 for lang in $ALL_LINGUAS; do
425 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
426 cat >> "$ac_file.tmp" <<EOF
427 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
428 ${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
429 ${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
430 EOF
431 done
432 fi
433 if test -n "$POMAKEFILEDEPS"; then
434 cat >> "$ac_file.tmp" <<EOF
435 Makefile: $POMAKEFILEDEPS
436 EOF
437 fi
438 mv "$ac_file.tmp" "$ac_file"
439 ])
440
441 dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
442 AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
443 [
444 XGETTEXT_EXTRA_OPTIONS=
445 ])
446
447 dnl Registers an option to be passed to xgettext in the po subdirectory.
448 AC_DEFUN([AM_XGETTEXT_OPTION],
449 [
450 AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
451 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
452 ])
+0
-91
m4/progtest.m4 less more
0 # progtest.m4 serial 7 (gettext-0.18.2)
1 dnl Copyright (C) 1996-2003, 2005, 2008-2015 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5 dnl
6 dnl This file can can be used in projects which are not available under
7 dnl the GNU General Public License or the GNU Library General Public
8 dnl License but which still want to provide support for the GNU gettext
9 dnl functionality.
10 dnl Please note that the actual code of the GNU gettext library is covered
11 dnl by the GNU Library General Public License, and the rest of the GNU
12 dnl gettext package package is covered by the GNU General Public License.
13 dnl They are *not* in the public domain.
14
15 dnl Authors:
16 dnl Ulrich Drepper <[email protected]>, 1996.
17
18 AC_PREREQ([2.50])
19
20 # Search path for a program which passes the given test.
21
22 dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
23 dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
24 AC_DEFUN([AM_PATH_PROG_WITH_TEST],
25 [
26 # Prepare PATH_SEPARATOR.
27 # The user is always right.
28 if test "${PATH_SEPARATOR+set}" != set; then
29 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
30 # contains only /bin. Note that ksh looks also at the FPATH variable,
31 # so we have to set that as well for the test.
32 PATH_SEPARATOR=:
33 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
34 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
35 || PATH_SEPARATOR=';'
36 }
37 fi
38
39 # Find out how to test for executable files. Don't use a zero-byte file,
40 # as systems may use methods other than mode bits to determine executability.
41 cat >conf$$.file <<_ASEOF
42 #! /bin/sh
43 exit 0
44 _ASEOF
45 chmod +x conf$$.file
46 if test -x conf$$.file >/dev/null 2>&1; then
47 ac_executable_p="test -x"
48 else
49 ac_executable_p="test -f"
50 fi
51 rm -f conf$$.file
52
53 # Extract the first word of "$2", so it can be a program name with args.
54 set dummy $2; ac_word=[$]2
55 AC_MSG_CHECKING([for $ac_word])
56 AC_CACHE_VAL([ac_cv_path_$1],
57 [case "[$]$1" in
58 [[\\/]]* | ?:[[\\/]]*)
59 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
60 ;;
61 *)
62 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
63 for ac_dir in ifelse([$5], , $PATH, [$5]); do
64 IFS="$ac_save_IFS"
65 test -z "$ac_dir" && ac_dir=.
66 for ac_exec_ext in '' $ac_executable_extensions; do
67 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
68 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
69 if [$3]; then
70 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
71 break 2
72 fi
73 fi
74 done
75 done
76 IFS="$ac_save_IFS"
77 dnl If no 4th arg is given, leave the cache variable unset,
78 dnl so AC_PATH_PROGS will keep looking.
79 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
80 ])dnl
81 ;;
82 esac])dnl
83 $1="$ac_cv_path_$1"
84 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
85 AC_MSG_RESULT([$][$1])
86 else
87 AC_MSG_RESULT([no])
88 fi
89 AC_SUBST([$1])dnl
90 ])
0 project('gnome-shell-extensions',
1 version: '3.27.92',
2 meson_version: '>= 0.44.0',
3 license: 'GPL2+'
4 )
5
6 gettext_domain = meson.project_name()
7
8 gnome = import('gnome')
9 i18n = import('i18n')
10
11 datadir = get_option('datadir')
12
13 shelldir = join_paths(datadir, 'gnome-shell')
14 extensiondir = join_paths(shelldir, 'extensions')
15 modedir = join_paths(shelldir, 'modes')
16 themedir = join_paths(shelldir, 'theme')
17
18 schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
19 sessiondir = join_paths(datadir, 'gnome-session', 'sessions')
20 xsessiondir = join_paths(datadir, 'xsessions')
21
22 extensionlib = files('lib/convenience.js')
23
24 js52 = find_program('js52', required: false)
25
26 ver_arr = meson.project_version().split('.')
27 if ver_arr[1].to_int().is_even()
28 shell_version = '@0@.@1@'.format(ver_arr[0], ver_arr[1])
29 else
30 shell_version = '.'.join(ver_arr)
31 endif
32
33 uuid_suffix = '@gnome-shell-extensions.gcampax.github.com'
34
35 classic_extensions = [
36 'alternate-tab',
37 'apps-menu',
38 'places-menu',
39 'launch-new-instance',
40 'window-list'
41 ]
42
43 default_extensions = classic_extensions
44 default_extensions += [
45 'drive-menu',
46 'screenshot-window-sizer',
47 'windowsNavigator',
48 'workspace-indicator'
49 ]
50
51 all_extensions = default_extensions
52 all_extensions += [
53 'auto-move-windows',
54 'example',
55 'native-window-placement',
56 'user-theme'
57 ]
58
59 enabled_extensions = get_option('enable_extensions')
60
61 if enabled_extensions.length() == 0
62 set = get_option('extension_set')
63
64 if set == 'classic'
65 enabled_extensions += classic_extensions
66 elif set == 'default'
67 enabled_extensions += default_extensions
68 elif set == 'all'
69 enabled_extensions += all_extensions
70 endif
71 endif
72
73 classic_mode_enabled = get_option('classic_mode')
74
75 if classic_mode_enabled
76 # Sanity check: Make sure all classic extensions are enabled
77 foreach e : classic_extensions
78 if not enabled_extensions.contains(e)
79 error('Classic mode is enabled, ' +
80 'but the required extension @0@ is not.'.format(e))
81 endif
82 endforeach
83 endif
84
85 # Sanity check: Make sure enabled extensions are valid
86 foreach e : enabled_extensions
87 if not all_extensions.contains(e)
88 error('Invalid extension @0@.'.format(e))
89 endif
90 endforeach
91
92 if classic_mode_enabled
93 sassc = find_program('sassc', required: true)
94 subdir('data')
95 endif
96
97 subdir('extensions')
98 subdir('po')
0 option('extension_set',
1 type: 'combo',
2 choices: ['classic', 'default', 'all'],
3 value: 'default',
4 description: 'Predefined sets of extensions'
5 )
6
7 option('enable_extensions',
8 type: 'array',
9 value: [],
10 description: 'Comma separated list of extensions to enable instead of a predefined set.'
11 )
12
13 option('classic_mode',
14 type: 'boolean',
15 value: false,
16 description: 'Enable installing data files for classic mode.'
17 )
+0
-478
po/Makefile.in.in less more
0 # Makefile for PO directory in any package using GNU gettext.
1 # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper <[email protected]>
2 #
3 # Copying and distribution of this file, with or without modification,
4 # are permitted in any medium without royalty provided the copyright
5 # notice and this notice are preserved. This file is offered as-is,
6 # without any warranty.
7 #
8 # Origin: gettext-0.19.6
9 GETTEXT_MACRO_VERSION = 0.19
10
11 PACKAGE = @PACKAGE@
12 VERSION = @VERSION@
13 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
14
15 SED = @SED@
16 SHELL = /bin/sh
17 @SET_MAKE@
18
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
21 VPATH = @srcdir@
22
23 prefix = @prefix@
24 exec_prefix = @exec_prefix@
25 datarootdir = @datarootdir@
26 datadir = @datadir@
27 localedir = @localedir@
28 gettextsrcdir = $(datadir)/gettext/po
29
30 INSTALL = @INSTALL@
31 INSTALL_DATA = @INSTALL_DATA@
32
33 # We use $(mkdir_p).
34 # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
35 # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
36 # @install_sh@ does not start with $(SHELL), so we add it.
37 # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined
38 # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
39 # versions, $(mkinstalldirs) and $(install_sh) are unused.
40 mkinstalldirs = $(SHELL) @install_sh@ -d
41 install_sh = $(SHELL) @install_sh@
42 MKDIR_P = @MKDIR_P@
43 mkdir_p = @mkdir_p@
44
45 GMSGFMT_ = @GMSGFMT@
46 GMSGFMT_no = @GMSGFMT@
47 GMSGFMT_yes = @GMSGFMT_015@
48 GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT))
49 MSGFMT_ = @MSGFMT@
50 MSGFMT_no = @MSGFMT@
51 MSGFMT_yes = @MSGFMT_015@
52 MSGFMT = $(MSGFMT_$(USE_MSGCTXT))
53 XGETTEXT_ = @XGETTEXT@
54 XGETTEXT_no = @XGETTEXT@
55 XGETTEXT_yes = @XGETTEXT_015@
56 XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
57 MSGMERGE = msgmerge
58 MSGMERGE_UPDATE = @MSGMERGE@ --update
59 MSGINIT = msginit
60 MSGCONV = msgconv
61 MSGFILTER = msgfilter
62
63 POFILES = @POFILES@
64 GMOFILES = @GMOFILES@
65 UPDATEPOFILES = @UPDATEPOFILES@
66 DUMMYPOFILES = @DUMMYPOFILES@
67 DISTFILES.common = Makefile.in.in remove-potcdate.sin \
68 $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
69 DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
70 $(POFILES) $(GMOFILES) \
71 $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
72
73 POTFILES = \
74
75 CATALOGS = @CATALOGS@
76
77 POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot
78 POFILESDEPS_yes = $(POFILESDEPS_)
79 POFILESDEPS_no =
80 POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT))
81
82 DISTFILESDEPS_ = update-po
83 DISTFILESDEPS_yes = $(DISTFILESDEPS_)
84 DISTFILESDEPS_no =
85 DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO))
86
87 # Makevars gets inserted here. (Don't remove this line!)
88
89 .SUFFIXES:
90 .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
91
92 .po.mo:
93 @echo "$(MSGFMT) -c -o $@ $<"; \
94 $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
95
96 .po.gmo:
97 @lang=`echo $* | sed -e 's,.*/,,'`; \
98 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
99 echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
100 cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
101
102 .sin.sed:
103 sed -e '/^#/d' $< > t-$@
104 mv t-$@ $@
105
106
107 all: all-@USE_NLS@
108
109 all-yes: stamp-po
110 all-no:
111
112 # Ensure that the gettext macros and this Makefile.in.in are in sync.
113 CHECK_MACRO_VERSION = \
114 test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
115 || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \
116 exit 1; \
117 }
118
119 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
120 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
121 # we don't want to bother translators with empty POT files). We assume that
122 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
123 # In this case, stamp-po is a nop (i.e. a phony target).
124
125 # stamp-po is a timestamp denoting the last time at which the CATALOGS have
126 # been loosely updated. Its purpose is that when a developer or translator
127 # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
128 # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
129 # invocations of "make" will do nothing. This timestamp would not be necessary
130 # if updating the $(CATALOGS) would always touch them; however, the rule for
131 # $(POFILES) has been designed to not touch files that don't need to be
132 # changed.
133 stamp-po: $(srcdir)/$(DOMAIN).pot
134 @$(CHECK_MACRO_VERSION)
135 test ! -f $(srcdir)/$(DOMAIN).pot || \
136 test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
137 @test ! -f $(srcdir)/$(DOMAIN).pot || { \
138 echo "touch stamp-po" && \
139 echo timestamp > stamp-poT && \
140 mv stamp-poT stamp-po; \
141 }
142
143 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
144 # otherwise packages like GCC can not be built if only parts of the source
145 # have been downloaded.
146
147 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
148 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
149 # The determination of whether the package xyz is a GNU one is based on the
150 # heuristic whether some file in the top level directory mentions "GNU xyz".
151 # If GNU 'find' is available, we avoid grepping through monster files.
152 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
153 package_gnu="$(PACKAGE_GNU)"; \
154 test -n "$$package_gnu" || { \
155 if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \
156 LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \
157 -size -10000000c -exec grep 'GNU @PACKAGE@' \
158 /dev/null '{}' ';' 2>/dev/null; \
159 else \
160 LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \
161 fi; \
162 } | grep -v 'libtool:' >/dev/null; then \
163 package_gnu=yes; \
164 else \
165 package_gnu=no; \
166 fi; \
167 }; \
168 if test "$$package_gnu" = "yes"; then \
169 package_prefix='GNU '; \
170 else \
171 package_prefix=''; \
172 fi; \
173 if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \
174 msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
175 else \
176 msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
177 fi; \
178 case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
179 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
180 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
181 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
182 --files-from=$(srcdir)/POTFILES.in \
183 --copyright-holder='$(COPYRIGHT_HOLDER)' \
184 --msgid-bugs-address="$$msgid_bugs_address" \
185 ;; \
186 *) \
187 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
188 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
189 --files-from=$(srcdir)/POTFILES.in \
190 --copyright-holder='$(COPYRIGHT_HOLDER)' \
191 --package-name="$${package_prefix}@PACKAGE@" \
192 --package-version='@VERSION@' \
193 --msgid-bugs-address="$$msgid_bugs_address" \
194 ;; \
195 esac
196 test ! -f $(DOMAIN).po || { \
197 if test -f $(srcdir)/$(DOMAIN).pot-header; then \
198 sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \
199 cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po; \
200 rm -f $(DOMAIN).1po; \
201 fi; \
202 if test -f $(srcdir)/$(DOMAIN).pot; then \
203 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
204 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
205 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
206 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
207 else \
208 rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
209 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
210 fi; \
211 else \
212 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
213 fi; \
214 }
215
216 # This rule has no dependencies: we don't need to update $(DOMAIN).pot at
217 # every "make" invocation, only create it when it is missing.
218 # Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
219 $(srcdir)/$(DOMAIN).pot:
220 $(MAKE) $(DOMAIN).pot-update
221
222 # This target rebuilds a PO file if $(DOMAIN).pot has changed.
223 # Note that a PO file is not touched if it doesn't need to be changed.
224 $(POFILES): $(POFILESDEPS)
225 @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
226 if test -f "$(srcdir)/$${lang}.po"; then \
227 test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \
228 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
229 echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
230 cd $(srcdir) \
231 && { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
232 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
233 $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
234 *) \
235 $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
236 esac; \
237 }; \
238 else \
239 $(MAKE) $${lang}.po-create; \
240 fi
241
242
243 install: install-exec install-data
244 install-exec:
245 install-data: install-data-@USE_NLS@
246 if test "$(PACKAGE)" = "gettext-tools"; then \
247 $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
248 for file in $(DISTFILES.common) Makevars.template; do \
249 $(INSTALL_DATA) $(srcdir)/$$file \
250 $(DESTDIR)$(gettextsrcdir)/$$file; \
251 done; \
252 for file in Makevars; do \
253 rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
254 done; \
255 else \
256 : ; \
257 fi
258 install-data-no: all
259 install-data-yes: all
260 @catalogs='$(CATALOGS)'; \
261 for cat in $$catalogs; do \
262 cat=`basename $$cat`; \
263 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
264 dir=$(localedir)/$$lang/LC_MESSAGES; \
265 $(mkdir_p) $(DESTDIR)$$dir; \
266 if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
267 $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
268 echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
269 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
270 if test -n "$$lc"; then \
271 if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
272 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
273 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
274 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
275 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
276 for file in *; do \
277 if test -f $$file; then \
278 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
279 fi; \
280 done); \
281 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
282 else \
283 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
284 :; \
285 else \
286 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
287 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
288 fi; \
289 fi; \
290 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
291 ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
292 ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
293 cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
294 echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
295 fi; \
296 done; \
297 done
298
299 install-strip: install
300
301 installdirs: installdirs-exec installdirs-data
302 installdirs-exec:
303 installdirs-data: installdirs-data-@USE_NLS@
304 if test "$(PACKAGE)" = "gettext-tools"; then \
305 $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
306 else \
307 : ; \
308 fi
309 installdirs-data-no:
310 installdirs-data-yes:
311 @catalogs='$(CATALOGS)'; \
312 for cat in $$catalogs; do \
313 cat=`basename $$cat`; \
314 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
315 dir=$(localedir)/$$lang/LC_MESSAGES; \
316 $(mkdir_p) $(DESTDIR)$$dir; \
317 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
318 if test -n "$$lc"; then \
319 if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
320 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
321 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
322 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
323 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
324 for file in *; do \
325 if test -f $$file; then \
326 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
327 fi; \
328 done); \
329 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
330 else \
331 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
332 :; \
333 else \
334 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
335 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
336 fi; \
337 fi; \
338 fi; \
339 done; \
340 done
341
342 # Define this as empty until I found a useful application.
343 installcheck:
344
345 uninstall: uninstall-exec uninstall-data
346 uninstall-exec:
347 uninstall-data: uninstall-data-@USE_NLS@
348 if test "$(PACKAGE)" = "gettext-tools"; then \
349 for file in $(DISTFILES.common) Makevars.template; do \
350 rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
351 done; \
352 else \
353 : ; \
354 fi
355 uninstall-data-no:
356 uninstall-data-yes:
357 catalogs='$(CATALOGS)'; \
358 for cat in $$catalogs; do \
359 cat=`basename $$cat`; \
360 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
361 for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
362 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
363 done; \
364 done
365
366 check: all
367
368 info dvi ps pdf html tags TAGS ctags CTAGS ID:
369
370 mostlyclean:
371 rm -f remove-potcdate.sed
372 rm -f stamp-poT
373 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
374 rm -fr *.o
375
376 clean: mostlyclean
377
378 distclean: clean
379 rm -f Makefile Makefile.in POTFILES *.mo
380
381 maintainer-clean: distclean
382 @echo "This command is intended for maintainers to use;"
383 @echo "it deletes files that may require special tools to rebuild."
384 rm -f stamp-po $(GMOFILES)
385
386 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
387 dist distdir:
388 test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS)
389 @$(MAKE) dist2
390 # This is a separate target because 'update-po' must be executed before.
391 dist2: stamp-po $(DISTFILES)
392 dists="$(DISTFILES)"; \
393 if test "$(PACKAGE)" = "gettext-tools"; then \
394 dists="$$dists Makevars.template"; \
395 fi; \
396 if test -f $(srcdir)/$(DOMAIN).pot; then \
397 dists="$$dists $(DOMAIN).pot stamp-po"; \
398 fi; \
399 if test -f $(srcdir)/ChangeLog; then \
400 dists="$$dists ChangeLog"; \
401 fi; \
402 for i in 0 1 2 3 4 5 6 7 8 9; do \
403 if test -f $(srcdir)/ChangeLog.$$i; then \
404 dists="$$dists ChangeLog.$$i"; \
405 fi; \
406 done; \
407 if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
408 for file in $$dists; do \
409 if test -f $$file; then \
410 cp -p $$file $(distdir) || exit 1; \
411 else \
412 cp -p $(srcdir)/$$file $(distdir) || exit 1; \
413 fi; \
414 done
415
416 update-po: Makefile
417 $(MAKE) $(DOMAIN).pot-update
418 test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
419 $(MAKE) update-gmo
420
421 # General rule for creating PO files.
422
423 .nop.po-create:
424 @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
425 echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
426 exit 1
427
428 # General rule for updating PO files.
429
430 .nop.po-update:
431 @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
432 if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
433 tmpdir=`pwd`; \
434 echo "$$lang:"; \
435 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
436 echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
437 cd $(srcdir); \
438 if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
439 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
440 $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
441 *) \
442 $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
443 esac; \
444 }; then \
445 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
446 rm -f $$tmpdir/$$lang.new.po; \
447 else \
448 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
449 :; \
450 else \
451 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
452 exit 1; \
453 fi; \
454 fi; \
455 else \
456 echo "msgmerge for $$lang.po failed!" 1>&2; \
457 rm -f $$tmpdir/$$lang.new.po; \
458 fi
459
460 $(DUMMYPOFILES):
461
462 update-gmo: Makefile $(GMOFILES)
463 @:
464
465 # Recreate Makefile by invoking config.status. Explicitly invoke the shell,
466 # because execution permission bits may not work on the current file system.
467 # Use @SHELL@, which is the shell determined by autoconf for the use by its
468 # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient.
469 Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@
470 cd $(top_builddir) \
471 && @SHELL@ ./config.status $(subdir)/[email protected] po-directories
472
473 force:
474
475 # Tell versions [3.59,3.63) of GNU make not to export all variables.
476 # Otherwise a system limit (for SysV at least) may be exceeded.
477 .NOEXPORT:
+0
-68
po/Makevars less more
0 # Makefile variables for PO directory in any package using GNU gettext.
1
2 # Usually the message domain is the same as the package name.
3 DOMAIN = $(PACKAGE)
4
5 # These two variables depend on the location of this directory.
6 subdir = po
7 top_builddir = ..
8
9 # These options get passed to xgettext.
10 XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ \
11 --keyword=C_:1c,2 --keyword=NC_:1c,2 \
12 --keyword=g_dngettext:2,3 --add-comments \
13 --flag=g_dngettext:2:pass-c-format \
14 --flag=g_strdup_printf:1:c-format \
15 --flag=g_string_printf:2:c-format \
16 --flag=g_string_append_printf:2:c-format \
17 --flag=g_error_new:3:c-format \
18 --flag=g_set_error:4:c-format \
19 --flag=g_markup_printf_escaped:1:c-format \
20 --flag=g_log:3:c-format \
21 --flag=g_print:1:c-format \
22 --flag=g_printerr:1:c-format \
23 --flag=g_printf:1:c-format \
24 --flag=g_fprintf:2:c-format \
25 --flag=g_sprintf:2:c-format \
26 --flag=g_snprintf:3:c-format
27
28
29 # This is the copyright holder that gets inserted into the header of the
30 # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
31 # package. (Note that the msgstr strings, extracted from the package's
32 # sources, belong to the copyright holder of the package.) Translators are
33 # expected to transfer the copyright for their translations to this person
34 # or entity, or to disclaim their copyright. The empty string stands for
35 # the public domain; in this case the translators are expected to disclaim
36 # their copyright.
37 COPYRIGHT_HOLDER = Translation copyright holder
38 # This is the email address or URL to which the translators shall report
39 # bugs in the untranslated strings:
40 # - Strings which are not entire sentences, see the maintainer guidelines
41 # in the GNU gettext documentation, section 'Preparing Strings'.
42 # - Strings which use unclear terms or require additional context to be
43 # understood.
44 # - Strings which make invalid assumptions about notation of date, time or
45 # money.
46 # - Pluralisation problems.
47 # - Incorrect English spelling.
48 # - Incorrect formatting.
49 # It can be your email address, or a mailing list address where translators
50 # can write to without being subscribed, or the URL of a web page through
51 # which the translators can contact you.
52 MSGID_BUGS_ADDRESS = http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions
53
54 # This is the list of locale categories, beyond LC_MESSAGES, for which the
55 # message catalogs shall be used. It is usually empty.
56 EXTRA_LOCALE_CATEGORIES =
57
58 # Ignore the timestamp of the .pot file, as git clones do not have
59 # deterministic timestamps, and .po files are updated by translators
60 # (only) in GNOME projects.
61 PO_DEPENDS_ON_POT = no
62
63 # This tells whether or not to forcibly update $(DOMAIN).pot and
64 # regenerate PO files on "make dist". Possible values are "yes" and
65 # "no". Set this to no if the POT file and PO files are maintained
66 # externally.
67 DIST_DEPENDS_ON_UPDATE_PO = no
+0
-58
po/Rules-quot less more
0 # This file, Rules-quot, can be copied and used freely without restrictions.
1 # Special Makefile rules for English message catalogs with quotation marks.
2
3 DISTFILES.common.extra1 = quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot
4
5 .SUFFIXES: .insert-header .po-update-en
6
7 [email protected]:
8 $(MAKE) [email protected]
9 [email protected]:
10 $(MAKE) [email protected]
11
12 [email protected]: [email protected]
13 [email protected]: [email protected]
14
15 .insert-header.po-update-en:
16 @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
17 if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
18 tmpdir=`pwd`; \
19 echo "$$lang:"; \
20 ll=`echo $$lang | sed -e 's/@.*//'`; \
21 LC_ALL=C; export LC_ALL; \
22 cd $(srcdir); \
23 if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \
24 | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \
25 { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
26 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \
27 $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \
28 ;; \
29 *) \
30 $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \
31 ;; \
32 esac } 2>/dev/null > $$tmpdir/$$lang.new.po \
33 ; then \
34 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
35 rm -f $$tmpdir/$$lang.new.po; \
36 else \
37 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
38 :; \
39 else \
40 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
41 exit 1; \
42 fi; \
43 fi; \
44 else \
45 echo "creation of $$lang.po failed!" 1>&2; \
46 rm -f $$tmpdir/$$lang.new.po; \
47 fi
48
49 [email protected]: insert-header.sin
50 sed -e '/^#/d' -e 's/HEADER/[email protected]/g' $(srcdir)/insert-header.sin > [email protected]
51
52 [email protected]: insert-header.sin
53 sed -e '/^#/d' -e 's/HEADER/[email protected]/g' $(srcdir)/insert-header.sin > [email protected]
54
55 mostlyclean: mostlyclean-quot
56 mostlyclean-quot:
57 rm -f *.insert-header
po/af.gmo less more
Binary diff not shown
po/an.gmo less more
Binary diff not shown
po/ar.gmo less more
Binary diff not shown
po/as.gmo less more
Binary diff not shown
po/be.gmo less more
Binary diff not shown
po/bg.gmo less more
Binary diff not shown
po/bn_IN.gmo less more
Binary diff not shown
+0
-10
po/boldquot.sed less more
0 s/"\([^"]*\)"/“\1”/g
1 s/`\([^`']*\)'/‘\1’/g
2 s/ '\([^`']*\)' / ‘\1’ /g
3 s/ '\([^`']*\)'$/ ‘\1’/g
4 s/^'\([^`']*\)' /‘\1’ /g
5 s/“”/""/g
6 s/“/“/g
7 s/”/”/g
8 s/‘/‘/g
9 s/’/’/g
po/bs.gmo less more
Binary diff not shown
po/ca.gmo less more
Binary diff not shown
Binary diff not shown
po/cs.gmo less more
Binary diff not shown
po/da.gmo less more
Binary diff not shown
po/de.gmo less more
Binary diff not shown
po/el.gmo less more
Binary diff not shown
0 # All this catalog "translates" are quotation characters.
1 # The msgids must be ASCII and therefore cannot contain real quotation
2 # characters, only substitutes like grave accent (0x60), apostrophe (0x27)
3 # and double quote (0x22). These substitutes look strange; see
4 # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
5 #
6 # This catalog translates grave accent (0x60) and apostrophe (0x27) to
7 # left single quotation mark (U+2018) and right single quotation mark (U+2019).
8 # It also translates pairs of apostrophe (0x27) to
9 # left single quotation mark (U+2018) and right single quotation mark (U+2019)
10 # and pairs of quotation mark (0x22) to
11 # left double quotation mark (U+201C) and right double quotation mark (U+201D).
12 #
13 # When output to an UTF-8 terminal, the quotation characters appear perfectly.
14 # When output to an ISO-8859-1 terminal, the single quotation marks are
15 # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
16 # grave/acute accent (by libiconv), and the double quotation marks are
17 # transliterated to 0x22.
18 # When output to an ASCII terminal, the single quotation marks are
19 # transliterated to apostrophes, and the double quotation marks are
20 # transliterated to 0x22.
21 #
22 # This catalog furthermore displays the text between the quotation marks in
23 # bold face, assuming the VT100/XTerm escape sequences.
24 #
0 # All this catalog "translates" are quotation characters.
1 # The msgids must be ASCII and therefore cannot contain real quotation
2 # characters, only substitutes like grave accent (0x60), apostrophe (0x27)
3 # and double quote (0x22). These substitutes look strange; see
4 # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
5 #
6 # This catalog translates grave accent (0x60) and apostrophe (0x27) to
7 # left single quotation mark (U+2018) and right single quotation mark (U+2019).
8 # It also translates pairs of apostrophe (0x27) to
9 # left single quotation mark (U+2018) and right single quotation mark (U+2019)
10 # and pairs of quotation mark (0x22) to
11 # left double quotation mark (U+201C) and right double quotation mark (U+201D).
12 #
13 # When output to an UTF-8 terminal, the quotation characters appear perfectly.
14 # When output to an ISO-8859-1 terminal, the single quotation marks are
15 # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
16 # grave/acute accent (by libiconv), and the double quotation marks are
17 # transliterated to 0x22.
18 # When output to an ASCII terminal, the single quotation marks are
19 # transliterated to apostrophes, and the double quotation marks are
20 # transliterated to 0x22.
21 #
po/en_GB.gmo less more
Binary diff not shown
po/eo.gmo less more
Binary diff not shown
po/es.gmo less more
Binary diff not shown
33 # Jorge González <[email protected]>, 2011.
44 # Nicolás Satragno <[email protected]>, 2011.
55 #
6 # Daniel Mustieles <[email protected]>, 2011, 2012.
7 , 2013, 2014, 2015, 2017.
6 # Daniel Mustieles <[email protected]>, 2011-2015, 2017.
87 #
98 msgid ""
109 msgstr ""
po/et.gmo less more
Binary diff not shown
po/eu.gmo less more
Binary diff not shown
po/fa.gmo less more
Binary diff not shown
po/fi.gmo less more
Binary diff not shown
po/fr.gmo less more
Binary diff not shown
po/fur.gmo less more
Binary diff not shown
po/gd.gmo less more
Binary diff not shown
+132
-109
po/gd.po less more
00 # Scottish Gaelic translation for gnome-shell-extensions.
11 # Copyright (C) 2015 gnome-shell-extensions's COPYRIGHT HOLDER
22 # This file is distributed under the same license as the gnome-shell-extensions package.
3 # GunChleoc <[email protected]>, 2015, 2016.
3 # GunChleoc <[email protected]>, 2015, 2016, 2018.
44 msgid ""
55 msgstr ""
66 "Project-Id-Version: gnome-shell-extensions master\n"
7 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
8 "shell&keywords=I18N+L10N&component=extensions\n"
9 "POT-Creation-Date: 2016-04-29 09:49+0000\n"
10 "PO-Revision-Date: 2016-04-29 11:09+0100\n"
7 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-"
8 "extensions/issues\n"
9 "POT-Creation-Date: 2017-12-18 18:40+0000\n"
10 "PO-Revision-Date: 2018-02-26 12:52+0100\n"
1111 "Last-Translator: GunChleoc <[email protected]>\n"
1212 "Language-Team: Fòram na Gàidhlig\n"
1313 "Language: gd\n"
2020 "X-DamnedLies-Scope: partial\n"
2121 "X-Project-Style: gnome\n"
2222
23 #: ../data/gnome-classic.desktop.in.h:1
24 #: ../data/gnome-classic.session.desktop.in.in.h:1
23 #: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3
2524 msgid "GNOME Classic"
2625 msgstr "GNOME clasaigeach"
2726
28 #: ../data/gnome-classic.desktop.in.h:2
27 #: data/gnome-classic.desktop.in:4
2928 msgid "This session logs you into GNOME Classic"
3029 msgstr "Clàraidh an seisean seo a-steach gu GNOME clasaigeach thu"
3130
32 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:1
31 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:7
3332 msgid "Attach modal dialog to the parent window"
3433 msgstr "Ceangail còmhradh mòdach ris an uinneag-pàraint"
3534
36 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:2
35 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:8
36 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:25
37 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:33
38 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:41
3739 msgid ""
3840 "This key overrides the key in org.gnome.mutter when running GNOME Shell."
3941 msgstr ""
4042 "Tar-àithnidh an iuchair seo an iuchair ann an org.gnome.mutter nuair a thèid "
4143 "Slige GNOME a ruith."
4244
43 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:3
45 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:16
4446 msgid "Arrangement of buttons on the titlebar"
45 msgstr "Seòrsachadh nam putanan air a' bhàr-tiotail"
46
47 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:4
47 msgstr "Seòrsachadh nam putanan air a’ bhàr-tiotail"
48
49 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:17
4850 msgid ""
4951 "This key overrides the key in org.gnome.desktop.wm.preferences when running "
5052 "GNOME Shell."
5153 msgstr ""
52 "Tar-àithnidh an iuchair seo an iuchair ann an "
53 "org.gnome.desktop.wm.preferences nuair a thèid Slige GNOME a ruith."
54
55 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:5
54 "Tar-àithnidh an iuchair seo an iuchair ann an org.gnome.desktop.wm."
55 "preferences nuair a thèid Slige GNOME a ruith."
56
57 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:24
5658 msgid "Enable edge tiling when dropping windows on screen edges"
5759 msgstr ""
5860 "Cuir leacadh nan oirean an comas nuair a thèid uinneagan a leigeil às aig "
5961 "oir na sgrìn"
6062
61 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:6
63 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:32
6264 msgid "Workspaces only on primary monitor"
63 msgstr "Rumannan-obrach air a' phrìomh-sgrìn a-mhàin"
64
65 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:7
65 msgstr "Rumannan-obrach air a’ phrìomh-sgrìn a-mhàin"
66
67 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:40
6668 msgid "Delay focus changes in mouse mode until the pointer stops moving"
6769 msgstr ""
6870 "Cuir dàil air atharraichean an fòcais ann am modh luchaige gus an sguir an "
6971 "tomhaire air gluasad"
7072
71 #: ../extensions/alternate-tab/prefs.js:20
73 #: extensions/alternate-tab/prefs.js:20
7274 msgid "Thumbnail only"
7375 msgstr "Dealbhagan a-mhàin"
7476
75 #: ../extensions/alternate-tab/prefs.js:21
77 #: extensions/alternate-tab/prefs.js:21
7678 msgid "Application icon only"
7779 msgstr "Ìomhaigheag na h-aplacaid a-mhàin"
7880
79 #: ../extensions/alternate-tab/prefs.js:22
81 #: extensions/alternate-tab/prefs.js:22
8082 msgid "Thumbnail and application icon"
8183 msgstr "Dealbhag is ìomhaigheag na h-aplacaid"
8284
83 #: ../extensions/alternate-tab/prefs.js:38
85 #: extensions/alternate-tab/prefs.js:38
8486 msgid "Present windows as"
8587 msgstr "Seall uinneagan mar"
8688
87 #: ../extensions/alternate-tab/prefs.js:69
89 #: extensions/alternate-tab/prefs.js:69
8890 msgid "Show only windows in the current workspace"
8991 msgstr "Na seall ach na h-uinneagan san rum-obrach làithreach"
9092
91 #: ../extensions/apps-menu/extension.js:38
93 #: extensions/apps-menu/extension.js:41
9294 msgid "Activities Overview"
9395 msgstr "Foir-shealladh nan gnìomhachdan"
9496
95 #: ../extensions/apps-menu/extension.js:109
97 #: extensions/apps-menu/extension.js:141
9698 msgid "Favorites"
9799 msgstr "Annsachdan"
98100
99 #: ../extensions/apps-menu/extension.js:266
101 #: extensions/apps-menu/extension.js:436
100102 msgid "Applications"
101103 msgstr "Aplacaidean"
102104
103 #: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
105 #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6
104106 msgid "Application and workspace list"
105107 msgstr "Ìomhaigheag na h-aplacaid is liosta nan rumannan-obrach"
106108
107 #: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
109 #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7
108110 msgid ""
109111 "A list of strings, each containing an application id (desktop file name), "
110112 "followed by a colon and the workspace number"
112114 "Liosta dhe shreangan le id aplacaid (ainm faidhle desktop) aig gach tè air a "
113115 "leantainn le còilean is àireamh an ruim-obrach"
114116
115 #: ../extensions/auto-move-windows/prefs.js:60
117 #: extensions/auto-move-windows/prefs.js:56
116118 msgid "Application"
117119 msgstr "Aplacaid"
118120
119 #: ../extensions/auto-move-windows/prefs.js:69
120 #: ../extensions/auto-move-windows/prefs.js:127
121 #: extensions/auto-move-windows/prefs.js:65
122 #: extensions/auto-move-windows/prefs.js:123
121123 msgid "Workspace"
122124 msgstr "Rum-obrach"
123125
124 #: ../extensions/auto-move-windows/prefs.js:85
126 #: extensions/auto-move-windows/prefs.js:81
125127 msgid "Add Rule"
126128 msgstr "Cuir riaghailt ris"
127129
128 #: ../extensions/auto-move-windows/prefs.js:106
130 #: extensions/auto-move-windows/prefs.js:102
129131 msgid "Create new matching rule"
130132 msgstr "Cruthaich riaghailt maidsidh ùr"
131133
132 #: ../extensions/auto-move-windows/prefs.js:111
134 #: extensions/auto-move-windows/prefs.js:107
133135 msgid "Add"
134136 msgstr "Cuir ris"
135137
136 #: ../extensions/drive-menu/extension.js:106
138 #. TRANSLATORS: %s is the filesystem name
139 #: extensions/drive-menu/extension.js:107
137140 #, javascript-format
138 msgid "Ejecting drive '%s' failed:"
139 msgstr "Cha deach leinn draibh \"%s\" a ghluasad a-mach:"
140
141 #: ../extensions/drive-menu/extension.js:124
141 #| msgid "Ejecting drive '%s' failed:"
142 msgid "Ejecting drive “%s” failed:"
143 msgstr "Cha deach leinn draibh “%s” a ghluasad a-mach:"
144
145 #: extensions/drive-menu/extension.js:125
142146 msgid "Removable devices"
143147 msgstr "Draibhean so-ghiùlain"
144148
145 #: ../extensions/drive-menu/extension.js:149
146 msgid "Open File"
147 msgstr "Fosgail am faidhle"
148
149 #: ../extensions/example/extension.js:17
149 #: extensions/drive-menu/extension.js:150
150 #| msgid "Open File"
151 msgid "Open Files"
152 msgstr "Fosgail faidhlichean"
153
154 #: extensions/example/extension.js:17
150155 msgid "Hello, world!"
151156 msgstr "Shin thu, a shaoghail!"
152157
153 #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:1
158 #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:5
154159 msgid "Alternative greeting text."
155160 msgstr "Teacsa fàilteachaidh eile."
156161
157 #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:2
162 #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:6
158163 msgid ""
159164 "If not empty, it contains the text that will be shown when clicking on the "
160165 "panel."
161166 msgstr ""
162 "Mur eil seo falamh, tha an teacsa 'na bhroinn a thèid a shealltainn le "
163 "briogadh air a' phanail."
164
165 #: ../extensions/example/prefs.js:30
167 "Mur eil seo falamh, tha an teacsa ’na bhroinn a thèid a shealltainn le "
168 "briogadh air a’ phanail."
169
170 #: extensions/example/prefs.js:30
166171 msgid "Message"
167172 msgstr "Teachdaireachd"
168173
169174 #. TRANSLATORS: Example is the name of the extension, should not be
170175 #. translated
171 #: ../extensions/example/prefs.js:43
176 #: extensions/example/prefs.js:43
177 #| msgid ""
178 #| "Example aims to show how to build well behaved extensions for the Shell "
179 #| "and as such it has little functionality on its own.\n"
180 #| "Nevertheless it's possible to customize the greeting message."
172181 msgid ""
173182 "Example aims to show how to build well behaved extensions for the Shell and "
174183 "as such it has little functionality on its own.\n"
175 "Nevertheless it's possible to customize the greeting message."
184 "Nevertheless it’s possible to customize the greeting message."
176185 msgstr ""
177186 "Tha am ball-eisimpleir airson sealltainn dhut mar a thogas tu leudachain le "
178187 "deagh-ghiùlan airson na Slige agus mar sin cha dèan e fhèin mòran.\n"
179 "'S urrainn dhut an teachdaireachd fàilteachaidh a ghnàthachadh co-dhiù."
180
181 #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1
188 "’S urrainn dhut an teachdaireachd fàilteachaidh a ghnàthachadh co-dhiù."
189
190 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5
182191 msgid "Use more screen for windows"
183192 msgstr "Cleachd cuid nas motha dhen sgrìn airson uinneagan"
184193
185 #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2
194 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:6
186195 msgid ""
187196 "Try to use more screen for placing window thumbnails by adapting to screen "
188197 "aspect ratio, and consolidating them further to reduce the bounding box. "
193202 "barrachd co-dhaingneachaidh ach am bi am bogsa-iadhaidh nas lugha. Cha bhi "
194203 "an roghainn seo an sàs ach leis an ro-innleachd suidheachaidh nàdarra."
195204
196 #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3
205 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11
197206 msgid "Place window captions on top"
198 msgstr "Cuir caipseanan nan uinneagan air a' bharr"
199
200 #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4
207 msgstr "Cuir caipseanan nan uinneagan air a’ bharr"
208
209 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:12
201210 msgid ""
202211 "If true, place window captions on top the respective thumbnail, overriding "
203212 "shell default of placing it at the bottom. Changing this setting requires "
204213 "restarting the shell to have any effect."
205214 msgstr ""
206 "Mas e true a th' ann, thèid caipseanan nan uinneagan a chur ri barr nan "
207 "dealbhagan, a' tar-àithneadh bun-roghainn na slige a chuireas aig a' bhonn "
208 "iad. Ma dh'atharraicheas tu an roghainn seo, feumaidh tu an t-slige a "
215 "Mas e true a th’ ann, thèid caipseanan nan uinneagan a chur ri barr nan "
216 "dealbhagan, a’ tar-àithneadh bun-roghainn na slige a chuireas aig a’ bhonn "
217 "iad. Ma dh’atharraicheas tu an roghainn seo, feumaidh tu an t-slige a "
209218 "thòiseachadh às ùr gus an dèid a cur an sàs."
210219
211 #: ../extensions/places-menu/extension.js:78
212 #: ../extensions/places-menu/extension.js:81
220 #: extensions/places-menu/extension.js:78
221 #: extensions/places-menu/extension.js:81
213222 msgid "Places"
214223 msgstr "Ionadan"
215224
216 #: ../extensions/places-menu/placeDisplay.js:59
225 #: extensions/places-menu/placeDisplay.js:65
217226 #, javascript-format
218 msgid "Failed to launch \"%s\""
219 msgstr "Cha b' urrainn dhuinn \"%s\" a chur gu dol"
220
221 #: ../extensions/places-menu/placeDisplay.js:101
222 #: ../extensions/places-menu/placeDisplay.js:124
227 msgid "Failed to mount volume for “%s”"
228 msgstr "Cha b’ urrainn dhuinn an t-iom-dhraibh airson “%s” a mhunntachadh"
229
230 #: extensions/places-menu/placeDisplay.js:78
231 #, javascript-format
232 #| msgid "Failed to launch \"%s\""
233 msgid "Failed to launch “%s”"
234 msgstr "Cha b’ urrainn dhuinn “%s” a chur gu dol"
235
236 #: extensions/places-menu/placeDisplay.js:137
237 #: extensions/places-menu/placeDisplay.js:160
223238 msgid "Computer"
224239 msgstr "Coimpiutair"
225240
226 #: ../extensions/places-menu/placeDisplay.js:267
241 #: extensions/places-menu/placeDisplay.js:303
227242 msgid "Home"
228243 msgstr "Dachaigh"
229244
230 #: ../extensions/places-menu/placeDisplay.js:311
245 #: extensions/places-menu/placeDisplay.js:347
231246 msgid "Browse Network"
232247 msgstr "Brabhsaich an lìonra"
233248
234 #: ../extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml.in.h:1
249 #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:7
235250 msgid "Cycle Screenshot Sizes"
236251 msgstr "Cuartaich meudan nan glacaidhean-sgrìn"
237252
238 #: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
253 #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:11
254 #| msgid "Cycle Screenshot Sizes"
255 msgid "Cycle Screenshot Sizes Backward"
256 msgstr "Cuartaich meudan nan glacaidhean-sgrìn gu contrarra"
257
258 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5
239259 msgid "Theme name"
240260 msgstr "Ainm an ùrlair"
241261
242 #: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
262 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:6
243263 msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
244264 msgstr "Ainm an ùrlair a thèid a luchdadh o ~/.themes/name/gnome-shell"
245265
246 #: ../extensions/window-list/extension.js:110
266 #: extensions/window-list/extension.js:110
247267 msgid "Close"
248268 msgstr "Dùin"
249269
250 #: ../extensions/window-list/extension.js:120
270 #: extensions/window-list/extension.js:129
251271 msgid "Unminimize"
252272 msgstr "Neo-fhìor-lùghdaich"
253273
254 #: ../extensions/window-list/extension.js:121
274 #: extensions/window-list/extension.js:130
255275 msgid "Minimize"
256276 msgstr "Fìor-lùghdaich"
257277
258 #: ../extensions/window-list/extension.js:127
278 #: extensions/window-list/extension.js:136
259279 msgid "Unmaximize"
260280 msgstr "Neo-làn-mheudaich"
261281
262 #: ../extensions/window-list/extension.js:128
282 #: extensions/window-list/extension.js:137
263283 msgid "Maximize"
264284 msgstr "Làn-mheudaich"
265285
266 #: ../extensions/window-list/extension.js:403
286 #: extensions/window-list/extension.js:420
267287 msgid "Minimize all"
268288 msgstr "Fìor-lùghdaich na h-uile"
269289
270 #: ../extensions/window-list/extension.js:411
290 #: extensions/window-list/extension.js:428
271291 msgid "Unminimize all"
272292 msgstr "Neo-fhìor-lùghdaich na h-uile"
273293
274 #: ../extensions/window-list/extension.js:419
294 #: extensions/window-list/extension.js:436
275295 msgid "Maximize all"
276296 msgstr "Làn-mheudaich na h-uile"
277297
278 #: ../extensions/window-list/extension.js:428
298 #: extensions/window-list/extension.js:445
279299 msgid "Unmaximize all"
280300 msgstr "Neo-làn-mheudaich na h-uile"
281301
282 #: ../extensions/window-list/extension.js:437
302 #: extensions/window-list/extension.js:454
283303 msgid "Close all"
284304 msgstr "Dùin na h-uile"
285305
286 #: ../extensions/window-list/extension.js:661
287 #: ../extensions/workspace-indicator/extension.js:30
306 #: extensions/window-list/extension.js:678
307 #: extensions/workspace-indicator/extension.js:30
288308 msgid "Workspace Indicator"
289309 msgstr "Taisbeanair ruim-obrach"
290310
291 #: ../extensions/window-list/extension.js:820
311 #: extensions/window-list/extension.js:842
292312 msgid "Window List"
293313 msgstr "Liosta nan uinneagan"
294314
295 #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:1
315 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:12
296316 msgid "When to group windows"
297317 msgstr "Cuin a thèid na h-uinneagan a bhuidhneachadh"
298318
299 #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:2
319 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13
320 #| msgid ""
321 #| "Decides when to group windows from the same application on the window "
322 #| "list. Possible values are \"never\", \"auto\" and \"always\"."
300323 msgid ""
301324 "Decides when to group windows from the same application on the window list. "
302 "Possible values are \"never\", \"auto\" and \"always\"."
325 "Possible values are “never”, “auto” and “always”."
303326 msgstr ""
304327 "Mìnichidh seo cuin a thèid uinneagan aig an aon aplacaid a bhuidhneachadh "
305 "air liosta nan uinneagan. 'S e \"never\", \"auto\" agus \"always\" a tha sna "
328 "air liosta nan uinneagan. ’S e “never”, “auto” agus “always” a tha sna "
306329 "roghainnean dligheach."
307330
308 #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:3
331 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20
309332 msgid "Show the window list on all monitors"
310333 msgstr "Seall liosta nan uinneagan air a h-uile sgrìn"
311334
312 #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:4
335 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21
313336 msgid ""
314337 "Whether to show the window list on all connected monitors or only on the "
315338 "primary one."
316339 msgstr ""
317340 "Co-dhiù an dèid liosta nan uinneagan a shealltainn air gach sgrìn "
318 "cheangailte no air a' phrìomh-thè a-mhàin."
319
320 #: ../extensions/window-list/prefs.js:32
341 "cheangailte no air a’ phrìomh-thè a-mhàin."
342
343 #: extensions/window-list/prefs.js:32
321344 msgid "Window Grouping"
322345 msgstr "Buidhneachadh nan uinneagan"
323346
324 #: ../extensions/window-list/prefs.js:50
347 #: extensions/window-list/prefs.js:50
325348 msgid "Never group windows"
326349 msgstr "Na buidhnich na h-uinneagan idir"
327350
328 #: ../extensions/window-list/prefs.js:51
351 #: extensions/window-list/prefs.js:51
329352 msgid "Group windows when space is limited"
330353 msgstr "Buidhnich na h-uinneagan nuair a bhios an rum gann"
331354
332 #: ../extensions/window-list/prefs.js:52
355 #: extensions/window-list/prefs.js:52
333356 msgid "Always group windows"
334357 msgstr "Buidhnich na h-uinneagan an-còmhnaidh"
335358
336 #: ../extensions/window-list/prefs.js:75
359 #: extensions/window-list/prefs.js:75
337360 msgid "Show on all monitors"
338361 msgstr "Seall air a h-uile sgrìn"
339362
340 #: ../extensions/workspace-indicator/prefs.js:141
363 #: extensions/workspace-indicator/prefs.js:141
341364 msgid "Workspace Names"
342365 msgstr "Ainmean nan rumannan-obrach"
343366
344 #: ../extensions/workspace-indicator/prefs.js:157
367 #: extensions/workspace-indicator/prefs.js:157
345368 msgid "Name"
346369 msgstr "Ainm"
347370
348 #: ../extensions/workspace-indicator/prefs.js:198
371 #: extensions/workspace-indicator/prefs.js:198
349372 #, javascript-format
350373 msgid "Workspace %d"
351374 msgstr "Rum-obrach %d"
po/gl.gmo less more
Binary diff not shown
+0
-328
po/gnome-shell-extensions.pot less more
0 # SOME DESCRIPTIVE TITLE.
1 # Copyright (C) YEAR Translation copyright holder
2 # This file is distributed under the same license as the gnome-shell-extensions package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: gnome-shell-extensions 3.25.2\n"
9 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
10 "shell&keywords=I18N+L10N&component=extensions\n"
11 "POT-Creation-Date: 2017-06-09 17:13+0200\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <[email protected]>\n"
15 "Language: \n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19
20 #: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3
21 msgid "GNOME Classic"
22 msgstr ""
23
24 #: data/gnome-classic.desktop.in:4
25 msgid "This session logs you into GNOME Classic"
26 msgstr ""
27
28 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:7
29 msgid "Attach modal dialog to the parent window"
30 msgstr ""
31
32 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:8
33 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:25
34 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:33
35 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:41
36 msgid ""
37 "This key overrides the key in org.gnome.mutter when running GNOME Shell."
38 msgstr ""
39
40 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:16
41 msgid "Arrangement of buttons on the titlebar"
42 msgstr ""
43
44 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:17
45 msgid ""
46 "This key overrides the key in org.gnome.desktop.wm.preferences when running "
47 "GNOME Shell."
48 msgstr ""
49
50 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:24
51 msgid "Enable edge tiling when dropping windows on screen edges"
52 msgstr ""
53
54 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:32
55 msgid "Workspaces only on primary monitor"
56 msgstr ""
57
58 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:40
59 msgid "Delay focus changes in mouse mode until the pointer stops moving"
60 msgstr ""
61
62 #: extensions/alternate-tab/prefs.js:20
63 msgid "Thumbnail only"
64 msgstr ""
65
66 #: extensions/alternate-tab/prefs.js:21
67 msgid "Application icon only"
68 msgstr ""
69
70 #: extensions/alternate-tab/prefs.js:22
71 msgid "Thumbnail and application icon"
72 msgstr ""
73
74 #: extensions/alternate-tab/prefs.js:38
75 msgid "Present windows as"
76 msgstr ""
77
78 #: extensions/alternate-tab/prefs.js:69
79 msgid "Show only windows in the current workspace"
80 msgstr ""
81
82 #: extensions/apps-menu/extension.js:41
83 msgid "Activities Overview"
84 msgstr ""
85
86 #: extensions/apps-menu/extension.js:141
87 msgid "Favorites"
88 msgstr ""
89
90 #: extensions/apps-menu/extension.js:436
91 msgid "Applications"
92 msgstr ""
93
94 #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6
95 msgid "Application and workspace list"
96 msgstr ""
97
98 #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7
99 msgid ""
100 "A list of strings, each containing an application id (desktop file name), "
101 "followed by a colon and the workspace number"
102 msgstr ""
103
104 #: extensions/auto-move-windows/prefs.js:60
105 msgid "Application"
106 msgstr ""
107
108 #: extensions/auto-move-windows/prefs.js:69
109 #: extensions/auto-move-windows/prefs.js:127
110 msgid "Workspace"
111 msgstr ""
112
113 #: extensions/auto-move-windows/prefs.js:85
114 msgid "Add Rule"
115 msgstr ""
116
117 #: extensions/auto-move-windows/prefs.js:106
118 msgid "Create new matching rule"
119 msgstr ""
120
121 #: extensions/auto-move-windows/prefs.js:111
122 msgid "Add"
123 msgstr ""
124
125 #: extensions/drive-menu/extension.js:106
126 #, javascript-format
127 msgid "Ejecting drive “%s” failed:"
128 msgstr ""
129
130 #: extensions/drive-menu/extension.js:124
131 msgid "Removable devices"
132 msgstr ""
133
134 #: extensions/drive-menu/extension.js:149
135 msgid "Open Files"
136 msgstr ""
137
138 #: extensions/example/extension.js:17
139 msgid "Hello, world!"
140 msgstr ""
141
142 #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:5
143 msgid "Alternative greeting text."
144 msgstr ""
145
146 #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:6
147 msgid ""
148 "If not empty, it contains the text that will be shown when clicking on the "
149 "panel."
150 msgstr ""
151
152 #: extensions/example/prefs.js:30
153 msgid "Message"
154 msgstr ""
155
156 #. TRANSLATORS: Example is the name of the extension, should not be
157 #. translated
158 #: extensions/example/prefs.js:43
159 msgid ""
160 "Example aims to show how to build well behaved extensions for the Shell and "
161 "as such it has little functionality on its own.\n"
162 "Nevertheless it’s possible to customize the greeting message."
163 msgstr ""
164
165 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5
166 msgid "Use more screen for windows"
167 msgstr ""
168
169 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:6
170 msgid ""
171 "Try to use more screen for placing window thumbnails by adapting to screen "
172 "aspect ratio, and consolidating them further to reduce the bounding box. "
173 "This setting applies only with the natural placement strategy."
174 msgstr ""
175
176 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11
177 msgid "Place window captions on top"
178 msgstr ""
179
180 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:12
181 msgid ""
182 "If true, place window captions on top the respective thumbnail, overriding "
183 "shell default of placing it at the bottom. Changing this setting requires "
184 "restarting the shell to have any effect."
185 msgstr ""
186
187 #: extensions/places-menu/extension.js:78
188 #: extensions/places-menu/extension.js:81
189 msgid "Places"
190 msgstr ""
191
192 #: extensions/places-menu/placeDisplay.js:56
193 #, javascript-format
194 msgid "Failed to mount volume for “%s”"
195 msgstr ""
196
197 #: extensions/places-menu/placeDisplay.js:69
198 #, javascript-format
199 msgid "Failed to launch “%s”"
200 msgstr ""
201
202 #: extensions/places-menu/placeDisplay.js:128
203 #: extensions/places-menu/placeDisplay.js:151
204 msgid "Computer"
205 msgstr ""
206
207 #: extensions/places-menu/placeDisplay.js:294
208 msgid "Home"
209 msgstr ""
210
211 #: extensions/places-menu/placeDisplay.js:338
212 msgid "Browse Network"
213 msgstr ""
214
215 #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:7
216 msgid "Cycle Screenshot Sizes"
217 msgstr ""
218
219 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5
220 msgid "Theme name"
221 msgstr ""
222
223 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:6
224 msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
225 msgstr ""
226
227 #: extensions/window-list/extension.js:110
228 msgid "Close"
229 msgstr ""
230
231 #: extensions/window-list/extension.js:129
232 msgid "Unminimize"
233 msgstr ""
234
235 #: extensions/window-list/extension.js:130
236 msgid "Minimize"
237 msgstr ""
238
239 #: extensions/window-list/extension.js:136
240 msgid "Unmaximize"
241 msgstr ""
242
243 #: extensions/window-list/extension.js:137
244 msgid "Maximize"
245 msgstr ""
246
247 #: extensions/window-list/extension.js:420
248 msgid "Minimize all"
249 msgstr ""
250
251 #: extensions/window-list/extension.js:428
252 msgid "Unminimize all"
253 msgstr ""
254
255 #: extensions/window-list/extension.js:436
256 msgid "Maximize all"
257 msgstr ""
258
259 #: extensions/window-list/extension.js:445
260 msgid "Unmaximize all"
261 msgstr ""
262
263 #: extensions/window-list/extension.js:454
264 msgid "Close all"
265 msgstr ""
266
267 #: extensions/window-list/extension.js:678
268 #: extensions/workspace-indicator/extension.js:30
269 msgid "Workspace Indicator"
270 msgstr ""
271
272 #: extensions/window-list/extension.js:842
273 msgid "Window List"
274 msgstr ""
275
276 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:12
277 msgid "When to group windows"
278 msgstr ""
279
280 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13
281 msgid ""
282 "Decides when to group windows from the same application on the window list. "
283 "Possible values are “never”, “auto” and “always”."
284 msgstr ""
285
286 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20
287 msgid "Show the window list on all monitors"
288 msgstr ""
289
290 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21
291 msgid ""
292 "Whether to show the window list on all connected monitors or only on the "
293 "primary one."
294 msgstr ""
295
296 #: extensions/window-list/prefs.js:32
297 msgid "Window Grouping"
298 msgstr ""
299
300 #: extensions/window-list/prefs.js:50
301 msgid "Never group windows"
302 msgstr ""
303
304 #: extensions/window-list/prefs.js:51
305 msgid "Group windows when space is limited"
306 msgstr ""
307
308 #: extensions/window-list/prefs.js:52
309 msgid "Always group windows"
310 msgstr ""
311
312 #: extensions/window-list/prefs.js:75
313 msgid "Show on all monitors"
314 msgstr ""
315
316 #: extensions/workspace-indicator/prefs.js:141
317 msgid "Workspace Names"
318 msgstr ""
319
320 #: extensions/workspace-indicator/prefs.js:157
321 msgid "Name"
322 msgstr ""
323
324 #: extensions/workspace-indicator/prefs.js:198
325 #, javascript-format
326 msgid "Workspace %d"
327 msgstr ""
po/gu.gmo less more
Binary diff not shown
po/he.gmo less more
Binary diff not shown
po/hi.gmo less more
Binary diff not shown
po/hr.gmo less more
Binary diff not shown
po/hu.gmo less more
Binary diff not shown
po/id.gmo less more
Binary diff not shown
+0
-23
po/insert-header.sin less more
0 # Sed script that inserts the file called HEADER before the header entry.
1 #
2 # At each occurrence of a line starting with "msgid ", we execute the following
3 # commands. At the first occurrence, insert the file. At the following
4 # occurrences, do nothing. The distinction between the first and the following
5 # occurrences is achieved by looking at the hold space.
6 /^msgid /{
7 x
8 # Test if the hold space is empty.
9 s/m/m/
10 ta
11 # Yes it was empty. First occurrence. Read the file.
12 r HEADER
13 # Output the file's contents by reading the next line. But don't lose the
14 # current line while doing this.
15 g
16 N
17 bb
18 :a
19 # The hold space was nonempty. Following occurrences. Do nothing.
20 x
21 :b
22 }
po/is.gmo less more
Binary diff not shown
po/it.gmo less more
Binary diff not shown
po/ja.gmo less more
Binary diff not shown
po/kk.gmo less more
Binary diff not shown
po/km.gmo less more
Binary diff not shown
po/kn.gmo less more
Binary diff not shown
po/ko.gmo less more
Binary diff not shown
po/lt.gmo less more
Binary diff not shown
po/lv.gmo less more
Binary diff not shown
0 i18n.gettext(gettext_domain, preset: 'glib')
po/ml.gmo less more
Binary diff not shown
po/mr.gmo less more
Binary diff not shown
po/ms.gmo less more
Binary diff not shown
po/nb.gmo less more
Binary diff not shown
44 #
55 msgid ""
66 msgstr ""
7 "Project-Id-Version: gnome-shell-extensions 3.23.x\n"
8 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions\n"
9 "POT-Creation-Date: 2017-02-16 01:20+0000\n"
10 "PO-Revision-Date: 2017-02-19 17:40+0100\n"
7 "Project-Id-Version: gnome-shell-extensions 3.26.x\n"
8 "Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions\n"
9 "POT-Creation-Date: 2017-10-04 18:03+0000\n"
10 "PO-Revision-Date: 2017-11-06 13:40+0100\n"
1111 "Last-Translator: Kjartan Maraas <[email protected]>\n"
1212 "Language-Team: Norwegian bokmål <[email protected]>\n"
1313 "Language: nb\n"
8282 msgid "Show only windows in the current workspace"
8383 msgstr "Vis kun vinduer i aktivt arbeidsområde"
8484
85 #: extensions/apps-menu/extension.js:38
85 #: extensions/apps-menu/extension.js:41
8686 msgid "Activities Overview"
8787 msgstr "Aktivitetsoversikt"
8888
89 #: extensions/apps-menu/extension.js:109
89 #: extensions/apps-menu/extension.js:141
9090 msgid "Favorites"
9191 msgstr "Favoritter"
9292
93 #: extensions/apps-menu/extension.js:266
93 #: extensions/apps-menu/extension.js:436
9494 msgid "Applications"
9595 msgstr "Programmer"
9696
127127 msgid "Add"
128128 msgstr "Legg til"
129129
130 #: extensions/drive-menu/extension.js:106
130 #. TRANSLATORS: %s is the filesystem name
131 #: extensions/drive-menu/extension.js:107
131132 #, javascript-format
132133 msgid "Ejecting drive “%s” failed:"
133134 msgstr "Utløsing av stasjon «%s» feilet:"
134135
135 #: extensions/drive-menu/extension.js:124
136 #: extensions/drive-menu/extension.js:125
136137 msgid "Removable devices"
137138 msgstr "Avtagbare enheter"
138139
139 #: extensions/drive-menu/extension.js:149
140 msgid "Open File"
140 #: extensions/drive-menu/extension.js:150
141 msgid "Open Files"
141142 msgstr "Åpne fil"
142143
143144 #: extensions/example/extension.js:17
208209 msgid "Places"
209210 msgstr "Steder"
210211
211 #: extensions/places-menu/placeDisplay.js:59
212 #: extensions/places-menu/placeDisplay.js:65
213 #, javascript-format
214 msgid "Failed to mount volume for “%s”"
215 msgstr "Klarte ikke å montere volum for «%s»"
216
217 #: extensions/places-menu/placeDisplay.js:78
212218 #, javascript-format
213219 msgid "Failed to launch “%s”"
214220 msgstr "Klarte ikke å starte «%s»"
215221
216 #: extensions/places-menu/placeDisplay.js:101
217 #: extensions/places-menu/placeDisplay.js:124
222 #: extensions/places-menu/placeDisplay.js:137
223 #: extensions/places-menu/placeDisplay.js:160
218224 msgid "Computer"
219225 msgstr "Datamaskin"
220226
221 #: extensions/places-menu/placeDisplay.js:267
227 #: extensions/places-menu/placeDisplay.js:303
222228 msgid "Home"
223229 msgstr "Hjem"
224230
225 #: extensions/places-menu/placeDisplay.js:311
231 #: extensions/places-menu/placeDisplay.js:347
226232 msgid "Browse Network"
227233 msgstr "Bla gjennom nettverk"
228234
230236 msgid "Cycle Screenshot Sizes"
231237 msgstr "Bla gjennom størrelser på skjermdump"
232238
239 #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:11
240 msgid "Cycle Screenshot Sizes Backward"
241 msgstr "Bla gjennom størrelser på skjermdump baklengs"
242
233243 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5
234244 msgid "Theme name"
235245 msgstr "Navn på tema"
242252 msgid "Close"
243253 msgstr "Lukk"
244254
245 #: extensions/window-list/extension.js:120
255 #: extensions/window-list/extension.js:129
246256 msgid "Unminimize"
247257 msgstr "Gjenopprett"
248258
249 #: extensions/window-list/extension.js:121
259 #: extensions/window-list/extension.js:130
250260 msgid "Minimize"
251261 msgstr "Minimer"
252262
253 #: extensions/window-list/extension.js:127
263 #: extensions/window-list/extension.js:136
254264 msgid "Unmaximize"
255265 msgstr "Gjenopprett"
256266
257 #: extensions/window-list/extension.js:128
267 #: extensions/window-list/extension.js:137
258268 msgid "Maximize"
259269 msgstr "Maksimer"
260270
261 #: extensions/window-list/extension.js:411
271 #: extensions/window-list/extension.js:420
262272 msgid "Minimize all"
263273 msgstr "Minimer alle"
264274
265 #: extensions/window-list/extension.js:419
275 #: extensions/window-list/extension.js:428
266276 msgid "Unminimize all"
267277 msgstr "Gjenopprett alle"
268278
269 #: extensions/window-list/extension.js:427
279 #: extensions/window-list/extension.js:436
270280 msgid "Maximize all"
271281 msgstr "Maksimer alle"
272282
273 #: extensions/window-list/extension.js:436
283 #: extensions/window-list/extension.js:445
274284 msgid "Unmaximize all"
275285 msgstr "Gjenopprett alle"
276286
277 #: extensions/window-list/extension.js:445
287 #: extensions/window-list/extension.js:454
278288 msgid "Close all"
279289 msgstr "Lukk alle"
280290
281 #: extensions/window-list/extension.js:669
291 #: extensions/window-list/extension.js:678
282292 #: extensions/workspace-indicator/extension.js:30
283293 msgid "Workspace Indicator"
284294 msgstr "Arbeidsområdeindikator"
285295
286 #: extensions/window-list/extension.js:833
296 #: extensions/window-list/extension.js:842
287297 msgid "Window List"
288298 msgstr "Vinduliste"
289299
po/ne.gmo less more
Binary diff not shown
po/nl.gmo less more
Binary diff not shown
po/oc.gmo less more
Binary diff not shown
po/or.gmo less more
Binary diff not shown
po/pa.gmo less more
Binary diff not shown
po/pl.gmo less more
Binary diff not shown
po/pt.gmo less more
Binary diff not shown
po/pt_BR.gmo less more
Binary diff not shown
+0
-6
po/quot.sed less more
0 s/"\([^"]*\)"/“\1”/g
1 s/`\([^`']*\)'/‘\1’/g
2 s/ '\([^`']*\)' / ‘\1’ /g
3 s/ '\([^`']*\)'$/ ‘\1’/g
4 s/^'\([^`']*\)' /‘\1’ /g
5 s/“”/""/g
+0
-19
po/remove-potcdate.sin less more
0 # Sed script that remove the POT-Creation-Date line in the header entry
1 # from a POT file.
2 #
3 # The distinction between the first and the following occurrences of the
4 # pattern is achieved by looking at the hold space.
5 /^"POT-Creation-Date: .*"$/{
6 x
7 # Test if the hold space is empty.
8 s/P/P/
9 ta
10 # Yes it was empty. First occurrence. Remove the line.
11 g
12 d
13 bb
14 :a
15 # The hold space was nonempty. Following occurrences. Do nothing.
16 x
17 :b
18 }
po/ro.gmo less more
Binary diff not shown
11 # Copyright (C) 2014 gnome-shell-extensions's COPYRIGHT HOLDER
22 # This file is distributed under the same license as the gnome-shell-extensions package.
33 # Bogdan Mințoi <[email protected]>, 2014.
4 # Daniel Șerbănescu <daniel [at] serbanescu [dot] dk>, 2014, 2015.
4 # Daniel Șerbănescu <daniel [at] serbanescu [dot] dk>, 2014, 2015, 2018.
55 msgid ""
66 msgstr ""
77 "Project-Id-Version: gnome-shell-extensions master\n"
8 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
9 "shell&keywords=I18N+L10N&component=extensions\n"
10 "POT-Creation-Date: 2015-06-19 08:07+0000\n"
11 "PO-Revision-Date: 2015-06-19 20:23+0200\n"
8 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/"
9 "issues\n"
10 "POT-Creation-Date: 2017-12-06 16:42+0000\n"
11 "PO-Revision-Date: 2018-01-08 19:10+0200\n"
1212 "Last-Translator: Daniel Șerbănescu <daniel [at] serbanescu [dot] dk>\n"
1313 "Language-Team: Gnome Romanian Translation Team\n"
1414 "Language: ro\n"
2020 "X-Generator: Virtaal 0.7.1\n"
2121 "X-Project-Style: gnome\n"
2222
23 #: ../data/gnome-classic.desktop.in.h:1
24 #: ../data/gnome-classic.session.desktop.in.in.h:1
23 #: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3
2524 msgid "GNOME Classic"
2625 msgstr "GNOME Clasic"
2726
28 #: ../data/gnome-classic.desktop.in.h:2
27 #: data/gnome-classic.desktop.in:4
2928 msgid "This session logs you into GNOME Classic"
3029 msgstr "Această sesiune vă autentifică în GNOME Clasic"
3130
32 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:1
31 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:7
3332 msgid "Attach modal dialog to the parent window"
3433 msgstr "Atașează dialogul modal la fereastra părinte"
3534
36 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:2
35 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:8
36 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:25
37 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:33
38 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:41
3739 msgid ""
3840 "This key overrides the key in org.gnome.mutter when running GNOME Shell."
3941 msgstr ""
4042 "Această cheie înlocuiește cheia corespondentă din org.gnome.mutter când "
4143 "interfața GNOME rulează."
4244
43 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:3
45 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:16
4446 msgid "Arrangement of buttons on the titlebar"
4547 msgstr "Aranjamentul butoanelor din bara de titlu"
4648
47 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:4
49 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:17
4850 msgid ""
4951 "This key overrides the key in org.gnome.desktop.wm.preferences when running "
5052 "GNOME Shell."
5153 msgstr ""
52 "Această cheie înlocuiește cheia corespondentă din "
53 "org.gnome.desktop.wm.preferences când interfața GNOME rulează."
54
55 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:5
54 "Această cheie înlocuiește cheia corespondentă din org.gnome.desktop.wm."
55 "preferences când interfața GNOME rulează."
56
57 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:24
5658 msgid "Enable edge tiling when dropping windows on screen edges"
57 msgstr "Activează mozaic lateral la plasarea ferestrelor pe marginile ecranului"
58
59 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:6
59 msgstr ""
60 "Activează mozaic lateral la plasarea ferestrelor pe marginile ecranului"
61
62 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:32
6063 msgid "Workspaces only on primary monitor"
6164 msgstr "Spații de lucru doar pe monitorul principal"
6265
63 #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:7
66 #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:40
6467 msgid "Delay focus changes in mouse mode until the pointer stops moving"
6568 msgstr ""
6669 "Întârzie schimbările de focus în modul maus până când cursorul se oprește"
6770
68 #: ../extensions/alternate-tab/prefs.js:20
71 #: extensions/alternate-tab/prefs.js:19
6972 msgid "Thumbnail only"
7073 msgstr "Doar miniatură"
7174
72 #: ../extensions/alternate-tab/prefs.js:21
75 #: extensions/alternate-tab/prefs.js:20
7376 msgid "Application icon only"
7477 msgstr "Doar pictograma aplicației"
7578
76 #: ../extensions/alternate-tab/prefs.js:22
79 #: extensions/alternate-tab/prefs.js:21
7780 msgid "Thumbnail and application icon"
7881 msgstr "Miniatură și pictograma aplicației"
7982
80 #: ../extensions/alternate-tab/prefs.js:38
83 #: extensions/alternate-tab/prefs.js:34
8184 msgid "Present windows as"
8285 msgstr "Prezintă ferestrele ca"
8386
84 #: ../extensions/alternate-tab/prefs.js:69
87 #: extensions/alternate-tab/prefs.js:65
8588 msgid "Show only windows in the current workspace"
8689 msgstr "Arată doar ferestrele aflate în spațiul de lucru actual"
8790
88 #: ../extensions/apps-menu/extension.js:39
91 #: extensions/apps-menu/extension.js:37
8992 msgid "Activities Overview"
9093 msgstr "Panoramă activități"
9194
92 #: ../extensions/apps-menu/extension.js:110
95 #: extensions/apps-menu/extension.js:130
9396 msgid "Favorites"
9497 msgstr "Favorite"
9598
96 #: ../extensions/apps-menu/extension.js:279
99 #: extensions/apps-menu/extension.js:417
97100 msgid "Applications"
98101 msgstr "Aplicații"
99102
100 #: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
103 #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6
101104 msgid "Application and workspace list"
102105 msgstr "Lista de aplicații și spații de lucru"
103106
104 #: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
107 #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7
105108 msgid ""
106109 "A list of strings, each containing an application id (desktop file name), "
107110 "followed by a colon and the workspace number"
110113 "fișierului de birou) urmat de simbolul „două puncte” și un număr al "
111114 "spațiului de lucru"
112115
113 #: ../extensions/auto-move-windows/prefs.js:60
116 #: extensions/auto-move-windows/prefs.js:53
114117 msgid "Application"
115118 msgstr "Aplicație"
116119
117 #: ../extensions/auto-move-windows/prefs.js:69
118 #: ../extensions/auto-move-windows/prefs.js:127
120 #: extensions/auto-move-windows/prefs.js:62
121 #: extensions/auto-move-windows/prefs.js:117
119122 msgid "Workspace"
120123 msgstr "Spațiu de lucru"
121124
122 #: ../extensions/auto-move-windows/prefs.js:85
125 #: extensions/auto-move-windows/prefs.js:78
123126 msgid "Add Rule"
124127 msgstr "Adaugă o regulă"
125128
126 #: ../extensions/auto-move-windows/prefs.js:106
129 #: extensions/auto-move-windows/prefs.js:98
127130 msgid "Create new matching rule"
128131 msgstr "Creează o regulă nouă de potrivire"
129132
130 #: ../extensions/auto-move-windows/prefs.js:111
133 #: extensions/auto-move-windows/prefs.js:103
131134 msgid "Add"
132135 msgstr "Adaugă"
133136
134 #: ../extensions/drive-menu/extension.js:106
137 #. TRANSLATORS: %s is the filesystem name
138 #: extensions/drive-menu/extension.js:103
139 #: extensions/places-menu/placeDisplay.js:216
135140 #, javascript-format
136 msgid "Ejecting drive '%s' failed:"
141 #| msgid "Ejecting drive '%s' failed:"
142 msgid "Ejecting drive “%s” failed:"
137143 msgstr "Scoaterea unității „%s” a eșuat:"
138144
139 #: ../extensions/drive-menu/extension.js:124
145 #: extensions/drive-menu/extension.js:118
140146 msgid "Removable devices"
141147 msgstr "Dispozitive detașabile"
142148
143 #: ../extensions/drive-menu/extension.js:149
144 msgid "Open File"
145 msgstr "Deschide fișier"
146
147 #: ../extensions/example/extension.js:17
149 #: extensions/drive-menu/extension.js:143
150 #| msgid "Open File"
151 msgid "Open Files"
152 msgstr "Deschide fișiere"
153
154 #: extensions/example/extension.js:17
148155 msgid "Hello, world!"
149156 msgstr "Bună ziua, lume!"
150157
151 #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:1
158 #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:5
152159 msgid "Alternative greeting text."
153160 msgstr "Text alternativ de salut."
154161
155 #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:2
162 #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:6
156163 msgid ""
157164 "If not empty, it contains the text that will be shown when clicking on the "
158165 "panel."
160167 "Dacă nu este gol, conține un text care va fi afișat când se apasă clic pe "
161168 "panou."
162169
163 #: ../extensions/example/prefs.js:30
170 #: extensions/example/prefs.js:27
164171 msgid "Message"
165172 msgstr "Mesaj"
166173
167 #: ../extensions/example/prefs.js:43
174 #. TRANSLATORS: Example is the name of the extension, should not be
175 #. translated
176 #: extensions/example/prefs.js:40
177 #| msgid ""
178 #| "Example aims to show how to build well behaved extensions for the Shell "
179 #| "and as such it has little functionality on its own.\n"
180 #| "Nevertheless it's possible to customize the greeting message."
168181 msgid ""
169182 "Example aims to show how to build well behaved extensions for the Shell and "
170183 "as such it has little functionality on its own.\n"
171 "Nevertheless it's possible to customize the greeting message."
184 "Nevertheless it’s possible to customize the greeting message."
172185 msgstr ""
173186 "Exemplul are ca scop să prezinte cum anume să construiți extensii pentru "
174 "Shell, ce se comportă corect, și are o funcționalitate proprie redusă.\n"
187 "Shell, ce se comportă corect, și au o funcționalitate proprie redusă.\n"
175188 "Cu toate acestea, este posibil să personalizați mesajul de întâmpinare."
176189
177 #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1
190 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5
178191 msgid "Use more screen for windows"
179192 msgstr "Folosește mai mult din ecran pentru ferestre"
180193
181 #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2
194 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:6
182195 msgid ""
183196 "Try to use more screen for placing window thumbnails by adapting to screen "
184197 "aspect ratio, and consolidating them further to reduce the bounding box. "
189202 "cadrul înconjurător. Această configurare este valabilă numai pentru "
190203 "strategia de plasare naturală."
191204
192 #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3
205 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11
193206 msgid "Place window captions on top"
194207 msgstr "Plasează titlul ferestrelor deasupra"
195208
196 #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4
209 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:12
197210 msgid ""
198211 "If true, place window captions on top the respective thumbnail, overriding "
199212 "shell default of placing it at the bottom. Changing this setting requires "
204217 "Schimbând această configurare necesită repornire shell-ului pentru a avea "
205218 "efect."
206219
207 #: ../extensions/places-menu/extension.js:78
208 #: ../extensions/places-menu/extension.js:81
220 #: extensions/places-menu/extension.js:79
221 #: extensions/places-menu/extension.js:82
209222 msgid "Places"
210223 msgstr "Locații"
211224
212 #: ../extensions/places-menu/placeDisplay.js:57
225 #: extensions/places-menu/placeDisplay.js:66
213226 #, javascript-format
214 msgid "Failed to launch \"%s\""
215 msgstr "Nu s-a putut lansa „%s”"
216
217 #: ../extensions/places-menu/placeDisplay.js:99
218 #: ../extensions/places-menu/placeDisplay.js:122
227 msgid "Failed to mount volume for “%s”"
228 msgstr "Eșec la montarea volumului pentru „%s”"
229
230 #: extensions/places-menu/placeDisplay.js:79
231 #, javascript-format
232 #| msgid "Failed to launch \"%s\""
233 msgid "Failed to launch “%s”"
234 msgstr "Eșec la lansarea „%s”"
235
236 #: extensions/places-menu/placeDisplay.js:135
237 #: extensions/places-menu/placeDisplay.js:158
219238 msgid "Computer"
220239 msgstr "Calculator"
221240
222 #: ../extensions/places-menu/placeDisplay.js:200
241 #: extensions/places-menu/placeDisplay.js:333
223242 msgid "Home"
224243 msgstr "Acasă"
225244
226 #: ../extensions/places-menu/placeDisplay.js:287
245 #: extensions/places-menu/placeDisplay.js:375
227246 msgid "Browse Network"
228247 msgstr "Navighează rețeaua"
229248
230 #: ../extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml.in.h:1
249 #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:7
231250 msgid "Cycle Screenshot Sizes"
232251 msgstr "Ciclează dimensiunile capturilor de ecran"
233252
234 #: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
253 #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:11
254 #| msgid "Cycle Screenshot Sizes"
255 msgid "Cycle Screenshot Sizes Backward"
256 msgstr "Ciclează dimensiunile capturilor de ecran în sens invers"
257
258 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5
235259 msgid "Theme name"
236260 msgstr "Numele temei"
237261
238 #: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
262 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:6
239263 msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
240264 msgstr "Numele temei, ce va fi încărcată din ~/.themes/name/gnome-shell"
241265
242 #: ../extensions/window-list/extension.js:109
266 #: extensions/window-list/extension.js:106
243267 msgid "Close"
244268 msgstr "Închide"
245269
246 #: ../extensions/window-list/extension.js:119
270 #: extensions/window-list/extension.js:125
247271 msgid "Unminimize"
248272 msgstr "Deminimizează"
249273
250 #: ../extensions/window-list/extension.js:120
274 #: extensions/window-list/extension.js:126
251275 msgid "Minimize"
252276 msgstr "Minimizează"
253277
254 #: ../extensions/window-list/extension.js:126
278 #: extensions/window-list/extension.js:132
255279 msgid "Unmaximize"
256280 msgstr "Demaximizează"
257281
258 #: ../extensions/window-list/extension.js:127
282 #: extensions/window-list/extension.js:133
259283 msgid "Maximize"
260284 msgstr "Maximizează"
261285
262 #: ../extensions/window-list/extension.js:399
286 #: extensions/window-list/extension.js:408
263287 msgid "Minimize all"
264288 msgstr "Minimizează tot"
265289
266 #: ../extensions/window-list/extension.js:407
290 #: extensions/window-list/extension.js:414
267291 msgid "Unminimize all"
268292 msgstr "Deminimizează tot"
269293
270 #: ../extensions/window-list/extension.js:415
294 #: extensions/window-list/extension.js:420
271295 msgid "Maximize all"
272296 msgstr "Maximizează tot"
273297
274 #: ../extensions/window-list/extension.js:424
298 #: extensions/window-list/extension.js:429
275299 msgid "Unmaximize all"
276300 msgstr "Demaximizează tot"
277301
278 #: ../extensions/window-list/extension.js:433
302 #: extensions/window-list/extension.js:438
279303 msgid "Close all"
280304 msgstr "Închide tot"
281305
282 #: ../extensions/window-list/extension.js:650
283 #: ../extensions/workspace-indicator/extension.js:30
306 #: extensions/window-list/extension.js:646
307 #: extensions/workspace-indicator/extension.js:26
284308 msgid "Workspace Indicator"
285309 msgstr "Indicator al spațiului de lucru"
286310
287 #: ../extensions/window-list/extension.js:809
311 #: extensions/window-list/extension.js:811
288312 msgid "Window List"
289313 msgstr "Lista ferestrelor"
290314
291 #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:1
315 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:12
292316 msgid "When to group windows"
293317 msgstr "Când să fie grupate ferestrele"
294318
295 #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:2
319 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13
320 #| msgid ""
321 #| "Decides when to group windows from the same application on the window "
322 #| "list. Possible values are \"never\", \"auto\" and \"always\"."
296323 msgid ""
297324 "Decides when to group windows from the same application on the window list. "
298 "Possible values are \"never\", \"auto\" and \"always\"."
325 "Possible values are “never”, “auto” and “always”."
299326 msgstr ""
300327 "Decide când să fie grupate ferestrele aceleiași aplicații în lista "
301328 "ferestrei. Valorile posibile sunt „niciodată”, „auto” și „întotdeauna”."
302329
303 #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:3
330 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20
304331 msgid "Show the window list on all monitors"
305332 msgstr "Afișează lista ferestrelor pe toate monitoarele"
306333
307 #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:4
334 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21
308335 msgid ""
309336 "Whether to show the window list on all connected monitors or only on the "
310337 "primary one."
312339 "Dacă să se arate lista ferestrelor pe toate monitoarele conectate sau doar "
313340 "pe cel primar."
314341
315 #: ../extensions/window-list/prefs.js:32
342 #: extensions/window-list/prefs.js:28
316343 msgid "Window Grouping"
317344 msgstr "Gruparea ferestrelor"
318345
319 #: ../extensions/window-list/prefs.js:50
346 #: extensions/window-list/prefs.js:46
320347 msgid "Never group windows"
321348 msgstr "Nu grupa ferestrele niciodată"
322349
323 #: ../extensions/window-list/prefs.js:51
350 #: extensions/window-list/prefs.js:47
324351 msgid "Group windows when space is limited"
325352 msgstr "Grupează ferestrele când spațiul e limitat"
326353
327 #: ../extensions/window-list/prefs.js:52
354 #: extensions/window-list/prefs.js:48
328355 msgid "Always group windows"
329356 msgstr "Grupează ferestrele întotdeauna"
330357
331 #: ../extensions/window-list/prefs.js:75
358 #: extensions/window-list/prefs.js:71
332359 msgid "Show on all monitors"
333360 msgstr "Arată pe toate monitoarele"
334361
335 #: ../extensions/workspace-indicator/prefs.js:141
362 #: extensions/workspace-indicator/prefs.js:134
336363 msgid "Workspace Names"
337364 msgstr "Numele spațiilor de lucru"
338365
339 #: ../extensions/workspace-indicator/prefs.js:157
366 #: extensions/workspace-indicator/prefs.js:150
340367 msgid "Name"
341368 msgstr "Nume"
342369
343 #: ../extensions/workspace-indicator/prefs.js:198
370 #: extensions/workspace-indicator/prefs.js:190
344371 #, javascript-format
345372 msgid "Workspace %d"
346373 msgstr "Spațiu de lucru %d"
po/ru.gmo less more
Binary diff not shown
po/sk.gmo less more
Binary diff not shown
po/sl.gmo less more
Binary diff not shown
11 # Copyright (C) 2011 gnome-shell-extensions's COPYRIGHT HOLDER
22 # This file is distributed under the same license as the gnome-shell-extensions package.
33 #
4 # Matej Urbančič <[email protected]>, 2011–2017.
4 # Matej Urbančič <[email protected]>, + 2011–2017.
55 #
66 msgid ""
77 msgstr ""
110110 "A list of strings, each containing an application id (desktop file name), "
111111 "followed by a colon and the workspace number"
112112 msgstr ""
113 "Seznam nizov z določilom ID programa (namizno ime programa), ki mu sledi "
113 "Seznam nizov z določilom ID programa (ime programa), ki mu sledi "
114114 "dvopičje in nato številka delovne površine."
115115
116116 #: extensions/auto-move-windows/prefs.js:60
128128
129129 #: extensions/auto-move-windows/prefs.js:106
130130 msgid "Create new matching rule"
131 msgstr "Ustvari novo pravilo skladanja"
131 msgstr "Ustvari novo skladno pravilo"
132132
133133 #: extensions/auto-move-windows/prefs.js:111
134134 msgid "Add"
159159 msgid ""
160160 "If not empty, it contains the text that will be shown when clicking on the "
161161 "panel."
162 msgstr ""
163 "V kolikor vrednost ni prazna, vsebuje besedilo, ki bo prikazano ob kliku na "
164 "pladenj."
162 msgstr "Vpisano besedilo bo prikazano ob kliku na pladenj."
165163
166164 #: extensions/example/prefs.js:30
167165 msgid "Message"
175173 "as such it has little functionality on its own.\n"
176174 "Nevertheless it’s possible to customize the greeting message."
177175 msgstr ""
178 "Primer je oblikovan kot predloga za izgradnjo kakovostnih razširitev za "
179 "lupino, zato je delovanje deloma prilagojeno.\n"
176 "Primer je oblikovan kot predloga za izgradnjo kakovostnih razširitev "
177 "za lupino, zato je delovanje deloma prilagojeno.\n"
180178 "Kljub vsemu je mogoče prilagajati pozdravno sporočilo."
181179
182180 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5
191189 msgstr ""
192190 "Poskusi uporabiti več zaslona za postavitev sličic oken s prilagajanjem "
193191 "razmerja velikosti zaslona in prilagajanjem postavitve okvirja. Nastavitev "
194 "je mogoče uporabiti le z naravnim načinom postavitve okna."
192 "je mogoče uporabiti le z naravnim načinom postavitve."
195193
196194 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11
197195 msgid "Place window captions on top"
203201 "shell default of placing it at the bottom. Changing this setting requires "
204202 "restarting the shell to have any effect."
205203 msgstr ""
206 "Izbrana možnost določi postavitev nazivov oken na vrh posamezne sličice in s "
207 "tem prepiše privzeti izpis pod sličico. Za uveljavitev sprememb je treba "
208 "lupino ponovno zagnati."
204 "Izbrana možnost določi postavitev nazivov oken na vrh posamezne sličice"
205 "in s tem prepiše privzeti izpis pod sličico. Za uveljavitev sprememb je "
206 "treba lupino ponovno zagnati."
209207
210208 #: extensions/places-menu/extension.js:78
211209 #: extensions/places-menu/extension.js:81
281279
282280 #: extensions/window-list/extension.js:436
283281 msgid "Maximize all"
284 msgstr "Razpni"
282 msgstr "Razpni vse"
285283
286284 #: extensions/window-list/extension.js:445
287285 msgid "Unmaximize all"
288 msgstr "_Pomanjšaj vse"
286 msgstr "Pomanjšaj vse"
289287
290288 #: extensions/window-list/extension.js:454
291289 msgid "Close all"
310308 "Possible values are “never”, “auto” and “always”."
311309 msgstr ""
312310 "Določi, kdaj se okna istega programa v seznamu programov združujejo. "
313 "Veljavne vrednosti so \"nikoli\", \"samodejno\" in \"vedno\"."
311 "Veljavne vrednosti so »nikoli«, »samodejno« in »vedno«."
314312
315313 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20
316314 msgid "Show the window list on all monitors"
321319 "Whether to show the window list on all connected monitors or only on the "
322320 "primary one."
323321 msgstr ""
324 "Ali naj bo prikazan seznam okna na vseh povezanih zasloni ali le na osnovnem."
322 "Ali naj bo prikazan seznam oken na vseh povezanih zasloni ali le na osnovnem."
325323
326324 #: extensions/window-list/prefs.js:32
327325 msgid "Window Grouping"
333331
334332 #: extensions/window-list/prefs.js:51
335333 msgid "Group windows when space is limited"
336 msgstr "Združi okna v skupine, ko je prostor omejen"
334 msgstr "Združi okna, ko je prostor omejen"
337335
338336 #: extensions/window-list/prefs.js:52
339337 msgid "Always group windows"
340 msgstr "Vedno združuj okna"
338 msgstr "Okna vedno združi"
341339
342340 #: extensions/window-list/prefs.js:75
343341 msgid "Show on all monitors"
415413 #~ "are 'thumbnail-only' (shows a thumbnail of the window), 'app-icon-"
416414 #~ "only' (shows only the application icon) or 'both'."
417415 #~ msgstr ""
418 #~ "Nastavitev prikaza oken v preklopniku. Veljavne možnosti so 'le sličice', "
419 #~ "kar pokaže pomanjšano sličico okna, 'le ikono programa', kar pokaže ikono "
420 #~ "in možnost 'oboje', torej ikono in pomanjšano sličico."
416 #~ "Nastavitev prikaza oken v preklopniku. Veljavne možnosti so »le sličice«, "
417 #~ "kar pokaže pomanjšano sličico okna, »le ikona programa«, kar pokaže ikono "
418 #~ "in možnost »oboje«, torej ikono in pomanjšano sličico."
421419
422420 #~ msgid "Devices"
423421 #~ msgstr "Naprave"
450448 #~ "Sets the position of the dock in the screen. Allowed values are 'right' "
451449 #~ "or 'left'"
452450 #~ msgstr ""
453 #~ "Določi položaj sidrišča na zaslonu. Dovoljeni vrednosti sta 'desno' ali "
454 #~ "'levo'."
451 #~ "Določi položaj sidrišča na zaslonu. Dovoljeni vrednosti sta »desno« ali "
452 #~ "»levo«."
455453
456454 #~ msgid "Icon size"
457455 #~ msgstr "Velikost ikone"
469467 #~ "Sets the effect of the hide dock. Allowed values are 'resize', 'rescale' "
470468 #~ "and 'move'"
471469 #~ msgstr ""
472 #~ "Določi učinek skrivanja sidrišča. Dovoljeni vrednosti sta 'spremeni "
473 #~ "velikost', 'prilagodi velikost' ali 'premakni'."
470 #~ "Določi učinek skrivanja sidrišča. Dovoljeni vrednosti sta »spremeni "
471 #~ "velikost«, »prilagodi velikost« ali »premakni«."
474472
475473 #~ msgid "Autohide duration"
476474 #~ msgstr "Trajanje samodejnega skrivanja"
510508 #~ "Sets the Alt-Tab behaviour. Possible values are: all_thumbnails and "
511509 #~ "workspace_icons. See the configuration dialogs for details."
512510 #~ msgstr ""
513 #~ "Določi obnašanje tipk Alt-Tab. Mogoče vrednosti so: vse_sličice in "
514 #~ "ikone_delovne_površine. Za več podrobnosti si oglejte nastavitve."
511 #~ "Določi obnašanje tipk Alt-Tab. Mogoče vrednosti so: »vse sličice« in "
512 #~ "»ikone delovne površine«. Za več podrobnosti si oglejte nastavitve."
515513
516514 #~ msgid ""
517515 #~ "This mode presents all applications from all workspaces in one selection "
po/sr.gmo less more
Binary diff not shown
Binary diff not shown
+0
-1
po/stamp-po less more
0 timestamp
po/sv.gmo less more
Binary diff not shown
po/ta.gmo less more
Binary diff not shown
po/te.gmo less more
Binary diff not shown
po/tg.gmo less more
Binary diff not shown
po/th.gmo less more
Binary diff not shown
po/tr.gmo less more
Binary diff not shown
po/uk.gmo less more
Binary diff not shown
po/vi.gmo less more
Binary diff not shown
po/zh_CN.gmo less more
Binary diff not shown
po/zh_HK.gmo less more
Binary diff not shown
po/zh_TW.gmo less more
Binary diff not shown
+0
-9
settings.mk less more
0 gsettings_SCHEMAS = $(gschemaname).gschema.xml
1
2 %.desktop:%.desktop.in
3 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
4
5 @GSETTINGS_RULES@
6
7 CLEANFILES += $(gsettings_SCHEMAS:.xml=.valid)
8 EXTRA_DIST += $(gsettings_SCHEMAS)