Merge lp:~noskcaj/ubuntu/utopic/gnome-weather/3.12 into lp:ubuntu/utopic/gnome-weather
- Utopic (14.10)
- 3.12
- Merge into utopic
Proposed by
Jackson Doak
Status: | Needs review |
---|---|
Proposed branch: | lp:~noskcaj/ubuntu/utopic/gnome-weather/3.12 |
Merge into: | lp:ubuntu/utopic/gnome-weather |
Diff against target: |
19334 lines (+10900/-2824) 103 files modified
COPYING (+340/-0) Makefile.am (+32/-4) Makefile.in (+291/-36) NEWS (+64/-0) aclocal.m4 (+430/-429) configure (+369/-28) configure.ac (+39/-5) data/Makefile.am (+6/-13) data/Makefile.in (+14/-18) data/app-menu.ui (+1/-1) data/city.ui (+11/-1) data/icons/Makefile.in (+8/-4) data/new-location-dialog.ui (+1/-11) data/org.gnome.Weather.Application.data.gresource.xml (+22/-0) data/org.gnome.Weather.Application.desktop.in (+9/-0) data/org.gnome.Weather.Application.desktop.in.in (+0/-8) data/org.gnome.Weather.Application.gresource.xml (+0/-22) data/org.gnome.Weather.Application.service.in (+1/-1) data/window.ui (+39/-22) debian/changelog (+8/-0) debian/control (+5/-1) debian/rules (+2/-0) git.mk (+227/-0) glib-tap.mk (+134/-0) libgd/Makefile.am (+9/-0) libgd/Makefile.in (+45/-15) libgd/libgd/gd-main-icon-view.c (+42/-10) libgd/libgd/gd-main-list-view.c (+44/-10) libgd/libgd/gd-main-view-generic.c (+12/-3) libgd/libgd/gd-main-view-generic.h (+1/-0) libgd/libgd/gd-main-view.c (+32/-4) libgd/libgd/gd-toggle-pixbuf-renderer.c (+87/-22) libgd/libgd/gd-types-catalog.c (+2/-2) libgd/libgd/gd.h (+1/-1) libgd/test-tagged-entry.c (+111/-0) m4/glibtests.m4 (+28/-0) m4/libtool.m4 (+9/-3) org.gnome.Weather.Application.spec (+58/-0) po/LINGUAS (+8/-0) po/POTFILES.in (+1/-1) po/POTFILES.skip (+0/-1) po/ar.po (+368/-0) po/as.po (+86/-48) po/be.po (+364/-0) po/ca.po (+82/-45) po/ca@valencia.po (+80/-49) po/cs.po (+77/-42) po/da.po (+86/-37) po/de.po (+82/-46) po/el.po (+118/-47) po/eo.po (+322/-0) po/es.po (+84/-48) po/eu.po (+92/-46) po/fi.po (+83/-43) po/fr.po (+85/-116) po/gd.po (+913/-0) po/gl.po (+83/-40) po/he.po (+84/-46) po/hu.po (+83/-42) po/id.po (+78/-43) po/it.po (+86/-47) po/kk.po (+361/-0) po/kn.po (+332/-0) po/ko.po (+78/-43) po/lt.po (+81/-42) po/lv.po (+82/-42) po/nb.po (+82/-50) po/nl.po (+89/-50) po/pa.po (+88/-55) po/pl.po (+90/-53) po/pt.po (+91/-52) po/pt_BR.po (+86/-47) po/ru.po (+87/-47) po/sl.po (+79/-41) po/sr.po (+82/-39) po/sr@latin.po (+82/-39) po/sv.po (+365/-0) po/te.po (+360/-0) po/tg.po (+83/-42) po/th.po (+93/-39) po/uk.po (+82/-37) po/zh_CN.po (+188/-151) po/zh_HK.po (+82/-43) po/zh_TW.po (+82/-43) src/Makefile.am (+39/-42) src/Makefile.in (+124/-134) src/city.js (+26/-11) src/forecast.js (+123/-45) src/gnome-weather.in (+0/-3) src/main.js (+26/-16) src/org.gnome.Weather.Application.in (+2/-2) src/org.gnome.Weather.Application.src.gresource.xml (+14/-0) src/package.js (+31/-118) src/params.js (+0/-4) src/searchProvider.js (+5/-0) src/strings.js (+15/-7) src/util.js (+14/-1) src/window.js (+30/-8) src/world.js (+36/-17) tests/Makefile.am (+33/-0) tests/Makefile.in (+1200/-0) tests/testutil.py (+80/-0) tests/world_view.py (+98/-0) |
To merge this branch: | bzr merge lp:~noskcaj/ubuntu/utopic/gnome-weather/3.12 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Review via email: mp+223146@code.launchpad.net |
Commit message
Description of the change
New upstream release
To post a comment you must log in.
Unmerged revisions
- 3. By Jackson Doak
-
* New upstream release.
- Updates translations. LP: #1313416
* Add extra build-depends needed for tests, but don't enable tests yet
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'COPYING' |
2 | --- COPYING 1970-01-01 00:00:00 +0000 |
3 | +++ COPYING 2014-06-14 06:35:06 +0000 |
4 | @@ -0,0 +1,340 @@ |
5 | + GNU GENERAL PUBLIC LICENSE |
6 | + Version 2, June 1991 |
7 | + |
8 | + Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
9 | + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
10 | + Everyone is permitted to copy and distribute verbatim copies |
11 | + of this license document, but changing it is not allowed. |
12 | + |
13 | + Preamble |
14 | + |
15 | + The licenses for most software are designed to take away your |
16 | +freedom to share and change it. By contrast, the GNU General Public |
17 | +License is intended to guarantee your freedom to share and change free |
18 | +software--to make sure the software is free for all its users. This |
19 | +General Public License applies to most of the Free Software |
20 | +Foundation's software and to any other program whose authors commit to |
21 | +using it. (Some other Free Software Foundation software is covered by |
22 | +the GNU Library General Public License instead.) You can apply it to |
23 | +your programs, too. |
24 | + |
25 | + When we speak of free software, we are referring to freedom, not |
26 | +price. Our General Public Licenses are designed to make sure that you |
27 | +have the freedom to distribute copies of free software (and charge for |
28 | +this service if you wish), that you receive source code or can get it |
29 | +if you want it, that you can change the software or use pieces of it |
30 | +in new free programs; and that you know you can do these things. |
31 | + |
32 | + To protect your rights, we need to make restrictions that forbid |
33 | +anyone to deny you these rights or to ask you to surrender the rights. |
34 | +These restrictions translate to certain responsibilities for you if you |
35 | +distribute copies of the software, or if you modify it. |
36 | + |
37 | + For example, if you distribute copies of such a program, whether |
38 | +gratis or for a fee, you must give the recipients all the rights that |
39 | +you have. You must make sure that they, too, receive or can get the |
40 | +source code. And you must show them these terms so they know their |
41 | +rights. |
42 | + |
43 | + We protect your rights with two steps: (1) copyright the software, and |
44 | +(2) offer you this license which gives you legal permission to copy, |
45 | +distribute and/or modify the software. |
46 | + |
47 | + Also, for each author's protection and ours, we want to make certain |
48 | +that everyone understands that there is no warranty for this free |
49 | +software. If the software is modified by someone else and passed on, we |
50 | +want its recipients to know that what they have is not the original, so |
51 | +that any problems introduced by others will not reflect on the original |
52 | +authors' reputations. |
53 | + |
54 | + Finally, any free program is threatened constantly by software |
55 | +patents. We wish to avoid the danger that redistributors of a free |
56 | +program will individually obtain patent licenses, in effect making the |
57 | +program proprietary. To prevent this, we have made it clear that any |
58 | +patent must be licensed for everyone's free use or not licensed at all. |
59 | + |
60 | + The precise terms and conditions for copying, distribution and |
61 | +modification follow. |
62 | + |
63 | |
64 | + GNU GENERAL PUBLIC LICENSE |
65 | + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
66 | + |
67 | + 0. This License applies to any program or other work which contains |
68 | +a notice placed by the copyright holder saying it may be distributed |
69 | +under the terms of this General Public License. The "Program", below, |
70 | +refers to any such program or work, and a "work based on the Program" |
71 | +means either the Program or any derivative work under copyright law: |
72 | +that is to say, a work containing the Program or a portion of it, |
73 | +either verbatim or with modifications and/or translated into another |
74 | +language. (Hereinafter, translation is included without limitation in |
75 | +the term "modification".) Each licensee is addressed as "you". |
76 | + |
77 | +Activities other than copying, distribution and modification are not |
78 | +covered by this License; they are outside its scope. The act of |
79 | +running the Program is not restricted, and the output from the Program |
80 | +is covered only if its contents constitute a work based on the |
81 | +Program (independent of having been made by running the Program). |
82 | +Whether that is true depends on what the Program does. |
83 | + |
84 | + 1. You may copy and distribute verbatim copies of the Program's |
85 | +source code as you receive it, in any medium, provided that you |
86 | +conspicuously and appropriately publish on each copy an appropriate |
87 | +copyright notice and disclaimer of warranty; keep intact all the |
88 | +notices that refer to this License and to the absence of any warranty; |
89 | +and give any other recipients of the Program a copy of this License |
90 | +along with the Program. |
91 | + |
92 | +You may charge a fee for the physical act of transferring a copy, and |
93 | +you may at your option offer warranty protection in exchange for a fee. |
94 | + |
95 | + 2. You may modify your copy or copies of the Program or any portion |
96 | +of it, thus forming a work based on the Program, and copy and |
97 | +distribute such modifications or work under the terms of Section 1 |
98 | +above, provided that you also meet all of these conditions: |
99 | + |
100 | + a) You must cause the modified files to carry prominent notices |
101 | + stating that you changed the files and the date of any change. |
102 | + |
103 | + b) You must cause any work that you distribute or publish, that in |
104 | + whole or in part contains or is derived from the Program or any |
105 | + part thereof, to be licensed as a whole at no charge to all third |
106 | + parties under the terms of this License. |
107 | + |
108 | + c) If the modified program normally reads commands interactively |
109 | + when run, you must cause it, when started running for such |
110 | + interactive use in the most ordinary way, to print or display an |
111 | + announcement including an appropriate copyright notice and a |
112 | + notice that there is no warranty (or else, saying that you provide |
113 | + a warranty) and that users may redistribute the program under |
114 | + these conditions, and telling the user how to view a copy of this |
115 | + License. (Exception: if the Program itself is interactive but |
116 | + does not normally print such an announcement, your work based on |
117 | + the Program is not required to print an announcement.) |
118 | + |
119 | |
120 | +These requirements apply to the modified work as a whole. If |
121 | +identifiable sections of that work are not derived from the Program, |
122 | +and can be reasonably considered independent and separate works in |
123 | +themselves, then this License, and its terms, do not apply to those |
124 | +sections when you distribute them as separate works. But when you |
125 | +distribute the same sections as part of a whole which is a work based |
126 | +on the Program, the distribution of the whole must be on the terms of |
127 | +this License, whose permissions for other licensees extend to the |
128 | +entire whole, and thus to each and every part regardless of who wrote it. |
129 | + |
130 | +Thus, it is not the intent of this section to claim rights or contest |
131 | +your rights to work written entirely by you; rather, the intent is to |
132 | +exercise the right to control the distribution of derivative or |
133 | +collective works based on the Program. |
134 | + |
135 | +In addition, mere aggregation of another work not based on the Program |
136 | +with the Program (or with a work based on the Program) on a volume of |
137 | +a storage or distribution medium does not bring the other work under |
138 | +the scope of this License. |
139 | + |
140 | + 3. You may copy and distribute the Program (or a work based on it, |
141 | +under Section 2) in object code or executable form under the terms of |
142 | +Sections 1 and 2 above provided that you also do one of the following: |
143 | + |
144 | + a) Accompany it with the complete corresponding machine-readable |
145 | + source code, which must be distributed under the terms of Sections |
146 | + 1 and 2 above on a medium customarily used for software interchange; or, |
147 | + |
148 | + b) Accompany it with a written offer, valid for at least three |
149 | + years, to give any third party, for a charge no more than your |
150 | + cost of physically performing source distribution, a complete |
151 | + machine-readable copy of the corresponding source code, to be |
152 | + distributed under the terms of Sections 1 and 2 above on a medium |
153 | + customarily used for software interchange; or, |
154 | + |
155 | + c) Accompany it with the information you received as to the offer |
156 | + to distribute corresponding source code. (This alternative is |
157 | + allowed only for noncommercial distribution and only if you |
158 | + received the program in object code or executable form with such |
159 | + an offer, in accord with Subsection b above.) |
160 | + |
161 | +The source code for a work means the preferred form of the work for |
162 | +making modifications to it. For an executable work, complete source |
163 | +code means all the source code for all modules it contains, plus any |
164 | +associated interface definition files, plus the scripts used to |
165 | +control compilation and installation of the executable. However, as a |
166 | +special exception, the source code distributed need not include |
167 | +anything that is normally distributed (in either source or binary |
168 | +form) with the major components (compiler, kernel, and so on) of the |
169 | +operating system on which the executable runs, unless that component |
170 | +itself accompanies the executable. |
171 | + |
172 | +If distribution of executable or object code is made by offering |
173 | +access to copy from a designated place, then offering equivalent |
174 | +access to copy the source code from the same place counts as |
175 | +distribution of the source code, even though third parties are not |
176 | +compelled to copy the source along with the object code. |
177 | + |
178 | |
179 | + 4. You may not copy, modify, sublicense, or distribute the Program |
180 | +except as expressly provided under this License. Any attempt |
181 | +otherwise to copy, modify, sublicense or distribute the Program is |
182 | +void, and will automatically terminate your rights under this License. |
183 | +However, parties who have received copies, or rights, from you under |
184 | +this License will not have their licenses terminated so long as such |
185 | +parties remain in full compliance. |
186 | + |
187 | + 5. You are not required to accept this License, since you have not |
188 | +signed it. However, nothing else grants you permission to modify or |
189 | +distribute the Program or its derivative works. These actions are |
190 | +prohibited by law if you do not accept this License. Therefore, by |
191 | +modifying or distributing the Program (or any work based on the |
192 | +Program), you indicate your acceptance of this License to do so, and |
193 | +all its terms and conditions for copying, distributing or modifying |
194 | +the Program or works based on it. |
195 | + |
196 | + 6. Each time you redistribute the Program (or any work based on the |
197 | +Program), the recipient automatically receives a license from the |
198 | +original licensor to copy, distribute or modify the Program subject to |
199 | +these terms and conditions. You may not impose any further |
200 | +restrictions on the recipients' exercise of the rights granted herein. |
201 | +You are not responsible for enforcing compliance by third parties to |
202 | +this License. |
203 | + |
204 | + 7. If, as a consequence of a court judgment or allegation of patent |
205 | +infringement or for any other reason (not limited to patent issues), |
206 | +conditions are imposed on you (whether by court order, agreement or |
207 | +otherwise) that contradict the conditions of this License, they do not |
208 | +excuse you from the conditions of this License. If you cannot |
209 | +distribute so as to satisfy simultaneously your obligations under this |
210 | +License and any other pertinent obligations, then as a consequence you |
211 | +may not distribute the Program at all. For example, if a patent |
212 | +license would not permit royalty-free redistribution of the Program by |
213 | +all those who receive copies directly or indirectly through you, then |
214 | +the only way you could satisfy both it and this License would be to |
215 | +refrain entirely from distribution of the Program. |
216 | + |
217 | +If any portion of this section is held invalid or unenforceable under |
218 | +any particular circumstance, the balance of the section is intended to |
219 | +apply and the section as a whole is intended to apply in other |
220 | +circumstances. |
221 | + |
222 | +It is not the purpose of this section to induce you to infringe any |
223 | +patents or other property right claims or to contest validity of any |
224 | +such claims; this section has the sole purpose of protecting the |
225 | +integrity of the free software distribution system, which is |
226 | +implemented by public license practices. Many people have made |
227 | +generous contributions to the wide range of software distributed |
228 | +through that system in reliance on consistent application of that |
229 | +system; it is up to the author/donor to decide if he or she is willing |
230 | +to distribute software through any other system and a licensee cannot |
231 | +impose that choice. |
232 | + |
233 | +This section is intended to make thoroughly clear what is believed to |
234 | +be a consequence of the rest of this License. |
235 | + |
236 | |
237 | + 8. If the distribution and/or use of the Program is restricted in |
238 | +certain countries either by patents or by copyrighted interfaces, the |
239 | +original copyright holder who places the Program under this License |
240 | +may add an explicit geographical distribution limitation excluding |
241 | +those countries, so that distribution is permitted only in or among |
242 | +countries not thus excluded. In such case, this License incorporates |
243 | +the limitation as if written in the body of this License. |
244 | + |
245 | + 9. The Free Software Foundation may publish revised and/or new versions |
246 | +of the General Public License from time to time. Such new versions will |
247 | +be similar in spirit to the present version, but may differ in detail to |
248 | +address new problems or concerns. |
249 | + |
250 | +Each version is given a distinguishing version number. If the Program |
251 | +specifies a version number of this License which applies to it and "any |
252 | +later version", you have the option of following the terms and conditions |
253 | +either of that version or of any later version published by the Free |
254 | +Software Foundation. If the Program does not specify a version number of |
255 | +this License, you may choose any version ever published by the Free Software |
256 | +Foundation. |
257 | + |
258 | + 10. If you wish to incorporate parts of the Program into other free |
259 | +programs whose distribution conditions are different, write to the author |
260 | +to ask for permission. For software which is copyrighted by the Free |
261 | +Software Foundation, write to the Free Software Foundation; we sometimes |
262 | +make exceptions for this. Our decision will be guided by the two goals |
263 | +of preserving the free status of all derivatives of our free software and |
264 | +of promoting the sharing and reuse of software generally. |
265 | + |
266 | + NO WARRANTY |
267 | + |
268 | + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
269 | +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
270 | +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
271 | +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
272 | +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
273 | +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
274 | +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
275 | +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
276 | +REPAIR OR CORRECTION. |
277 | + |
278 | + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
279 | +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
280 | +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
281 | +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
282 | +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
283 | +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
284 | +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
285 | +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
286 | +POSSIBILITY OF SUCH DAMAGES. |
287 | + |
288 | + END OF TERMS AND CONDITIONS |
289 | + |
290 | |
291 | + How to Apply These Terms to Your New Programs |
292 | + |
293 | + If you develop a new program, and you want it to be of the greatest |
294 | +possible use to the public, the best way to achieve this is to make it |
295 | +free software which everyone can redistribute and change under these terms. |
296 | + |
297 | + To do so, attach the following notices to the program. It is safest |
298 | +to attach them to the start of each source file to most effectively |
299 | +convey the exclusion of warranty; and each file should have at least |
300 | +the "copyright" line and a pointer to where the full notice is found. |
301 | + |
302 | + <one line to give the program's name and a brief idea of what it does.> |
303 | + Copyright (C) <year> <name of author> |
304 | + |
305 | + This program is free software; you can redistribute it and/or modify |
306 | + it under the terms of the GNU General Public License as published by |
307 | + the Free Software Foundation; either version 2 of the License, or |
308 | + (at your option) any later version. |
309 | + |
310 | + This program is distributed in the hope that it will be useful, |
311 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
312 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
313 | + GNU General Public License for more details. |
314 | + |
315 | + You should have received a copy of the GNU General Public License |
316 | + along with this program; if not, write to the Free Software |
317 | + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
318 | + |
319 | + |
320 | +Also add information on how to contact you by electronic and paper mail. |
321 | + |
322 | +If the program is interactive, make it output a short notice like this |
323 | +when it starts in an interactive mode: |
324 | + |
325 | + Gnomovision version 69, Copyright (C) year name of author |
326 | + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
327 | + This is free software, and you are welcome to redistribute it |
328 | + under certain conditions; type `show c' for details. |
329 | + |
330 | +The hypothetical commands `show w' and `show c' should show the appropriate |
331 | +parts of the General Public License. Of course, the commands you use may |
332 | +be called something other than `show w' and `show c'; they could even be |
333 | +mouse-clicks or menu items--whatever suits your program. |
334 | + |
335 | +You should also get your employer (if you work as a programmer) or your |
336 | +school, if any, to sign a "copyright disclaimer" for the program, if |
337 | +necessary. Here is a sample; alter the names: |
338 | + |
339 | + Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
340 | + `Gnomovision' (which makes passes at compilers) written by James Hacker. |
341 | + |
342 | + <signature of Ty Coon>, 1 April 1989 |
343 | + Ty Coon, President of Vice |
344 | + |
345 | +This General Public License does not permit incorporating your program into |
346 | +proprietary programs. If your program is a subroutine library, you may |
347 | +consider it more useful to permit linking proprietary applications with the |
348 | +library. If this is what you want to do, use the GNU Library General |
349 | +Public License instead of this License. |
350 | |
351 | === modified file 'Makefile.am' |
352 | --- Makefile.am 2014-02-04 06:31:27 +0000 |
353 | +++ Makefile.am 2014-06-14 06:35:06 +0000 |
354 | @@ -1,6 +1,7 @@ |
355 | -ACLOCAL_AMFLAGS = -I m4 -I libgd |
356 | +ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS} |
357 | +DISTCHECK_CONFIGURE_FLAGS = --disable-dogtail |
358 | |
359 | -SUBDIRS = po data libgd src |
360 | +SUBDIRS = po data libgd src tests |
361 | |
362 | MAINTAINERCLEANFILES = \ |
363 | $(srcdir)/INSTALL \ |
364 | @@ -17,8 +18,35 @@ |
365 | $(srcdir)/missing \ |
366 | $(srcdir)/mkinstalldirs |
367 | |
368 | -GITIGNOREFILES = m4/ |
369 | +GITIGNOREFILES = \ |
370 | + .anjuta \ |
371 | + .anjuta_sym_db.db \ |
372 | + m4/intltool.m4 \ |
373 | + m4/libtool.m4 \ |
374 | + m4/lt* \ |
375 | + rpms/ |
376 | |
377 | distdir = $(PACKAGE_TARNAME)-$(VERSION) |
378 | |
379 | --include $(top_srcdir)/git.mk |
380 | +rpmdefines = \ |
381 | + --define "_name $(PACKAGE_NAME)" \ |
382 | + --define "_version $(PACKAGE_VERSION)" \ |
383 | + --define "_distdir $(PACKAGE_TARNAME)" \ |
384 | + --define "_sourcedir $(abs_builddir)" \ |
385 | + --define "_specdir $(abs_srcdir)" \ |
386 | + --define "_builddir $(abs_builddir)/rpms" \ |
387 | + --define "_srcrpmdir $(abs_builddir)/rpms" \ |
388 | + --define "_rpmdir $(abs_builddir)/rpms" |
389 | + |
390 | +rpm: dist |
391 | + @rm -fR $(builddir)/rpms |
392 | + @mkdir $(builddir)/rpms |
393 | + env -i PATH=/usr/bin/:/bin SHELL=$(SHELL) HOSTNAME=$${HOSTNAME} HOME=$${HOME} \ |
394 | + rpmbuild $(rpmdefines) -ba $(srcdir)/$(PACKAGE_NAME).spec |
395 | + |
396 | +clean-local: |
397 | + rm -fR $(builddir)/rpms |
398 | + |
399 | +EXTRA_DIST = $(PACKAGE_NAME).spec |
400 | + |
401 | +include $(top_srcdir)/git.mk |
402 | |
403 | === modified file 'Makefile.in' |
404 | --- Makefile.in 2014-02-04 06:31:27 +0000 |
405 | +++ Makefile.in 2014-06-14 06:35:06 +0000 |
406 | @@ -13,6 +13,72 @@ |
407 | # PARTICULAR PURPOSE. |
408 | |
409 | @SET_MAKE@ |
410 | + |
411 | +# git.mk |
412 | +# |
413 | +# Copyright 2009, Red Hat, Inc. |
414 | +# Copyright 2010,2011 Behdad Esfahbod |
415 | +# Written by Behdad Esfahbod |
416 | +# |
417 | +# Copying and distribution of this file, with or without modification, |
418 | +# is permitted in any medium without royalty provided the copyright |
419 | +# notice and this notice are preserved. |
420 | +# |
421 | +# The latest version of this file can be downloaded from: |
422 | +# https://raw.github.com/behdad/git.mk/master/git.mk |
423 | +# Bugs, etc, should be reported upstream at: |
424 | +# https://github.com/behdad/git.mk |
425 | +# |
426 | +# To use in your project, import this file in your git repo's toplevel, |
427 | +# then do "make -f git.mk". This modifies all Makefile.am files in |
428 | +# your project to -include git.mk. Remember to add that line to new |
429 | +# Makefile.am files you create in your project, or just rerun the |
430 | +# "make -f git.mk". |
431 | +# |
432 | +# This enables automatic .gitignore generation. If you need to ignore |
433 | +# more files, add them to the GITIGNOREFILES variable in your Makefile.am. |
434 | +# But think twice before doing that. If a file has to be in .gitignore, |
435 | +# chances are very high that it's a generated file and should be in one |
436 | +# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES. |
437 | +# |
438 | +# The only case that you need to manually add a file to GITIGNOREFILES is |
439 | +# when remove files in one of mostlyclean-local, clean-local, distclean-local, |
440 | +# or maintainer-clean-local make targets. |
441 | +# |
442 | +# Note that for files like editor backup, etc, there are better places to |
443 | +# ignore them. See "man gitignore". |
444 | +# |
445 | +# If "make maintainer-clean" removes the files but they are not recognized |
446 | +# by this script (that is, if "git status" shows untracked files still), send |
447 | +# me the output of "git status" as well as your Makefile.am and Makefile for |
448 | +# the directories involved and I'll diagnose. |
449 | +# |
450 | +# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see |
451 | +# Makefile.am.sample in the git.mk git repo. |
452 | +# |
453 | +# Don't EXTRA_DIST this file. It is supposed to only live in git clones, |
454 | +# not tarballs. It serves no useful purpose in tarballs and clutters the |
455 | +# build dir. |
456 | +# |
457 | +# This file knows how to handle autoconf, automake, libtool, gtk-doc, |
458 | +# gnome-doc-utils, yelp.m4, mallard, intltool, gsettings, dejagnu. |
459 | +# |
460 | +# This makefile provides the following targets: |
461 | +# |
462 | +# - all: "make all" will build all gitignore files. |
463 | +# - gitignore: makes all gitignore files in the current dir and subdirs. |
464 | +# - .gitignore: make gitignore file for the current dir. |
465 | +# - gitignore-recurse: makes all gitignore files in the subdirs. |
466 | +# |
467 | +# KNOWN ISSUES: |
468 | +# |
469 | +# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the |
470 | +# submodule doesn't find us. If you have configure.{in,ac} files in |
471 | +# subdirs, add a proxy git.mk file in those dirs that simply does: |
472 | +# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste. |
473 | +# And add those files to git. See vte/gnome-pty-helper/git.mk for |
474 | +# example. |
475 | +# |
476 | VPATH = @srcdir@ |
477 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' |
478 | am__make_running_with_option = \ |
479 | @@ -77,17 +143,18 @@ |
480 | POST_UNINSTALL = : |
481 | build_triplet = @build@ |
482 | host_triplet = @host@ |
483 | +DIST_COMMON = $(top_srcdir)/git.mk $(srcdir)/Makefile.in \ |
484 | + $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
485 | + $(am__configure_deps) $(srcdir)/config.h.in COPYING NEWS \ |
486 | + compile config.guess config.sub depcomp install-sh missing \ |
487 | + ltmain.sh |
488 | subdir = . |
489 | -DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
490 | - $(top_srcdir)/configure $(am__configure_deps) \ |
491 | - $(srcdir)/config.h.in NEWS compile config.guess config.sub \ |
492 | - depcomp install-sh missing ltmain.sh |
493 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
494 | am__aclocal_m4_deps = $(top_srcdir)/libgd/libgd.m4 \ |
495 | - $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \ |
496 | - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
497 | - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ |
498 | - $(top_srcdir)/configure.ac |
499 | + $(top_srcdir)/m4/glibtests.m4 $(top_srcdir)/m4/intltool.m4 \ |
500 | + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
501 | + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ |
502 | + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac |
503 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
504 | $(ACLOCAL_M4) |
505 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
506 | @@ -187,9 +254,9 @@ |
507 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
508 | done; \ |
509 | reldir="$$dir2" |
510 | -DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz |
511 | GZIP_ENV = --best |
512 | -DIST_TARGETS = dist-xz dist-gzip |
513 | +DIST_ARCHIVES = $(distdir).tar.xz |
514 | +DIST_TARGETS = dist-xz |
515 | distuninstallcheck_listfiles = find . -type f -print |
516 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
517 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
518 | @@ -223,6 +290,7 @@ |
519 | EGREP = @EGREP@ |
520 | EXEEXT = @EXEEXT@ |
521 | FGREP = @FGREP@ |
522 | +GENHTML = @GENHTML@ |
523 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
524 | GJS = @GJS@ |
525 | GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@ |
526 | @@ -251,6 +319,7 @@ |
527 | INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ |
528 | INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ |
529 | INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ |
530 | +LCOV = @LCOV@ |
531 | LD = @LD@ |
532 | LDFLAGS = @LDFLAGS@ |
533 | LIBGD_CFLAGS = @LIBGD_CFLAGS@ |
534 | @@ -329,6 +398,8 @@ |
535 | includedir = @includedir@ |
536 | infodir = @infodir@ |
537 | install_sh = @install_sh@ |
538 | +installed_test_metadir = @installed_test_metadir@ |
539 | +installed_testdir = @installed_testdir@ |
540 | intltool__v_merge_options_ = @intltool__v_merge_options_@ |
541 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ |
542 | libdir = @libdir@ |
543 | @@ -350,8 +421,9 @@ |
544 | top_build_prefix = @top_build_prefix@ |
545 | top_builddir = @top_builddir@ |
546 | top_srcdir = @top_srcdir@ |
547 | -ACLOCAL_AMFLAGS = -I m4 -I libgd |
548 | -SUBDIRS = po data libgd src |
549 | +ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS} |
550 | +DISTCHECK_CONFIGURE_FLAGS = --disable-dogtail |
551 | +SUBDIRS = po data libgd src tests |
552 | MAINTAINERCLEANFILES = \ |
553 | $(srcdir)/INSTALL \ |
554 | $(srcdir)/aclocal.m4 \ |
555 | @@ -367,15 +439,33 @@ |
556 | $(srcdir)/missing \ |
557 | $(srcdir)/mkinstalldirs |
558 | |
559 | -GITIGNOREFILES = m4/ |
560 | +GITIGNOREFILES = \ |
561 | + .anjuta \ |
562 | + .anjuta_sym_db.db \ |
563 | + m4/intltool.m4 \ |
564 | + m4/libtool.m4 \ |
565 | + m4/lt* \ |
566 | + rpms/ |
567 | + |
568 | distdir = $(PACKAGE_TARNAME)-$(VERSION) |
569 | +rpmdefines = \ |
570 | + --define "_name $(PACKAGE_NAME)" \ |
571 | + --define "_version $(PACKAGE_VERSION)" \ |
572 | + --define "_distdir $(PACKAGE_TARNAME)" \ |
573 | + --define "_sourcedir $(abs_builddir)" \ |
574 | + --define "_specdir $(abs_srcdir)" \ |
575 | + --define "_builddir $(abs_builddir)/rpms" \ |
576 | + --define "_srcrpmdir $(abs_builddir)/rpms" \ |
577 | + --define "_rpmdir $(abs_builddir)/rpms" |
578 | + |
579 | +EXTRA_DIST = $(PACKAGE_NAME).spec |
580 | all: config.h |
581 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
582 | |
583 | .SUFFIXES: |
584 | am--refresh: Makefile |
585 | @: |
586 | -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
587 | +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/git.mk $(am__configure_deps) |
588 | @for dep in $?; do \ |
589 | case '$(am__configure_deps)' in \ |
590 | *$$dep*) \ |
591 | @@ -398,6 +488,7 @@ |
592 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
593 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
594 | esac; |
595 | +$(top_srcdir)/git.mk: |
596 | |
597 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
598 | $(SHELL) ./config.status --recheck |
599 | @@ -756,7 +847,7 @@ |
600 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
601 | clean: clean-recursive |
602 | |
603 | -clean-am: clean-generic clean-libtool mostlyclean-am |
604 | +clean-am: clean-generic clean-libtool clean-local mostlyclean-am |
605 | |
606 | distclean: distclean-recursive |
607 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
608 | @@ -804,10 +895,6 @@ |
609 | |
610 | installcheck-am: |
611 | |
612 | -maintainer-clean: maintainer-clean-recursive |
613 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
614 | - -rm -rf $(top_srcdir)/autom4te.cache |
615 | - -rm -f Makefile |
616 | maintainer-clean-am: distclean-am maintainer-clean-generic |
617 | |
618 | mostlyclean: mostlyclean-recursive |
619 | @@ -828,23 +915,191 @@ |
620 | |
621 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
622 | am--refresh check check-am clean clean-cscope clean-generic \ |
623 | - clean-libtool cscope cscopelist-am ctags ctags-am dist \ |
624 | - dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ |
625 | - dist-xz dist-zip distcheck distclean distclean-generic \ |
626 | - distclean-hdr distclean-libtool distclean-tags distcleancheck \ |
627 | - distdir distuninstallcheck dvi dvi-am html html-am info \ |
628 | - info-am install install-am install-data install-data-am \ |
629 | - install-dvi install-dvi-am install-exec install-exec-am \ |
630 | - install-html install-html-am install-info install-info-am \ |
631 | - install-man install-pdf install-pdf-am install-ps \ |
632 | - install-ps-am install-strip installcheck installcheck-am \ |
633 | - installdirs installdirs-am maintainer-clean \ |
634 | - maintainer-clean-generic mostlyclean mostlyclean-generic \ |
635 | - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ |
636 | - uninstall-am |
637 | - |
638 | - |
639 | --include $(top_srcdir)/git.mk |
640 | + clean-libtool clean-local cscope cscopelist-am ctags ctags-am \ |
641 | + dist dist-all dist-bzip2 dist-gzip dist-lzip dist-shar \ |
642 | + dist-tarZ dist-xz dist-zip distcheck distclean \ |
643 | + distclean-generic distclean-hdr distclean-libtool \ |
644 | + distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
645 | + dvi-am html html-am info info-am install install-am \ |
646 | + install-data install-data-am install-dvi install-dvi-am \ |
647 | + install-exec install-exec-am install-html install-html-am \ |
648 | + install-info install-info-am install-man install-pdf \ |
649 | + install-pdf-am install-ps install-ps-am install-strip \ |
650 | + installcheck installcheck-am installdirs installdirs-am \ |
651 | + maintainer-clean maintainer-clean-generic mostlyclean \ |
652 | + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
653 | + tags tags-am uninstall uninstall-am |
654 | + |
655 | + |
656 | +rpm: dist |
657 | + @rm -fR $(builddir)/rpms |
658 | + @mkdir $(builddir)/rpms |
659 | + env -i PATH=/usr/bin/:/bin SHELL=$(SHELL) HOSTNAME=$${HOSTNAME} HOME=$${HOME} \ |
660 | + rpmbuild $(rpmdefines) -ba $(srcdir)/$(PACKAGE_NAME).spec |
661 | + |
662 | +clean-local: |
663 | + rm -fR $(builddir)/rpms |
664 | + |
665 | +git-all: git-mk-install |
666 | + |
667 | +git-mk-install: |
668 | + @echo Installing git makefile |
669 | + @any_failed=; \ |
670 | + find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \ |
671 | + if grep 'include .*/git.mk' $$x >/dev/null; then \ |
672 | + echo $$x already includes git.mk; \ |
673 | + else \ |
674 | + failed=; \ |
675 | + echo "Updating $$x"; \ |
676 | + { cat $$x; \ |
677 | + echo ''; \ |
678 | + echo '-include $$(top_srcdir)/git.mk'; \ |
679 | + } > $$x.tmp || failed=1; \ |
680 | + if test x$$failed = x; then \ |
681 | + mv $$x.tmp $$x || failed=1; \ |
682 | + fi; \ |
683 | + if test x$$failed = x; then : else \ |
684 | + echo Failed updating $$x; >&2 \ |
685 | + any_failed=1; \ |
686 | + fi; \ |
687 | + fi; done; test -z "$$any_failed" |
688 | + |
689 | +.PHONY: git-all git-mk-install |
690 | + |
691 | +### .gitignore generation |
692 | + |
693 | +$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk |
694 | + $(AM_V_GEN) \ |
695 | + { \ |
696 | + if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \ |
697 | + for x in \ |
698 | + $(DOC_MODULE)-decl-list.txt \ |
699 | + $(DOC_MODULE)-decl.txt \ |
700 | + tmpl/$(DOC_MODULE)-unused.sgml \ |
701 | + "tmpl/*.bak" \ |
702 | + xml html \ |
703 | + ; do echo /$$x; done; \ |
704 | + fi; \ |
705 | + if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \ |
706 | + for lc in $(DOC_LINGUAS); do \ |
707 | + for x in \ |
708 | + $(if $(DOC_MODULE),$(DOC_MODULE).xml) \ |
709 | + $(DOC_PAGES) \ |
710 | + $(DOC_INCLUDES) \ |
711 | + ; do echo /$$lc/$$x; done; \ |
712 | + done; \ |
713 | + for x in \ |
714 | + $(_DOC_OMF_ALL) \ |
715 | + $(_DOC_DSK_ALL) \ |
716 | + $(_DOC_HTML_ALL) \ |
717 | + $(_DOC_MOFILES) \ |
718 | + $(DOC_H_FILE) \ |
719 | + "*/.xml2po.mo" \ |
720 | + "*/*.omf.out" \ |
721 | + ; do echo /$$x; done; \ |
722 | + fi; \ |
723 | + if test "x$(HELP_ID)" = x -o "x$(HELP_LINGUAS)" = x; then :; else \ |
724 | + for lc in $(HELP_LINGUAS); do \ |
725 | + for x in \ |
726 | + $(HELP_FILES) \ |
727 | + "$$lc.stamp" \ |
728 | + "$$lc.mo" \ |
729 | + ; do echo /$$lc/$$x; done; \ |
730 | + done; \ |
731 | + fi; \ |
732 | + if test "x$(gsettings_SCHEMAS)" = x; then :; else \ |
733 | + for x in \ |
734 | + $(gsettings_SCHEMAS:.xml=.valid) \ |
735 | + $(gsettings__enum_file) \ |
736 | + ; do echo /$$x; done; \ |
737 | + fi; \ |
738 | + if test -f $(srcdir)/po/Makefile.in.in; then \ |
739 | + for x in \ |
740 | + po/Makefile.in.in \ |
741 | + po/Makefile.in \ |
742 | + po/Makefile \ |
743 | + po/POTFILES \ |
744 | + po/stamp-it \ |
745 | + po/.intltool-merge-cache \ |
746 | + "po/*.gmo" \ |
747 | + "po/*.mo" \ |
748 | + po/$(GETTEXT_PACKAGE).pot \ |
749 | + intltool-extract.in \ |
750 | + intltool-merge.in \ |
751 | + intltool-update.in \ |
752 | + ; do echo /$$x; done; \ |
753 | + fi; \ |
754 | + if test -f $(srcdir)/configure; then \ |
755 | + for x in \ |
756 | + autom4te.cache \ |
757 | + configure \ |
758 | + config.h \ |
759 | + stamp-h1 \ |
760 | + libtool \ |
761 | + config.lt \ |
762 | + ; do echo /$$x; done; \ |
763 | + fi; \ |
764 | + if test "x$(DEJATOOL)" = x; then :; else \ |
765 | + for x in \ |
766 | + $(DEJATOOL) \ |
767 | + ; do echo /$$x.sum; echo /$$x.log; done; \ |
768 | + echo /site.exp; \ |
769 | + fi; \ |
770 | + for x in \ |
771 | + .gitignore \ |
772 | + $(GITIGNOREFILES) \ |
773 | + $(CLEANFILES) \ |
774 | + $(PROGRAMS) $(check_PROGRAMS) $(EXTRA_PROGRAMS) \ |
775 | + $(LIBRARIES) $(check_LIBRARIES) $(EXTRA_LIBRARIES) \ |
776 | + $(LTLIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LTLIBRARIES) \ |
777 | + so_locations \ |
778 | + .libs _libs \ |
779 | + $(MOSTLYCLEANFILES) \ |
780 | + "*.$(OBJEXT)" \ |
781 | + "*.lo" \ |
782 | + $(DISTCLEANFILES) \ |
783 | + $(am__CONFIG_DISTCLEAN_FILES) \ |
784 | + $(CONFIG_CLEAN_FILES) \ |
785 | + TAGS ID GTAGS GRTAGS GSYMS GPATH tags \ |
786 | + "*.tab.c" \ |
787 | + $(MAINTAINERCLEANFILES) \ |
788 | + $(BUILT_SOURCES) \ |
789 | + $(DEPDIR) \ |
790 | + Makefile \ |
791 | + Makefile.in \ |
792 | + "*.orig" \ |
793 | + "*.rej" \ |
794 | + "*.bak" \ |
795 | + "*~" \ |
796 | + ".*.sw[nop]" \ |
797 | + ".dirstamp" \ |
798 | + ; do echo /$$x; done; \ |
799 | + } | \ |
800 | + sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \ |
801 | + sed 's@/[.]/@/@g' | \ |
802 | + LC_ALL=C sort | uniq > $@.tmp && \ |
803 | + mv $@.tmp $@; |
804 | + |
805 | +all: $(srcdir)/.gitignore gitignore-recurse-maybe |
806 | +gitignore: $(srcdir)/.gitignore gitignore-recurse |
807 | + |
808 | +gitignore-recurse-maybe: |
809 | + @for subdir in $(DIST_SUBDIRS); do \ |
810 | + case " $(SUBDIRS) " in \ |
811 | + *" $$subdir "*) :;; \ |
812 | + *) test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse-maybe || echo "Skipping $$subdir");; \ |
813 | + esac; \ |
814 | + done |
815 | +gitignore-recurse: |
816 | + @for subdir in $(DIST_SUBDIRS); do \ |
817 | + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir"); \ |
818 | + done |
819 | + |
820 | +maintainer-clean: gitignore-clean |
821 | +gitignore-clean: |
822 | + -rm -f $(srcdir)/.gitignore |
823 | + |
824 | +.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe |
825 | |
826 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
827 | # Otherwise a system limit (for SysV at least) may be exceeded. |
828 | |
829 | === modified file 'NEWS' |
830 | --- NEWS 2014-02-04 06:31:27 +0000 |
831 | +++ NEWS 2014-06-14 06:35:06 +0000 |
832 | @@ -1,3 +1,67 @@ |
833 | +3.12.1 |
834 | +====== |
835 | +* Translation updates |
836 | + |
837 | +3.12.0 |
838 | +====== |
839 | +* Translation updates |
840 | + |
841 | +3.11.92 |
842 | +======= |
843 | +* Fix alignment of placeholder text for first run [#721732] |
844 | +* Build fixes [Shivani Poddar, #725942] |
845 | +* Translation updates |
846 | + |
847 | +3.11.91 |
848 | +======= |
849 | +* Fix problem loading the app without network connectivity |
850 | +* Fix running tests with a11y disabled [Vadim Rutkovsky, #725152] |
851 | +* Fix running tests against old pygobject+glib [Shivani Poddar, #725398] |
852 | +* Fix automake requirement [Pranav Kant, #725427] |
853 | +* Translation updates |
854 | + |
855 | +3.11.90 |
856 | +======= |
857 | +* Fixed a crash at shutdown, caused by a destroy vfunc |
858 | +* Added coverage reports for tests |
859 | +* Updated for unstable GTK+ API changes (GtkActionBox) |
860 | +* Fixed the sensitivity of Add in new location dialog |
861 | + [Saurabh_P, #724416] |
862 | +* Once again, changes to the build and deployment infrastructure... |
863 | +* Translation updates |
864 | + |
865 | +3.11.5 |
866 | +====== |
867 | +* JS sources are now loaded from a GResource, which should |
868 | + improve startup times as it requires fewer seeks on disk |
869 | +* All dialogs were converted to use a header bar |
870 | +* A new infrastructure for application tests exists, and |
871 | + minimal automated testing for the world view is included |
872 | +* Translation updates |
873 | + |
874 | +3.11.4 |
875 | +====== |
876 | +* Fixes for RTL layouts [Yosef Or Boczko, #721123] |
877 | +* Updates to the packaging system |
878 | +* Added the ability to build an RPM from the upstream tarball. |
879 | +* Replaced GtkHeaderBar with GtkActionBar (and gtk+ dependency |
880 | + raised) |
881 | +* Fixed the .desktop file for legacy environments (not using |
882 | + GIO to launch the application) |
883 | +* Translation updates |
884 | + |
885 | +3.11.3 |
886 | +====== |
887 | +* Always show a title in the header bar [#720322] |
888 | +* CityView is now consistent with other apps wrt the back |
889 | + button [#720321] |
890 | +* We now follow the HIGs for standard items in the app menu |
891 | +* The sidebar can show forecast for today and tomorrow at |
892 | + all times |
893 | +* We no longer show the night before the day, which was reported |
894 | + as confusing |
895 | +* Translation updates |
896 | + |
897 | 3.10.1 |
898 | ====== |
899 | * Translation updates and fixes |
900 | |
901 | === modified file 'aclocal.m4' |
902 | --- aclocal.m4 2014-02-04 06:31:27 +0000 |
903 | +++ aclocal.m4 2014-06-14 06:35:06 +0000 |
904 | @@ -20,435 +20,6 @@ |
905 | If you have problems, you may need to regenerate the build system entirely. |
906 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
907 | |
908 | -# nls.m4 serial 5 (gettext-0.18) |
909 | -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation, |
910 | -dnl Inc. |
911 | -dnl This file is free software; the Free Software Foundation |
912 | -dnl gives unlimited permission to copy and/or distribute it, |
913 | -dnl with or without modifications, as long as this notice is preserved. |
914 | -dnl |
915 | -dnl This file can can be used in projects which are not available under |
916 | -dnl the GNU General Public License or the GNU Library General Public |
917 | -dnl License but which still want to provide support for the GNU gettext |
918 | -dnl functionality. |
919 | -dnl Please note that the actual code of the GNU gettext library is covered |
920 | -dnl by the GNU Library General Public License, and the rest of the GNU |
921 | -dnl gettext package package is covered by the GNU General Public License. |
922 | -dnl They are *not* in the public domain. |
923 | - |
924 | -dnl Authors: |
925 | -dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
926 | -dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
927 | - |
928 | -AC_PREREQ([2.50]) |
929 | - |
930 | -AC_DEFUN([AM_NLS], |
931 | -[ |
932 | - AC_MSG_CHECKING([whether NLS is requested]) |
933 | - dnl Default is enabled NLS |
934 | - AC_ARG_ENABLE([nls], |
935 | - [ --disable-nls do not use Native Language Support], |
936 | - USE_NLS=$enableval, USE_NLS=yes) |
937 | - AC_MSG_RESULT([$USE_NLS]) |
938 | - AC_SUBST([USE_NLS]) |
939 | -]) |
940 | - |
941 | -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
942 | -# serial 1 (pkg-config-0.24) |
943 | -# |
944 | -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
945 | -# |
946 | -# This program is free software; you can redistribute it and/or modify |
947 | -# it under the terms of the GNU General Public License as published by |
948 | -# the Free Software Foundation; either version 2 of the License, or |
949 | -# (at your option) any later version. |
950 | -# |
951 | -# This program is distributed in the hope that it will be useful, but |
952 | -# WITHOUT ANY WARRANTY; without even the implied warranty of |
953 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
954 | -# General Public License for more details. |
955 | -# |
956 | -# You should have received a copy of the GNU General Public License |
957 | -# along with this program; if not, write to the Free Software |
958 | -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
959 | -# |
960 | -# As a special exception to the GNU General Public License, if you |
961 | -# distribute this file as part of a program that contains a |
962 | -# configuration script generated by Autoconf, you may include it under |
963 | -# the same distribution terms that you use for the rest of that program. |
964 | - |
965 | -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
966 | -# ---------------------------------- |
967 | -AC_DEFUN([PKG_PROG_PKG_CONFIG], |
968 | -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
969 | -m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
970 | -m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
971 | -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
972 | -AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
973 | -AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
974 | - |
975 | -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
976 | - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
977 | -fi |
978 | -if test -n "$PKG_CONFIG"; then |
979 | - _pkg_min_version=m4_default([$1], [0.9.0]) |
980 | - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
981 | - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
982 | - AC_MSG_RESULT([yes]) |
983 | - else |
984 | - AC_MSG_RESULT([no]) |
985 | - PKG_CONFIG="" |
986 | - fi |
987 | -fi[]dnl |
988 | -])# PKG_PROG_PKG_CONFIG |
989 | - |
990 | -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
991 | -# |
992 | -# Check to see whether a particular set of modules exists. Similar |
993 | -# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
994 | -# |
995 | -# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
996 | -# only at the first occurence in configure.ac, so if the first place |
997 | -# it's called might be skipped (such as if it is within an "if", you |
998 | -# have to call PKG_CHECK_EXISTS manually |
999 | -# -------------------------------------------------------------- |
1000 | -AC_DEFUN([PKG_CHECK_EXISTS], |
1001 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1002 | -if test -n "$PKG_CONFIG" && \ |
1003 | - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
1004 | - m4_default([$2], [:]) |
1005 | -m4_ifvaln([$3], [else |
1006 | - $3])dnl |
1007 | -fi]) |
1008 | - |
1009 | -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
1010 | -# --------------------------------------------- |
1011 | -m4_define([_PKG_CONFIG], |
1012 | -[if test -n "$$1"; then |
1013 | - pkg_cv_[]$1="$$1" |
1014 | - elif test -n "$PKG_CONFIG"; then |
1015 | - PKG_CHECK_EXISTS([$3], |
1016 | - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
1017 | - test "x$?" != "x0" && pkg_failed=yes ], |
1018 | - [pkg_failed=yes]) |
1019 | - else |
1020 | - pkg_failed=untried |
1021 | -fi[]dnl |
1022 | -])# _PKG_CONFIG |
1023 | - |
1024 | -# _PKG_SHORT_ERRORS_SUPPORTED |
1025 | -# ----------------------------- |
1026 | -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
1027 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
1028 | -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
1029 | - _pkg_short_errors_supported=yes |
1030 | -else |
1031 | - _pkg_short_errors_supported=no |
1032 | -fi[]dnl |
1033 | -])# _PKG_SHORT_ERRORS_SUPPORTED |
1034 | - |
1035 | - |
1036 | -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
1037 | -# [ACTION-IF-NOT-FOUND]) |
1038 | -# |
1039 | -# |
1040 | -# Note that if there is a possibility the first call to |
1041 | -# PKG_CHECK_MODULES might not happen, you should be sure to include an |
1042 | -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
1043 | -# |
1044 | -# |
1045 | -# -------------------------------------------------------------- |
1046 | -AC_DEFUN([PKG_CHECK_MODULES], |
1047 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1048 | -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
1049 | -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
1050 | - |
1051 | -pkg_failed=no |
1052 | -AC_MSG_CHECKING([for $1]) |
1053 | - |
1054 | -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
1055 | -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
1056 | - |
1057 | -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
1058 | -and $1[]_LIBS to avoid the need to call pkg-config. |
1059 | -See the pkg-config man page for more details.]) |
1060 | - |
1061 | -if test $pkg_failed = yes; then |
1062 | - AC_MSG_RESULT([no]) |
1063 | - _PKG_SHORT_ERRORS_SUPPORTED |
1064 | - if test $_pkg_short_errors_supported = yes; then |
1065 | - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
1066 | - else |
1067 | - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
1068 | - fi |
1069 | - # Put the nasty error message in config.log where it belongs |
1070 | - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
1071 | - |
1072 | - m4_default([$4], [AC_MSG_ERROR( |
1073 | -[Package requirements ($2) were not met: |
1074 | - |
1075 | -$$1_PKG_ERRORS |
1076 | - |
1077 | -Consider adjusting the PKG_CONFIG_PATH environment variable if you |
1078 | -installed software in a non-standard prefix. |
1079 | - |
1080 | -_PKG_TEXT])[]dnl |
1081 | - ]) |
1082 | -elif test $pkg_failed = untried; then |
1083 | - AC_MSG_RESULT([no]) |
1084 | - m4_default([$4], [AC_MSG_FAILURE( |
1085 | -[The pkg-config script could not be found or is too old. Make sure it |
1086 | -is in your PATH or set the PKG_CONFIG environment variable to the full |
1087 | -path to pkg-config. |
1088 | - |
1089 | -_PKG_TEXT |
1090 | - |
1091 | -To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
1092 | - ]) |
1093 | -else |
1094 | - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
1095 | - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
1096 | - AC_MSG_RESULT([yes]) |
1097 | - $3 |
1098 | -fi[]dnl |
1099 | -])# PKG_CHECK_MODULES |
1100 | - |
1101 | - |
1102 | -# PKG_INSTALLDIR(DIRECTORY) |
1103 | -# ------------------------- |
1104 | -# Substitutes the variable pkgconfigdir as the location where a module |
1105 | -# should install pkg-config .pc files. By default the directory is |
1106 | -# $libdir/pkgconfig, but the default can be changed by passing |
1107 | -# DIRECTORY. The user can override through the --with-pkgconfigdir |
1108 | -# parameter. |
1109 | -AC_DEFUN([PKG_INSTALLDIR], |
1110 | -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) |
1111 | -m4_pushdef([pkg_description], |
1112 | - [pkg-config installation directory @<:@]pkg_default[@:>@]) |
1113 | -AC_ARG_WITH([pkgconfigdir], |
1114 | - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, |
1115 | - [with_pkgconfigdir=]pkg_default) |
1116 | -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) |
1117 | -m4_popdef([pkg_default]) |
1118 | -m4_popdef([pkg_description]) |
1119 | -]) dnl PKG_INSTALLDIR |
1120 | - |
1121 | - |
1122 | -# PKG_NOARCH_INSTALLDIR(DIRECTORY) |
1123 | -# ------------------------- |
1124 | -# Substitutes the variable noarch_pkgconfigdir as the location where a |
1125 | -# module should install arch-independent pkg-config .pc files. By |
1126 | -# default the directory is $datadir/pkgconfig, but the default can be |
1127 | -# changed by passing DIRECTORY. The user can override through the |
1128 | -# --with-noarch-pkgconfigdir parameter. |
1129 | -AC_DEFUN([PKG_NOARCH_INSTALLDIR], |
1130 | -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) |
1131 | -m4_pushdef([pkg_description], |
1132 | - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) |
1133 | -AC_ARG_WITH([noarch-pkgconfigdir], |
1134 | - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, |
1135 | - [with_noarch_pkgconfigdir=]pkg_default) |
1136 | -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) |
1137 | -m4_popdef([pkg_default]) |
1138 | -m4_popdef([pkg_description]) |
1139 | -]) dnl PKG_NOARCH_INSTALLDIR |
1140 | - |
1141 | - |
1142 | -# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, |
1143 | -# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
1144 | -# ------------------------------------------- |
1145 | -# Retrieves the value of the pkg-config variable for the given module. |
1146 | -AC_DEFUN([PKG_CHECK_VAR], |
1147 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1148 | -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl |
1149 | - |
1150 | -_PKG_CONFIG([$1], [variable="][$3]["], [$2]) |
1151 | -AS_VAR_COPY([$1], [pkg_cv_][$1]) |
1152 | - |
1153 | -AS_VAR_IF([$1], [""], [$5], [$4])dnl |
1154 | -])# PKG_CHECK_VAR |
1155 | - |
1156 | -dnl GLIB_GSETTINGS |
1157 | -dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether |
1158 | -dnl the schema should be compiled |
1159 | -dnl |
1160 | - |
1161 | -AC_DEFUN([GLIB_GSETTINGS], |
1162 | -[ |
1163 | - m4_pattern_allow([AM_V_GEN]) |
1164 | - AC_ARG_ENABLE(schemas-compile, |
1165 | - AS_HELP_STRING([--disable-schemas-compile], |
1166 | - [Disable regeneration of gschemas.compiled on install]), |
1167 | - [case ${enableval} in |
1168 | - yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; |
1169 | - no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; |
1170 | - *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;; |
1171 | - esac]) |
1172 | - AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE]) |
1173 | - PKG_PROG_PKG_CONFIG([0.16]) |
1174 | - AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas]) |
1175 | - if test x$cross_compiling != xyes; then |
1176 | - GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` |
1177 | - else |
1178 | - AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas) |
1179 | - fi |
1180 | - AC_SUBST(GLIB_COMPILE_SCHEMAS) |
1181 | - if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then |
1182 | - ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2]) |
1183 | - else |
1184 | - ifelse([$1],,[:],[$1]) |
1185 | - fi |
1186 | - |
1187 | - GSETTINGS_RULES=' |
1188 | -.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas |
1189 | - |
1190 | -mostlyclean-am: clean-gsettings-schemas |
1191 | - |
1192 | -gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) |
1193 | - |
1194 | -%.gschema.valid: %.gschema.xml $(gsettings__enum_file) |
1195 | - $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@ |
1196 | - |
1197 | -all-am: $(gsettings_SCHEMAS:.xml=.valid) |
1198 | -uninstall-am: uninstall-gsettings-schemas |
1199 | -install-data-am: install-gsettings-schemas |
1200 | - |
1201 | -.SECONDARY: $(gsettings_SCHEMAS) |
1202 | - |
1203 | -install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) |
1204 | - @$(NORMAL_INSTALL) |
1205 | - if test -n "$^"; then \ |
1206 | - test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ |
1207 | - $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ |
1208 | - test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ |
1209 | - fi |
1210 | - |
1211 | -uninstall-gsettings-schemas: |
1212 | - @$(NORMAL_UNINSTALL) |
1213 | - @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ |
1214 | - files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ |
1215 | - test -n "$$files" || exit 0; \ |
1216 | - echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ |
1217 | - cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files |
1218 | - test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) |
1219 | - |
1220 | -clean-gsettings-schemas: |
1221 | - rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) |
1222 | - |
1223 | -ifdef gsettings_ENUM_NAMESPACE |
1224 | -$(gsettings__enum_file): $(gsettings_ENUM_FILES) |
1225 | - $(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 [$]@ |
1226 | -endif |
1227 | -' |
1228 | - _GSETTINGS_SUBST(GSETTINGS_RULES) |
1229 | -]) |
1230 | - |
1231 | -dnl _GSETTINGS_SUBST(VARIABLE) |
1232 | -dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST |
1233 | -AC_DEFUN([_GSETTINGS_SUBST], |
1234 | -[ |
1235 | -AC_SUBST([$1]) |
1236 | -m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) |
1237 | -] |
1238 | -) |
1239 | - |
1240 | -dnl -*- mode: autoconf -*- |
1241 | -dnl Copyright 2009 Johan Dahlin |
1242 | -dnl |
1243 | -dnl This file is free software; the author(s) gives unlimited |
1244 | -dnl permission to copy and/or distribute it, with or without |
1245 | -dnl modifications, as long as this notice is preserved. |
1246 | -dnl |
1247 | - |
1248 | -# serial 1 |
1249 | - |
1250 | -m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], |
1251 | -[ |
1252 | - AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first |
1253 | - AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first |
1254 | - AC_BEFORE([LT_INIT],[$0])dnl setup libtool first |
1255 | - |
1256 | - dnl enable/disable introspection |
1257 | - m4_if([$2], [require], |
1258 | - [dnl |
1259 | - enable_introspection=yes |
1260 | - ],[dnl |
1261 | - AC_ARG_ENABLE(introspection, |
1262 | - AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], |
1263 | - [Enable introspection for this build]),, |
1264 | - [enable_introspection=auto]) |
1265 | - ])dnl |
1266 | - |
1267 | - AC_MSG_CHECKING([for gobject-introspection]) |
1268 | - |
1269 | - dnl presence/version checking |
1270 | - AS_CASE([$enable_introspection], |
1271 | - [no], [dnl |
1272 | - found_introspection="no (disabled, use --enable-introspection to enable)" |
1273 | - ],dnl |
1274 | - [yes],[dnl |
1275 | - PKG_CHECK_EXISTS([gobject-introspection-1.0],, |
1276 | - AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) |
1277 | - PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], |
1278 | - found_introspection=yes, |
1279 | - AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) |
1280 | - ],dnl |
1281 | - [auto],[dnl |
1282 | - PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) |
1283 | - dnl Canonicalize enable_introspection |
1284 | - enable_introspection=$found_introspection |
1285 | - ],dnl |
1286 | - [dnl |
1287 | - AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) |
1288 | - ])dnl |
1289 | - |
1290 | - AC_MSG_RESULT([$found_introspection]) |
1291 | - |
1292 | - INTROSPECTION_SCANNER= |
1293 | - INTROSPECTION_COMPILER= |
1294 | - INTROSPECTION_GENERATE= |
1295 | - INTROSPECTION_GIRDIR= |
1296 | - INTROSPECTION_TYPELIBDIR= |
1297 | - if test "x$found_introspection" = "xyes"; then |
1298 | - INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` |
1299 | - INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` |
1300 | - INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` |
1301 | - INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` |
1302 | - INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" |
1303 | - INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` |
1304 | - INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` |
1305 | - INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection |
1306 | - fi |
1307 | - AC_SUBST(INTROSPECTION_SCANNER) |
1308 | - AC_SUBST(INTROSPECTION_COMPILER) |
1309 | - AC_SUBST(INTROSPECTION_GENERATE) |
1310 | - AC_SUBST(INTROSPECTION_GIRDIR) |
1311 | - AC_SUBST(INTROSPECTION_TYPELIBDIR) |
1312 | - AC_SUBST(INTROSPECTION_CFLAGS) |
1313 | - AC_SUBST(INTROSPECTION_LIBS) |
1314 | - AC_SUBST(INTROSPECTION_MAKEFILE) |
1315 | - |
1316 | - AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") |
1317 | -]) |
1318 | - |
1319 | - |
1320 | -dnl Usage: |
1321 | -dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) |
1322 | - |
1323 | -AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], |
1324 | -[ |
1325 | - _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) |
1326 | -]) |
1327 | - |
1328 | -dnl Usage: |
1329 | -dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) |
1330 | - |
1331 | - |
1332 | -AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], |
1333 | -[ |
1334 | - _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) |
1335 | -]) |
1336 | - |
1337 | # Copyright (C) 2002-2013 Free Software Foundation, Inc. |
1338 | # |
1339 | # This file is free software; the Free Software Foundation |
1340 | @@ -1515,7 +1086,437 @@ |
1341 | AC_SUBST([am__untar]) |
1342 | ]) # _AM_PROG_TAR |
1343 | |
1344 | +# nls.m4 serial 5 (gettext-0.18) |
1345 | +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation, |
1346 | +dnl Inc. |
1347 | +dnl This file is free software; the Free Software Foundation |
1348 | +dnl gives unlimited permission to copy and/or distribute it, |
1349 | +dnl with or without modifications, as long as this notice is preserved. |
1350 | +dnl |
1351 | +dnl This file can can be used in projects which are not available under |
1352 | +dnl the GNU General Public License or the GNU Library General Public |
1353 | +dnl License but which still want to provide support for the GNU gettext |
1354 | +dnl functionality. |
1355 | +dnl Please note that the actual code of the GNU gettext library is covered |
1356 | +dnl by the GNU Library General Public License, and the rest of the GNU |
1357 | +dnl gettext package package is covered by the GNU General Public License. |
1358 | +dnl They are *not* in the public domain. |
1359 | + |
1360 | +dnl Authors: |
1361 | +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
1362 | +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
1363 | + |
1364 | +AC_PREREQ([2.50]) |
1365 | + |
1366 | +AC_DEFUN([AM_NLS], |
1367 | +[ |
1368 | + AC_MSG_CHECKING([whether NLS is requested]) |
1369 | + dnl Default is enabled NLS |
1370 | + AC_ARG_ENABLE([nls], |
1371 | + [ --disable-nls do not use Native Language Support], |
1372 | + USE_NLS=$enableval, USE_NLS=yes) |
1373 | + AC_MSG_RESULT([$USE_NLS]) |
1374 | + AC_SUBST([USE_NLS]) |
1375 | +]) |
1376 | + |
1377 | +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
1378 | +# serial 1 (pkg-config-0.24) |
1379 | +# |
1380 | +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
1381 | +# |
1382 | +# This program is free software; you can redistribute it and/or modify |
1383 | +# it under the terms of the GNU General Public License as published by |
1384 | +# the Free Software Foundation; either version 2 of the License, or |
1385 | +# (at your option) any later version. |
1386 | +# |
1387 | +# This program is distributed in the hope that it will be useful, but |
1388 | +# WITHOUT ANY WARRANTY; without even the implied warranty of |
1389 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1390 | +# General Public License for more details. |
1391 | +# |
1392 | +# You should have received a copy of the GNU General Public License |
1393 | +# along with this program; if not, write to the Free Software |
1394 | +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
1395 | +# |
1396 | +# As a special exception to the GNU General Public License, if you |
1397 | +# distribute this file as part of a program that contains a |
1398 | +# configuration script generated by Autoconf, you may include it under |
1399 | +# the same distribution terms that you use for the rest of that program. |
1400 | + |
1401 | +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
1402 | +# ---------------------------------- |
1403 | +AC_DEFUN([PKG_PROG_PKG_CONFIG], |
1404 | +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
1405 | +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
1406 | +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
1407 | +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
1408 | +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
1409 | +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
1410 | + |
1411 | +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
1412 | + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
1413 | +fi |
1414 | +if test -n "$PKG_CONFIG"; then |
1415 | + _pkg_min_version=m4_default([$1], [0.9.0]) |
1416 | + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
1417 | + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
1418 | + AC_MSG_RESULT([yes]) |
1419 | + else |
1420 | + AC_MSG_RESULT([no]) |
1421 | + PKG_CONFIG="" |
1422 | + fi |
1423 | +fi[]dnl |
1424 | +])# PKG_PROG_PKG_CONFIG |
1425 | + |
1426 | +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
1427 | +# |
1428 | +# Check to see whether a particular set of modules exists. Similar |
1429 | +# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
1430 | +# |
1431 | +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
1432 | +# only at the first occurence in configure.ac, so if the first place |
1433 | +# it's called might be skipped (such as if it is within an "if", you |
1434 | +# have to call PKG_CHECK_EXISTS manually |
1435 | +# -------------------------------------------------------------- |
1436 | +AC_DEFUN([PKG_CHECK_EXISTS], |
1437 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1438 | +if test -n "$PKG_CONFIG" && \ |
1439 | + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
1440 | + m4_default([$2], [:]) |
1441 | +m4_ifvaln([$3], [else |
1442 | + $3])dnl |
1443 | +fi]) |
1444 | + |
1445 | +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
1446 | +# --------------------------------------------- |
1447 | +m4_define([_PKG_CONFIG], |
1448 | +[if test -n "$$1"; then |
1449 | + pkg_cv_[]$1="$$1" |
1450 | + elif test -n "$PKG_CONFIG"; then |
1451 | + PKG_CHECK_EXISTS([$3], |
1452 | + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
1453 | + test "x$?" != "x0" && pkg_failed=yes ], |
1454 | + [pkg_failed=yes]) |
1455 | + else |
1456 | + pkg_failed=untried |
1457 | +fi[]dnl |
1458 | +])# _PKG_CONFIG |
1459 | + |
1460 | +# _PKG_SHORT_ERRORS_SUPPORTED |
1461 | +# ----------------------------- |
1462 | +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
1463 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
1464 | +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
1465 | + _pkg_short_errors_supported=yes |
1466 | +else |
1467 | + _pkg_short_errors_supported=no |
1468 | +fi[]dnl |
1469 | +])# _PKG_SHORT_ERRORS_SUPPORTED |
1470 | + |
1471 | + |
1472 | +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
1473 | +# [ACTION-IF-NOT-FOUND]) |
1474 | +# |
1475 | +# |
1476 | +# Note that if there is a possibility the first call to |
1477 | +# PKG_CHECK_MODULES might not happen, you should be sure to include an |
1478 | +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
1479 | +# |
1480 | +# |
1481 | +# -------------------------------------------------------------- |
1482 | +AC_DEFUN([PKG_CHECK_MODULES], |
1483 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1484 | +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
1485 | +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
1486 | + |
1487 | +pkg_failed=no |
1488 | +AC_MSG_CHECKING([for $1]) |
1489 | + |
1490 | +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
1491 | +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
1492 | + |
1493 | +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
1494 | +and $1[]_LIBS to avoid the need to call pkg-config. |
1495 | +See the pkg-config man page for more details.]) |
1496 | + |
1497 | +if test $pkg_failed = yes; then |
1498 | + AC_MSG_RESULT([no]) |
1499 | + _PKG_SHORT_ERRORS_SUPPORTED |
1500 | + if test $_pkg_short_errors_supported = yes; then |
1501 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
1502 | + else |
1503 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
1504 | + fi |
1505 | + # Put the nasty error message in config.log where it belongs |
1506 | + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
1507 | + |
1508 | + m4_default([$4], [AC_MSG_ERROR( |
1509 | +[Package requirements ($2) were not met: |
1510 | + |
1511 | +$$1_PKG_ERRORS |
1512 | + |
1513 | +Consider adjusting the PKG_CONFIG_PATH environment variable if you |
1514 | +installed software in a non-standard prefix. |
1515 | + |
1516 | +_PKG_TEXT])[]dnl |
1517 | + ]) |
1518 | +elif test $pkg_failed = untried; then |
1519 | + AC_MSG_RESULT([no]) |
1520 | + m4_default([$4], [AC_MSG_FAILURE( |
1521 | +[The pkg-config script could not be found or is too old. Make sure it |
1522 | +is in your PATH or set the PKG_CONFIG environment variable to the full |
1523 | +path to pkg-config. |
1524 | + |
1525 | +_PKG_TEXT |
1526 | + |
1527 | +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
1528 | + ]) |
1529 | +else |
1530 | + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
1531 | + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
1532 | + AC_MSG_RESULT([yes]) |
1533 | + $3 |
1534 | +fi[]dnl |
1535 | +])# PKG_CHECK_MODULES |
1536 | + |
1537 | + |
1538 | +# PKG_INSTALLDIR(DIRECTORY) |
1539 | +# ------------------------- |
1540 | +# Substitutes the variable pkgconfigdir as the location where a module |
1541 | +# should install pkg-config .pc files. By default the directory is |
1542 | +# $libdir/pkgconfig, but the default can be changed by passing |
1543 | +# DIRECTORY. The user can override through the --with-pkgconfigdir |
1544 | +# parameter. |
1545 | +AC_DEFUN([PKG_INSTALLDIR], |
1546 | +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) |
1547 | +m4_pushdef([pkg_description], |
1548 | + [pkg-config installation directory @<:@]pkg_default[@:>@]) |
1549 | +AC_ARG_WITH([pkgconfigdir], |
1550 | + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, |
1551 | + [with_pkgconfigdir=]pkg_default) |
1552 | +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) |
1553 | +m4_popdef([pkg_default]) |
1554 | +m4_popdef([pkg_description]) |
1555 | +]) dnl PKG_INSTALLDIR |
1556 | + |
1557 | + |
1558 | +# PKG_NOARCH_INSTALLDIR(DIRECTORY) |
1559 | +# ------------------------- |
1560 | +# Substitutes the variable noarch_pkgconfigdir as the location where a |
1561 | +# module should install arch-independent pkg-config .pc files. By |
1562 | +# default the directory is $datadir/pkgconfig, but the default can be |
1563 | +# changed by passing DIRECTORY. The user can override through the |
1564 | +# --with-noarch-pkgconfigdir parameter. |
1565 | +AC_DEFUN([PKG_NOARCH_INSTALLDIR], |
1566 | +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) |
1567 | +m4_pushdef([pkg_description], |
1568 | + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) |
1569 | +AC_ARG_WITH([noarch-pkgconfigdir], |
1570 | + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, |
1571 | + [with_noarch_pkgconfigdir=]pkg_default) |
1572 | +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) |
1573 | +m4_popdef([pkg_default]) |
1574 | +m4_popdef([pkg_description]) |
1575 | +]) dnl PKG_NOARCH_INSTALLDIR |
1576 | + |
1577 | + |
1578 | +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, |
1579 | +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
1580 | +# ------------------------------------------- |
1581 | +# Retrieves the value of the pkg-config variable for the given module. |
1582 | +AC_DEFUN([PKG_CHECK_VAR], |
1583 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1584 | +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl |
1585 | + |
1586 | +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) |
1587 | +AS_VAR_COPY([$1], [pkg_cv_][$1]) |
1588 | + |
1589 | +AS_VAR_IF([$1], [""], [$5], [$4])dnl |
1590 | +])# PKG_CHECK_VAR |
1591 | + |
1592 | +dnl GLIB_GSETTINGS |
1593 | +dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether |
1594 | +dnl the schema should be compiled |
1595 | +dnl |
1596 | + |
1597 | +AC_DEFUN([GLIB_GSETTINGS], |
1598 | +[ |
1599 | + m4_pattern_allow([AM_V_GEN]) |
1600 | + AC_ARG_ENABLE(schemas-compile, |
1601 | + AS_HELP_STRING([--disable-schemas-compile], |
1602 | + [Disable regeneration of gschemas.compiled on install]), |
1603 | + [case ${enableval} in |
1604 | + yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; |
1605 | + no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; |
1606 | + *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;; |
1607 | + esac]) |
1608 | + AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE]) |
1609 | + PKG_PROG_PKG_CONFIG([0.16]) |
1610 | + AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas]) |
1611 | + if test x$cross_compiling != xyes; then |
1612 | + GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` |
1613 | + else |
1614 | + AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas) |
1615 | + fi |
1616 | + AC_SUBST(GLIB_COMPILE_SCHEMAS) |
1617 | + if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then |
1618 | + ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2]) |
1619 | + else |
1620 | + ifelse([$1],,[:],[$1]) |
1621 | + fi |
1622 | + |
1623 | + GSETTINGS_RULES=' |
1624 | +.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas |
1625 | + |
1626 | +mostlyclean-am: clean-gsettings-schemas |
1627 | + |
1628 | +gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) |
1629 | + |
1630 | +%.gschema.valid: %.gschema.xml $(gsettings__enum_file) |
1631 | + $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@ |
1632 | + |
1633 | +all-am: $(gsettings_SCHEMAS:.xml=.valid) |
1634 | +uninstall-am: uninstall-gsettings-schemas |
1635 | +install-data-am: install-gsettings-schemas |
1636 | + |
1637 | +.SECONDARY: $(gsettings_SCHEMAS) |
1638 | + |
1639 | +install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) |
1640 | + @$(NORMAL_INSTALL) |
1641 | + if test -n "$^"; then \ |
1642 | + test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ |
1643 | + $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ |
1644 | + test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ |
1645 | + fi |
1646 | + |
1647 | +uninstall-gsettings-schemas: |
1648 | + @$(NORMAL_UNINSTALL) |
1649 | + @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ |
1650 | + files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ |
1651 | + test -n "$$files" || exit 0; \ |
1652 | + echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ |
1653 | + cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files |
1654 | + test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) |
1655 | + |
1656 | +clean-gsettings-schemas: |
1657 | + rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) |
1658 | + |
1659 | +ifdef gsettings_ENUM_NAMESPACE |
1660 | +$(gsettings__enum_file): $(gsettings_ENUM_FILES) |
1661 | + $(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 [$]@ |
1662 | +endif |
1663 | +' |
1664 | + _GSETTINGS_SUBST(GSETTINGS_RULES) |
1665 | +]) |
1666 | + |
1667 | +dnl _GSETTINGS_SUBST(VARIABLE) |
1668 | +dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST |
1669 | +AC_DEFUN([_GSETTINGS_SUBST], |
1670 | +[ |
1671 | +AC_SUBST([$1]) |
1672 | +m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) |
1673 | +] |
1674 | +) |
1675 | + |
1676 | +dnl -*- mode: autoconf -*- |
1677 | +dnl Copyright 2009 Johan Dahlin |
1678 | +dnl |
1679 | +dnl This file is free software; the author(s) gives unlimited |
1680 | +dnl permission to copy and/or distribute it, with or without |
1681 | +dnl modifications, as long as this notice is preserved. |
1682 | +dnl |
1683 | + |
1684 | +# serial 1 |
1685 | + |
1686 | +m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], |
1687 | +[ |
1688 | + AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first |
1689 | + AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first |
1690 | + AC_BEFORE([LT_INIT],[$0])dnl setup libtool first |
1691 | + |
1692 | + dnl enable/disable introspection |
1693 | + m4_if([$2], [require], |
1694 | + [dnl |
1695 | + enable_introspection=yes |
1696 | + ],[dnl |
1697 | + AC_ARG_ENABLE(introspection, |
1698 | + AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], |
1699 | + [Enable introspection for this build]),, |
1700 | + [enable_introspection=auto]) |
1701 | + ])dnl |
1702 | + |
1703 | + AC_MSG_CHECKING([for gobject-introspection]) |
1704 | + |
1705 | + dnl presence/version checking |
1706 | + AS_CASE([$enable_introspection], |
1707 | + [no], [dnl |
1708 | + found_introspection="no (disabled, use --enable-introspection to enable)" |
1709 | + ],dnl |
1710 | + [yes],[dnl |
1711 | + PKG_CHECK_EXISTS([gobject-introspection-1.0],, |
1712 | + AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) |
1713 | + PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], |
1714 | + found_introspection=yes, |
1715 | + AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) |
1716 | + ],dnl |
1717 | + [auto],[dnl |
1718 | + PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) |
1719 | + dnl Canonicalize enable_introspection |
1720 | + enable_introspection=$found_introspection |
1721 | + ],dnl |
1722 | + [dnl |
1723 | + AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) |
1724 | + ])dnl |
1725 | + |
1726 | + AC_MSG_RESULT([$found_introspection]) |
1727 | + |
1728 | + INTROSPECTION_SCANNER= |
1729 | + INTROSPECTION_COMPILER= |
1730 | + INTROSPECTION_GENERATE= |
1731 | + INTROSPECTION_GIRDIR= |
1732 | + INTROSPECTION_TYPELIBDIR= |
1733 | + if test "x$found_introspection" = "xyes"; then |
1734 | + INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` |
1735 | + INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` |
1736 | + INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` |
1737 | + INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` |
1738 | + INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" |
1739 | + INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` |
1740 | + INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` |
1741 | + INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection |
1742 | + fi |
1743 | + AC_SUBST(INTROSPECTION_SCANNER) |
1744 | + AC_SUBST(INTROSPECTION_COMPILER) |
1745 | + AC_SUBST(INTROSPECTION_GENERATE) |
1746 | + AC_SUBST(INTROSPECTION_GIRDIR) |
1747 | + AC_SUBST(INTROSPECTION_TYPELIBDIR) |
1748 | + AC_SUBST(INTROSPECTION_CFLAGS) |
1749 | + AC_SUBST(INTROSPECTION_LIBS) |
1750 | + AC_SUBST(INTROSPECTION_MAKEFILE) |
1751 | + |
1752 | + AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") |
1753 | +]) |
1754 | + |
1755 | + |
1756 | +dnl Usage: |
1757 | +dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) |
1758 | + |
1759 | +AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], |
1760 | +[ |
1761 | + _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) |
1762 | +]) |
1763 | + |
1764 | +dnl Usage: |
1765 | +dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) |
1766 | + |
1767 | + |
1768 | +AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], |
1769 | +[ |
1770 | + _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) |
1771 | +]) |
1772 | + |
1773 | m4_include([libgd/libgd.m4]) |
1774 | +m4_include([m4/glibtests.m4]) |
1775 | m4_include([m4/intltool.m4]) |
1776 | m4_include([m4/libtool.m4]) |
1777 | m4_include([m4/ltoptions.m4]) |
1778 | |
1779 | === modified file 'configure' |
1780 | --- configure 2014-02-04 06:31:27 +0000 |
1781 | +++ configure 2014-06-14 06:35:06 +0000 |
1782 | @@ -1,6 +1,6 @@ |
1783 | #! /bin/sh |
1784 | # Guess values for system-dependent variables and create Makefiles. |
1785 | -# Generated by GNU Autoconf 2.69 for org.gnome.Weather.Application 3.10.1. |
1786 | +# Generated by GNU Autoconf 2.69 for org.gnome.Weather.Application 3.12.1. |
1787 | # |
1788 | # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-weather>. |
1789 | # |
1790 | @@ -591,10 +591,10 @@ |
1791 | # Identity of this package. |
1792 | PACKAGE_NAME='org.gnome.Weather.Application' |
1793 | PACKAGE_TARNAME='gnome-weather' |
1794 | -PACKAGE_VERSION='3.10.1' |
1795 | -PACKAGE_STRING='org.gnome.Weather.Application 3.10.1' |
1796 | +PACKAGE_VERSION='3.12.1' |
1797 | +PACKAGE_STRING='org.gnome.Weather.Application 3.12.1' |
1798 | PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-weather' |
1799 | -PACKAGE_URL='https://live.gnome.org/Design/Apps/Weather' |
1800 | +PACKAGE_URL='https://wiki.gnome.org/Apps/Weather' |
1801 | |
1802 | # Factoring default headers for most tests. |
1803 | ac_includes_default="\ |
1804 | @@ -637,6 +637,18 @@ |
1805 | LTLIBOBJS |
1806 | LIBOBJS |
1807 | GLIB_COMPILE_RESOURCES |
1808 | +installed_testdir |
1809 | +installed_test_metadir |
1810 | +ENABLE_ALWAYS_BUILD_TESTS_FALSE |
1811 | +ENABLE_ALWAYS_BUILD_TESTS_TRUE |
1812 | +ENABLE_INSTALLED_TESTS_FALSE |
1813 | +ENABLE_INSTALLED_TESTS_TRUE |
1814 | +ENABLE_COVERAGE_FALSE |
1815 | +ENABLE_COVERAGE_TRUE |
1816 | +GENHTML |
1817 | +LCOV |
1818 | +ENABLE_DOGTAIL_FALSE |
1819 | +ENABLE_DOGTAIL_TRUE |
1820 | GJS |
1821 | DEPS_LIBS |
1822 | DEPS_CFLAGS |
1823 | @@ -858,6 +870,10 @@ |
1824 | with_sysroot |
1825 | enable_libtool_lock |
1826 | enable_schemas_compile |
1827 | +enable_dogtail |
1828 | +enable_coverage |
1829 | +enable_installed_tests |
1830 | +enable_always_build_tests |
1831 | ' |
1832 | ac_precious_vars='build_alias |
1833 | host_alias |
1834 | @@ -1415,7 +1431,7 @@ |
1835 | # Omit some internal or obsolete options to make the list less imposing. |
1836 | # This message is too long to be a string in the A/UX 3.1 sh. |
1837 | cat <<_ACEOF |
1838 | -\`configure' configures org.gnome.Weather.Application 3.10.1 to adapt to many kinds of systems. |
1839 | +\`configure' configures org.gnome.Weather.Application 3.12.1 to adapt to many kinds of systems. |
1840 | |
1841 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1842 | |
1843 | @@ -1485,7 +1501,7 @@ |
1844 | |
1845 | if test -n "$ac_init_help"; then |
1846 | case $ac_init_help in |
1847 | - short | recursive ) echo "Configuration of org.gnome.Weather.Application 3.10.1:";; |
1848 | + short | recursive ) echo "Configuration of org.gnome.Weather.Application 3.12.1:";; |
1849 | esac |
1850 | cat <<\_ACEOF |
1851 | |
1852 | @@ -1507,6 +1523,12 @@ |
1853 | --disable-libtool-lock avoid locking (might break parallel builds) |
1854 | --disable-schemas-compile |
1855 | Disable regeneration of gschemas.compiled on install |
1856 | + --enable-dogtail test using dogtail [default=yes] |
1857 | + --enable-coverage enable code coverage |
1858 | + --enable-installed-tests |
1859 | + Enable installation of some test cases |
1860 | + --enable-always-build-tests |
1861 | + Enable always building tests during 'make all' |
1862 | |
1863 | Optional Packages: |
1864 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1865 | @@ -1541,7 +1563,7 @@ |
1866 | it to find libraries and programs with nonstandard names/locations. |
1867 | |
1868 | Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-weather>. |
1869 | -org.gnome.Weather.Application home page: <https://live.gnome.org/Design/Apps/Weather>. |
1870 | +org.gnome.Weather.Application home page: <https://wiki.gnome.org/Apps/Weather>. |
1871 | _ACEOF |
1872 | ac_status=$? |
1873 | fi |
1874 | @@ -1604,7 +1626,7 @@ |
1875 | test -n "$ac_init_help" && exit $ac_status |
1876 | if $ac_init_version; then |
1877 | cat <<\_ACEOF |
1878 | -org.gnome.Weather.Application configure 3.10.1 |
1879 | +org.gnome.Weather.Application configure 3.12.1 |
1880 | generated by GNU Autoconf 2.69 |
1881 | |
1882 | Copyright (C) 2012 Free Software Foundation, Inc. |
1883 | @@ -1882,7 +1904,7 @@ |
1884 | This file contains any messages produced by compilers while |
1885 | running configure, to aid debugging if configure makes a mistake. |
1886 | |
1887 | -It was created by org.gnome.Weather.Application $as_me 3.10.1, which was |
1888 | +It was created by org.gnome.Weather.Application $as_me 3.12.1, which was |
1889 | generated by GNU Autoconf 2.69. Invocation command line was |
1890 | |
1891 | $ $0 $@ |
1892 | @@ -2750,7 +2772,7 @@ |
1893 | |
1894 | # Define the identity of the package. |
1895 | PACKAGE='gnome-weather' |
1896 | - VERSION='3.10.1' |
1897 | + VERSION='3.12.1' |
1898 | |
1899 | |
1900 | # Some tools Automake needs. |
1901 | @@ -7722,7 +7744,7 @@ |
1902 | rm -rf conftest* |
1903 | ;; |
1904 | |
1905 | -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
1906 | +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
1907 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
1908 | # Find out which ABI we are using. |
1909 | echo 'int i;' > conftest.$ac_ext |
1910 | @@ -7740,7 +7762,10 @@ |
1911 | x86_64-*linux*) |
1912 | LD="${LD-ld} -m elf_i386" |
1913 | ;; |
1914 | - ppc64-*linux*|powerpc64-*linux*) |
1915 | + powerpc64le-*linux*) |
1916 | + LD="${LD-ld} -m elf32lppclinux" |
1917 | + ;; |
1918 | + powerpc64-*linux*) |
1919 | LD="${LD-ld} -m elf32ppclinux" |
1920 | ;; |
1921 | s390x-*linux*) |
1922 | @@ -7759,7 +7784,10 @@ |
1923 | x86_64-*linux*) |
1924 | LD="${LD-ld} -m elf_x86_64" |
1925 | ;; |
1926 | - ppc*-*linux*|powerpc*-*linux*) |
1927 | + powerpcle-*linux*) |
1928 | + LD="${LD-ld} -m elf64lppc" |
1929 | + ;; |
1930 | + powerpc-*linux*) |
1931 | LD="${LD-ld} -m elf64ppc" |
1932 | ;; |
1933 | s390*-*linux*|s390*-*tpf*) |
1934 | @@ -13854,7 +13882,7 @@ |
1935 | gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) |
1936 | |
1937 | %.gschema.valid: %.gschema.xml $(gsettings__enum_file) |
1938 | - $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@ |
1939 | + $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@ |
1940 | |
1941 | all-am: $(gsettings_SCHEMAS:.xml=.valid) |
1942 | uninstall-am: uninstall-gsettings-schemas |
1943 | @@ -13981,7 +14009,7 @@ |
1944 | |
1945 | |
1946 | |
1947 | - |
1948 | +GJS_MIN_VERSION=1.39.91 |
1949 | |
1950 | pkg_failed=no |
1951 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5 |
1952 | @@ -13996,14 +14024,16 @@ |
1953 | gio-2.0 |
1954 | glib-2.0 |
1955 | gobject-2.0 |
1956 | - gtk+-3.0 >= 3.9.4 |
1957 | + gtk+-3.0 >= 3.11.4 |
1958 | + gjs-1.0 >= \$GJS_MIN_VERSION |
1959 | gweather-3.0 >= 3.9.5\""; } >&5 |
1960 | ($PKG_CONFIG --exists --print-errors "gdk-3.0 |
1961 | gdk-pixbuf-2.0 |
1962 | gio-2.0 |
1963 | glib-2.0 |
1964 | gobject-2.0 |
1965 | - gtk+-3.0 >= 3.9.4 |
1966 | + gtk+-3.0 >= 3.11.4 |
1967 | + gjs-1.0 >= $GJS_MIN_VERSION |
1968 | gweather-3.0 >= 3.9.5") 2>&5 |
1969 | ac_status=$? |
1970 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1971 | @@ -14013,7 +14043,8 @@ |
1972 | gio-2.0 |
1973 | glib-2.0 |
1974 | gobject-2.0 |
1975 | - gtk+-3.0 >= 3.9.4 |
1976 | + gtk+-3.0 >= 3.11.4 |
1977 | + gjs-1.0 >= $GJS_MIN_VERSION |
1978 | gweather-3.0 >= 3.9.5" 2>/dev/null` |
1979 | test "x$?" != "x0" && pkg_failed=yes |
1980 | else |
1981 | @@ -14031,14 +14062,16 @@ |
1982 | gio-2.0 |
1983 | glib-2.0 |
1984 | gobject-2.0 |
1985 | - gtk+-3.0 >= 3.9.4 |
1986 | + gtk+-3.0 >= 3.11.4 |
1987 | + gjs-1.0 >= \$GJS_MIN_VERSION |
1988 | gweather-3.0 >= 3.9.5\""; } >&5 |
1989 | ($PKG_CONFIG --exists --print-errors "gdk-3.0 |
1990 | gdk-pixbuf-2.0 |
1991 | gio-2.0 |
1992 | glib-2.0 |
1993 | gobject-2.0 |
1994 | - gtk+-3.0 >= 3.9.4 |
1995 | + gtk+-3.0 >= 3.11.4 |
1996 | + gjs-1.0 >= $GJS_MIN_VERSION |
1997 | gweather-3.0 >= 3.9.5") 2>&5 |
1998 | ac_status=$? |
1999 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2000 | @@ -14048,7 +14081,8 @@ |
2001 | gio-2.0 |
2002 | glib-2.0 |
2003 | gobject-2.0 |
2004 | - gtk+-3.0 >= 3.9.4 |
2005 | + gtk+-3.0 >= 3.11.4 |
2006 | + gjs-1.0 >= $GJS_MIN_VERSION |
2007 | gweather-3.0 >= 3.9.5" 2>/dev/null` |
2008 | test "x$?" != "x0" && pkg_failed=yes |
2009 | else |
2010 | @@ -14075,7 +14109,8 @@ |
2011 | gio-2.0 |
2012 | glib-2.0 |
2013 | gobject-2.0 |
2014 | - gtk+-3.0 >= 3.9.4 |
2015 | + gtk+-3.0 >= 3.11.4 |
2016 | + gjs-1.0 >= $GJS_MIN_VERSION |
2017 | gweather-3.0 >= 3.9.5" 2>&1` |
2018 | else |
2019 | DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-3.0 |
2020 | @@ -14083,7 +14118,8 @@ |
2021 | gio-2.0 |
2022 | glib-2.0 |
2023 | gobject-2.0 |
2024 | - gtk+-3.0 >= 3.9.4 |
2025 | + gtk+-3.0 >= 3.11.4 |
2026 | + gjs-1.0 >= $GJS_MIN_VERSION |
2027 | gweather-3.0 >= 3.9.5" 2>&1` |
2028 | fi |
2029 | # Put the nasty error message in config.log where it belongs |
2030 | @@ -14094,7 +14130,8 @@ |
2031 | gio-2.0 |
2032 | glib-2.0 |
2033 | gobject-2.0 |
2034 | - gtk+-3.0 >= 3.9.4 |
2035 | + gtk+-3.0 >= 3.11.4 |
2036 | + gjs-1.0 >= $GJS_MIN_VERSION |
2037 | gweather-3.0 >= 3.9.5) were not met: |
2038 | |
2039 | $DEPS_PKG_ERRORS |
2040 | @@ -14169,10 +14206,297 @@ |
2041 | |
2042 | |
2043 | |
2044 | +# Check whether --enable-dogtail was given. |
2045 | +if test "${enable_dogtail+set}" = set; then : |
2046 | + enableval=$enable_dogtail; |
2047 | +else |
2048 | + enable_dogtail=yes |
2049 | +fi |
2050 | + |
2051 | + if test "$enable_dogtail" != no; then |
2052 | + ENABLE_DOGTAIL_TRUE= |
2053 | + ENABLE_DOGTAIL_FALSE='#' |
2054 | +else |
2055 | + ENABLE_DOGTAIL_TRUE='#' |
2056 | + ENABLE_DOGTAIL_FALSE= |
2057 | +fi |
2058 | + |
2059 | +# coverage |
2060 | +# Check whether --enable-coverage was given. |
2061 | +if test "${enable_coverage+set}" = set; then : |
2062 | + enableval=$enable_coverage; |
2063 | +else |
2064 | + enable_coverage=no |
2065 | +fi |
2066 | + |
2067 | +if test x$enable_coverage = xyes; then |
2068 | + if test x$GCC != xyes; then |
2069 | + as_fn_error $? "GCC is required for --enable-coverage" "$LINENO" 5 |
2070 | + fi |
2071 | + |
2072 | + if test -n "$ac_tool_prefix"; then |
2073 | + # Extract the first word of "${ac_tool_prefix}lcov", so it can be a program name with args. |
2074 | +set dummy ${ac_tool_prefix}lcov; ac_word=$2 |
2075 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2076 | +$as_echo_n "checking for $ac_word... " >&6; } |
2077 | +if ${ac_cv_path_LCOV+:} false; then : |
2078 | + $as_echo_n "(cached) " >&6 |
2079 | +else |
2080 | + case $LCOV in |
2081 | + [\\/]* | ?:[\\/]*) |
2082 | + ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path. |
2083 | + ;; |
2084 | + *) |
2085 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2086 | +for as_dir in $PATH |
2087 | +do |
2088 | + IFS=$as_save_IFS |
2089 | + test -z "$as_dir" && as_dir=. |
2090 | + for ac_exec_ext in '' $ac_executable_extensions; do |
2091 | + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2092 | + ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext" |
2093 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2094 | + break 2 |
2095 | + fi |
2096 | +done |
2097 | + done |
2098 | +IFS=$as_save_IFS |
2099 | + |
2100 | + ;; |
2101 | +esac |
2102 | +fi |
2103 | +LCOV=$ac_cv_path_LCOV |
2104 | +if test -n "$LCOV"; then |
2105 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 |
2106 | +$as_echo "$LCOV" >&6; } |
2107 | +else |
2108 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2109 | +$as_echo "no" >&6; } |
2110 | +fi |
2111 | + |
2112 | + |
2113 | +fi |
2114 | +if test -z "$ac_cv_path_LCOV"; then |
2115 | + ac_pt_LCOV=$LCOV |
2116 | + # Extract the first word of "lcov", so it can be a program name with args. |
2117 | +set dummy lcov; ac_word=$2 |
2118 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2119 | +$as_echo_n "checking for $ac_word... " >&6; } |
2120 | +if ${ac_cv_path_ac_pt_LCOV+:} false; then : |
2121 | + $as_echo_n "(cached) " >&6 |
2122 | +else |
2123 | + case $ac_pt_LCOV in |
2124 | + [\\/]* | ?:[\\/]*) |
2125 | + ac_cv_path_ac_pt_LCOV="$ac_pt_LCOV" # Let the user override the test with a path. |
2126 | + ;; |
2127 | + *) |
2128 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2129 | +for as_dir in $PATH |
2130 | +do |
2131 | + IFS=$as_save_IFS |
2132 | + test -z "$as_dir" && as_dir=. |
2133 | + for ac_exec_ext in '' $ac_executable_extensions; do |
2134 | + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2135 | + ac_cv_path_ac_pt_LCOV="$as_dir/$ac_word$ac_exec_ext" |
2136 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2137 | + break 2 |
2138 | + fi |
2139 | +done |
2140 | + done |
2141 | +IFS=$as_save_IFS |
2142 | + |
2143 | + ;; |
2144 | +esac |
2145 | +fi |
2146 | +ac_pt_LCOV=$ac_cv_path_ac_pt_LCOV |
2147 | +if test -n "$ac_pt_LCOV"; then |
2148 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LCOV" >&5 |
2149 | +$as_echo "$ac_pt_LCOV" >&6; } |
2150 | +else |
2151 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2152 | +$as_echo "no" >&6; } |
2153 | +fi |
2154 | + |
2155 | + if test "x$ac_pt_LCOV" = x; then |
2156 | + LCOV="" |
2157 | + else |
2158 | + case $cross_compiling:$ac_tool_warned in |
2159 | +yes:) |
2160 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2161 | +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2162 | +ac_tool_warned=yes ;; |
2163 | +esac |
2164 | + LCOV=$ac_pt_LCOV |
2165 | + fi |
2166 | +else |
2167 | + LCOV="$ac_cv_path_LCOV" |
2168 | +fi |
2169 | + |
2170 | + if test -n "$ac_tool_prefix"; then |
2171 | + # Extract the first word of "${ac_tool_prefix}genhtml", so it can be a program name with args. |
2172 | +set dummy ${ac_tool_prefix}genhtml; ac_word=$2 |
2173 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2174 | +$as_echo_n "checking for $ac_word... " >&6; } |
2175 | +if ${ac_cv_path_GENHTML+:} false; then : |
2176 | + $as_echo_n "(cached) " >&6 |
2177 | +else |
2178 | + case $GENHTML in |
2179 | + [\\/]* | ?:[\\/]*) |
2180 | + ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path. |
2181 | + ;; |
2182 | + *) |
2183 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2184 | +for as_dir in $PATH |
2185 | +do |
2186 | + IFS=$as_save_IFS |
2187 | + test -z "$as_dir" && as_dir=. |
2188 | + for ac_exec_ext in '' $ac_executable_extensions; do |
2189 | + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2190 | + ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext" |
2191 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2192 | + break 2 |
2193 | + fi |
2194 | +done |
2195 | + done |
2196 | +IFS=$as_save_IFS |
2197 | + |
2198 | + ;; |
2199 | +esac |
2200 | +fi |
2201 | +GENHTML=$ac_cv_path_GENHTML |
2202 | +if test -n "$GENHTML"; then |
2203 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 |
2204 | +$as_echo "$GENHTML" >&6; } |
2205 | +else |
2206 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2207 | +$as_echo "no" >&6; } |
2208 | +fi |
2209 | + |
2210 | + |
2211 | +fi |
2212 | +if test -z "$ac_cv_path_GENHTML"; then |
2213 | + ac_pt_GENHTML=$GENHTML |
2214 | + # Extract the first word of "genhtml", so it can be a program name with args. |
2215 | +set dummy genhtml; ac_word=$2 |
2216 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2217 | +$as_echo_n "checking for $ac_word... " >&6; } |
2218 | +if ${ac_cv_path_ac_pt_GENHTML+:} false; then : |
2219 | + $as_echo_n "(cached) " >&6 |
2220 | +else |
2221 | + case $ac_pt_GENHTML in |
2222 | + [\\/]* | ?:[\\/]*) |
2223 | + ac_cv_path_ac_pt_GENHTML="$ac_pt_GENHTML" # Let the user override the test with a path. |
2224 | + ;; |
2225 | + *) |
2226 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2227 | +for as_dir in $PATH |
2228 | +do |
2229 | + IFS=$as_save_IFS |
2230 | + test -z "$as_dir" && as_dir=. |
2231 | + for ac_exec_ext in '' $ac_executable_extensions; do |
2232 | + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2233 | + ac_cv_path_ac_pt_GENHTML="$as_dir/$ac_word$ac_exec_ext" |
2234 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2235 | + break 2 |
2236 | + fi |
2237 | +done |
2238 | + done |
2239 | +IFS=$as_save_IFS |
2240 | + |
2241 | + ;; |
2242 | +esac |
2243 | +fi |
2244 | +ac_pt_GENHTML=$ac_cv_path_ac_pt_GENHTML |
2245 | +if test -n "$ac_pt_GENHTML"; then |
2246 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_GENHTML" >&5 |
2247 | +$as_echo "$ac_pt_GENHTML" >&6; } |
2248 | +else |
2249 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2250 | +$as_echo "no" >&6; } |
2251 | +fi |
2252 | + |
2253 | + if test "x$ac_pt_GENHTML" = x; then |
2254 | + GENHTML="" |
2255 | + else |
2256 | + case $cross_compiling:$ac_tool_warned in |
2257 | +yes:) |
2258 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2259 | +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2260 | +ac_tool_warned=yes ;; |
2261 | +esac |
2262 | + GENHTML=$ac_pt_GENHTML |
2263 | + fi |
2264 | +else |
2265 | + GENHTML="$ac_cv_path_GENHTML" |
2266 | +fi |
2267 | + |
2268 | + |
2269 | + if test x$LCOV = x || test x$GENHTML = x; then |
2270 | + as_fn_error $? "lcov and genhtml are required for --enable-coverage" "$LINENO" 5 |
2271 | + fi |
2272 | + |
2273 | + # only enable these if we ever want code coverage for libgd |
2274 | + # (which we don't) |
2275 | + #CFLAGS="$CFLAGS -g -O0 --coverage" |
2276 | + #CXXFLAGS="$CXXFLAGS -g -O0 --coverage" |
2277 | + #LIBS="$LIBS -lgcov" |
2278 | +fi |
2279 | + if test x$enable_coverage = xyes; then |
2280 | + ENABLE_COVERAGE_TRUE= |
2281 | + ENABLE_COVERAGE_FALSE='#' |
2282 | +else |
2283 | + ENABLE_COVERAGE_TRUE='#' |
2284 | + ENABLE_COVERAGE_FALSE= |
2285 | +fi |
2286 | + |
2287 | + |
2288 | + |
2289 | + # Check whether --enable-installed-tests was given. |
2290 | +if test "${enable_installed_tests+set}" = set; then : |
2291 | + enableval=$enable_installed_tests; case ${enableval} in |
2292 | + yes) ENABLE_INSTALLED_TESTS="1" ;; |
2293 | + no) ENABLE_INSTALLED_TESTS="" ;; |
2294 | + *) as_fn_error $? "bad value ${enableval} for --enable-installed-tests" "$LINENO" 5 ;; |
2295 | + esac |
2296 | +fi |
2297 | + |
2298 | + if test "$ENABLE_INSTALLED_TESTS" = "1"; then |
2299 | + ENABLE_INSTALLED_TESTS_TRUE= |
2300 | + ENABLE_INSTALLED_TESTS_FALSE='#' |
2301 | +else |
2302 | + ENABLE_INSTALLED_TESTS_TRUE='#' |
2303 | + ENABLE_INSTALLED_TESTS_FALSE= |
2304 | +fi |
2305 | + |
2306 | + # Check whether --enable-always-build-tests was given. |
2307 | +if test "${enable_always_build_tests+set}" = set; then : |
2308 | + enableval=$enable_always_build_tests; case ${enableval} in |
2309 | + yes) ENABLE_ALWAYS_BUILD_TESTS="1" ;; |
2310 | + no) ENABLE_ALWAYS_BUILD_TESTS="" ;; |
2311 | + *) as_fn_error $? "bad value ${enableval} for --enable-always-build-tests" "$LINENO" 5 ;; |
2312 | + esac |
2313 | +fi |
2314 | + |
2315 | + if test "$ENABLE_ALWAYS_BUILD_TESTS" = "1"; then |
2316 | + ENABLE_ALWAYS_BUILD_TESTS_TRUE= |
2317 | + ENABLE_ALWAYS_BUILD_TESTS_FALSE='#' |
2318 | +else |
2319 | + ENABLE_ALWAYS_BUILD_TESTS_TRUE='#' |
2320 | + ENABLE_ALWAYS_BUILD_TESTS_FALSE= |
2321 | +fi |
2322 | + |
2323 | + if test "$ENABLE_INSTALLED_TESTS" = "1"; then |
2324 | + installed_test_metadir=${datadir}/installed-tests/org.gnome.Weather.Application |
2325 | + |
2326 | + installed_testdir=${libexecdir}/installed-tests/org.gnome.Weather.Application |
2327 | + |
2328 | + fi |
2329 | + |
2330 | + |
2331 | GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0` |
2332 | |
2333 | |
2334 | -ac_config_files="$ac_config_files Makefile data/Makefile data/icons/Makefile libgd/Makefile src/Makefile po/Makefile.in" |
2335 | +ac_config_files="$ac_config_files Makefile data/Makefile data/icons/Makefile libgd/Makefile src/Makefile tests/Makefile po/Makefile.in" |
2336 | |
2337 | cat >confcache <<\_ACEOF |
2338 | # This file is a shell script that caches the results of configure |
2339 | @@ -14387,6 +14711,22 @@ |
2340 | as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. |
2341 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2342 | fi |
2343 | +if test -z "${ENABLE_DOGTAIL_TRUE}" && test -z "${ENABLE_DOGTAIL_FALSE}"; then |
2344 | + as_fn_error $? "conditional \"ENABLE_DOGTAIL\" was never defined. |
2345 | +Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2346 | +fi |
2347 | +if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then |
2348 | + as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined. |
2349 | +Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2350 | +fi |
2351 | +if test -z "${ENABLE_INSTALLED_TESTS_TRUE}" && test -z "${ENABLE_INSTALLED_TESTS_FALSE}"; then |
2352 | + as_fn_error $? "conditional \"ENABLE_INSTALLED_TESTS\" was never defined. |
2353 | +Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2354 | +fi |
2355 | +if test -z "${ENABLE_ALWAYS_BUILD_TESTS_TRUE}" && test -z "${ENABLE_ALWAYS_BUILD_TESTS_FALSE}"; then |
2356 | + as_fn_error $? "conditional \"ENABLE_ALWAYS_BUILD_TESTS\" was never defined. |
2357 | +Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2358 | +fi |
2359 | |
2360 | : "${CONFIG_STATUS=./config.status}" |
2361 | ac_write_fail=0 |
2362 | @@ -14784,7 +15124,7 @@ |
2363 | # report actual input values of CONFIG_FILES etc. instead of their |
2364 | # values after options handling. |
2365 | ac_log=" |
2366 | -This file was extended by org.gnome.Weather.Application $as_me 3.10.1, which was |
2367 | +This file was extended by org.gnome.Weather.Application $as_me 3.12.1, which was |
2368 | generated by GNU Autoconf 2.69. Invocation command line was |
2369 | |
2370 | CONFIG_FILES = $CONFIG_FILES |
2371 | @@ -14845,13 +15185,13 @@ |
2372 | $config_commands |
2373 | |
2374 | Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-weather>. |
2375 | -org.gnome.Weather.Application home page: <https://live.gnome.org/Design/Apps/Weather>." |
2376 | +org.gnome.Weather.Application home page: <https://wiki.gnome.org/Apps/Weather>." |
2377 | |
2378 | _ACEOF |
2379 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2380 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
2381 | ac_cs_version="\\ |
2382 | -org.gnome.Weather.Application config.status 3.10.1 |
2383 | +org.gnome.Weather.Application config.status 3.12.1 |
2384 | configured by $0, generated by GNU Autoconf 2.69, |
2385 | with options \\"\$ac_cs_config\\" |
2386 | |
2387 | @@ -15265,6 +15605,7 @@ |
2388 | "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; |
2389 | "libgd/Makefile") CONFIG_FILES="$CONFIG_FILES libgd/Makefile" ;; |
2390 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
2391 | + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
2392 | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
2393 | "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; |
2394 | |
2395 | |
2396 | === modified file 'configure.ac' |
2397 | --- configure.ac 2014-02-04 06:31:27 +0000 |
2398 | +++ configure.ac 2014-06-14 06:35:06 +0000 |
2399 | @@ -1,13 +1,13 @@ |
2400 | AC_PREREQ(2.63) |
2401 | -AC_INIT([org.gnome.Weather.Application],[3.10.1], |
2402 | +AC_INIT([org.gnome.Weather.Application],[3.12.1], |
2403 | [https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-weather], |
2404 | [gnome-weather], |
2405 | - [https://live.gnome.org/Design/Apps/Weather]) |
2406 | + [https://wiki.gnome.org/Apps/Weather]) |
2407 | |
2408 | AC_CONFIG_HEADERS([config.h]) |
2409 | AC_CONFIG_MACRO_DIR([m4]) |
2410 | |
2411 | -AM_INIT_AUTOMAKE([1.11 dist-xz foreign tar-ustar no-define -Wno-portability]) |
2412 | +AM_INIT_AUTOMAKE([1.12 dist-xz no-dist-gzip foreign tar-ustar no-define serial-tests -Wno-portability]) |
2413 | # revert automake using PACKAGE_TARNAME instead of PACKAGE_NAME |
2414 | AC_SUBST([PACKAGE], [$PACKAGE_NAME]) |
2415 | |
2416 | @@ -29,17 +29,50 @@ |
2417 | |
2418 | GLIB_GSETTINGS |
2419 | GOBJECT_INTROSPECTION_REQUIRE([1.35.9]) |
2420 | - |
2421 | +GJS_MIN_VERSION=1.39.91 |
2422 | PKG_CHECK_MODULES([DEPS], [gdk-3.0 |
2423 | gdk-pixbuf-2.0 |
2424 | gio-2.0 |
2425 | glib-2.0 |
2426 | gobject-2.0 |
2427 | - gtk+-3.0 >= 3.9.4 |
2428 | + gtk+-3.0 >= 3.11.4 |
2429 | + gjs-1.0 >= $GJS_MIN_VERSION |
2430 | gweather-3.0 >= 3.9.5]) |
2431 | |
2432 | AC_PATH_PROG([GJS],[gjs]) |
2433 | |
2434 | +AC_ARG_ENABLE(dogtail, |
2435 | + [AS_HELP_STRING([--enable-dogtail], |
2436 | + [test using dogtail [default=yes]])],, |
2437 | + enable_dogtail=yes) |
2438 | +AM_CONDITIONAL(ENABLE_DOGTAIL, test "$enable_dogtail" != no) |
2439 | +# coverage |
2440 | +AC_ARG_ENABLE([coverage], |
2441 | + [AS_HELP_STRING([--enable-coverage], |
2442 | + [enable code coverage])], |
2443 | + , [enable_coverage=no]) |
2444 | +if test x$enable_coverage = xyes; then |
2445 | + if test x$GCC != xyes; then |
2446 | + AC_MSG_ERROR([GCC is required for --enable-coverage]) |
2447 | + fi |
2448 | + |
2449 | + AC_PATH_TOOL([LCOV], [lcov]) |
2450 | + AC_PATH_TOOL([GENHTML], [genhtml]) |
2451 | + |
2452 | + if test x$LCOV = x || test x$GENHTML = x; then |
2453 | + AC_MSG_ERROR([lcov and genhtml are required for --enable-coverage]) |
2454 | + fi |
2455 | + |
2456 | + # only enable these if we ever want code coverage for libgd |
2457 | + # (which we don't) |
2458 | + #CFLAGS="$CFLAGS -g -O0 --coverage" |
2459 | + #CXXFLAGS="$CXXFLAGS -g -O0 --coverage" |
2460 | + #LIBS="$LIBS -lgcov" |
2461 | +fi |
2462 | +AM_CONDITIONAL([ENABLE_COVERAGE], [test x$enable_coverage = xyes]) |
2463 | + |
2464 | +GLIB_TESTS |
2465 | + |
2466 | GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0` |
2467 | AC_SUBST(GLIB_COMPILE_RESOURCES) |
2468 | |
2469 | @@ -49,6 +82,7 @@ |
2470 | data/icons/Makefile |
2471 | libgd/Makefile |
2472 | src/Makefile |
2473 | + tests/Makefile |
2474 | po/Makefile.in |
2475 | ]) |
2476 | AC_OUTPUT |
2477 | |
2478 | === modified file 'data/Makefile.am' |
2479 | --- data/Makefile.am 2014-02-04 06:31:27 +0000 |
2480 | +++ data/Makefile.am 2014-06-14 06:35:06 +0000 |
2481 | @@ -2,12 +2,12 @@ |
2482 | # 5 different directory declarations |
2483 | SUBDIRS = icons |
2484 | |
2485 | -resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/$(PACKAGE_NAME).gresource.xml) |
2486 | -$(PACKAGE_NAME).gresource: $(PACKAGE_NAME).gresource.xml $(resource_files) |
2487 | +resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/$(PACKAGE_NAME).data.gresource.xml) |
2488 | +$(PACKAGE_NAME).data.gresource: $(PACKAGE_NAME).data.gresource.xml $(resource_files) |
2489 | $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $< |
2490 | |
2491 | resourcedir = $(pkgdatadir) |
2492 | -resource_DATA = $(PACKAGE_NAME).gresource |
2493 | +resource_DATA = $(PACKAGE_NAME).data.gresource |
2494 | |
2495 | appsdir = $(datadir)/applications |
2496 | apps_DATA = $(PACKAGE_NAME).desktop |
2497 | @@ -30,12 +30,6 @@ |
2498 | -e "s|[@]pkglibdir@|$(pkglibdir)|g" \ |
2499 | $< > $@ |
2500 | |
2501 | -$(PACKAGE_NAME).desktop.in: $(PACKAGE_NAME).desktop.in.in |
2502 | - $(AM_V_GEN) sed \ |
2503 | - -e "s|[@]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \ |
2504 | - -e "s|[@]pkgdatadir@|$(pkgdatadir)|g" \ |
2505 | - -e "s|[@]pkglibdir@|$(pkglibdir)|g" \ |
2506 | - $< > $@ |
2507 | |
2508 | servicedir = $(datadir)/dbus-1/services |
2509 | service_DATA = $(PACKAGE_NAME).service |
2510 | @@ -45,18 +39,17 @@ |
2511 | |
2512 | EXTRA_DIST = \ |
2513 | CREDITS \ |
2514 | - $(PACKAGE_NAME).desktop.in.in \ |
2515 | + $(PACKAGE_NAME).desktop.in \ |
2516 | $(PACKAGE_NAME).service.in \ |
2517 | - $(PACKAGE_NAME).gresource.xml \ |
2518 | + $(PACKAGE_NAME).data.gresource.xml \ |
2519 | $(gsettings_SCHEMAS) \ |
2520 | $(PACKAGE_NAME).appdata.xml.in \ |
2521 | $(resource_files) \ |
2522 | $(NULL) |
2523 | |
2524 | CLEANFILES = \ |
2525 | - $(PACKAGE_NAME).desktop.in \ |
2526 | $(PACKAGE_NAME).service \ |
2527 | - $(PACKAGE_NAME).gresource \ |
2528 | + $(PACKAGE_NAME).data.gresource \ |
2529 | $(PACKAGE_NAME).appdata.xml \ |
2530 | $(apps_DATA) \ |
2531 | *.valid \ |
2532 | |
2533 | === modified file 'data/Makefile.in' |
2534 | --- data/Makefile.in 2014-02-04 06:31:27 +0000 |
2535 | +++ data/Makefile.in 2014-06-14 06:35:06 +0000 |
2536 | @@ -83,10 +83,10 @@ |
2537 | $(dist_searchprovider_DATA) |
2538 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
2539 | am__aclocal_m4_deps = $(top_srcdir)/libgd/libgd.m4 \ |
2540 | - $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \ |
2541 | - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
2542 | - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ |
2543 | - $(top_srcdir)/configure.ac |
2544 | + $(top_srcdir)/m4/glibtests.m4 $(top_srcdir)/m4/intltool.m4 \ |
2545 | + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
2546 | + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ |
2547 | + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac |
2548 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
2549 | $(ACLOCAL_M4) |
2550 | mkinstalldirs = $(install_sh) -d |
2551 | @@ -235,6 +235,7 @@ |
2552 | EGREP = @EGREP@ |
2553 | EXEEXT = @EXEEXT@ |
2554 | FGREP = @FGREP@ |
2555 | +GENHTML = @GENHTML@ |
2556 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
2557 | GJS = @GJS@ |
2558 | GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@ |
2559 | @@ -263,6 +264,7 @@ |
2560 | INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ |
2561 | INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ |
2562 | INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ |
2563 | +LCOV = @LCOV@ |
2564 | LD = @LD@ |
2565 | LDFLAGS = @LDFLAGS@ |
2566 | LIBGD_CFLAGS = @LIBGD_CFLAGS@ |
2567 | @@ -341,6 +343,8 @@ |
2568 | includedir = @includedir@ |
2569 | infodir = @infodir@ |
2570 | install_sh = @install_sh@ |
2571 | +installed_test_metadir = @installed_test_metadir@ |
2572 | +installed_testdir = @installed_testdir@ |
2573 | intltool__v_merge_options_ = @intltool__v_merge_options_@ |
2574 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ |
2575 | libdir = @libdir@ |
2576 | @@ -366,9 +370,9 @@ |
2577 | # I chose to use recursive automake so I can use nobase_ and avoid |
2578 | # 5 different directory declarations |
2579 | SUBDIRS = icons |
2580 | -resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/$(PACKAGE_NAME).gresource.xml) |
2581 | +resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/$(PACKAGE_NAME).data.gresource.xml) |
2582 | resourcedir = $(pkgdatadir) |
2583 | -resource_DATA = $(PACKAGE_NAME).gresource |
2584 | +resource_DATA = $(PACKAGE_NAME).data.gresource |
2585 | appsdir = $(datadir)/applications |
2586 | apps_DATA = $(PACKAGE_NAME).desktop |
2587 | gsettings_SCHEMAS = $(PACKAGE_NAME).gschema.xml |
2588 | @@ -380,18 +384,17 @@ |
2589 | dist_searchprovider_DATA = org.gnome.Weather.Application.search-provider.ini |
2590 | EXTRA_DIST = \ |
2591 | CREDITS \ |
2592 | - $(PACKAGE_NAME).desktop.in.in \ |
2593 | + $(PACKAGE_NAME).desktop.in \ |
2594 | $(PACKAGE_NAME).service.in \ |
2595 | - $(PACKAGE_NAME).gresource.xml \ |
2596 | + $(PACKAGE_NAME).data.gresource.xml \ |
2597 | $(gsettings_SCHEMAS) \ |
2598 | $(PACKAGE_NAME).appdata.xml.in \ |
2599 | $(resource_files) \ |
2600 | $(NULL) |
2601 | |
2602 | CLEANFILES = \ |
2603 | - $(PACKAGE_NAME).desktop.in \ |
2604 | $(PACKAGE_NAME).service \ |
2605 | - $(PACKAGE_NAME).gresource \ |
2606 | + $(PACKAGE_NAME).data.gresource \ |
2607 | $(PACKAGE_NAME).appdata.xml \ |
2608 | $(apps_DATA) \ |
2609 | *.valid \ |
2610 | @@ -826,7 +829,7 @@ |
2611 | uninstall-dist_searchproviderDATA uninstall-resourceDATA \ |
2612 | uninstall-serviceDATA |
2613 | |
2614 | -$(PACKAGE_NAME).gresource: $(PACKAGE_NAME).gresource.xml $(resource_files) |
2615 | +$(PACKAGE_NAME).data.gresource: $(PACKAGE_NAME).data.gresource.xml $(resource_files) |
2616 | $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $< |
2617 | |
2618 | @INTLTOOL_DESKTOP_RULE@ |
2619 | @@ -842,13 +845,6 @@ |
2620 | -e "s|[@]pkglibdir@|$(pkglibdir)|g" \ |
2621 | $< > $@ |
2622 | |
2623 | -$(PACKAGE_NAME).desktop.in: $(PACKAGE_NAME).desktop.in.in |
2624 | - $(AM_V_GEN) sed \ |
2625 | - -e "s|[@]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \ |
2626 | - -e "s|[@]pkgdatadir@|$(pkgdatadir)|g" \ |
2627 | - -e "s|[@]pkglibdir@|$(pkglibdir)|g" \ |
2628 | - $< > $@ |
2629 | - |
2630 | # For uninstalled use |
2631 | all-local: |
2632 | $(GLIB_COMPILE_SCHEMAS) $(builddir) |
2633 | |
2634 | === modified file 'data/app-menu.ui' |
2635 | --- data/app-menu.ui 2014-02-04 06:31:27 +0000 |
2636 | +++ data/app-menu.ui 2014-06-14 06:35:06 +0000 |
2637 | @@ -23,7 +23,7 @@ |
2638 | <section> |
2639 | <item> |
2640 | <attribute name="action">win.about</attribute> |
2641 | - <attribute name="label" translatable="yes">About Weather</attribute> |
2642 | + <attribute name="label" translatable="yes">About</attribute> |
2643 | </item> |
2644 | <item> |
2645 | <attribute name="action">app.quit</attribute> |
2646 | |
2647 | === modified file 'data/city.ui' |
2648 | --- data/city.ui 2014-02-04 06:31:27 +0000 |
2649 | +++ data/city.ui 2014-06-14 06:35:06 +0000 |
2650 | @@ -29,6 +29,11 @@ |
2651 | <property name="visible">True</property> |
2652 | <property name="can_focus">False</property> |
2653 | <property name="column_spacing">20</property> |
2654 | + <child internal-child="accessible"> |
2655 | + <object class="AtkObject" id="conditions-grid-a11y"> |
2656 | + <property name="accessible-name" translatable="yes">Current conditions</property> |
2657 | + </object> |
2658 | + </child> |
2659 | <child> |
2660 | <object class="GtkImage" id="conditions-image"> |
2661 | <property name="name">conditions-image</property> |
2662 | @@ -110,11 +115,16 @@ |
2663 | <class name="image-button"/> |
2664 | <class name="osd"/> |
2665 | </style> |
2666 | + <child internal-child="accessible"> |
2667 | + <object class="AtkObject" id="reveal-button-a11y"> |
2668 | + <property name="accessible-name" translatable="yes">Detailed forecast</property> |
2669 | + <property name="accessible-role">7</property><!-- check_box --> |
2670 | + </object> |
2671 | + </child> |
2672 | <child> |
2673 | <object class="GtkImage" id="reveal-button-image"> |
2674 | <property name="visible">True</property> |
2675 | <property name="can_focus">False</property> |
2676 | - <property name="icon-name">go-previous-symbolic</property> |
2677 | <property name="icon-size">1</property> |
2678 | </object> |
2679 | </child> |
2680 | |
2681 | === modified file 'data/icons/Makefile.in' |
2682 | --- data/icons/Makefile.in 2014-02-04 06:31:27 +0000 |
2683 | +++ data/icons/Makefile.in 2014-06-14 06:35:06 +0000 |
2684 | @@ -82,10 +82,10 @@ |
2685 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am |
2686 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
2687 | am__aclocal_m4_deps = $(top_srcdir)/libgd/libgd.m4 \ |
2688 | - $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \ |
2689 | - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
2690 | - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ |
2691 | - $(top_srcdir)/configure.ac |
2692 | + $(top_srcdir)/m4/glibtests.m4 $(top_srcdir)/m4/intltool.m4 \ |
2693 | + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
2694 | + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ |
2695 | + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac |
2696 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
2697 | $(ACLOCAL_M4) |
2698 | mkinstalldirs = $(install_sh) -d |
2699 | @@ -171,6 +171,7 @@ |
2700 | EGREP = @EGREP@ |
2701 | EXEEXT = @EXEEXT@ |
2702 | FGREP = @FGREP@ |
2703 | +GENHTML = @GENHTML@ |
2704 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
2705 | GJS = @GJS@ |
2706 | GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@ |
2707 | @@ -199,6 +200,7 @@ |
2708 | INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ |
2709 | INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ |
2710 | INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ |
2711 | +LCOV = @LCOV@ |
2712 | LD = @LD@ |
2713 | LDFLAGS = @LDFLAGS@ |
2714 | LIBGD_CFLAGS = @LIBGD_CFLAGS@ |
2715 | @@ -277,6 +279,8 @@ |
2716 | includedir = @includedir@ |
2717 | infodir = @infodir@ |
2718 | install_sh = @install_sh@ |
2719 | +installed_test_metadir = @installed_test_metadir@ |
2720 | +installed_testdir = @installed_testdir@ |
2721 | intltool__v_merge_options_ = @intltool__v_merge_options_@ |
2722 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ |
2723 | libdir = @libdir@ |
2724 | |
2725 | === modified file 'data/new-location-dialog.ui' |
2726 | --- data/new-location-dialog.ui 2014-02-04 06:31:27 +0000 |
2727 | +++ data/new-location-dialog.ui 2014-06-14 06:35:06 +0000 |
2728 | @@ -8,22 +8,12 @@ |
2729 | <property name="type_hint">dialog</property> |
2730 | <property name="transient-for">parent-window</property> |
2731 | <property name="title" translatable="yes">New Location</property> |
2732 | + <property name="use-header-bar">1</property> |
2733 | <child internal-child="vbox"> |
2734 | <object class="GtkBox" id="dialog-vbox1"> |
2735 | <property name="can_focus">False</property> |
2736 | <property name="orientation">vertical</property> |
2737 | <property name="spacing">2</property> |
2738 | - <child internal-child="action_area"> |
2739 | - <object class="GtkButtonBox" id="dialog-action_area1"> |
2740 | - <property name="can_focus">False</property> |
2741 | - </object> |
2742 | - <packing> |
2743 | - <property name="expand">False</property> |
2744 | - <property name="fill">True</property> |
2745 | - <property name="pack_type">end</property> |
2746 | - <property name="position">0</property> |
2747 | - </packing> |
2748 | - </child> |
2749 | <child> |
2750 | <object class="GtkGrid" id="location-dialog-content"> |
2751 | <property name="visible">True</property> |
2752 | |
2753 | === added file 'data/org.gnome.Weather.Application.data.gresource.xml' |
2754 | --- data/org.gnome.Weather.Application.data.gresource.xml 1970-01-01 00:00:00 +0000 |
2755 | +++ data/org.gnome.Weather.Application.data.gresource.xml 2014-06-14 06:35:06 +0000 |
2756 | @@ -0,0 +1,22 @@ |
2757 | +<?xml version="1.0" encoding="UTF-8"?> |
2758 | +<gresources> |
2759 | + <gresource prefix="/org/gnome/Weather/Application"> |
2760 | + <file preprocess="xml-stripblanks">app-menu.ui</file> |
2761 | + <file preprocess="xml-stripblanks">window.ui</file> |
2762 | + <file preprocess="xml-stripblanks">new-location-dialog.ui</file> |
2763 | + <file preprocess="xml-stripblanks">city.ui</file> |
2764 | + <file>application.css</file> |
2765 | + <file>weather-clear.jpg</file> |
2766 | + <file>weather-clear-night.jpg</file> |
2767 | + <file>weather-few-clouds.jpg</file> |
2768 | + <file>weather-few-clouds-night.jpg</file> |
2769 | + <file>weather-fog.jpg</file> |
2770 | + <file>weather-overcast.jpg</file> |
2771 | + <file>weather-showers.jpg</file> |
2772 | + <file>weather-snow.jpg</file> |
2773 | + <file>weather-storm.jpg</file> |
2774 | + </gresource> |
2775 | + <gresource prefix="/org/gnome/shell"> |
2776 | + <file>ShellSearchProvider2.xml</file> |
2777 | + </gresource> |
2778 | +</gresources> |
2779 | |
2780 | === added file 'data/org.gnome.Weather.Application.desktop.in' |
2781 | --- data/org.gnome.Weather.Application.desktop.in 1970-01-01 00:00:00 +0000 |
2782 | +++ data/org.gnome.Weather.Application.desktop.in 2014-06-14 06:35:06 +0000 |
2783 | @@ -0,0 +1,9 @@ |
2784 | +[Desktop Entry] |
2785 | +Type=Application |
2786 | +_Name=Weather |
2787 | +_Comment=Show weather conditions and forecast |
2788 | +Icon=org.gnome.Weather.Application |
2789 | +Exec=gapplication launch org.gnome.Weather.Application |
2790 | +DBusActivatable=true |
2791 | +StartupNotify=true |
2792 | +Categories=GNOME;GTK;Utility;Core; |
2793 | |
2794 | === removed file 'data/org.gnome.Weather.Application.desktop.in.in' |
2795 | --- data/org.gnome.Weather.Application.desktop.in.in 2014-02-04 06:31:27 +0000 |
2796 | +++ data/org.gnome.Weather.Application.desktop.in.in 1970-01-01 00:00:00 +0000 |
2797 | @@ -1,8 +0,0 @@ |
2798 | -[Desktop Entry] |
2799 | -Type=Application |
2800 | -_Name=Weather |
2801 | -_Comment=Show weather conditions and forecast |
2802 | -Icon=@PACKAGE_NAME@ |
2803 | -Exec=@pkgdatadir@/@PACKAGE_NAME@ |
2804 | -DBusActivatable=true |
2805 | -StartupNotify=true |
2806 | |
2807 | === removed file 'data/org.gnome.Weather.Application.gresource.xml' |
2808 | --- data/org.gnome.Weather.Application.gresource.xml 2014-02-04 06:31:27 +0000 |
2809 | +++ data/org.gnome.Weather.Application.gresource.xml 1970-01-01 00:00:00 +0000 |
2810 | @@ -1,22 +0,0 @@ |
2811 | -<?xml version="1.0" encoding="UTF-8"?> |
2812 | -<gresources> |
2813 | - <gresource prefix="/org/gnome/weather"> |
2814 | - <file preprocess="xml-stripblanks">app-menu.ui</file> |
2815 | - <file preprocess="xml-stripblanks">window.ui</file> |
2816 | - <file preprocess="xml-stripblanks">new-location-dialog.ui</file> |
2817 | - <file preprocess="xml-stripblanks">city.ui</file> |
2818 | - <file>application.css</file> |
2819 | - <file>weather-clear.jpg</file> |
2820 | - <file>weather-clear-night.jpg</file> |
2821 | - <file>weather-few-clouds.jpg</file> |
2822 | - <file>weather-few-clouds-night.jpg</file> |
2823 | - <file>weather-fog.jpg</file> |
2824 | - <file>weather-overcast.jpg</file> |
2825 | - <file>weather-showers.jpg</file> |
2826 | - <file>weather-snow.jpg</file> |
2827 | - <file>weather-storm.jpg</file> |
2828 | - </gresource> |
2829 | - <gresource prefix="/org/gnome/shell"> |
2830 | - <file>ShellSearchProvider2.xml</file> |
2831 | - </gresource> |
2832 | -</gresources> |
2833 | |
2834 | === modified file 'data/org.gnome.Weather.Application.service.in' |
2835 | --- data/org.gnome.Weather.Application.service.in 2014-02-04 06:31:27 +0000 |
2836 | +++ data/org.gnome.Weather.Application.service.in 2014-06-14 06:35:06 +0000 |
2837 | @@ -1,3 +1,3 @@ |
2838 | [D-BUS Service] |
2839 | Name=@PACKAGE_NAME@ |
2840 | -Exec=@pkgdatadir@/@PACKAGE_NAME@ |
2841 | \ No newline at end of file |
2842 | +Exec=@pkgdatadir@/@PACKAGE_NAME@ --gapplication-service |
2843 | |
2844 | === modified file 'data/window.ui' |
2845 | --- data/window.ui 2014-02-04 06:31:27 +0000 |
2846 | +++ data/window.ui 2014-06-14 06:35:06 +0000 |
2847 | @@ -76,11 +76,23 @@ |
2848 | <object class="GtkButton" id="world-button"> |
2849 | <property name="visible">True</property> |
2850 | <property name="can_focus">True</property> |
2851 | - <property name="label" translatable="yes">World Weather</property> |
2852 | + <property name="action-name">win.go-world</property> |
2853 | <property name="valign">center</property> |
2854 | <style> |
2855 | - <class name="text-button"/> |
2856 | + <class name="image-button"/> |
2857 | </style> |
2858 | + <child internal-child="accessible"> |
2859 | + <object class="AtkObject" id="world-button-a11y"> |
2860 | + <property name="accessible-name" translatable="yes">Back</property> |
2861 | + </object> |
2862 | + </child> |
2863 | + <child> |
2864 | + <object class="GtkImage" id="world-button-image"> |
2865 | + <property name="visible">True</property> |
2866 | + <property name="can_focus">False</property> |
2867 | + <property name="icon-size">1</property> |
2868 | + </object> |
2869 | + </child> |
2870 | </object> |
2871 | <packing> |
2872 | <property name="pack_type">start</property> |
2873 | @@ -96,6 +108,11 @@ |
2874 | <style> |
2875 | <class name="image-button"/> |
2876 | </style> |
2877 | + <child internal-child="accessible"> |
2878 | + <object class="AtkObject" id="select-button-a11y"> |
2879 | + <property name="accessible-name" translatable="yes">Select</property> |
2880 | + </object> |
2881 | + </child> |
2882 | <child> |
2883 | <object class="GtkImage" id="select-button-image"> |
2884 | <property name="visible">True</property> |
2885 | @@ -133,8 +150,13 @@ |
2886 | <property name="action-name">win.refresh</property> |
2887 | <property name="valign">center</property> |
2888 | <style> |
2889 | - <class name="image-button"/> |
2890 | + <class name="image-button"/> |
2891 | </style> |
2892 | + <child internal-child="accessible"> |
2893 | + <object class="AtkObject" id="refresh-button-a11y"> |
2894 | + <property name="accessible-name" translatable="yes">Refresh</property> |
2895 | + </object> |
2896 | + </child> |
2897 | <child> |
2898 | <object class="GtkImage" id="refresh-button-image"> |
2899 | <property name="visible">True</property> |
2900 | @@ -171,30 +193,25 @@ |
2901 | </packing> |
2902 | </child> |
2903 | <child> |
2904 | - <object class="GtkRevealer" id="selection-bar-revealer"> |
2905 | + <object class="GtkActionBar" id="selection-bar"> |
2906 | <property name="visible">True</property> |
2907 | <property name="can_focus">False</property> |
2908 | + <property name="no-show-all">True</property> |
2909 | <child> |
2910 | - <object class="GtkHeaderBar" id="selection-bar"> |
2911 | + <object class="GtkButton" id="delete-button"> |
2912 | <property name="visible">True</property> |
2913 | - <property name="can_focus">False</property> |
2914 | - <child> |
2915 | - <object class="GtkButton" id="delete-button"> |
2916 | - <property name="visible">True</property> |
2917 | - <property name="sensitive">False</property> |
2918 | - <property name="can_focus">True</property> |
2919 | - <property name="label" translatable="yes">Delete</property> |
2920 | - <property name="action-name">win.delete-selected</property> |
2921 | - <property name="valign">center</property> |
2922 | - <style> |
2923 | - <class name="text-button"/> |
2924 | - </style> |
2925 | - </object> |
2926 | - <packing> |
2927 | - <property name="pack_type">end</property> |
2928 | - </packing> |
2929 | - </child> |
2930 | + <property name="sensitive">False</property> |
2931 | + <property name="can_focus">True</property> |
2932 | + <property name="label" translatable="yes">Delete</property> |
2933 | + <property name="action-name">win.delete-selected</property> |
2934 | + <property name="valign">center</property> |
2935 | + <style> |
2936 | + <class name="text-button"/> |
2937 | + </style> |
2938 | </object> |
2939 | + <packing> |
2940 | + <property name="pack_type">end</property> |
2941 | + </packing> |
2942 | </child> |
2943 | </object> |
2944 | <packing> |
2945 | |
2946 | === modified file 'debian/changelog' |
2947 | --- debian/changelog 2014-02-04 06:31:27 +0000 |
2948 | +++ debian/changelog 2014-06-14 06:35:06 +0000 |
2949 | @@ -1,3 +1,11 @@ |
2950 | +gnome-weather (3.12.1-0ubuntu1) utopic; urgency=medium |
2951 | + |
2952 | + * New upstream release. |
2953 | + - Updates translations. LP: #1313416 |
2954 | + * Add extra build-depends needed for tests, but don't enable tests yet |
2955 | + |
2956 | + -- Jackson Doak <noskcaj@ubuntu.com> Sat, 14 Jun 2014 12:48:12 +1000 |
2957 | + |
2958 | gnome-weather (3.10.1-0ubuntu1) trusty; urgency=low |
2959 | |
2960 | [ Jackson Doak ] |
2961 | |
2962 | === modified file 'debian/control' |
2963 | --- debian/control 2014-02-04 06:31:27 +0000 |
2964 | +++ debian/control 2014-06-14 06:35:06 +0000 |
2965 | @@ -8,9 +8,13 @@ |
2966 | intltool (>= 0.26), |
2967 | pkg-config, |
2968 | libgirepository1.0-dev (>= 1.35.9), |
2969 | + libgjs-dev, |
2970 | libgtk-3-dev (>= 3.9.4), |
2971 | libgweather-3-dev (>= 3.9.5), |
2972 | - gjs |
2973 | + gjs, |
2974 | + python-gi-dev, |
2975 | + python-dogtail, |
2976 | + libatk1.0-dev |
2977 | Standards-Version: 3.9.5 |
2978 | Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/packages/experimental/gnome-weather |
2979 | Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/experimental/gnome-weather/ |
2980 | |
2981 | === modified file 'debian/rules' |
2982 | --- debian/rules 2014-02-04 06:31:27 +0000 |
2983 | +++ debian/rules 2014-06-14 06:35:06 +0000 |
2984 | @@ -6,3 +6,5 @@ |
2985 | override_dh_auto_install: |
2986 | dh_auto_install |
2987 | rm -f debian/gnome-weather/usr/lib/*/gnome-weather/*.la |
2988 | + |
2989 | +override_dh_auto_test: |
2990 | \ No newline at end of file |
2991 | |
2992 | === added file 'git.mk' |
2993 | --- git.mk 1970-01-01 00:00:00 +0000 |
2994 | +++ git.mk 2014-06-14 06:35:06 +0000 |
2995 | @@ -0,0 +1,227 @@ |
2996 | +# git.mk |
2997 | +# |
2998 | +# Copyright 2009, Red Hat, Inc. |
2999 | +# Copyright 2010,2011 Behdad Esfahbod |
3000 | +# Written by Behdad Esfahbod |
3001 | +# |
3002 | +# Copying and distribution of this file, with or without modification, |
3003 | +# is permitted in any medium without royalty provided the copyright |
3004 | +# notice and this notice are preserved. |
3005 | +# |
3006 | +# The latest version of this file can be downloaded from: |
3007 | +# https://raw.github.com/behdad/git.mk/master/git.mk |
3008 | +# Bugs, etc, should be reported upstream at: |
3009 | +# https://github.com/behdad/git.mk |
3010 | +# |
3011 | +# To use in your project, import this file in your git repo's toplevel, |
3012 | +# then do "make -f git.mk". This modifies all Makefile.am files in |
3013 | +# your project to -include git.mk. Remember to add that line to new |
3014 | +# Makefile.am files you create in your project, or just rerun the |
3015 | +# "make -f git.mk". |
3016 | +# |
3017 | +# This enables automatic .gitignore generation. If you need to ignore |
3018 | +# more files, add them to the GITIGNOREFILES variable in your Makefile.am. |
3019 | +# But think twice before doing that. If a file has to be in .gitignore, |
3020 | +# chances are very high that it's a generated file and should be in one |
3021 | +# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES. |
3022 | +# |
3023 | +# The only case that you need to manually add a file to GITIGNOREFILES is |
3024 | +# when remove files in one of mostlyclean-local, clean-local, distclean-local, |
3025 | +# or maintainer-clean-local make targets. |
3026 | +# |
3027 | +# Note that for files like editor backup, etc, there are better places to |
3028 | +# ignore them. See "man gitignore". |
3029 | +# |
3030 | +# If "make maintainer-clean" removes the files but they are not recognized |
3031 | +# by this script (that is, if "git status" shows untracked files still), send |
3032 | +# me the output of "git status" as well as your Makefile.am and Makefile for |
3033 | +# the directories involved and I'll diagnose. |
3034 | +# |
3035 | +# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see |
3036 | +# Makefile.am.sample in the git.mk git repo. |
3037 | +# |
3038 | +# Don't EXTRA_DIST this file. It is supposed to only live in git clones, |
3039 | +# not tarballs. It serves no useful purpose in tarballs and clutters the |
3040 | +# build dir. |
3041 | +# |
3042 | +# This file knows how to handle autoconf, automake, libtool, gtk-doc, |
3043 | +# gnome-doc-utils, yelp.m4, mallard, intltool, gsettings, dejagnu. |
3044 | +# |
3045 | +# This makefile provides the following targets: |
3046 | +# |
3047 | +# - all: "make all" will build all gitignore files. |
3048 | +# - gitignore: makes all gitignore files in the current dir and subdirs. |
3049 | +# - .gitignore: make gitignore file for the current dir. |
3050 | +# - gitignore-recurse: makes all gitignore files in the subdirs. |
3051 | +# |
3052 | +# KNOWN ISSUES: |
3053 | +# |
3054 | +# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the |
3055 | +# submodule doesn't find us. If you have configure.{in,ac} files in |
3056 | +# subdirs, add a proxy git.mk file in those dirs that simply does: |
3057 | +# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste. |
3058 | +# And add those files to git. See vte/gnome-pty-helper/git.mk for |
3059 | +# example. |
3060 | +# |
3061 | + |
3062 | +git-all: git-mk-install |
3063 | + |
3064 | +git-mk-install: |
3065 | + @echo Installing git makefile |
3066 | + @any_failed=; \ |
3067 | + find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \ |
3068 | + if grep 'include .*/git.mk' $$x >/dev/null; then \ |
3069 | + echo $$x already includes git.mk; \ |
3070 | + else \ |
3071 | + failed=; \ |
3072 | + echo "Updating $$x"; \ |
3073 | + { cat $$x; \ |
3074 | + echo ''; \ |
3075 | + echo '-include $$(top_srcdir)/git.mk'; \ |
3076 | + } > $$x.tmp || failed=1; \ |
3077 | + if test x$$failed = x; then \ |
3078 | + mv $$x.tmp $$x || failed=1; \ |
3079 | + fi; \ |
3080 | + if test x$$failed = x; then : else \ |
3081 | + echo Failed updating $$x; >&2 \ |
3082 | + any_failed=1; \ |
3083 | + fi; \ |
3084 | + fi; done; test -z "$$any_failed" |
3085 | + |
3086 | +.PHONY: git-all git-mk-install |
3087 | + |
3088 | + |
3089 | +### .gitignore generation |
3090 | + |
3091 | +$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk |
3092 | + $(AM_V_GEN) \ |
3093 | + { \ |
3094 | + if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \ |
3095 | + for x in \ |
3096 | + $(DOC_MODULE)-decl-list.txt \ |
3097 | + $(DOC_MODULE)-decl.txt \ |
3098 | + tmpl/$(DOC_MODULE)-unused.sgml \ |
3099 | + "tmpl/*.bak" \ |
3100 | + xml html \ |
3101 | + ; do echo /$$x; done; \ |
3102 | + fi; \ |
3103 | + if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \ |
3104 | + for lc in $(DOC_LINGUAS); do \ |
3105 | + for x in \ |
3106 | + $(if $(DOC_MODULE),$(DOC_MODULE).xml) \ |
3107 | + $(DOC_PAGES) \ |
3108 | + $(DOC_INCLUDES) \ |
3109 | + ; do echo /$$lc/$$x; done; \ |
3110 | + done; \ |
3111 | + for x in \ |
3112 | + $(_DOC_OMF_ALL) \ |
3113 | + $(_DOC_DSK_ALL) \ |
3114 | + $(_DOC_HTML_ALL) \ |
3115 | + $(_DOC_MOFILES) \ |
3116 | + $(DOC_H_FILE) \ |
3117 | + "*/.xml2po.mo" \ |
3118 | + "*/*.omf.out" \ |
3119 | + ; do echo /$$x; done; \ |
3120 | + fi; \ |
3121 | + if test "x$(HELP_ID)" = x -o "x$(HELP_LINGUAS)" = x; then :; else \ |
3122 | + for lc in $(HELP_LINGUAS); do \ |
3123 | + for x in \ |
3124 | + $(HELP_FILES) \ |
3125 | + "$$lc.stamp" \ |
3126 | + "$$lc.mo" \ |
3127 | + ; do echo /$$lc/$$x; done; \ |
3128 | + done; \ |
3129 | + fi; \ |
3130 | + if test "x$(gsettings_SCHEMAS)" = x; then :; else \ |
3131 | + for x in \ |
3132 | + $(gsettings_SCHEMAS:.xml=.valid) \ |
3133 | + $(gsettings__enum_file) \ |
3134 | + ; do echo /$$x; done; \ |
3135 | + fi; \ |
3136 | + if test -f $(srcdir)/po/Makefile.in.in; then \ |
3137 | + for x in \ |
3138 | + po/Makefile.in.in \ |
3139 | + po/Makefile.in \ |
3140 | + po/Makefile \ |
3141 | + po/POTFILES \ |
3142 | + po/stamp-it \ |
3143 | + po/.intltool-merge-cache \ |
3144 | + "po/*.gmo" \ |
3145 | + "po/*.mo" \ |
3146 | + po/$(GETTEXT_PACKAGE).pot \ |
3147 | + intltool-extract.in \ |
3148 | + intltool-merge.in \ |
3149 | + intltool-update.in \ |
3150 | + ; do echo /$$x; done; \ |
3151 | + fi; \ |
3152 | + if test -f $(srcdir)/configure; then \ |
3153 | + for x in \ |
3154 | + autom4te.cache \ |
3155 | + configure \ |
3156 | + config.h \ |
3157 | + stamp-h1 \ |
3158 | + libtool \ |
3159 | + config.lt \ |
3160 | + ; do echo /$$x; done; \ |
3161 | + fi; \ |
3162 | + if test "x$(DEJATOOL)" = x; then :; else \ |
3163 | + for x in \ |
3164 | + $(DEJATOOL) \ |
3165 | + ; do echo /$$x.sum; echo /$$x.log; done; \ |
3166 | + echo /site.exp; \ |
3167 | + fi; \ |
3168 | + for x in \ |
3169 | + .gitignore \ |
3170 | + $(GITIGNOREFILES) \ |
3171 | + $(CLEANFILES) \ |
3172 | + $(PROGRAMS) $(check_PROGRAMS) $(EXTRA_PROGRAMS) \ |
3173 | + $(LIBRARIES) $(check_LIBRARIES) $(EXTRA_LIBRARIES) \ |
3174 | + $(LTLIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LTLIBRARIES) \ |
3175 | + so_locations \ |
3176 | + .libs _libs \ |
3177 | + $(MOSTLYCLEANFILES) \ |
3178 | + "*.$(OBJEXT)" \ |
3179 | + "*.lo" \ |
3180 | + $(DISTCLEANFILES) \ |
3181 | + $(am__CONFIG_DISTCLEAN_FILES) \ |
3182 | + $(CONFIG_CLEAN_FILES) \ |
3183 | + TAGS ID GTAGS GRTAGS GSYMS GPATH tags \ |
3184 | + "*.tab.c" \ |
3185 | + $(MAINTAINERCLEANFILES) \ |
3186 | + $(BUILT_SOURCES) \ |
3187 | + $(DEPDIR) \ |
3188 | + Makefile \ |
3189 | + Makefile.in \ |
3190 | + "*.orig" \ |
3191 | + "*.rej" \ |
3192 | + "*.bak" \ |
3193 | + "*~" \ |
3194 | + ".*.sw[nop]" \ |
3195 | + ".dirstamp" \ |
3196 | + ; do echo /$$x; done; \ |
3197 | + } | \ |
3198 | + sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \ |
3199 | + sed 's@/[.]/@/@g' | \ |
3200 | + LC_ALL=C sort | uniq > $@.tmp && \ |
3201 | + mv $@.tmp $@; |
3202 | + |
3203 | +all: $(srcdir)/.gitignore gitignore-recurse-maybe |
3204 | +gitignore: $(srcdir)/.gitignore gitignore-recurse |
3205 | + |
3206 | +gitignore-recurse-maybe: |
3207 | + @for subdir in $(DIST_SUBDIRS); do \ |
3208 | + case " $(SUBDIRS) " in \ |
3209 | + *" $$subdir "*) :;; \ |
3210 | + *) test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse-maybe || echo "Skipping $$subdir");; \ |
3211 | + esac; \ |
3212 | + done |
3213 | +gitignore-recurse: |
3214 | + @for subdir in $(DIST_SUBDIRS); do \ |
3215 | + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir"); \ |
3216 | + done |
3217 | + |
3218 | +maintainer-clean: gitignore-clean |
3219 | +gitignore-clean: |
3220 | + -rm -f $(srcdir)/.gitignore |
3221 | + |
3222 | +.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe |
3223 | |
3224 | === added file 'glib-tap.mk' |
3225 | --- glib-tap.mk 1970-01-01 00:00:00 +0000 |
3226 | +++ glib-tap.mk 2014-06-14 06:35:06 +0000 |
3227 | @@ -0,0 +1,134 @@ |
3228 | +# GLIB - Library of useful C routines |
3229 | + |
3230 | +TESTS_ENVIRONMENT= \ |
3231 | + G_TEST_SRCDIR="$(abs_srcdir)" \ |
3232 | + G_TEST_BUILDDIR="$(abs_builddir)" \ |
3233 | + G_DEBUG=gc-friendly \ |
3234 | + MALLOC_CHECK_=2 \ |
3235 | + MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) |
3236 | +LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh |
3237 | +LOG_COMPILER = $(top_srcdir)/tap-test |
3238 | + |
3239 | +NULL = |
3240 | + |
3241 | +# initialize variables for unconditional += appending |
3242 | +BUILT_SOURCES = |
3243 | +BUILT_EXTRA_DIST = |
3244 | +CLEANFILES = *.log *.trs |
3245 | +DISTCLEANFILES = |
3246 | +MAINTAINERCLEANFILES = |
3247 | +EXTRA_DIST = |
3248 | +TESTS = |
3249 | + |
3250 | +installed_test_LTLIBRARIES = |
3251 | +installed_test_PROGRAMS = |
3252 | +installed_test_SCRIPTS = |
3253 | +nobase_installed_test_DATA = |
3254 | + |
3255 | +noinst_LTLIBRARIES = |
3256 | +noinst_PROGRAMS = |
3257 | +noinst_SCRIPTS = |
3258 | +noinst_DATA = |
3259 | + |
3260 | +check_LTLIBRARIES = |
3261 | +check_PROGRAMS = |
3262 | +check_SCRIPTS = |
3263 | +check_DATA = |
3264 | + |
3265 | +# We support a fairly large range of possible variables. It is expected that all types of files in a test suite |
3266 | +# will belong in exactly one of the following variables. |
3267 | +# |
3268 | +# First, we support the usual automake suffixes, but in lowercase, with the customary meaning: |
3269 | +# |
3270 | +# test_programs, test_scripts, test_data, test_ltlibraries |
3271 | +# |
3272 | +# The above are used to list files that are involved in both uninstalled and installed testing. The |
3273 | +# test_programs and test_scripts are taken to be actual testcases and will be run as part of the test suite. |
3274 | +# Note that _data is always used with the nobase_ automake variable name to ensure that installed test data is |
3275 | +# installed in the same way as it appears in the package layout. |
3276 | +# |
3277 | +# In order to mark a particular file as being only for one type of testing, use 'installed' or 'uninstalled', |
3278 | +# like so: |
3279 | +# |
3280 | +# installed_test_programs, uninstalled_test_programs |
3281 | +# installed_test_scripts, uninstalled_test_scripts |
3282 | +# installed_test_data, uninstalled_test_data |
3283 | +# installed_test_ltlibraries, uninstalled_test_ltlibraries |
3284 | +# |
3285 | +# Additionally, we support 'extra' infixes for programs and scripts. This is used for support programs/scripts |
3286 | +# that should not themselves be run as testcases (but exist to be used from other testcases): |
3287 | +# |
3288 | +# test_extra_programs, installed_test_extra_programs, uninstalled_test_extra_programs |
3289 | +# test_extra_scripts, installed_test_extra_scripts, uninstalled_test_extra_scripts |
3290 | +# |
3291 | +# Additionally, for _scripts and _data, we support the customary dist_ prefix so that the named script or data |
3292 | +# file automatically end up in the tarball. |
3293 | +# |
3294 | +# dist_test_scripts, dist_test_data, dist_test_extra_scripts |
3295 | +# dist_installed_test_scripts, dist_installed_test_data, dist_installed_test_extra_scripts |
3296 | +# dist_uninstalled_test_scripts, dist_uninstalled_test_data, dist_uninstalled_test_extra_scripts |
3297 | +# |
3298 | +# Note that no file is automatically disted unless it appears in one of the dist_ variables. This follows the |
3299 | +# standard automake convention of not disting programs scripts or data by default. |
3300 | +# |
3301 | +# test_programs, test_scripts, uninstalled_test_programs and uninstalled_test_scripts (as well as their disted |
3302 | +# variants) will be run as part of the in-tree 'make check'. These are all assumed to be runnable under |
3303 | +# gtester. That's a bit strange for scripts, but it's possible. |
3304 | + |
3305 | +TESTS += $(test_programs) $(test_scripts) $(uninstalled_test_programs) $(uninstalled_test_scripts) \ |
3306 | + $(dist_test_scripts) $(dist_uninstalled_test_scripts) |
3307 | + |
3308 | +# Note: build even the installed-only targets during 'make check' to ensure that they still work. |
3309 | +# We need to do a bit of trickery here and manage disting via EXTRA_DIST instead of using dist_ prefixes to |
3310 | +# prevent automake from mistreating gmake functions like $(wildcard ...) and $(addprefix ...) as if they were |
3311 | +# filenames, including removing duplicate instances of the opening part before the space, eg. '$(addprefix'. |
3312 | +all_test_programs = $(test_programs) $(uninstalled_test_programs) $(installed_test_programs) \ |
3313 | + $(test_extra_programs) $(uninstalled_test_extra_programs) $(installed_test_extra_programs) |
3314 | +all_test_scripts = $(test_scripts) $(uninstalled_test_scripts) $(installed_test_scripts) \ |
3315 | + $(test_extra_scripts) $(uninstalled_test_extra_scripts) $(installed_test_extra_scripts) |
3316 | +all_dist_test_scripts = $(dist_test_scripts) $(dist_uninstalled_test_scripts) $(dist_installed_test_scripts) \ |
3317 | + $(dist_test_extra_scripts) $(dist_uninstalled_test_extra_scripts) $(dist_installed_test_extra_scripts) |
3318 | +all_test_scripts += $(all_dist_test_scripts) |
3319 | +EXTRA_DIST += $(all_dist_test_scripts) |
3320 | +all_test_data = $(test_data) $(uninstalled_test_data) $(installed_test_data) |
3321 | +all_dist_test_data = $(dist_test_data) $(dist_uninstalled_test_data) $(dist_installed_test_data) |
3322 | +all_test_data += $(all_dist_test_data) |
3323 | +EXTRA_DIST += $(all_dist_test_data) |
3324 | +all_test_ltlibs = $(test_ltlibraries) $(uninstalled_test_ltlibraries) $(installed_test_ltlibraries) |
3325 | + |
3326 | +if ENABLE_ALWAYS_BUILD_TESTS |
3327 | +noinst_LTLIBRARIES += $(all_test_ltlibs) |
3328 | +noinst_PROGRAMS += $(all_test_programs) |
3329 | +noinst_SCRIPTS += $(all_test_scripts) |
3330 | +noinst_DATA += $(all_test_data) |
3331 | +else |
3332 | +check_LTLIBRARIES += $(all_test_ltlibs) |
3333 | +check_PROGRAMS += $(all_test_programs) |
3334 | +check_SCRIPTS += $(all_test_scripts) |
3335 | +check_DATA += $(all_test_data) |
3336 | +endif |
3337 | + |
3338 | +if ENABLE_INSTALLED_TESTS |
3339 | +installed_test_PROGRAMS += $(test_programs) $(installed_test_programs) \ |
3340 | + $(test_extra_programs) $(installed_test_extra_programs) |
3341 | +installed_test_SCRIPTS += $(test_scripts) $(installed_test_scripts) \ |
3342 | + $(test_extra_scripts) $(test_installed_extra_scripts) |
3343 | +installed_test_SCRIPTS += $(dist_test_scripts) $(dist_test_extra_scripts) \ |
3344 | + $(dist_installed_test_scripts) $(dist_installed_test_extra_scripts) |
3345 | +nobase_installed_test_DATA += $(test_data) $(installed_test_data) |
3346 | +nobase_installed_test_DATA += $(dist_test_data) $(dist_installed_test_data) |
3347 | +installed_test_LTLIBRARIES += $(test_ltlibraries) $(installed_test_ltlibraries) |
3348 | +installed_testcases = $(test_programs) $(installed_test_programs) \ |
3349 | + $(test_scripts) $(installed_test_scripts) \ |
3350 | + $(dist_test_scripts) $(dist_installed_test_scripts) |
3351 | + |
3352 | +installed_test_meta_DATA = $(installed_testcases:=.test) |
3353 | + |
3354 | +%.test: %$(EXEEXT) Makefile |
3355 | + $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ |
3356 | + echo 'Type=session-exclusive' >> $@.tmp; \ |
3357 | + echo 'Exec=$(installed_testdir)/$(notdir $<)' >> $@.tmp; \ |
3358 | + mv $@.tmp $@) |
3359 | + |
3360 | +CLEANFILES += $(installed_test_meta_DATA) |
3361 | +endif |
3362 | |
3363 | === modified file 'libgd/Makefile.am' |
3364 | --- libgd/Makefile.am 2014-02-04 06:31:27 +0000 |
3365 | +++ libgd/Makefile.am 2014-06-14 06:35:06 +0000 |
3366 | @@ -199,6 +199,15 @@ |
3367 | |
3368 | nodist_libgd_la_SOURCES += $(tagged_entry_sources) |
3369 | EXTRA_DIST += $(tagged_entry_sources) |
3370 | + |
3371 | +noinst_PROGRAMS += test-tagged-entry |
3372 | +test_tagged_entry_SOURCES = \ |
3373 | + test-tagged-entry.c \ |
3374 | + $(NULL) |
3375 | +test_tagged_entry_LDADD = \ |
3376 | + $(LIBGD_LIBS) \ |
3377 | + libgd.la \ |
3378 | + $(NULL) |
3379 | endif |
3380 | |
3381 | if LIBGD_GIR |
3382 | |
3383 | === modified file 'libgd/Makefile.in' |
3384 | --- libgd/Makefile.in 2014-02-04 06:31:27 +0000 |
3385 | +++ libgd/Makefile.in 2014-06-14 06:35:06 +0000 |
3386 | @@ -80,7 +80,8 @@ |
3387 | POST_UNINSTALL = : |
3388 | build_triplet = @build@ |
3389 | host_triplet = @host@ |
3390 | -noinst_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) |
3391 | +noinst_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ |
3392 | + $(am__EXEEXT_4) |
3393 | @LIBGD_GTK_HACKS_TRUE@am__append_1 = $(gtk_hacks_sources) |
3394 | @LIBGD_GTK_HACKS_TRUE@am__append_2 = $(gtk_hacks_sources) |
3395 | @LIBGD__VIEW_COMMON_TRUE@am__append_3 = $(view_common_sources) |
3396 | @@ -110,22 +111,23 @@ |
3397 | @LIBGD_STACK_TRUE@am__append_27 = test-stack |
3398 | @LIBGD_TAGGED_ENTRY_TRUE@am__append_28 = $(tagged_entry_sources) |
3399 | @LIBGD_TAGGED_ENTRY_TRUE@am__append_29 = $(tagged_entry_sources) |
3400 | -@LIBGD_GIR_TRUE@@LIBGD_STATIC_TRUE@am__append_30 = $(srcdir)/Gd-1.0.gir |
3401 | +@LIBGD_TAGGED_ENTRY_TRUE@am__append_30 = test-tagged-entry |
3402 | @LIBGD_GIR_TRUE@@LIBGD_STATIC_TRUE@am__append_31 = $(srcdir)/Gd-1.0.gir |
3403 | @LIBGD_GIR_TRUE@@LIBGD_STATIC_TRUE@am__append_32 = $(srcdir)/Gd-1.0.gir |
3404 | -@LIBGD_GIR_TRUE@@LIBGD_STATIC_FALSE@am__append_33 = $(gir_DATA) $(typelib_DATA) |
3405 | -@LIBGD_VAPI_TRUE@am__append_34 = $(VAPIS) |
3406 | +@LIBGD_GIR_TRUE@@LIBGD_STATIC_TRUE@am__append_33 = $(srcdir)/Gd-1.0.gir |
3407 | +@LIBGD_GIR_TRUE@@LIBGD_STATIC_FALSE@am__append_34 = $(gir_DATA) $(typelib_DATA) |
3408 | @LIBGD_VAPI_TRUE@am__append_35 = $(VAPIS) |
3409 | @LIBGD_VAPI_TRUE@am__append_36 = $(VAPIS) |
3410 | +@LIBGD_VAPI_TRUE@am__append_37 = $(VAPIS) |
3411 | subdir = libgd |
3412 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
3413 | $(top_srcdir)/depcomp README |
3414 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
3415 | am__aclocal_m4_deps = $(top_srcdir)/libgd/libgd.m4 \ |
3416 | - $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \ |
3417 | - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
3418 | - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ |
3419 | - $(top_srcdir)/configure.ac |
3420 | + $(top_srcdir)/m4/glibtests.m4 $(top_srcdir)/m4/intltool.m4 \ |
3421 | + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
3422 | + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ |
3423 | + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac |
3424 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
3425 | $(ACLOCAL_M4) |
3426 | mkinstalldirs = $(install_sh) -d |
3427 | @@ -226,6 +228,7 @@ |
3428 | @LIBGD_HEADER_BAR_TRUE@am__EXEEXT_1 = test-header-bar$(EXEEXT) |
3429 | @LIBGD_REVEALER_TRUE@am__EXEEXT_2 = test-revealer$(EXEEXT) |
3430 | @LIBGD_STACK_TRUE@am__EXEEXT_3 = test-stack$(EXEEXT) |
3431 | +@LIBGD_TAGGED_ENTRY_TRUE@am__EXEEXT_4 = test-tagged-entry$(EXEEXT) |
3432 | PROGRAMS = $(noinst_PROGRAMS) |
3433 | am__test_header_bar_SOURCES_DIST = test-header-bar.c |
3434 | @LIBGD_HEADER_BAR_TRUE@am_test_header_bar_OBJECTS = \ |
3435 | @@ -248,6 +251,14 @@ |
3436 | test_stack_OBJECTS = $(am_test_stack_OBJECTS) |
3437 | @LIBGD_STACK_TRUE@test_stack_DEPENDENCIES = $(am__DEPENDENCIES_1) \ |
3438 | @LIBGD_STACK_TRUE@ libgd.la $(am__DEPENDENCIES_1) |
3439 | +am__test_tagged_entry_SOURCES_DIST = test-tagged-entry.c |
3440 | +@LIBGD_TAGGED_ENTRY_TRUE@am_test_tagged_entry_OBJECTS = \ |
3441 | +@LIBGD_TAGGED_ENTRY_TRUE@ test-tagged-entry.$(OBJEXT) \ |
3442 | +@LIBGD_TAGGED_ENTRY_TRUE@ $(am__objects_1) |
3443 | +test_tagged_entry_OBJECTS = $(am_test_tagged_entry_OBJECTS) |
3444 | +@LIBGD_TAGGED_ENTRY_TRUE@test_tagged_entry_DEPENDENCIES = \ |
3445 | +@LIBGD_TAGGED_ENTRY_TRUE@ $(am__DEPENDENCIES_1) libgd.la \ |
3446 | +@LIBGD_TAGGED_ENTRY_TRUE@ $(am__DEPENDENCIES_1) |
3447 | AM_V_P = $(am__v_P_@AM_V@) |
3448 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
3449 | am__v_P_0 = false |
3450 | @@ -284,10 +295,11 @@ |
3451 | am__v_CCLD_1 = |
3452 | SOURCES = $(libgd_la_SOURCES) $(nodist_libgd_la_SOURCES) \ |
3453 | $(test_header_bar_SOURCES) $(test_revealer_SOURCES) \ |
3454 | - $(test_stack_SOURCES) |
3455 | + $(test_stack_SOURCES) $(test_tagged_entry_SOURCES) |
3456 | DIST_SOURCES = $(libgd_la_SOURCES) $(am__test_header_bar_SOURCES_DIST) \ |
3457 | $(am__test_revealer_SOURCES_DIST) \ |
3458 | - $(am__test_stack_SOURCES_DIST) |
3459 | + $(am__test_stack_SOURCES_DIST) \ |
3460 | + $(am__test_tagged_entry_SOURCES_DIST) |
3461 | am__can_run_installinfo = \ |
3462 | case $$AM_UPDATE_INFO_DIR in \ |
3463 | n|no|NO) false;; \ |
3464 | @@ -343,6 +355,7 @@ |
3465 | EGREP = @EGREP@ |
3466 | EXEEXT = @EXEEXT@ |
3467 | FGREP = @FGREP@ |
3468 | +GENHTML = @GENHTML@ |
3469 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
3470 | GJS = @GJS@ |
3471 | GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@ |
3472 | @@ -371,6 +384,7 @@ |
3473 | INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ |
3474 | INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ |
3475 | INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ |
3476 | +LCOV = @LCOV@ |
3477 | LD = @LD@ |
3478 | LDFLAGS = @LDFLAGS@ |
3479 | LIBGD_CFLAGS = @LIBGD_CFLAGS@ |
3480 | @@ -449,6 +463,8 @@ |
3481 | includedir = @includedir@ |
3482 | infodir = @infodir@ |
3483 | install_sh = @install_sh@ |
3484 | +installed_test_metadir = @installed_test_metadir@ |
3485 | +installed_testdir = @installed_testdir@ |
3486 | intltool__v_merge_options_ = @intltool__v_merge_options_@ |
3487 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ |
3488 | libdir = @libdir@ |
3489 | @@ -471,15 +487,15 @@ |
3490 | top_builddir = @top_builddir@ |
3491 | top_srcdir = @top_srcdir@ |
3492 | NULL = |
3493 | -CLEANFILES = $(am__append_33) |
3494 | -MAINTAINERCLEANFILES = $(am__append_32) $(am__append_36) |
3495 | +CLEANFILES = $(am__append_34) |
3496 | +MAINTAINERCLEANFILES = $(am__append_33) $(am__append_37) |
3497 | EXTRA_DIST = $(catalog_sources) $(am__append_2) $(am__append_4) \ |
3498 | $(am__append_6) $(am__append_8) $(am__append_10) \ |
3499 | $(am__append_12) $(am__append_14) $(am__append_17) \ |
3500 | $(am__append_19) $(am__append_21) $(am__append_23) \ |
3501 | - $(am__append_26) $(am__append_29) $(am__append_31) \ |
3502 | - $(am__append_35) |
3503 | -noinst_DATA = $(am__append_30) $(am__append_34) |
3504 | + $(am__append_26) $(am__append_29) $(am__append_32) \ |
3505 | + $(am__append_36) |
3506 | +noinst_DATA = $(am__append_31) $(am__append_35) |
3507 | AM_CPPFLAGS = \ |
3508 | -I$(top_srcdir) \ |
3509 | -DPREFIX=\"$(prefix)\" \ |
3510 | @@ -606,6 +622,15 @@ |
3511 | @LIBGD_TAGGED_ENTRY_TRUE@ libgd/gd-tagged-entry.h \ |
3512 | @LIBGD_TAGGED_ENTRY_TRUE@ $(NULL) |
3513 | |
3514 | +@LIBGD_TAGGED_ENTRY_TRUE@test_tagged_entry_SOURCES = \ |
3515 | +@LIBGD_TAGGED_ENTRY_TRUE@ test-tagged-entry.c \ |
3516 | +@LIBGD_TAGGED_ENTRY_TRUE@ $(NULL) |
3517 | + |
3518 | +@LIBGD_TAGGED_ENTRY_TRUE@test_tagged_entry_LDADD = \ |
3519 | +@LIBGD_TAGGED_ENTRY_TRUE@ $(LIBGD_LIBS) \ |
3520 | +@LIBGD_TAGGED_ENTRY_TRUE@ libgd.la \ |
3521 | +@LIBGD_TAGGED_ENTRY_TRUE@ $(NULL) |
3522 | + |
3523 | @LIBGD_GIR_TRUE@INTROSPECTION_GIRS = Gd-1.0.gir |
3524 | @LIBGD_GIR_TRUE@Gd_1_0_gir_NAMESPACE = Gd |
3525 | @LIBGD_GIR_TRUE@Gd_1_0_gir_VERSION = 1.0 |
3526 | @@ -730,6 +755,10 @@ |
3527 | @rm -f test-stack$(EXEEXT) |
3528 | $(AM_V_CCLD)$(LINK) $(test_stack_OBJECTS) $(test_stack_LDADD) $(LIBS) |
3529 | |
3530 | +test-tagged-entry$(EXEEXT): $(test_tagged_entry_OBJECTS) $(test_tagged_entry_DEPENDENCIES) $(EXTRA_test_tagged_entry_DEPENDENCIES) |
3531 | + @rm -f test-tagged-entry$(EXEEXT) |
3532 | + $(AM_V_CCLD)$(LINK) $(test_tagged_entry_OBJECTS) $(test_tagged_entry_LDADD) $(LIBS) |
3533 | + |
3534 | mostlyclean-compile: |
3535 | -rm -f *.$(OBJEXT) |
3536 | |
3537 | @@ -758,6 +787,7 @@ |
3538 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-header-bar.Po@am__quote@ |
3539 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-revealer.Po@am__quote@ |
3540 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stack.Po@am__quote@ |
3541 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-tagged-entry.Po@am__quote@ |
3542 | |
3543 | .c.o: |
3544 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
3545 | |
3546 | === modified file 'libgd/libgd/gd-main-icon-view.c' |
3547 | --- libgd/libgd/gd-main-icon-view.c 2014-02-04 06:31:27 +0000 |
3548 | +++ libgd/libgd/gd-main-icon-view.c 2014-06-14 06:35:06 +0000 |
3549 | @@ -26,6 +26,7 @@ |
3550 | |
3551 | #include <math.h> |
3552 | #include <glib/gi18n.h> |
3553 | +#include <cairo-gobject.h> |
3554 | |
3555 | #define VIEW_ITEM_WIDTH 140 |
3556 | #define VIEW_ITEM_WRAP_WIDTH 128 |
3557 | @@ -34,6 +35,7 @@ |
3558 | |
3559 | struct _GdMainIconViewPrivate { |
3560 | GtkCellRenderer *pixbuf_cell; |
3561 | + GtkCellRenderer *text_cell; |
3562 | gboolean selection_mode; |
3563 | }; |
3564 | |
3565 | @@ -56,6 +58,40 @@ |
3566 | } |
3567 | |
3568 | static void |
3569 | +set_attributes_from_model (GdMainIconView *self) |
3570 | +{ |
3571 | + GtkTreeModel *model = gtk_icon_view_get_model (GTK_ICON_VIEW (self)); |
3572 | + GtkCellLayout *layout = GTK_CELL_LAYOUT (self); |
3573 | + GType icon_gtype; |
3574 | + |
3575 | + if (!model) |
3576 | + return; |
3577 | + |
3578 | + gtk_cell_layout_clear_attributes (layout, self->priv->pixbuf_cell); |
3579 | + gtk_cell_layout_clear_attributes (layout, self->priv->text_cell); |
3580 | + |
3581 | + gtk_cell_layout_add_attribute (layout, self->priv->pixbuf_cell, |
3582 | + "active", GD_MAIN_COLUMN_SELECTED); |
3583 | + gtk_cell_layout_add_attribute (layout, self->priv->pixbuf_cell, |
3584 | + "pulse", GD_MAIN_COLUMN_PULSE); |
3585 | + |
3586 | + icon_gtype = gtk_tree_model_get_column_type (model, GD_MAIN_COLUMN_ICON); |
3587 | + if (icon_gtype == GDK_TYPE_PIXBUF) |
3588 | + gtk_cell_layout_add_attribute (layout, self->priv->pixbuf_cell, |
3589 | + "pixbuf", GD_MAIN_COLUMN_ICON); |
3590 | + else if (icon_gtype == CAIRO_GOBJECT_TYPE_SURFACE) |
3591 | + gtk_cell_layout_add_attribute (layout, self->priv->pixbuf_cell, |
3592 | + "surface", GD_MAIN_COLUMN_ICON); |
3593 | + else |
3594 | + g_assert_not_reached (); |
3595 | + |
3596 | + gtk_cell_layout_add_attribute (layout, self->priv->text_cell, |
3597 | + "text", GD_MAIN_COLUMN_PRIMARY_TEXT); |
3598 | + gtk_cell_layout_add_attribute (layout, self->priv->text_cell, |
3599 | + "line-two", GD_MAIN_COLUMN_SECONDARY_TEXT); |
3600 | +} |
3601 | + |
3602 | +static void |
3603 | gd_main_icon_view_drag_data_get (GtkWidget *widget, |
3604 | GdkDragContext *drag_context, |
3605 | GtkSelectionData *data, |
3606 | @@ -100,14 +136,9 @@ |
3607 | "xalign", 0.5, |
3608 | "yalign", 0.5, |
3609 | NULL); |
3610 | - |
3611 | gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (self), cell, FALSE); |
3612 | - gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (self), cell, |
3613 | - "active", GD_MAIN_COLUMN_SELECTED); |
3614 | - gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (self), cell, |
3615 | - "pixbuf", GD_MAIN_COLUMN_ICON); |
3616 | |
3617 | - cell = gd_two_lines_renderer_new (); |
3618 | + self->priv->text_cell = cell = gd_two_lines_renderer_new (); |
3619 | g_object_set (cell, |
3620 | "xalign", 0.5, |
3621 | "alignment", PANGO_ALIGN_CENTER, |
3622 | @@ -116,10 +147,8 @@ |
3623 | "text-lines", 3, |
3624 | NULL); |
3625 | gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (self), cell, FALSE); |
3626 | - gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (self), cell, |
3627 | - "text", GD_MAIN_COLUMN_PRIMARY_TEXT); |
3628 | - gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (self), cell, |
3629 | - "line-two", GD_MAIN_COLUMN_SECONDARY_TEXT); |
3630 | + |
3631 | + set_attributes_from_model (self); |
3632 | |
3633 | gtk_icon_view_enable_model_drag_source (GTK_ICON_VIEW (self), |
3634 | GDK_BUTTON1_MASK, |
3635 | @@ -332,6 +361,9 @@ |
3636 | gd_main_icon_view_init (GdMainIconView *self) |
3637 | { |
3638 | self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GD_TYPE_MAIN_ICON_VIEW, GdMainIconViewPrivate); |
3639 | + |
3640 | + g_signal_connect (self, "notify::model", |
3641 | + G_CALLBACK (set_attributes_from_model), NULL); |
3642 | } |
3643 | |
3644 | static GtkTreePath * |
3645 | |
3646 | === modified file 'libgd/libgd/gd-main-list-view.c' |
3647 | --- libgd/libgd/gd-main-list-view.c 2014-02-04 06:31:27 +0000 |
3648 | +++ libgd/libgd/gd-main-list-view.c 2014-06-14 06:35:06 +0000 |
3649 | @@ -23,11 +23,14 @@ |
3650 | #include "gd-main-view-generic.h" |
3651 | #include "gd-two-lines-renderer.h" |
3652 | |
3653 | +#include <cairo-gobject.h> |
3654 | #include <glib/gi18n.h> |
3655 | |
3656 | struct _GdMainListViewPrivate { |
3657 | GtkTreeViewColumn *tree_col; |
3658 | + GtkCellRenderer *pixbuf_cell; |
3659 | GtkCellRenderer *selection_cell; |
3660 | + GtkCellRenderer *text_cell; |
3661 | |
3662 | gboolean selection_mode; |
3663 | }; |
3664 | @@ -53,6 +56,40 @@ |
3665 | } |
3666 | |
3667 | static void |
3668 | +set_attributes_from_model (GdMainListView *self) |
3669 | +{ |
3670 | + GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (self)); |
3671 | + GType icon_gtype; |
3672 | + |
3673 | + |
3674 | + if (!model) |
3675 | + return; |
3676 | + |
3677 | + gtk_tree_view_column_clear_attributes (self->priv->tree_col, self->priv->pixbuf_cell); |
3678 | + gtk_tree_view_column_clear_attributes (self->priv->tree_col, self->priv->selection_cell); |
3679 | + gtk_tree_view_column_clear_attributes (self->priv->tree_col, self->priv->text_cell); |
3680 | + |
3681 | + |
3682 | + gtk_tree_view_column_add_attribute (self->priv->tree_col, self->priv->selection_cell, |
3683 | + "active", GD_MAIN_COLUMN_SELECTED); |
3684 | + |
3685 | + icon_gtype = gtk_tree_model_get_column_type (model, GD_MAIN_COLUMN_ICON); |
3686 | + if (icon_gtype == GDK_TYPE_PIXBUF) |
3687 | + gtk_tree_view_column_add_attribute (self->priv->tree_col, self->priv->pixbuf_cell, |
3688 | + "pixbuf", GD_MAIN_COLUMN_ICON); |
3689 | + else if (icon_gtype == CAIRO_GOBJECT_TYPE_SURFACE) |
3690 | + gtk_tree_view_column_add_attribute (self->priv->tree_col, self->priv->pixbuf_cell, |
3691 | + "surface", GD_MAIN_COLUMN_ICON); |
3692 | + else |
3693 | + g_assert_not_reached (); |
3694 | + |
3695 | + gtk_tree_view_column_add_attribute (self->priv->tree_col, self->priv->text_cell, |
3696 | + "text", GD_MAIN_COLUMN_PRIMARY_TEXT); |
3697 | + gtk_tree_view_column_add_attribute (self->priv->tree_col, self->priv->text_cell, |
3698 | + "line-two", GD_MAIN_COLUMN_SECONDARY_TEXT); |
3699 | +} |
3700 | + |
3701 | +static void |
3702 | gd_main_list_view_drag_data_get (GtkWidget *widget, |
3703 | GdkDragContext *drag_context, |
3704 | GtkSelectionData *data, |
3705 | @@ -106,10 +143,8 @@ |
3706 | "xalign", 1.0, |
3707 | NULL); |
3708 | gtk_tree_view_column_pack_start (self->priv->tree_col, cell, FALSE); |
3709 | - gtk_tree_view_column_add_attribute (self->priv->tree_col, cell, |
3710 | - "active", GD_MAIN_COLUMN_SELECTED); |
3711 | |
3712 | - cell = gtk_cell_renderer_pixbuf_new (); |
3713 | + self->priv->pixbuf_cell = cell = gtk_cell_renderer_pixbuf_new (); |
3714 | g_object_set (cell, |
3715 | "xalign", 0.5, |
3716 | "yalign", 0.5, |
3717 | @@ -117,10 +152,8 @@ |
3718 | "ypad", 2, |
3719 | NULL); |
3720 | gtk_tree_view_column_pack_start (self->priv->tree_col, cell, FALSE); |
3721 | - gtk_tree_view_column_add_attribute (self->priv->tree_col, cell, |
3722 | - "pixbuf", GD_MAIN_COLUMN_ICON); |
3723 | |
3724 | - cell = gd_two_lines_renderer_new (); |
3725 | + self->priv->text_cell = cell = gd_two_lines_renderer_new (); |
3726 | g_object_set (cell, |
3727 | "xalign", 0.0, |
3728 | "wrap-mode", PANGO_WRAP_WORD_CHAR, |
3729 | @@ -128,10 +161,8 @@ |
3730 | "text-lines", 2, |
3731 | NULL); |
3732 | gtk_tree_view_column_pack_start (self->priv->tree_col, cell, TRUE); |
3733 | - gtk_tree_view_column_add_attribute (self->priv->tree_col, cell, |
3734 | - "text", GD_MAIN_COLUMN_PRIMARY_TEXT); |
3735 | - gtk_tree_view_column_add_attribute (self->priv->tree_col, cell, |
3736 | - "line-two", GD_MAIN_COLUMN_SECONDARY_TEXT); |
3737 | + |
3738 | + set_attributes_from_model (self); |
3739 | |
3740 | gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (self), |
3741 | GDK_BUTTON1_MASK, |
3742 | @@ -181,6 +212,9 @@ |
3743 | gd_main_list_view_init (GdMainListView *self) |
3744 | { |
3745 | self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GD_TYPE_MAIN_LIST_VIEW, GdMainListViewPrivate); |
3746 | + |
3747 | + g_signal_connect (self, "notify::model", |
3748 | + G_CALLBACK (set_attributes_from_model), NULL); |
3749 | } |
3750 | |
3751 | static GtkTreePath * |
3752 | |
3753 | === modified file 'libgd/libgd/gd-main-view-generic.c' |
3754 | --- libgd/libgd/gd-main-view-generic.c 2014-02-04 06:31:27 +0000 |
3755 | +++ libgd/libgd/gd-main-view-generic.c 2014-06-14 06:35:06 +0000 |
3756 | @@ -230,9 +230,18 @@ |
3757 | { |
3758 | gboolean selection = GPOINTER_TO_INT (user_data); |
3759 | |
3760 | - gtk_list_store_set (GTK_LIST_STORE (model), iter, |
3761 | - GD_MAIN_COLUMN_SELECTED, selection, |
3762 | - -1); |
3763 | + if (GTK_IS_LIST_STORE (model)) |
3764 | + { |
3765 | + gtk_list_store_set (GTK_LIST_STORE (model), iter, |
3766 | + GD_MAIN_COLUMN_SELECTED, selection, |
3767 | + -1); |
3768 | + } |
3769 | + else |
3770 | + { |
3771 | + gtk_tree_store_set (GTK_TREE_STORE (model), iter, |
3772 | + GD_MAIN_COLUMN_SELECTED, selection, |
3773 | + -1); |
3774 | + } |
3775 | |
3776 | return FALSE; |
3777 | } |
3778 | |
3779 | === modified file 'libgd/libgd/gd-main-view-generic.h' |
3780 | --- libgd/libgd/gd-main-view-generic.h 2014-02-04 06:31:27 +0000 |
3781 | +++ libgd/libgd/gd-main-view-generic.h 2014-06-14 06:35:06 +0000 |
3782 | @@ -36,6 +36,7 @@ |
3783 | GD_MAIN_COLUMN_ICON, |
3784 | GD_MAIN_COLUMN_MTIME, |
3785 | GD_MAIN_COLUMN_SELECTED, |
3786 | + GD_MAIN_COLUMN_PULSE, |
3787 | |
3788 | GD_MAIN_COLUMN_LAST |
3789 | } GdMainColumns; |
3790 | |
3791 | === modified file 'libgd/libgd/gd-main-view.c' |
3792 | --- libgd/libgd/gd-main-view.c 2014-02-04 06:31:27 +0000 |
3793 | +++ libgd/libgd/gd-main-view.c 2014-06-14 06:35:06 +0000 |
3794 | @@ -343,6 +343,7 @@ |
3795 | GtkTreeModel *model; |
3796 | GtkTreeModelFilter *filter; |
3797 | GtkTreeIter my_iter, child_iter; |
3798 | + GtkTreePath *path; |
3799 | |
3800 | model = self->priv->model; |
3801 | my_iter = *iter; |
3802 | @@ -355,9 +356,26 @@ |
3803 | my_iter = child_iter; |
3804 | } |
3805 | |
3806 | - gtk_list_store_set (GTK_LIST_STORE (model), &my_iter, |
3807 | - GD_MAIN_COLUMN_SELECTED, value, |
3808 | - -1); |
3809 | + if (GTK_IS_LIST_STORE (model)) |
3810 | + { |
3811 | + gtk_list_store_set (GTK_LIST_STORE (model), &my_iter, |
3812 | + GD_MAIN_COLUMN_SELECTED, value, |
3813 | + -1); |
3814 | + } |
3815 | + else |
3816 | + { |
3817 | + gtk_tree_store_set (GTK_TREE_STORE (model), &my_iter, |
3818 | + GD_MAIN_COLUMN_SELECTED, value, |
3819 | + -1); |
3820 | + } |
3821 | + |
3822 | + /* And tell the view model that something changed */ |
3823 | + path = gtk_tree_model_get_path (self->priv->model, iter); |
3824 | + if (path) |
3825 | + { |
3826 | + gtk_tree_model_row_changed (self->priv->model, path, iter); |
3827 | + gtk_tree_path_free (path); |
3828 | + } |
3829 | } |
3830 | |
3831 | static void |
3832 | @@ -603,6 +621,11 @@ |
3833 | { |
3834 | if (!self->priv->selection_mode) |
3835 | g_signal_emit (self, signals[SELECTION_MODE_REQUEST], 0); |
3836 | + if (!self->priv->selection_mode) |
3837 | + { |
3838 | + res = FALSE; |
3839 | + goto out; |
3840 | + } |
3841 | |
3842 | start_path = gtk_tree_path_copy (self->priv->rubberband_select_first_path); |
3843 | end_path = gtk_tree_path_copy (self->priv->rubberband_select_last_path); |
3844 | @@ -655,7 +678,12 @@ |
3845 | if (event_triggers_selection_mode (event)) |
3846 | { |
3847 | g_signal_emit (self, signals[SELECTION_MODE_REQUEST], 0); |
3848 | - selection_mode = TRUE; |
3849 | + if (!self->priv->selection_mode) |
3850 | + { |
3851 | + res = FALSE; |
3852 | + goto out; |
3853 | + } |
3854 | + selection_mode = self->priv->selection_mode; |
3855 | } |
3856 | } |
3857 | |
3858 | |
3859 | === modified file 'libgd/libgd/gd-toggle-pixbuf-renderer.c' |
3860 | --- libgd/libgd/gd-toggle-pixbuf-renderer.c 2014-02-04 06:31:27 +0000 |
3861 | +++ libgd/libgd/gd-toggle-pixbuf-renderer.c 2014-06-14 06:35:06 +0000 |
3862 | @@ -26,6 +26,7 @@ |
3863 | enum { |
3864 | PROP_ACTIVE = 1, |
3865 | PROP_TOGGLE_VISIBLE, |
3866 | + PROP_PULSE, |
3867 | NUM_PROPERTIES |
3868 | }; |
3869 | |
3870 | @@ -34,38 +35,29 @@ |
3871 | struct _GdTogglePixbufRendererPrivate { |
3872 | gboolean active; |
3873 | gboolean toggle_visible; |
3874 | + |
3875 | + guint pulse; |
3876 | }; |
3877 | |
3878 | static void |
3879 | -gd_toggle_pixbuf_renderer_render (GtkCellRenderer *cell, |
3880 | - cairo_t *cr, |
3881 | - GtkWidget *widget, |
3882 | - const GdkRectangle *background_area, |
3883 | - const GdkRectangle *cell_area, |
3884 | - GtkCellRendererState flags) |
3885 | +render_check (GdTogglePixbufRenderer *self, |
3886 | + cairo_t *cr, |
3887 | + GtkWidget *widget, |
3888 | + const GdkRectangle *cell_area, |
3889 | + gint icon_size, |
3890 | + gint xpad, |
3891 | + gint ypad) |
3892 | { |
3893 | - gint icon_size = -1; |
3894 | - gint check_x, check_y, x_offset, xpad, ypad; |
3895 | GtkStyleContext *context; |
3896 | - GdTogglePixbufRenderer *self = GD_TOGGLE_PIXBUF_RENDERER (cell); |
3897 | + gint check_x, check_y, x_offset; |
3898 | GtkTextDirection direction; |
3899 | |
3900 | - GTK_CELL_RENDERER_CLASS (gd_toggle_pixbuf_renderer_parent_class)->render |
3901 | - (cell, cr, widget, |
3902 | - background_area, cell_area, flags); |
3903 | + context = gtk_widget_get_style_context (widget); |
3904 | |
3905 | if (!self->priv->toggle_visible) |
3906 | return; |
3907 | |
3908 | - gtk_cell_renderer_get_padding (cell, &xpad, &ypad); |
3909 | direction = gtk_widget_get_direction (widget); |
3910 | - gtk_widget_style_get (widget, |
3911 | - "check-icon-size", &icon_size, |
3912 | - NULL); |
3913 | - |
3914 | - if (icon_size == -1) |
3915 | - icon_size = 40; |
3916 | - |
3917 | if (direction == GTK_TEXT_DIR_RTL) |
3918 | x_offset = xpad; |
3919 | else |
3920 | @@ -74,7 +66,6 @@ |
3921 | check_x = cell_area->x + x_offset; |
3922 | check_y = cell_area->y + cell_area->height - icon_size - ypad; |
3923 | |
3924 | - context = gtk_widget_get_style_context (widget); |
3925 | gtk_style_context_save (context); |
3926 | gtk_style_context_add_class (context, GTK_STYLE_CLASS_CHECK); |
3927 | |
3928 | @@ -84,11 +75,68 @@ |
3929 | gtk_render_check (context, cr, |
3930 | check_x, check_y, |
3931 | icon_size, icon_size); |
3932 | - |
3933 | gtk_style_context_restore (context); |
3934 | } |
3935 | |
3936 | static void |
3937 | +render_activity (GdTogglePixbufRenderer *self, |
3938 | + cairo_t *cr, |
3939 | + GtkWidget *widget, |
3940 | + const GdkRectangle *cell_area, |
3941 | + gint icon_size, |
3942 | + gint xpad, |
3943 | + gint ypad) |
3944 | +{ |
3945 | + gint x, y, width, height; |
3946 | + |
3947 | + if (self->priv->pulse == 0) |
3948 | + return; |
3949 | + |
3950 | + width = cell_area->width / 4; |
3951 | + height = cell_area->height / 4; |
3952 | + |
3953 | + x = cell_area->x + (cell_area->width / 2) - (width / 2) - xpad; |
3954 | + y = cell_area->y + (cell_area->height / 2) - (height / 2) - ypad; |
3955 | + |
3956 | + gtk_paint_spinner (gtk_widget_get_style (widget), |
3957 | + cr, |
3958 | + GTK_STATE_FLAG_ACTIVE, |
3959 | + widget, |
3960 | + NULL, |
3961 | + (guint) self->priv->pulse - 1, |
3962 | + x, y, |
3963 | + width, height); |
3964 | +} |
3965 | + |
3966 | +static void |
3967 | +gd_toggle_pixbuf_renderer_render (GtkCellRenderer *cell, |
3968 | + cairo_t *cr, |
3969 | + GtkWidget *widget, |
3970 | + const GdkRectangle *background_area, |
3971 | + const GdkRectangle *cell_area, |
3972 | + GtkCellRendererState flags) |
3973 | +{ |
3974 | + gint icon_size = -1; |
3975 | + GdTogglePixbufRenderer *self = GD_TOGGLE_PIXBUF_RENDERER (cell); |
3976 | + gint xpad, ypad; |
3977 | + |
3978 | + GTK_CELL_RENDERER_CLASS (gd_toggle_pixbuf_renderer_parent_class)->render |
3979 | + (cell, cr, widget, |
3980 | + background_area, cell_area, flags); |
3981 | + |
3982 | + gtk_cell_renderer_get_padding (cell, &xpad, &ypad); |
3983 | + gtk_widget_style_get (widget, |
3984 | + "check-icon-size", &icon_size, |
3985 | + NULL); |
3986 | + |
3987 | + if (icon_size == -1) |
3988 | + icon_size = 40; |
3989 | + |
3990 | + render_activity (self, cr, widget, cell_area, icon_size, xpad, ypad); |
3991 | + render_check (self, cr, widget, cell_area, icon_size, xpad, ypad); |
3992 | +} |
3993 | + |
3994 | +static void |
3995 | gd_toggle_pixbuf_renderer_get_size (GtkCellRenderer *cell, |
3996 | GtkWidget *widget, |
3997 | const GdkRectangle *cell_area, |
3998 | @@ -126,6 +174,9 @@ |
3999 | case PROP_TOGGLE_VISIBLE: |
4000 | g_value_set_boolean (value, self->priv->toggle_visible); |
4001 | break; |
4002 | + case PROP_PULSE: |
4003 | + g_value_set_uint (value, self->priv->pulse); |
4004 | + break; |
4005 | default: |
4006 | G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); |
4007 | break; |
4008 | @@ -148,6 +199,9 @@ |
4009 | case PROP_TOGGLE_VISIBLE: |
4010 | self->priv->toggle_visible = g_value_get_boolean (value); |
4011 | break; |
4012 | + case PROP_PULSE: |
4013 | + self->priv->pulse = g_value_get_uint (value); |
4014 | + break; |
4015 | default: |
4016 | G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); |
4017 | break; |
4018 | @@ -179,6 +233,16 @@ |
4019 | FALSE, |
4020 | G_PARAM_READWRITE | |
4021 | G_PARAM_STATIC_STRINGS); |
4022 | + properties[PROP_PULSE] = |
4023 | + g_param_spec_uint ("pulse", |
4024 | + "Pulse", |
4025 | + "Set to any value other than 0 to display a " |
4026 | + "spinner on top of the pixbuf.", |
4027 | + 0, |
4028 | + G_MAXUINT, |
4029 | + 0, |
4030 | + G_PARAM_READWRITE | |
4031 | + G_PARAM_STATIC_STRINGS); |
4032 | |
4033 | g_type_class_add_private (klass, sizeof (GdTogglePixbufRendererPrivate)); |
4034 | g_object_class_install_properties (oclass, NUM_PROPERTIES, properties); |
4035 | @@ -189,6 +253,7 @@ |
4036 | { |
4037 | self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GD_TYPE_TOGGLE_PIXBUF_RENDERER, |
4038 | GdTogglePixbufRendererPrivate); |
4039 | + self->priv->pulse = 0; |
4040 | } |
4041 | |
4042 | GtkCellRenderer * |
4043 | |
4044 | === modified file 'libgd/libgd/gd-types-catalog.c' |
4045 | --- libgd/libgd/gd-types-catalog.c 2014-02-04 06:31:27 +0000 |
4046 | +++ libgd/libgd/gd-types-catalog.c 2014-06-14 06:35:06 +0000 |
4047 | @@ -26,12 +26,12 @@ |
4048 | #ifdef LIBGD__VIEW_COMMON |
4049 | # include "gd-main-view-generic.h" |
4050 | # include "gd-styled-text-renderer.h" |
4051 | -# include "gd-toggle-pixbuf-renderer.h" |
4052 | # include "gd-two-lines-renderer.h" |
4053 | #endif |
4054 | |
4055 | #ifdef LIBGD_MAIN_ICON_VIEW |
4056 | # include "gd-main-icon-view.h" |
4057 | +# include "gd-toggle-pixbuf-renderer.h" |
4058 | #endif |
4059 | |
4060 | #ifdef LIBGD_MAIN_LIST_VIEW |
4061 | @@ -87,12 +87,12 @@ |
4062 | #ifdef LIBGD__VIEW_COMMON |
4063 | g_type_ensure (GD_TYPE_MAIN_VIEW_GENERIC); |
4064 | g_type_ensure (GD_TYPE_STYLED_TEXT_RENDERER); |
4065 | - g_type_ensure (GD_TYPE_TOGGLE_PIXBUF_RENDERER); |
4066 | g_type_ensure (GD_TYPE_TWO_LINES_RENDERER); |
4067 | #endif |
4068 | |
4069 | #ifdef LIBGD_MAIN_ICON_VIEW |
4070 | g_type_ensure (GD_TYPE_MAIN_ICON_VIEW); |
4071 | + g_type_ensure (GD_TYPE_TOGGLE_PIXBUF_RENDERER); |
4072 | #endif |
4073 | |
4074 | #ifdef LIBGD_MAIN_LIST_VIEW |
4075 | |
4076 | === modified file 'libgd/libgd/gd.h' |
4077 | --- libgd/libgd/gd.h 2014-02-04 06:31:27 +0000 |
4078 | +++ libgd/libgd/gd.h 2014-06-14 06:35:06 +0000 |
4079 | @@ -38,12 +38,12 @@ |
4080 | #ifdef LIBGD__VIEW_COMMON |
4081 | # include <libgd/gd-main-view-generic.h> |
4082 | # include <libgd/gd-styled-text-renderer.h> |
4083 | -# include <libgd/gd-toggle-pixbuf-renderer.h> |
4084 | # include <libgd/gd-two-lines-renderer.h> |
4085 | #endif |
4086 | |
4087 | #ifdef LIBGD_MAIN_ICON_VIEW |
4088 | # include <libgd/gd-main-icon-view.h> |
4089 | +# include <libgd/gd-toggle-pixbuf-renderer.h> |
4090 | #endif |
4091 | |
4092 | #ifdef LIBGD_MAIN_LIST_VIEW |
4093 | |
4094 | === added file 'libgd/test-tagged-entry.c' |
4095 | --- libgd/test-tagged-entry.c 1970-01-01 00:00:00 +0000 |
4096 | +++ libgd/test-tagged-entry.c 2014-06-14 06:35:06 +0000 |
4097 | @@ -0,0 +1,111 @@ |
4098 | +#include <gtk/gtk.h> |
4099 | +#include <libgd/gd-tagged-entry.h> |
4100 | + |
4101 | +static GdTaggedEntryTag *toggle_tag; |
4102 | + |
4103 | +static void |
4104 | +on_tag_clicked (GdTaggedEntry *entry, |
4105 | + GdTaggedEntryTag *tag, |
4106 | + gpointer useless) |
4107 | +{ |
4108 | + g_print ("tag clicked: %s\n", gd_tagged_entry_tag_get_label (tag)); |
4109 | +} |
4110 | + |
4111 | +static void |
4112 | +on_tag_button_clicked (GdTaggedEntry *entry, |
4113 | + GdTaggedEntryTag *tag, |
4114 | + gpointer useless) |
4115 | +{ |
4116 | + g_print ("tag button clicked: %s\n", gd_tagged_entry_tag_get_label (tag)); |
4117 | +} |
4118 | + |
4119 | +static void |
4120 | +on_toggle_visible (GtkButton *button, |
4121 | + GtkWidget *entry) |
4122 | +{ |
4123 | + gboolean active; |
4124 | + |
4125 | + active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)); |
4126 | + |
4127 | + g_print ("%s tagged entry\n", active ? "show" : "hide"); |
4128 | + gtk_widget_set_visible (entry, active); |
4129 | +} |
4130 | + |
4131 | +static void |
4132 | +on_toggle_tag (GtkButton *button, |
4133 | + GdTaggedEntry *entry) |
4134 | +{ |
4135 | + gboolean active; |
4136 | + |
4137 | + active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)); |
4138 | + |
4139 | + if (active) |
4140 | + { |
4141 | + g_print ("adding tag 'Toggle Tag'\n"); |
4142 | + gd_tagged_entry_insert_tag (entry, toggle_tag, 0); |
4143 | + } |
4144 | + else |
4145 | + { |
4146 | + g_print ("removing tag 'Toggle Tag'\n"); |
4147 | + gd_tagged_entry_remove_tag (entry, toggle_tag); |
4148 | + } |
4149 | +} |
4150 | + |
4151 | +gint |
4152 | +main (gint argc, |
4153 | + gchar ** argv) |
4154 | +{ |
4155 | + GtkWidget *window, *box, *entry, *toggle_visible_button, *toggle_tag_button; |
4156 | + GdTaggedEntryTag *tag; |
4157 | + |
4158 | + gtk_init (&argc, &argv); |
4159 | + |
4160 | + window = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
4161 | + gtk_widget_set_size_request (window, 300, 0); |
4162 | + |
4163 | + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); |
4164 | + gtk_container_add (GTK_CONTAINER (window), box); |
4165 | + |
4166 | + entry = GTK_WIDGET (gd_tagged_entry_new ()); |
4167 | + g_signal_connect(entry, "tag-clicked", |
4168 | + G_CALLBACK (on_tag_clicked), NULL); |
4169 | + g_signal_connect(entry, "tag-button-clicked", |
4170 | + G_CALLBACK (on_tag_button_clicked), NULL); |
4171 | + gtk_container_add (GTK_CONTAINER (box), entry); |
4172 | + |
4173 | + tag = gd_tagged_entry_tag_new ("Blah1"); |
4174 | + gd_tagged_entry_add_tag (GD_TAGGED_ENTRY (entry), tag); |
4175 | + g_object_unref (tag); |
4176 | + |
4177 | + tag = gd_tagged_entry_tag_new ("Blah2"); |
4178 | + gd_tagged_entry_tag_set_has_close_button (tag, FALSE); |
4179 | + gd_tagged_entry_insert_tag (GD_TAGGED_ENTRY (entry), tag, -1); |
4180 | + g_object_unref (tag); |
4181 | + |
4182 | + tag = gd_tagged_entry_tag_new ("Blah3"); |
4183 | + gd_tagged_entry_tag_set_has_close_button (tag, FALSE); |
4184 | + gd_tagged_entry_insert_tag (GD_TAGGED_ENTRY (entry), tag, 0); |
4185 | + g_object_unref (tag); |
4186 | + |
4187 | + toggle_visible_button = gtk_toggle_button_new_with_label ("Visible"); |
4188 | + gtk_widget_set_vexpand (toggle_visible_button, TRUE); |
4189 | + gtk_widget_set_valign (toggle_visible_button, GTK_ALIGN_END); |
4190 | + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle_visible_button), TRUE); |
4191 | + g_signal_connect (toggle_visible_button, "toggled", |
4192 | + G_CALLBACK (on_toggle_visible), entry); |
4193 | + gtk_container_add (GTK_CONTAINER (box), toggle_visible_button); |
4194 | + |
4195 | + toggle_tag = gd_tagged_entry_tag_new ("Toggle Tag"); |
4196 | + |
4197 | + toggle_tag_button = gtk_toggle_button_new_with_label ("Toggle Tag"); |
4198 | + g_signal_connect (toggle_tag_button, "toggled", |
4199 | + G_CALLBACK (on_toggle_tag), entry); |
4200 | + gtk_container_add (GTK_CONTAINER (box), toggle_tag_button); |
4201 | + |
4202 | + gtk_widget_show_all (window); |
4203 | + gtk_main (); |
4204 | + |
4205 | + gtk_widget_destroy (window); |
4206 | + |
4207 | + return 0; |
4208 | +} |
4209 | |
4210 | === added file 'm4/glibtests.m4' |
4211 | --- m4/glibtests.m4 1970-01-01 00:00:00 +0000 |
4212 | +++ m4/glibtests.m4 2014-06-14 06:35:06 +0000 |
4213 | @@ -0,0 +1,28 @@ |
4214 | +dnl GLIB_TESTS |
4215 | +dnl |
4216 | + |
4217 | +AC_DEFUN([GLIB_TESTS], |
4218 | +[ |
4219 | + AC_ARG_ENABLE(installed-tests, |
4220 | + AS_HELP_STRING([--enable-installed-tests], |
4221 | + [Enable installation of some test cases]), |
4222 | + [case ${enableval} in |
4223 | + yes) ENABLE_INSTALLED_TESTS="1" ;; |
4224 | + no) ENABLE_INSTALLED_TESTS="" ;; |
4225 | + *) AC_MSG_ERROR([bad value ${enableval} for --enable-installed-tests]) ;; |
4226 | + esac]) |
4227 | + AM_CONDITIONAL([ENABLE_INSTALLED_TESTS], test "$ENABLE_INSTALLED_TESTS" = "1") |
4228 | + AC_ARG_ENABLE(always-build-tests, |
4229 | + AS_HELP_STRING([--enable-always-build-tests], |
4230 | + [Enable always building tests during 'make all']), |
4231 | + [case ${enableval} in |
4232 | + yes) ENABLE_ALWAYS_BUILD_TESTS="1" ;; |
4233 | + no) ENABLE_ALWAYS_BUILD_TESTS="" ;; |
4234 | + *) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;; |
4235 | + esac]) |
4236 | + AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1") |
4237 | + if test "$ENABLE_INSTALLED_TESTS" = "1"; then |
4238 | + AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME) |
4239 | + AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME) |
4240 | + fi |
4241 | +]) |
4242 | |
4243 | === modified file 'm4/libtool.m4' |
4244 | --- m4/libtool.m4 2014-02-04 06:31:27 +0000 |
4245 | +++ m4/libtool.m4 2014-06-14 06:35:06 +0000 |
4246 | @@ -1312,7 +1312,7 @@ |
4247 | rm -rf conftest* |
4248 | ;; |
4249 | |
4250 | -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
4251 | +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
4252 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
4253 | # Find out which ABI we are using. |
4254 | echo 'int i;' > conftest.$ac_ext |
4255 | @@ -1326,7 +1326,10 @@ |
4256 | x86_64-*linux*) |
4257 | LD="${LD-ld} -m elf_i386" |
4258 | ;; |
4259 | - ppc64-*linux*|powerpc64-*linux*) |
4260 | + powerpc64le-*linux*) |
4261 | + LD="${LD-ld} -m elf32lppclinux" |
4262 | + ;; |
4263 | + powerpc64-*linux*) |
4264 | LD="${LD-ld} -m elf32ppclinux" |
4265 | ;; |
4266 | s390x-*linux*) |
4267 | @@ -1345,7 +1348,10 @@ |
4268 | x86_64-*linux*) |
4269 | LD="${LD-ld} -m elf_x86_64" |
4270 | ;; |
4271 | - ppc*-*linux*|powerpc*-*linux*) |
4272 | + powerpcle-*linux*) |
4273 | + LD="${LD-ld} -m elf64lppc" |
4274 | + ;; |
4275 | + powerpc-*linux*) |
4276 | LD="${LD-ld} -m elf64ppc" |
4277 | ;; |
4278 | s390*-*linux*|s390*-*tpf*) |
4279 | |
4280 | === added file 'org.gnome.Weather.Application.spec' |
4281 | --- org.gnome.Weather.Application.spec 1970-01-01 00:00:00 +0000 |
4282 | +++ org.gnome.Weather.Application.spec 2014-06-14 06:35:06 +0000 |
4283 | @@ -0,0 +1,58 @@ |
4284 | +Name: %{_name} |
4285 | +Version: %{_version} |
4286 | +Release: 1%{?dist} |
4287 | +Summary: GNOME Weather |
4288 | + |
4289 | +License: GPLv2+ and LGPLv2+ and MIT and CC-BY and CC-BY-SA |
4290 | +URL: http://wiki.gnome.org/Apps/Weather |
4291 | +Source0: %{_distdir}-%{version}.tar.xz |
4292 | +BuildArch: x86_64 i686 |
4293 | + |
4294 | +%description |
4295 | +A small application that allows you to monitor the current weather |
4296 | +conditions for your city, or anywhere in the world and to access |
4297 | +updated forecasts, up to 7 days, provided by various internet services. |
4298 | + |
4299 | +%prep |
4300 | +%setup -q -n %{_distdir}-%{version} |
4301 | + |
4302 | +%build |
4303 | +%configure --disable-static |
4304 | +make %{?_smp_mflags} |
4305 | + |
4306 | +%install |
4307 | +make install DESTDIR=$RPM_BUILD_ROOT |
4308 | +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
4309 | +rm -fR $RPM_BUILD_ROOT/%{_bindir} |
4310 | +desktop-file-edit $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop \ |
4311 | + --set-key=X-AppInstall-Package --set-value=%{name} |
4312 | + |
4313 | +%find_lang %{name} |
4314 | + |
4315 | +%check |
4316 | +desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
4317 | + |
4318 | +%post |
4319 | +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
4320 | + |
4321 | +%postun |
4322 | +if [ $1 -eq 0 ] ; then |
4323 | + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
4324 | + touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
4325 | + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
4326 | +fi |
4327 | + |
4328 | +%posttrans |
4329 | +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
4330 | +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
4331 | + |
4332 | +%files -f %{name}.lang |
4333 | +%doc NEWS COPYING |
4334 | +%{_datadir}/appdata/%{name}.appdata.xml |
4335 | +%{_datadir}/applications/%{name}.desktop |
4336 | +%{_datadir}/dbus-1/services/%{name}.service |
4337 | +%{_datadir}/glib-2.0/schemas/%{name}.gschema.xml |
4338 | +%{_datadir}/gnome-shell/search-providers/%{name}.search-provider.ini |
4339 | +%{_datadir}/icons/hicolor/*/apps/%{name}.png |
4340 | +%{_datadir}/%{name}/ |
4341 | +%{_libdir}/%{name}/ |
4342 | |
4343 | === modified file 'po/LINGUAS' |
4344 | --- po/LINGUAS 2014-02-04 06:31:27 +0000 |
4345 | +++ po/LINGUAS 2014-06-14 06:35:06 +0000 |
4346 | @@ -1,6 +1,8 @@ |
4347 | # Please keep this list sorted alphabetically |
4348 | # |
4349 | +ar |
4350 | as |
4351 | +be |
4352 | ca |
4353 | ca@valencia |
4354 | cs |
4355 | @@ -8,6 +10,7 @@ |
4356 | de |
4357 | el |
4358 | en_GB |
4359 | +eo |
4360 | es |
4361 | et |
4362 | eu |
4363 | @@ -16,12 +19,15 @@ |
4364 | fr |
4365 | fur |
4366 | ga |
4367 | +gd |
4368 | gl |
4369 | he |
4370 | hu |
4371 | id |
4372 | it |
4373 | ja |
4374 | +kk |
4375 | +kn |
4376 | ko |
4377 | lt |
4378 | lv |
4379 | @@ -37,6 +43,8 @@ |
4380 | sl |
4381 | sr |
4382 | sr@latin |
4383 | +sv |
4384 | +te |
4385 | tg |
4386 | th |
4387 | tr |
4388 | |
4389 | === modified file 'po/POTFILES.in' |
4390 | --- po/POTFILES.in 2014-02-04 06:31:27 +0000 |
4391 | +++ po/POTFILES.in 2014-06-14 06:35:06 +0000 |
4392 | @@ -1,6 +1,6 @@ |
4393 | [type: gettext/glade]data/app-menu.ui |
4394 | [type: gettext/glade]data/city.ui |
4395 | -data/org.gnome.Weather.Application.desktop.in.in |
4396 | +data/org.gnome.Weather.Application.desktop.in |
4397 | data/org.gnome.Weather.Application.appdata.xml.in |
4398 | [type: gettext/glade]data/new-location-dialog.ui |
4399 | data/org.gnome.Weather.Application.gschema.xml |
4400 | |
4401 | === modified file 'po/POTFILES.skip' |
4402 | --- po/POTFILES.skip 2014-02-04 06:31:27 +0000 |
4403 | +++ po/POTFILES.skip 2014-06-14 06:35:06 +0000 |
4404 | @@ -1,1 +0,0 @@ |
4405 | -data/org.gnome.Weather.Application.desktop.in |
4406 | |
4407 | === added file 'po/ar.po' |
4408 | --- po/ar.po 1970-01-01 00:00:00 +0000 |
4409 | +++ po/ar.po 2014-06-14 06:35:06 +0000 |
4410 | @@ -0,0 +1,368 @@ |
4411 | +# Arabic translation for gnome-weather. |
4412 | +# Copyright (C) 2014 gnome-weather's COPYRIGHT HOLDER |
4413 | +# This file is distributed under the same license as the gnome-weather package. |
4414 | +# Ibrahim Saed <ibraheem5000@gmail.com>, 2014. |
4415 | +msgid "" |
4416 | +msgstr "" |
4417 | +"Project-Id-Version: gnome-weather master\n" |
4418 | +"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" |
4419 | +"weather&keywords=I18N+L10N&component=general\n" |
4420 | +"POT-Creation-Date: 2014-03-28 09:40+0000\n" |
4421 | +"PO-Revision-Date: 2014-03-28 15:30+0200\n" |
4422 | +"Last-Translator: Ibrahim Saed <ibraheem5000@gmail.com>\n" |
4423 | +"Language-Team: Arabic <doc@arabeyes.org>\n" |
4424 | +"Language: ar\n" |
4425 | +"MIME-Version: 1.0\n" |
4426 | +"Content-Type: text/plain; charset=UTF-8\n" |
4427 | +"Content-Transfer-Encoding: 8bit\n" |
4428 | +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " |
4429 | +"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" |
4430 | +"X-Generator: Virtaal 0.7.1\n" |
4431 | +"X-Project-Style: gnome\n" |
4432 | + |
4433 | +#: ../data/app-menu.ui.h:1 |
4434 | +msgid "_New" |
4435 | +msgstr "_جديد" |
4436 | + |
4437 | +#: ../data/app-menu.ui.h:2 |
4438 | +msgid "Temperature unit" |
4439 | +msgstr "وحدة الحرارة" |
4440 | + |
4441 | +#: ../data/app-menu.ui.h:3 |
4442 | +msgid "Celsius" |
4443 | +msgstr "مئوية" |
4444 | + |
4445 | +#: ../data/app-menu.ui.h:4 |
4446 | +msgid "Fahrenheit" |
4447 | +msgstr "فهرنهايت" |
4448 | + |
4449 | +#: ../data/app-menu.ui.h:5 |
4450 | +msgid "About" |
4451 | +msgstr "عن" |
4452 | + |
4453 | +#: ../data/app-menu.ui.h:6 |
4454 | +msgid "Quit" |
4455 | +msgstr "" |
4456 | + |
4457 | +#: ../data/city.ui.h:1 |
4458 | +msgid "Current conditions" |
4459 | +msgstr "الظروف الحالية" |
4460 | + |
4461 | +#: ../data/city.ui.h:2 |
4462 | +msgid "Detailed forecast" |
4463 | +msgstr "توقعات مُفصّلة" |
4464 | + |
4465 | +#: ../data/org.gnome.Weather.Application.desktop.in.h:1 ../src/main.js:56 |
4466 | +#: ../src/window.js:319 |
4467 | +msgid "Weather" |
4468 | +msgstr "الطقس" |
4469 | + |
4470 | +#: ../data/org.gnome.Weather.Application.desktop.in.h:2 |
4471 | +msgid "Show weather conditions and forecast" |
4472 | +msgstr "عرض ظروف الطقس والتوقعات" |
4473 | + |
4474 | +#: ../data/org.gnome.Weather.Application.appdata.xml.in.h:1 |
4475 | +msgid "" |
4476 | +"A small application that allows you to monitor the current weather " |
4477 | +"conditions for your city, or anywhere in the world and to access updated " |
4478 | +"forecasts, up to 7 days, provided by various internet services." |
4479 | +msgstr "" |
4480 | +"تطبيق صغير يتيح لك مراقبة حالات الطقس الحالية لمدينتك أو أي مدينة تريدها في " |
4481 | +"العالم والوصول لتوقعات مُحدّثة حتى 7 أيام قادمة، من خلال خدمات مختلفة على " |
4482 | +"الإنترنت." |
4483 | + |
4484 | +#: ../data/new-location-dialog.ui.h:1 |
4485 | +msgid "New Location" |
4486 | +msgstr "منطقة جديدة" |
4487 | + |
4488 | +#: ../data/new-location-dialog.ui.h:2 |
4489 | +msgid "Search for a city:" |
4490 | +msgstr "ابحث عن مدينة:" |
4491 | + |
4492 | +#: ../data/org.gnome.Weather.Application.gschema.xml.h:1 |
4493 | +msgid "Configured cities to show weather for" |
4494 | +msgstr "" |
4495 | + |
4496 | +#: ../data/org.gnome.Weather.Application.gschema.xml.h:2 |
4497 | +msgid "" |
4498 | +"The locations shown in the world view of gnome-weather. Each value is a " |
4499 | +"GVariant returned by gweather_location_serialize()." |
4500 | +msgstr "" |
4501 | + |
4502 | +#: ../data/window.ui.h:1 |
4503 | +msgid "Select All" |
4504 | +msgstr "اختر الكل" |
4505 | + |
4506 | +#: ../data/window.ui.h:2 |
4507 | +msgid "Select None" |
4508 | +msgstr "لا تختر شيء" |
4509 | + |
4510 | +#: ../data/window.ui.h:3 ../src/window.js:208 |
4511 | +msgid "Click on locations to select them" |
4512 | +msgstr "انقر على المناطق لاختيارها" |
4513 | + |
4514 | +#: ../data/window.ui.h:4 |
4515 | +msgid "New" |
4516 | +msgstr "جديد" |
4517 | + |
4518 | +#: ../data/window.ui.h:5 |
4519 | +msgid "Back" |
4520 | +msgstr "" |
4521 | + |
4522 | +#: ../data/window.ui.h:6 |
4523 | +msgid "Select" |
4524 | +msgstr "اختر" |
4525 | + |
4526 | +#: ../data/window.ui.h:7 |
4527 | +msgid "Cancel" |
4528 | +msgstr "ألغِ" |
4529 | + |
4530 | +#: ../data/window.ui.h:8 |
4531 | +msgid "Refresh" |
4532 | +msgstr "حدّث" |
4533 | + |
4534 | +#: ../data/window.ui.h:9 |
4535 | +msgid "Delete" |
4536 | +msgstr "احذف" |
4537 | + |
4538 | +#: ../src/city.js:125 |
4539 | +msgid "City view" |
4540 | +msgstr "مشهد مدينة" |
4541 | + |
4542 | +#: ../src/city.js:134 |
4543 | +msgid "Loading…" |
4544 | +msgstr "يُحمّل…" |
4545 | + |
4546 | +#: ../src/forecast.js:41 |
4547 | +msgid "Forecast" |
4548 | +msgstr "التوقعات" |
4549 | + |
4550 | +#: ../src/forecast.js:128 ../src/forecast.js:413 |
4551 | +msgid "Today" |
4552 | +msgstr "اليوم" |
4553 | + |
4554 | +#: ../src/forecast.js:134 ../src/forecast.js:295 ../src/forecast.js:380 |
4555 | +#: ../src/forecast.js:415 |
4556 | +msgid "Tomorrow" |
4557 | +msgstr "غدًا" |
4558 | + |
4559 | +#: ../src/forecast.js:151 |
4560 | +#, javascript-format |
4561 | +msgid "%s / %s" |
4562 | +msgstr "%s / %s" |
4563 | + |
4564 | +#: ../src/forecast.js:197 ../src/forecast.js:291 |
4565 | +msgid "More…" |
4566 | +msgstr "المزيد…" |
4567 | + |
4568 | +#: ../src/forecast.js:318 |
4569 | +msgid "%l∶%M %p" |
4570 | +msgstr "" |
4571 | + |
4572 | +#: ../src/forecast.js:321 |
4573 | +msgid "%R" |
4574 | +msgstr "" |
4575 | + |
4576 | +#: ../src/forecast.js:352 |
4577 | +msgid "Forecast for Tomorrow" |
4578 | +msgstr "التوقعات ليوم غد" |
4579 | + |
4580 | +#: ../src/forecast.js:354 |
4581 | +msgid "Forecast for Today" |
4582 | +msgstr "التوقعات لليوم" |
4583 | + |
4584 | +#: ../src/forecast.js:356 |
4585 | +msgid "%B %d" |
4586 | +msgstr "" |
4587 | + |
4588 | +#: ../src/searchProvider.js:169 |
4589 | +#, javascript-format |
4590 | +msgid "%s, %s" |
4591 | +msgstr "" |
4592 | + |
4593 | +#: ../src/strings.js:22 |
4594 | +msgid "Monday night" |
4595 | +msgstr "ليلة الإثنين" |
4596 | + |
4597 | +#: ../src/strings.js:22 |
4598 | +msgid "Monday morning" |
4599 | +msgstr "صباح الإثنين" |
4600 | + |
4601 | +#: ../src/strings.js:22 |
4602 | +msgid "Monday afternoon" |
4603 | +msgstr "ظهر الإثنين" |
4604 | + |
4605 | +#: ../src/strings.js:22 |
4606 | +msgid "Monday evening" |
4607 | +msgstr "مساء الإثنين" |
4608 | + |
4609 | +#: ../src/strings.js:23 |
4610 | +msgid "Tuesday night" |
4611 | +msgstr "ليلة الثلاثاء" |
4612 | + |
4613 | +#: ../src/strings.js:23 |
4614 | +msgid "Tuesday morning" |
4615 | +msgstr "صباح الثلاثاء" |
4616 | + |
4617 | +#: ../src/strings.js:23 |
4618 | +msgid "Tuesday afternoon" |
4619 | +msgstr "ظهر الثلاثاء" |
4620 | + |
4621 | +#: ../src/strings.js:23 |
4622 | +msgid "Tuesday evening" |
4623 | +msgstr "مساء الثلاثاء" |
4624 | + |
4625 | +#: ../src/strings.js:24 |
4626 | +msgid "Wednesday night" |
4627 | +msgstr "ليلة الأربعاء" |
4628 | + |
4629 | +#: ../src/strings.js:24 |
4630 | +msgid "Wednesday morning" |
4631 | +msgstr "صباح الأربعاء" |
4632 | + |
4633 | +#: ../src/strings.js:24 |
4634 | +msgid "Wednesday afternoon" |
4635 | +msgstr "ظهر الأربعاء" |
4636 | + |
4637 | +#: ../src/strings.js:24 |
4638 | +msgid "Wednesday evening" |
4639 | +msgstr "مساء الأربعاء" |
4640 | + |
4641 | +#: ../src/strings.js:25 |
4642 | +msgid "Thursday night" |
4643 | +msgstr "ليلة الخميس" |
4644 | + |
4645 | +#: ../src/strings.js:25 |
4646 | +msgid "Thursday morning" |
4647 | +msgstr "صباح الخميس" |
4648 | + |
4649 | +#: ../src/strings.js:25 |
4650 | +msgid "Thursday afternoon" |
4651 | +msgstr "ظهر الخميس" |
4652 | + |
4653 | +#: ../src/strings.js:25 |
4654 | +msgid "Thursday evening" |
4655 | +msgstr "مساء الخميس" |
4656 | + |
4657 | +#: ../src/strings.js:26 |
4658 | +msgid "Friday night" |
4659 | +msgstr "ليلة الجمعة" |
4660 | + |
4661 | +#: ../src/strings.js:26 |
4662 | +msgid "Friday morning" |
4663 | +msgstr "صباح الجمعة" |
4664 | + |
4665 | +#: ../src/strings.js:26 |
4666 | +msgid "Friday afternoon" |
4667 | +msgstr "ظهر الجمعة" |
4668 | + |
4669 | +#: ../src/strings.js:26 |
4670 | +msgid "Friday evening" |
4671 | +msgstr "مساء الجمعة" |
4672 | + |
4673 | +#: ../src/strings.js:27 |
4674 | +msgid "Saturday night" |
4675 | +msgstr "ليلة السبت" |
4676 | + |
4677 | +#: ../src/strings.js:27 |
4678 | +msgid "Saturday morning" |
4679 | +msgstr "صباح السبت" |
4680 | + |
4681 | +#: ../src/strings.js:27 |
4682 | +msgid "Saturday afternoon" |
4683 | +msgstr "ظهر السبت" |
4684 | + |
4685 | +#: ../src/strings.js:27 |
4686 | +msgid "Saturday evening" |
4687 | +msgstr "مساء السبت" |
4688 | + |
4689 | +#: ../src/strings.js:28 |
4690 | +msgid "Sunday night" |
4691 | +msgstr "ليلة الأحد" |
4692 | + |
4693 | +#: ../src/strings.js:28 |
4694 | +msgid "Sunday morning" |
4695 | +msgstr "صباح الأحد" |
4696 | + |
4697 | +#: ../src/strings.js:28 |
4698 | +msgid "Sunday afternoon" |
4699 | +msgstr "ظهر الأحد" |
4700 | + |
4701 | +#: ../src/strings.js:28 |
4702 | +msgid "Sunday evening" |
4703 | +msgstr "مساء الأحد" |
4704 | + |
4705 | +#: ../src/strings.js:31 |
4706 | +msgid "Tonight" |
4707 | +msgstr "الليلة" |
4708 | + |
4709 | +#: ../src/strings.js:31 |
4710 | +msgid "This morning" |
4711 | +msgstr "هذا الصباح" |
4712 | + |
4713 | +#: ../src/strings.js:31 |
4714 | +msgid "This afternoon" |
4715 | +msgstr "ظهر اليوم" |
4716 | + |
4717 | +#: ../src/strings.js:31 |
4718 | +msgid "This evening" |
4719 | +msgstr "هذا المساء" |
4720 | + |
4721 | +#: ../src/strings.js:32 |
4722 | +msgid "Tomorrow night" |
4723 | +msgstr "ليلة الغد" |
4724 | + |
4725 | +#: ../src/strings.js:32 |
4726 | +msgid "Tomorrow morning" |
4727 | +msgstr "صباح الغد" |
4728 | + |
4729 | +#: ../src/strings.js:32 |
4730 | +msgid "Tomorrow afternoon" |
4731 | +msgstr "ظهر الغد" |
4732 | + |
4733 | +#: ../src/strings.js:32 |
4734 | +msgid "Tomorrow evening" |
4735 | +msgstr "مساء الغد" |
4736 | + |
4737 | +#: ../src/window.js:203 |
4738 | +#, javascript-format |
4739 | +msgid "%d selected" |
4740 | +msgid_plural "%d selected" |
4741 | +msgstr[0] "لا عناصر مختارة (%d)" |
4742 | +msgstr[1] "عنصر واحد مختار (%d)" |
4743 | +msgstr[2] "عنصران مختاران (%d)" |
4744 | +msgstr[3] "%d عناصر مختارة" |
4745 | +msgstr[4] "%d عنصرًا مختارًا" |
4746 | +msgstr[5] "%d عنصر مختار" |
4747 | + |
4748 | +#: ../src/window.js:229 |
4749 | +msgid "World Weather" |
4750 | +msgstr "طقس العالم" |
4751 | + |
4752 | +#: ../src/window.js:318 |
4753 | +msgid "translator-credits" |
4754 | +msgstr "" |
4755 | +"فريق عربآيز للترجمة http://www.arabeyes.org :\n" |
4756 | +"إبراهيم سعيد\t<ibraheem5000@gmail.com>" |
4757 | + |
4758 | +#: ../src/window.js:320 |
4759 | +msgid "A weather application" |
4760 | +msgstr "تطبيق الطقس الجوي" |
4761 | + |
4762 | +#: ../src/world.js:214 |
4763 | +msgid "Cities" |
4764 | +msgstr "المُدن" |
4765 | + |
4766 | +#: ../src/world.js:231 |
4767 | +msgid "World view" |
4768 | +msgstr "مشهد العالم" |
4769 | + |
4770 | +#: ../src/world.js:259 |
4771 | +msgid "Add locations" |
4772 | +msgstr "أضف مناطق" |
4773 | + |
4774 | +#: ../src/world.js:262 |
4775 | +msgid "Use the <b>New</b> button on the toolbar to add more world locations" |
4776 | +msgstr "" |
4777 | +"استخدم زرّ <b>جديد</b> الموجود في شريط الأدوات لإضافة المزيد من المناطق في " |
4778 | +"العالم" |
4779 | |
4780 | === modified file 'po/as.po' |
4781 | --- po/as.po 2014-02-04 06:31:27 +0000 |
4782 | +++ po/as.po 2014-06-14 06:35:06 +0000 |
4783 | @@ -2,14 +2,14 @@ |
4784 | # Copyright (C) 2013 gnome-weather's COPYRIGHT HOLDER |
4785 | # This file is distributed under the same license as the gnome-weather package. |
4786 | # |
4787 | -# ngoswami <ngoswami@redhat.com>, 2013. |
4788 | +# ngoswami <ngoswami@redhat.com>, 2013, 2014. |
4789 | msgid "" |
4790 | msgstr "" |
4791 | "Project-Id-Version: gnome-weather master\n" |
4792 | "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" |
4793 | "weather&keywords=I18N+L10N&component=general\n" |
4794 | -"POT-Creation-Date: 2013-09-19 00:02+0000\n" |
4795 | -"PO-Revision-Date: 2013-09-20 15:51+0530\n" |
4796 | +"POT-Creation-Date: 2014-02-12 09:11+0000\n" |
4797 | +"PO-Revision-Date: 2014-02-12 15:41+0630\n" |
4798 | "Last-Translator: Nilamdyuti Goswami <ngoswami@redhat.com>\n" |
4799 | "Language-Team: Assamese <kde-i18n-doc@kde.org>\n" |
4800 | "Language: as\n" |
4801 | @@ -36,19 +36,27 @@ |
4802 | msgstr "Fahrenheit" |
4803 | |
4804 | #: ../data/app-menu.ui.h:5 |
4805 | -msgid "About Weather" |
4806 | -msgstr "বতৰৰ বিষয়ে" |
4807 | +msgid "About" |
4808 | +msgstr "বিষয়ে" |
4809 | |
4810 | #: ../data/app-menu.ui.h:6 |
4811 | msgid "Quit" |
4812 | msgstr "প্ৰস্থান কৰক" |
4813 | |
4814 | -#: ../data/org.gnome.Weather.Application.desktop.in.in.h:1 ../src/main.js:55 |
4815 | -#: ../src/window.js:298 |
4816 | +#: ../data/city.ui.h:1 |
4817 | +msgid "Current conditions" |
4818 | +msgstr "বৰ্তমান চৰ্তসমূহ" |
4819 | + |
4820 | +#: ../data/city.ui.h:2 |
4821 | +msgid "Detailed forecast" |
4822 | +msgstr "বিৱৰিত প্ৰাককলন" |
4823 | + |
4824 | +#: ../data/org.gnome.Weather.Application.desktop.in.h:1 ../src/main.js:57 |
4825 | +#: ../src/window.js:313 |
4826 | msgid "Weather" |
4827 | msgstr "বতৰ" |
4828 | |
4829 | -#: ../data/org.gnome.Weather.Application.desktop.in.in.h:2 |
4830 | +#: ../data/org.gnome.Weather.Application.desktop.in.h:2 |
4831 | msgid "Show weather conditions and forecast" |
4832 | msgstr "বতৰৰ অৱস্থা আৰু পূৰ্বানুমান দেখুৱাওক" |
4833 | |
4834 | @@ -59,10 +67,9 @@ |
4835 | "forecasts, up to 7 days, provided by various internet services." |
4836 | msgstr "" |
4837 | "এটা সৰু এপ্লিকেচন যি আপোনাক আপোনাৰ নগৰ, অথবা পৃথিৱীৰ যিকোনো ঠাইত বৰ্তমান বতৰ " |
4838 | -"অৱস্থা " |
4839 | -"পৰ্যবেক্ষণ কৰাৰ আৰু বিভিন্ন ইন্টাৰনেট সেৱাসমূহ দ্বাৰা প্ৰদান কৰা, আপডেইটেড " |
4840 | -"পূৰ্বানুমান, ৭ দিনলৈ, " |
4841 | -"অভিগম কৰাৰ অনুমতি দিয়ে।" |
4842 | +"অৱস্থা পৰ্যবেক্ষণ কৰাৰ আৰু বিভিন্ন ইন্টাৰনেট সেৱাসমূহ দ্বাৰা প্ৰদান কৰা, " |
4843 | +"আপডেইটেড " |
4844 | +"পূৰ্বানুমান, ৭ দিনলৈ, অভিগম কৰাৰ অনুমতি দিয়ে।" |
4845 | |
4846 | #: ../data/new-location-dialog.ui.h:1 |
4847 | msgid "New Location" |
4848 | @@ -82,8 +89,7 @@ |
4849 | "GVariant returned by gweather_location_serialize()." |
4850 | msgstr "" |
4851 | "gnome-weather ৰ বিশ্ব দৰ্শনত দেখুৱা অৱস্থানসমূহ। প্ৰত্যকটো মান " |
4852 | -"gweather_location_serialize() " |
4853 | -"দ্বাৰা ঘুৰাই দিয়া এটা GVariant।" |
4854 | +"gweather_location_serialize() দ্বাৰা ঘুৰাই দিয়া এটা GVariant।" |
4855 | |
4856 | #: ../data/window.ui.h:1 |
4857 | msgid "Select All" |
4858 | @@ -93,7 +99,7 @@ |
4859 | msgid "Select None" |
4860 | msgstr "একো নাবাছিব" |
4861 | |
4862 | -#: ../data/window.ui.h:3 ../src/window.js:187 |
4863 | +#: ../data/window.ui.h:3 ../src/window.js:202 |
4864 | msgid "Click on locations to select them" |
4865 | msgstr "অৱস্থানসমূহ নিৰ্বাচন কৰিবলে সিহতত ক্লিক কৰক" |
4866 | |
4867 | @@ -102,62 +108,79 @@ |
4868 | msgstr "নতুন" |
4869 | |
4870 | #: ../data/window.ui.h:5 |
4871 | -msgid "World Weather" |
4872 | -msgstr "বিশ্বৰ বতৰ" |
4873 | +msgid "Back" |
4874 | +msgstr "পিছলৈ" |
4875 | |
4876 | #: ../data/window.ui.h:6 |
4877 | +#| msgid "Select All" |
4878 | +msgid "Select" |
4879 | +msgstr "বাছক" |
4880 | + |
4881 | +#: ../data/window.ui.h:7 |
4882 | msgid "Cancel" |
4883 | msgstr "বাতিল কৰক" |
4884 | |
4885 | -#: ../data/window.ui.h:7 |
4886 | +#: ../data/window.ui.h:8 |
4887 | +msgid "Refresh" |
4888 | +msgstr "সতেজ কৰক" |
4889 | + |
4890 | +#: ../data/window.ui.h:9 |
4891 | msgid "Delete" |
4892 | msgstr "মচি পেলাওক" |
4893 | |
4894 | -#: ../src/city.js:119 |
4895 | +#: ../src/city.js:125 |
4896 | +msgid "City view" |
4897 | +msgstr "নগৰ দৰ্শন" |
4898 | + |
4899 | +#: ../src/city.js:134 |
4900 | msgid "Loading…" |
4901 | msgstr "ল'ড কৰা হৈছে…" |
4902 | |
4903 | -#: ../src/forecast.js:112 |
4904 | +#: ../src/forecast.js:41 |
4905 | +#| msgid "Forecast for Today" |
4906 | +msgid "Forecast" |
4907 | +msgstr "প্ৰাককলন" |
4908 | + |
4909 | +#: ../src/forecast.js:128 ../src/forecast.js:413 |
4910 | msgid "Today" |
4911 | msgstr "আজি" |
4912 | |
4913 | -#: ../src/forecast.js:118 |
4914 | +#: ../src/forecast.js:134 ../src/forecast.js:295 ../src/forecast.js:380 |
4915 | +#: ../src/forecast.js:415 |
4916 | msgid "Tomorrow" |
4917 | msgstr "অহাকালি" |
4918 | |
4919 | -#: ../src/forecast.js:132 |
4920 | -#, c-format |
4921 | +#: ../src/forecast.js:151 |
4922 | +#, javascript-format |
4923 | msgid "%s / %s" |
4924 | msgstr "%s / %s" |
4925 | |
4926 | -#: ../src/forecast.js:178 |
4927 | +#: ../src/forecast.js:197 ../src/forecast.js:291 |
4928 | msgid "More…" |
4929 | msgstr "অধিক…" |
4930 | |
4931 | -#: ../src/forecast.js:257 |
4932 | +#: ../src/forecast.js:318 |
4933 | +msgid "%l∶%M %p" |
4934 | +msgstr "%l∶%M %p" |
4935 | + |
4936 | +#: ../src/forecast.js:321 |
4937 | +msgid "%R" |
4938 | +msgstr "%R" |
4939 | + |
4940 | +#: ../src/forecast.js:352 |
4941 | +msgid "Forecast for Tomorrow" |
4942 | +msgstr "অহাকালিৰ পূৰ্বানুমান" |
4943 | + |
4944 | +#: ../src/forecast.js:354 |
4945 | msgid "Forecast for Today" |
4946 | msgstr "আজিৰ পূৰ্বানুমান" |
4947 | |
4948 | -#: ../src/forecast.js:259 |
4949 | -msgid "Forecast for Tomorrow" |
4950 | -msgstr "অহাকালিৰ পূৰ্বানুমান" |
4951 | - |
4952 | -#: ../src/forecast.js:263 |
4953 | +#: ../src/forecast.js:356 |
4954 | msgid "%B %d" |
4955 | msgstr "%B %d" |
4956 | |
4957 | -#. Translators: this is a time format without date used for AM/PM |
4958 | -#: ../src/forecast.js:300 |
4959 | -msgid "%l∶%M %p" |
4960 | -msgstr "%l∶%M %p" |
4961 | - |
4962 | -#. Translators: this is a time format without date used for 24h mode |
4963 | -#: ../src/forecast.js:303 |
4964 | -msgid "%R" |
4965 | -msgstr "%R" |
4966 | - |
4967 | -#: ../src/searchProvider.js:161 |
4968 | -#, c-format |
4969 | +#: ../src/searchProvider.js:169 |
4970 | +#, javascript-format |
4971 | msgid "%s, %s" |
4972 | msgstr "%s, %s" |
4973 | |
4974 | @@ -305,27 +328,42 @@ |
4975 | msgid "Tomorrow evening" |
4976 | msgstr "অহাকালি গধূলি" |
4977 | |
4978 | -#: ../src/window.js:182 |
4979 | -#, c-format |
4980 | +#: ../src/window.js:197 |
4981 | +#, javascript-format |
4982 | msgid "%d selected" |
4983 | msgid_plural "%d selected" |
4984 | msgstr[0] "%d নিৰ্বাচিত" |
4985 | msgstr[1] "%d নিৰ্বাচিত" |
4986 | |
4987 | -#: ../src/window.js:297 |
4988 | +#: ../src/window.js:223 |
4989 | +msgid "World Weather" |
4990 | +msgstr "বিশ্বৰ বতৰ" |
4991 | + |
4992 | +#: ../src/window.js:312 |
4993 | msgid "translator-credits" |
4994 | msgstr "নীলমদ্যুতি গোস্বামী (ngoswami@redhat.com)" |
4995 | |
4996 | -#: ../src/window.js:299 |
4997 | +#: ../src/window.js:314 |
4998 | msgid "A weather application" |
4999 | msgstr "এটা বতৰ এপ্লিকেচন" |
5000 |
The diff has been truncated for viewing.
Thanks. Uploaded.