Merge lp:~mterry/geonames/trainify into lp:geonames

Proposed by Michael Terry
Status: Merged
Approved by: Michael Terry
Approved revision: 22
Merged at revision: 20
Proposed branch: lp:~mterry/geonames/trainify
Merge into: lp:geonames
Diff against target: 748 lines (+104/-495)
12 files modified
.bzr-builddeb/default.conf (+2/-0)
COPYING.data (+62/-0)
Makefile.am (+2/-1)
autogen.sh (+1/-1)
configure.ac (+2/-2)
debian/changelog (+1/-1)
debian/control (+9/-7)
debian/copyright (+13/-478)
debian/libgeonames-dev.install (+1/-1)
debian/rules (+5/-2)
debian/source/format (+1/-1)
src/geonames.h (+5/-1)
To merge this branch: bzr merge lp:~mterry/geonames/trainify
Reviewer Review Type Date Requested Status
Nick Dedekind (community) Approve
Geonames developers Pending
Review via email: mp+287362@code.launchpad.net

Commit message

Some packaging cleanups, making the package ready for the citrain.

Description of the change

A bunch of packaging cleanups with the main goal of making the source suitable for citrain.

See https://wiki.ubuntu.com/DailyRelease/InlinePackaging

I also did some other packaging cleanups, fixing licenses, getting rid of lintian warnings, etc.

To post a comment you must log in.
lp:~mterry/geonames/trainify updated
21. By Michael Terry

Lower gtk-doc requirement to match what vivid has

22. By Michael Terry

use G_BEGIN_DECLS

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

looks fine. Packages inspected and install fine.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.bzr-builddeb'
2=== added file '.bzr-builddeb/default.conf'
3--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
4+++ .bzr-builddeb/default.conf 2016-02-26 21:26:57 +0000
5@@ -0,0 +1,2 @@
6+[BUILDDEB]
7+split = True
8
9=== added file 'COPYING.data'
10--- COPYING.data 1970-01-01 00:00:00 +0000
11+++ COPYING.data 2016-02-26 21:26:57 +0000
12@@ -0,0 +1,62 @@
13+CC-BY-3.0 License
14+
15+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
16+
17+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
18+
19+1. Definitions
20+
21+"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
22+"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
23+"Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
24+"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
25+"Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
26+"Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
27+"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
28+"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
29+"Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
30+2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
31+
32+3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
33+
34+to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
35+to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
36+to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
37+to Distribute and Publicly Perform Adaptations.
38+For the avoidance of doubt:
39+
40+Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
41+Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
42+Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
43+The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
44+
45+4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
46+
47+You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested.
48+If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
49+Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
50+5. Representations, Warranties and Disclaimer
51+
52+UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
53+
54+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
55+
56+7. Termination
57+
58+This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
59+Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
60+8. Miscellaneous
61+
62+Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
63+Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
64+If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
65+No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
66+This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
67+The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
68+Creative Commons Notice
69+
70+Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
71+
72+Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of this License.
73+
74+Creative Commons may be contacted at https://creativecommons.org/.
75
76=== modified file 'Makefile.am'
77--- Makefile.am 2015-12-09 14:38:18 +0000
78+++ Makefile.am 2016-02-26 21:26:57 +0000
79@@ -6,4 +6,5 @@
80
81 EXTRA_DIST = \
82 autogen.sh \
83- COPYING
84+ COPYING \
85+ COPYING.data
86
87=== modified file 'autogen.sh'
88--- autogen.sh 2015-10-07 07:44:59 +0000
89+++ autogen.sh 2016-02-26 21:26:57 +0000
90@@ -1,7 +1,7 @@
91 #!/bin/sh -e
92
93 mkdir -p m4
94-gtkdocize
95+gtkdocize --copy
96 autoreconf -i
97
98 test -n "$NOCONFIGURE" || ./configure $@
99
100=== modified file 'configure.ac'
101--- configure.ac 2015-10-07 07:44:59 +0000
102+++ configure.ac 2016-02-26 21:26:57 +0000
103@@ -4,11 +4,11 @@
104 AM_SILENT_RULES([yes])
105 AC_CONFIG_MACRO_DIR([m4])
106
107-LT_INIT
108+LT_INIT([disable-static])
109 AC_PROG_CC
110 AM_PROG_CC_C_O
111
112-GTK_DOC_CHECK([1.24], [--flavour no-tmpl])
113+GTK_DOC_CHECK([1.21], [--flavour no-tmpl])
114
115 PKG_CHECK_MODULES(GIO, gio-2.0)
116 AC_SUBST(GLIB_COMPILE_RESOURCES, `$PKG_CONFIG --variable glib_compile_resources gio-2.0`)
117
118=== modified file 'debian/changelog'
119--- debian/changelog 2015-12-09 09:36:28 +0000
120+++ debian/changelog 2016-02-26 21:26:57 +0000
121@@ -1,4 +1,4 @@
122-geonames (0.1-0ubuntu1) UNRELEASED; urgency=low
123+geonames (0.1-0ubuntu1) xenial; urgency=low
124
125 * Initial release
126
127
128=== modified file 'debian/control'
129--- debian/control 2015-12-10 17:27:19 +0000
130+++ debian/control 2016-02-26 21:26:57 +0000
131@@ -5,20 +5,23 @@
132 Build-Depends: debhelper (>= 9),
133 dh-autoreconf,
134 dh-translations,
135- gtk-doc-tools (>= 1.24),
136+ gtk-doc-tools (>= 1.21),
137 intltool,
138 libglib2.0-dev,
139 pkg-config,
140 Standards-Version: 3.9.6
141 Homepage: https://launchpad.net/geonames
142-Vcs-Git: https://git.launchpad.net/~larsu/geonames
143+# if you don't have have commit access to this branch but would like to upload
144+# directly to Ubuntu, don't worry: your changes will be merged back into the
145+# upstream branch
146+Vcs-Bzr: lp:geonames
147
148 Package: libgeonames0
149 Architecture: any
150 Multi-Arch: same
151 Section: libs
152-Depends: ${shlibs:Depends},
153- ${misc:Depends},
154+Depends: ${misc:Depends},
155+ ${shlibs:Depends},
156 Description: Parse and query the geonames database dump
157 A library for parsing and querying a local copy of the geonames.org database.
158 .
159@@ -28,10 +31,9 @@
160 Architecture: any
161 Section: libdevel
162 Multi-Arch: same
163-Depends: ${shlibs:Depends},
164- ${misc:Depends},
165- libgeonames0 (= ${binary:Version}),
166+Depends: libgeonames0 (= ${binary:Version}),
167 libglib2.0-dev,
168+ ${misc:Depends},
169 Description: geonames - library development files
170 A library for parsing and querying a local copy of the geonames.org database.
171 .
172
173=== modified file 'debian/copyright'
174--- debian/copyright 2015-12-10 17:27:19 +0000
175+++ debian/copyright 2016-02-26 21:26:57 +0000
176@@ -5,29 +5,23 @@
177 Files: *
178 Copyright: 2015 Canonical Ltd.
179 License: GPL-3
180+ This library is free software; you can redistribute it and/or
181+ modify it under the terms of the GNU General Public
182+ License Version 3.0 as published by the Free Software Foundation.
183+ .
184+ This library is distributed in the hope that it will be useful,
185+ but WITHOUT ANY WARRANTY; without even the implied warranty of
186+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
187+ Lesser General Public License for more details.
188+ .
189 On Debian systems, the complete text of the GNU General
190 Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
191
192 Files: data/*
193 Copyright: geonames.org
194-License: CC-BY-2.0
195 Upstream-Contact: http://www.geonames.org
196-
197-License: CC-BY-SA
198- Creative Commons
199- .
200- Creative Commons Legal Code
201- .
202- Attribution-ShareAlike 3.0 Unported
203- .
204- CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
205- LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
206- ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION
207- ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE
208- INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
209- ITS USE.
210- .
211- License
212+License: CC-BY-3.0
213+ Creative Commons Attribution 3.0 Unported License
214 .
215 THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
216 COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
217@@ -40,464 +34,5 @@
218 CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
219 CONDITIONS.
220 .
221- 1. Definitions
222- .
223-  a. "Adaptation" means a work based upon the Work, or upon the Work and
224- other pre-existing works, such as a translation, adaptation,
225- derivative work, arrangement of music or other alterations of a
226- literary or artistic work, or phonogram or performance and includes
227- cinematographic adaptations or any other form in which the Work may be
228- recast, transformed, or adapted including in any form recognizably
229- derived from the original, except that a work that constitutes a
230- Collection will not be considered an Adaptation for the purpose of
231- this License. For the avoidance of doubt, where the Work is a musical
232- work, performance or phonogram, the synchronization of the Work in
233- timed-relation with a moving image ("synching") will be considered an
234- Adaptation for the purpose of this License.
235-  b. "Collection" means a collection of literary or artistic works, such as
236- encyclopedias and anthologies, or performances, phonograms or
237- broadcasts, or other works or subject matter other than works listed
238- in Section 1(f) below, which, by reason of the selection and
239- arrangement of their contents, constitute intellectual creations, in
240- which the Work is included in its entirety in unmodified form along
241- with one or more other contributions, each constituting separate and
242- independent works in themselves, which together are assembled into a
243- collective whole. A work that constitutes a Collection will not be
244- considered an Adaptation (as defined below) for the purposes of this
245- License.
246-  c. "Creative Commons Compatible License" means a license that is listed
247- at http://creativecommons.org/compatiblelicenses that has been
248- approved by Creative Commons as being essentially equivalent to this
249- License, including, at a minimum, because that license: (i) contains
250- terms that have the same purpose, meaning and effect as the License
251- Elements of this License; and, (ii) explicitly permits the relicensing
252- of adaptations of works made available under that license under this
253- License or a Creative Commons jurisdiction license with the same
254- License Elements as this License.
255-  d. "Distribute" means to make available to the public the original and
256- copies of the Work or Adaptation, as appropriate, through sale or
257- other transfer of ownership.
258-  e. "License Elements" means the following high-level license attributes
259- as selected by Licensor and indicated in the title of this License:
260- Attribution, ShareAlike.
261-  f. "Licensor" means the individual, individuals, entity or entities that
262- offer(s) the Work under the terms of this License.
263-  g. "Original Author" means, in the case of a literary or artistic work,
264- the individual, individuals, entity or entities who created the Work
265- or if no individual or entity can be identified, the publisher; and in
266- addition (i) in the case of a performance the actors, singers,
267- musicians, dancers, and other persons who act, sing, deliver, declaim,
268- play in, interpret or otherwise perform literary or artistic works or
269- expressions of folklore; (ii) in the case of a phonogram the producer
270- being the person or legal entity who first fixes the sounds of a
271- performance or other sounds; and, (iii) in the case of broadcasts, the
272- organization that transmits the broadcast.
273-  h. "Work" means the literary and/or artistic work offered under the terms
274- of this License including without limitation any production in the
275- literary, scientific and artistic domain, whatever may be the mode or
276- form of its expression including digital form, such as a book,
277- pamphlet and other writing; a lecture, address, sermon or other work
278- of the same nature; a dramatic or dramatico-musical work; a
279- choreographic work or entertainment in dumb show; a musical
280- composition with or without words; a cinematographic work to which are
281- assimilated works expressed by a process analogous to cinematography;
282- a work of drawing, painting, architecture, sculpture, engraving or
283- lithography; a photographic work to which are assimilated works
284- expressed by a process analogous to photography; a work of applied
285- art; an illustration, map, plan, sketch or three-dimensional work
286- relative to geography, topography, architecture or science; a
287- performance; a broadcast; a phonogram; a compilation of data to the
288- extent it is protected as a copyrightable work; or a work performed by
289- a variety or circus performer to the extent it is not otherwise
290- considered a literary or artistic work.
291-  i. "You" means an individual or entity exercising rights under this
292- License who has not previously violated the terms of this License with
293- respect to the Work, or who has received express permission from the
294- Licensor to exercise rights under this License despite a previous
295- violation.
296-  j. "Publicly Perform" means to perform public recitations of the Work and
297- to communicate to the public those public recitations, by any means or
298- process, including by wire or wireless means or public digital
299- performances; to make available to the public Works in such a way that
300- members of the public may access these Works from a place and at a
301- place individually chosen by them; to perform the Work to the public
302- by any means or process and the communication to the public of the
303- performances of the Work, including by public digital performance; to
304- broadcast and rebroadcast the Work by any means including signs,
305- sounds or images.
306-  k. "Reproduce" means to make copies of the Work by any means including
307- without limitation by sound or visual recordings and the right of
308- fixation and reproducing fixations of the Work, including storage of a
309- protected performance or phonogram in digital form or other electronic
310- medium.
311- .
312- 2. Fair Dealing Rights. Nothing in this License is intended to reduce,
313- limit, or restrict any uses free from copyright or rights arising from
314- limitations or exceptions that are provided for in connection with the
315- copyright protection under copyright law or other applicable laws.
316- .
317- 3. License Grant. Subject to the terms and conditions of this License,
318- Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
319- perpetual (for the duration of the applicable copyright) license to
320- exercise the rights in the Work as stated below:
321- .
322-  a. to Reproduce the Work, to incorporate the Work into one or more
323- Collections, and to Reproduce the Work as incorporated in the
324- Collections;
325-  b. to create and Reproduce Adaptations provided that any such Adaptation,
326- including any translation in any medium, takes reasonable steps to
327- clearly label, demarcate or otherwise identify that changes were made
328- to the original Work. For example, a translation could be marked "The
329- original work was translated from English to Spanish," or a
330- modification could indicate "The original work has been modified.";
331-  c. to Distribute and Publicly Perform the Work including as incorporated
332- in Collections; and,
333-  d. to Distribute and Publicly Perform Adaptations.
334-  e. For the avoidance of doubt:
335- .
336- i. Non-waivable Compulsory License Schemes. In those jurisdictions in
337- which the right to collect royalties through any statutory or
338- compulsory licensing scheme cannot be waived, the Licensor
339- reserves the exclusive right to collect such royalties for any
340- exercise by You of the rights granted under this License;
341- ii. Waivable Compulsory License Schemes. In those jurisdictions in
342- which the right to collect royalties through any statutory or
343- compulsory licensing scheme can be waived, the Licensor waives
344- the exclusive right to collect such royalties for any exercise by
345- You of the rights granted under this License; and,
346- iii. Voluntary License Schemes. The Licensor waives the right to
347- collect royalties, whether individually or, in the event that
348- the Licensor is a member of a collecting society that
349- administers voluntary licensing schemes, via that society, from
350- any exercise by You of the rights granted under this License.
351- .
352- The above rights may be exercised in all media and formats whether now
353- known or hereafter devised. The above rights include the right to make
354- such modifications as are technically necessary to exercise the rights in
355- other media and formats. Subject to Section 8(f), all rights not expressly
356- granted by Licensor are hereby reserved.
357- .
358- 4. Restrictions. The license granted in Section 3 above is expressly made
359- subject to and limited by the following restrictions:
360- .
361- a. You may Distribute or Publicly Perform the Work only under the terms
362- of this License. You must include a copy of, or the Uniform Resource
363- Identifier (URI) for, this License with every copy of the Work You
364- Distribute or Publicly Perform. You may not offer or impose any terms
365- on the Work that restrict the terms of this License or the ability of
366- the recipient of the Work to exercise the rights granted to that
367- recipient under the terms of the License. You may not sublicense the
368- Work. You must keep intact all notices that refer to this License and
369- to the disclaimer of warranties with every copy of the Work You
370- Distribute or Publicly Perform. When You Distribute or Publicly
371- Perform the Work, You may not impose any effective technological
372- measures on the Work that restrict the ability of a recipient of the
373- Work from You to exercise the rights granted to that recipient under
374- the terms of the License. This Section 4(a) applies to the Work as
375- incorporated in a Collection, but this does not require the Collection
376- apart from the Work itself to be made subject to the terms of this
377- License. If You create a Collection, upon notice from any Licensor You
378- must, to the extent practicable, remove from the Collection any credit
379- as required by Section 4(c), as requested. If You create an
380- Adaptation, upon notice from any Licensor You must, to the extent
381- practicable, remove from the Adaptation any credit as required by
382- Section 4(c), as requested.
383-  b. You may Distribute or Publicly Perform an Adaptation only under the
384- terms of: (i) this License; (ii) a later version of this License with
385- the same License Elements as this License; (iii) a Creative Commons
386- jurisdiction license (either this or a later license version) that
387- contains the same License Elements as this License (e.g.,
388- Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible
389- License. If you license the Adaptation under one of the licenses
390- mentioned in (iv), you must comply with the terms of that license. If
391- you license the Adaptation under the terms of any of the licenses
392- mentioned in (i), (ii) or (iii) (the "Applicable License"), you must
393- comply with the terms of the Applicable License generally and the
394- following provisions: (I) You must include a copy of, or the URI for,
395- the Applicable License with every copy of each Adaptation You
396- Distribute or Publicly Perform; (II) You may not offer or impose any
397- terms on the Adaptation that restrict the terms of the Applicable
398- License or the ability of the recipient of the Adaptation to exercise
399- the rights granted to that recipient under the terms of the Applicable
400- License; (III) You must keep intact all notices that refer to the
401- Applicable License and to the disclaimer of warranties with every copy
402- of the Work as included in the Adaptation You Distribute or Publicly
403- Perform; (IV) when You Distribute or Publicly Perform the Adaptation,
404- You may not impose any effective technological measures on the
405- Adaptation that restrict the ability of a recipient of the Adaptation
406- from You to exercise the rights granted to that recipient under the
407- terms of the Applicable License. This Section 4(b) applies to the
408- Adaptation as incorporated in a Collection, but this does not require
409- the Collection apart from the Adaptation itself to be made subject to
410- the terms of the Applicable License.
411-  c. If You Distribute, or Publicly Perform the Work or any Adaptations or
412- Collections, You must, unless a request has been made pursuant to
413- Section 4(a), keep intact all copyright notices for the Work and
414- provide, reasonable to the medium or means You are utilizing: (i) the
415- name of the Original Author (or pseudonym, if applicable) if supplied,
416- and/or if the Original Author and/or Licensor designate another party
417- or parties (e.g., a sponsor institute, publishing entity, journal) for
418- attribution ("Attribution Parties") in Licensor's copyright notice,
419- terms of service or by other reasonable means, the name of such party
420- or parties; (ii) the title of the Work if supplied; (iii) to the
421- extent reasonably practicable, the URI, if any, that Licensor
422- specifies to be associated with the Work, unless such URI does not
423- refer to the copyright notice or licensing information for the Work;
424- and (iv) , consistent with Ssection 3(b), in the case of an
425- Adaptation, a credit identifying the use of the Work in the Adaptation
426- (e.g., "French translation of the Work by Original Author," or
427- "Screenplay based on original Work by Original Author"). The credit
428- required by this Section 4(c) may be implemented in any reasonable
429- manner; provided, however, that in the case of a Adaptation or
430- Collection, at a minimum such credit will appear, if a credit for all
431- contributing authors of the Adaptation or Collection appears, then as
432- part of these credits and in a manner at least as prominent as the
433- credits for the other contributing authors. For the avoidance of
434- doubt, You may only use the credit required by this Section for the
435- purpose of attribution in the manner set out above and, by exercising
436- Your rights under this License, You may not implicitly or explicitly
437- assert or imply any connection with, sponsorship or endorsement by the
438- Original Author, Licensor and/or Attribution Parties, as appropriate,
439- of You or Your use of the Work, without the separate, express prior
440- written permission of the Original Author, Licensor and/or Attribution
441- Parties.
442-  d. Except as otherwise agreed in writing by the Licensor or as may be
443- otherwise permitted by applicable law, if You Reproduce, Distribute or
444- Publicly Perform the Work either by itself or as part of any
445- Adaptations or Collections, You must not distort, mutilate, modify or
446- take other derogatory action in relation to the Work which would be
447- prejudicial to the Original Author's honor or reputation. Licensor
448- agrees that in those jurisdictions (e.g. Japan), in which any exercise
449- of the right granted in Section 3(b) of this License (the right to
450- make Adaptations) would be deemed to be a distortion, mutilation,
451- modification or other derogatory action prejudicial to the Original
452- Author's honor and reputation, the Licensor will waive or not assert,
453- as appropriate, this Section, to the fullest extent permitted by the
454- applicable national law, to enable You to reasonably exercise Your
455- right under Section 3(b) of this License (right to make Adaptations)
456- but not otherwise.
457- .
458- 5. Representations, Warranties and Disclaimer
459- .
460- UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
461- OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
462- KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
463- INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
464- FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
465- LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
466- WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
467- OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
468- .
469- 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
470- LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
471- ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
472- ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
473- BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
474- .
475- 7. Termination
476- .
477-  a. This License and the rights granted hereunder will terminate
478- automatically upon any breach by You of the terms of this License.
479- Individuals or entities who have received Adaptations or Collections
480- from You under this License, however, will not have their licenses
481- terminated provided such individuals or entities remain in full
482- compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
483- survive any termination of this License.
484-  b. Subject to the above terms and conditions, the license granted here is
485- perpetual (for the duration of the applicable copyright in the Work).
486- Notwithstanding the above, Licensor reserves the right to release the
487- Work under different license terms or to stop distributing the Work at
488- any time; provided, however that any such election will not serve to
489- withdraw this License (or any other license that has been, or is
490- required to be, granted under the terms of this License), and this
491- License will continue in full force and effect unless terminated as
492- stated above.
493- .
494- 8. Miscellaneous
495- .
496-  a. Each time You Distribute or Publicly Perform the Work or a Collection,
497- the Licensor offers to the recipient a license to the Work on the same
498- terms and conditions as the license granted to You under this License.
499-  b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
500- offers to the recipient a license to the original Work on the same
501- terms and conditions as the license granted to You under this License.
502-  c. If any provision of this License is invalid or unenforceable under
503- applicable law, it shall not affect the validity or enforceability of
504- the remainder of the terms of this License, and without further action
505- by the parties to this agreement, such provision shall be reformed to
506- the minimum extent necessary to make such provision valid and
507- enforceable.
508-  d. No term or provision of this License shall be deemed waived and no
509- breach consented to unless such waiver or consent shall be in writing
510- and signed by the party to be charged with such waiver or consent.
511-  e. This License constitutes the entire agreement between the parties with
512- respect to the Work licensed here. There are no understandings,
513- agreements or representations with respect to the Work not specified
514- here. Licensor shall not be bound by any additional provisions that
515- may appear in any communication from You. This License may not be
516- modified without the mutual written agreement of the Licensor and You.
517-  f. The rights granted under, and the subject matter referenced, in this
518- License were drafted utilizing the terminology of the Berne Convention
519- for the Protection of Literary and Artistic Works (as amended on
520- September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
521- Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
522- and the Universal Copyright Convention (as revised on July 24, 1971).
523- These rights and subject matter take effect in the relevant
524- jurisdiction in which the License terms are sought to be enforced
525- according to the corresponding provisions of the implementation of
526- those treaty provisions in the applicable national law. If the
527- standard suite of rights granted under applicable copyright law
528- includes additional rights not granted under this License, such
529- additional rights are deemed to be included in the License; this
530- License is not intended to restrict the license of any rights under
531- applicable law.
532- .
533- Creative Commons Notice
534- .
535- Creative Commons is not a party to this License, and makes no warranty
536- whatsoever in connection with the Work. Creative Commons will not be
537- liable to You or any party on any legal theory for any damages
538- whatsoever, including without limitation any general, special,
539- incidental or consequential damages arising in connection to this
540- license. Notwithstanding the foregoing two (2) sentences, if Creative
541- Commons has expressly identified itself as the Licensor hereunder, it
542- shall have all rights and obligations of Licensor.
543- .
544- Except for the limited purpose of indicating to the public that the Work
545- is licensed under the CCPL, Creative Commons does not authorize the use
546- by either party of the trademark "Creative Commons" or any related
547- trademark or logo of Creative Commons without the prior written consent
548- of Creative Commons. Any permitted use will be in compliance with
549- Creative Commons' then-current trademark usage guidelines, as may be
550- published on its website or otherwise made available upon request from
551- time to time. For the avoidance of doubt, this trademark restriction
552- does not form part of the License.
553- .
554- Creative Commons may be contacted at http://creativecommons.org/.
555-
556-License: CC0
557- Creative Commons
558- .
559- Creative Commons Legal Code
560- .
561- CC0 1.0 Universal
562- .
563- Official translations of this legal tool are available in other
564- languages.
565- .
566- CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
567- LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
568- ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION
569- ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE
570- USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND
571- DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT
572- OR THE INFORMATION OR WORKS PROVIDED HEREUNDER.
573- .
574- Statement of Purpose
575- .
576- The laws of most jurisdictions throughout the world automatically confer
577- exclusive Copyright and Related Rights (defined below) upon the creator
578- and subsequent owner(s) (each and all, an "owner") of an original work of
579- authorship and/or a database (each, a "Work").
580- .
581- Certain owners wish to permanently relinquish those rights to a Work for
582- the purpose of contributing to a commons of creative, cultural and
583- scientific works ("Commons") that the public can reliably and without fear
584- of later claims of infringement build upon, modify, incorporate in other
585- works, reuse and redistribute as freely as possible in any form whatsoever
586- and for any purposes, including without limitation commercial purposes.
587- These owners may contribute to the Commons to promote the ideal of a free
588- culture and the further production of creative, cultural and scientific
589- works, or to gain reputation or greater distribution for their Work in
590- part through the use and efforts of others.
591- .
592- For these and/or other purposes and motivations, and without any
593- expectation of additional consideration or compensation, the person
594- associating CC0 with a Work (the "Affirmer"), to the extent that he or she
595- is an owner of Copyright and Related Rights in the Work, voluntarily
596- elects to apply CC0 to the Work and publicly distribute the Work under its
597- terms, with knowledge of his or her Copyright and Related Rights in the
598- Work and the meaning and intended legal effect of CC0 on those rights.
599- .
600- 1. Copyright and Related Rights. A Work made available under CC0 may be
601- protected by copyright and related or neighboring rights ("Copyright and
602- Related Rights"). Copyright and Related Rights include, but are not
603- limited to, the following:
604- .
605- i. the right to reproduce, adapt, distribute, perform, display,
606- communicate, and translate a Work;
607- ii. moral rights retained by the original author(s) and/or performer(s);
608- iii. publicity and privacy rights pertaining to a person's image or
609- likeness depicted in a Work;
610- iv. rights protecting against unfair competition in regards to a Work,
611- subject to the limitations in paragraph 4(a), below;
612- v. rights protecting the extraction, dissemination, use and reuse of data
613- in a Work;
614- vi. database rights (such as those arising under Directive 96/9/EC of the
615- European Parliament and of the Council of 11 March 1996 on the legal
616- protection of databases, and under any national implementation
617- thereof, including any amended or successor version of such
618- directive); and
619- vii. other similar, equivalent or corresponding rights throughout the
620- world based on applicable law or treaty, and any national
621- implementations thereof.
622- .
623- 2. Waiver. To the greatest extent permitted by, but not in contravention
624- of, applicable law, Affirmer hereby overtly, fully, permanently,
625- irrevocably and unconditionally waives, abandons, and surrenders all of
626- Affirmer's Copyright and Related Rights and associated claims and causes
627- of action, whether now known or unknown (including existing as well as
628- future claims and causes of action), in the Work (i) in all territories
629- worldwide, (ii) for the maximum duration provided by applicable law or
630- treaty (including future time extensions), (iii) in any current or future
631- medium and for any number of copies, and (iv) for any purpose whatsoever,
632- including without limitation commercial, advertising or promotional
633- purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
634- member of the public at large and to the detriment of Affirmer's heirs and
635- successors, fully intending that such Waiver shall not be subject to
636- revocation, rescission, cancellation, termination, or any other legal or
637- equitable action to disrupt the quiet enjoyment of the Work by the public
638- as contemplated by Affirmer's express Statement of Purpose.
639- .
640- 3. Public License Fallback. Should any part of the Waiver for any reason
641- be judged legally invalid or ineffective under applicable law, then the
642- Waiver shall be preserved to the maximum extent permitted taking into
643- account Affirmer's express Statement of Purpose. In addition, to the
644- extent the Waiver is so judged Affirmer hereby grants to each affected
645- person a royalty-free, non transferable, non sublicensable, non exclusive,
646- irrevocable and unconditional license to exercise Affirmer's Copyright and
647- Related Rights in the Work (i) in all territories worldwide, (ii) for the
648- maximum duration provided by applicable law or treaty (including future
649- time extensions), (iii) in any current or future medium and for any number
650- of copies, and (iv) for any purpose whatsoever, including without
651- limitation commercial, advertising or promotional purposes (the
652- "License"). The License shall be deemed effective as of the date CC0 was
653- applied by Affirmer to the Work. Should any part of the License for any
654- reason be judged legally invalid or ineffective under applicable law, such
655- partial invalidity or ineffectiveness shall not invalidate the remainder
656- of the License, and in such case Affirmer hereby affirms that he or she
657- will not (i) exercise any of his or her remaining Copyright and Related
658- Rights in the Work or (ii) assert any associated claims and causes of
659- action with respect to the Work, in either case contrary to Affirmer's
660- express Statement of Purpose.
661- .
662- 4. Limitations and Disclaimers.
663- .
664-  a. No trademark or patent rights held by Affirmer are waived, abandoned,
665- surrendered, licensed or otherwise affected by this document.
666-  b. Affirmer offers the Work as-is and makes no representations or
667- warranties of any kind concerning the Work, express, implied,
668- statutory or otherwise, including without limitation warranties of
669- title, merchantability, fitness for a particular purpose, non
670- infringement, or the absence of latent or other defects, accuracy, or
671- the present or absence of errors, whether or not discoverable, all to
672- the greatest extent permissible under applicable law.
673-  c. Affirmer disclaims responsibility for clearing rights of other persons
674- that may apply to the Work or any use thereof, including without
675- limitation any person's Copyright and Related Rights in the Work.
676- Further, Affirmer disclaims responsibility for obtaining any necessary
677- consents, permissions or other rights required for any use of the
678- Work.
679-  d. Affirmer understands and acknowledges that Creative Commons is not a
680- party to this document and has no duty or obligation with respect to
681- this CC0 or use of the Work.
682+ You should have received a copy of the license along with this
683+ work. If not, see <http://creativecommons.org/licenses/by/3.0/>.
684
685=== modified file 'debian/libgeonames-dev.install'
686--- debian/libgeonames-dev.install 2015-12-10 17:27:19 +0000
687+++ debian/libgeonames-dev.install 2016-02-26 21:26:57 +0000
688@@ -1,4 +1,4 @@
689+usr/include
690 usr/lib/*/libgeonames.so
691 usr/lib/*/pkgconfig
692-usr/include /usr/
693 usr/share/gtk-doc
694
695=== modified file 'debian/rules'
696--- debian/rules 2015-12-10 17:27:19 +0000
697+++ debian/rules 2016-02-26 21:26:57 +0000
698@@ -1,4 +1,5 @@
699 #!/usr/bin/make -f
700+# -*- Mode: Makefile; indent-tabs-mode: t; tab-width: 4 -*-
701
702 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
703
704@@ -6,10 +7,12 @@
705 dh $@ --with autoreconf
706
707 override_dh_autoreconf:
708- NO_CONFIGURE=1 dh_autoreconf ./autogen.sh
709+ NOCONFIGURE=1 dh_autoreconf ./autogen.sh
710+
711+override_dh_auto_configure:
712+ dh_auto_configure -- --enable-gtk-doc
713
714 override_dh_install:
715 # don't install libtool files they are not needed
716 find debian -name *.la -delete
717- find debian -name *.a -delete
718 dh_install --fail-missing
719
720=== modified file 'debian/source/format'
721--- debian/source/format 2015-12-09 14:10:20 +0000
722+++ debian/source/format 2016-02-26 21:26:57 +0000
723@@ -1,1 +1,1 @@
724-3.0 (quilt)
725+3.0 (native)
726
727=== modified file 'src/geonames.h'
728--- src/geonames.h 2015-10-07 07:44:59 +0000
729+++ src/geonames.h 2016-02-26 21:26:57 +0000
730@@ -22,6 +22,8 @@
731
732 #include <gio/gio.h>
733
734+G_BEGIN_DECLS
735+
736 #ifndef _GEONAMES_EXPORT
737 #define _GEONAMES_EXPORT __attribute__((visibility("default"))) extern
738 #endif
739@@ -78,6 +80,8 @@
740 _GEONAMES_EXPORT
741 const gchar * geonames_city_get_timezone (GeonamesCity *city);
742
743-G_DEFINE_AUTOPTR_CLEANUP_FUNC (GeonamesCity, geonames_city_free);
744+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GeonamesCity, geonames_city_free)
745+
746+G_END_DECLS
747
748 #endif

Subscribers

People subscribed via source and target branches