Merge lp:~noskcaj/ubuntu/utopic/libdmapsharing/2.9.26 into lp:ubuntu/utopic/libdmapsharing

Proposed by Jackson Doak
Status: Needs review
Proposed branch: lp:~noskcaj/ubuntu/utopic/libdmapsharing/2.9.26
Merge into: lp:ubuntu/utopic/libdmapsharing
Diff against target: 4254 lines (+1488/-682)
49 files modified
ChangeLog (+120/-0)
Makefile.in (+12/-3)
TODO (+14/-5)
aclocal.m4 (+16/-0)
config.guess (+64/-87)
config.sub (+16/-14)
configure (+217/-128)
configure.ac (+22/-23)
debian/changelog (+6/-0)
doc/Makefile.in (+12/-3)
doc/html/libdmapsharing-3.0-DMAPContainerDb.html (+4/-0)
doc/html/libdmapsharing-3.0-DMAPDb.html (+36/-3)
libdmapsharing-3.0-uninstalled.pc (+1/-1)
libdmapsharing/Makefile.am (+29/-0)
libdmapsharing/Makefile.in (+96/-17)
libdmapsharing/daap-share.c (+3/-3)
libdmapsharing/dacp-player.h (+8/-8)
libdmapsharing/dacp-share.c (+2/-2)
libdmapsharing/dmap-connection.h (+1/-1)
libdmapsharing/dmap-container-db.h (+1/-1)
libdmapsharing/dmap-db.c (+1/-1)
libdmapsharing/dmap-db.h (+4/-4)
libdmapsharing/dmap-gst-input-stream.c (+1/-1)
libdmapsharing/dmap-md5.c (+12/-10)
libdmapsharing/dmap-mdns-browser.h (+8/-0)
libdmapsharing/dmap-private-utils.c (+1/-1)
libdmapsharing/dmap-record.h (+1/-1)
libdmapsharing/dmap-share.c (+6/-6)
libdmapsharing/dpap-share.c (+1/-1)
m4/Makefile.in (+12/-3)
m4/introspection.m4 (+96/-0)
m4/libtool.m4 (+2/-2)
media/Makefile.in (+12/-3)
tests/Makefile.am (+6/-4)
tests/Makefile.in (+35/-24)
tests/dacplisten.c (+31/-31)
tests/dacplisten.vala (+1/-1)
tests/dmapcopy.c (+28/-28)
tests/dmapcopy.vala (+100/-0)
tests/dmapserve.c (+15/-15)
tests/dpapview.c (+63/-63)
tests/test-dmap-server.c (+3/-1)
tests/vala-dmap-container-db.c (+17/-17)
tests/vala-dmap-db.c (+24/-24)
tests/vala-dpap-record.c (+52/-52)
tests/vala-dpap-record.vala (+1/-1)
vala/Makefile.am (+7/-2)
vala/Makefile.in (+130/-61)
vala/libdmapsharing-3.0.vapi (+138/-26)
To merge this branch: bzr merge lp:~noskcaj/ubuntu/utopic/libdmapsharing/2.9.26
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+221142@code.launchpad.net

Description of the change

New upstream release

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. Uploaded.

review: Approve

Unmerged revisions

21. By Jackson Doak

New upstream release.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog'
2--- ChangeLog 2014-02-22 10:48:55 +0000
3+++ ChangeLog 2014-05-27 20:54:48 +0000
4@@ -1,3 +1,123 @@
5+commit c2bf5a60486cb5bc33f47ed5df708ad24d0d5c15
6+Author: W. Michael Petullo <mike@flyn.org>
7+Date: Tue May 27 16:18:11 2014 -0400
8+
9+ Bump version number
10+
11+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
12+
13+commit c1447ae3ae9574addab2fa9b82ca4f117609e222
14+Author: W. Michael Petullo <mike@flyn.org>
15+Date: Tue May 27 16:10:56 2014 -0400
16+
17+ test/Makefile.am: add dmapcopy to EXTRA_DIST
18+
19+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
20+
21+commit 06edb792b0459af2f0cfe82ca04e035901530c97
22+Author: W. Michael Petullo <mike@flyn.org>
23+Date: Tue Apr 29 21:00:56 2014 -0400
24+
25+ Update TODO
26+
27+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
28+
29+commit 7557691ed7e303b1a7927c3003242cbd12e25608
30+Author: W. Michael Petullo <mike@flyn.org>
31+Date: Sat Apr 19 20:18:10 2014 -0400
32+
33+ update TODO
34+
35+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
36+
37+commit cea4b17cde4f8f8d567d2d4ac88db83d95dc9b3e
38+Author: W. Michael Petullo <mike@flyn.org>
39+Date: Sat Apr 19 20:16:48 2014 -0400
40+
41+ fix some compiler warnings
42+
43+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
44+
45+commit 8ea1adb375998bf0df42cc63912cdbaec3c880e8
46+Author: W. Michael Petullo <mike@flyn.org>
47+Date: Sat Apr 19 19:29:31 2014 -0400
48+
49+ fix another spelling error
50+
51+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
52+
53+commit 3e6ef8c75455af7adefba4de7ff85a16e9904f0d
54+Author: W. Michael Petullo <mike@flyn.org>
55+Date: Sat Apr 19 19:21:54 2014 -0400
56+
57+ fix spelling error
58+
59+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
60+
61+commit 0e20a911ae6dee6636bfa72a912185b6626a87e6
62+Author: W. Michael Petullo <mike@flyn.org>
63+Date: Sat Apr 19 19:07:10 2014 -0400
64+
65+ silence builds by default
66+
67+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
68+
69+commit 66907af4df8b8f9af37b36c6fddad86e2b062a86
70+Author: W. Michael Petullo <mike@flyn.org>
71+Date: Fri Apr 11 20:03:31 2014 -0400
72+
73+ Bump version number
74+
75+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
76+
77+commit fbfd169b581d328df1b977dbcce6d2385bd271be
78+Author: W. Michael Petullo <mike@flyn.org>
79+Date: Fri Apr 11 19:55:40 2014 -0400
80+
81+ Fix for "bytes=" check in daap-share.c; thanks Bastien Nocera
82+
83+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
84+
85+commit 610a17d2fb60f9f4cb0fc754e0acd8a39c825dd0
86+Author: W. Michael Petullo <mike@flyn.org>
87+Date: Sun Mar 9 22:31:33 2014 -0400
88+
89+ Small change to a debug message
90+
91+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
92+
93+commit 55a8417308cd3af0bc306d37c0a887080827c2b2
94+Author: W. Michael Petullo <mike@flyn.org>
95+Date: Sun Feb 2 23:12:35 2014 -0500
96+
97+ Do not use AM_CONDITIONAL within a shell conditional
98+
99+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
100+
101+commit e0261c16a0e6a64adc0f84f869e40518984ee5f6
102+Author: W. Michael Petullo <mike@flyn.org>
103+Date: Sun Nov 24 21:02:21 2013 -0500
104+
105+ Install libdmapsharing-3.0.vapi on "make install"
106+
107+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
108+
109+commit 3e1b5933336dd3170527d2da2e234c8931520885
110+Author: W. Michael Petullo <mike@flyn.org>
111+Date: Sun Nov 24 14:19:11 2013 -0500
112+
113+ Update some Vala-related files
114+
115+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
116+
117+commit 91879548a32c65b0897ecbe58aaafb7646743931
118+Author: W. Michael Petullo <mike@flyn.org>
119+Date: Sun Nov 24 14:17:30 2013 -0500
120+
121+ Some work related to GObject introspection (there is a lot of work remaining)
122+
123+ Signed-off-by: W. Michael Petullo <mike@flyn.org>
124+
125 commit 1da947bfbabba1567bdd9c5e2bbb082b8de7d0ec
126 Author: W. Michael Petullo <mike@flyn.org>
127 Date: Thu Nov 7 08:56:03 2013 -0500
128
129=== modified file 'Makefile.in'
130--- Makefile.in 2013-06-29 22:28:20 +0000
131+++ Makefile.in 2014-05-27 20:54:48 +0000
132@@ -95,9 +95,10 @@
133 am__aclocal_m4_deps = $(top_srcdir)/m4/as-arch.m4 \
134 $(top_srcdir)/m4/as-compiler-flag.m4 \
135 $(top_srcdir)/m4/as-version.m4 $(top_srcdir)/m4/gtk-doc.m4 \
136- $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
137- $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
138- $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
139+ $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
140+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
141+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
142+ $(top_srcdir)/configure.ac
143 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
144 $(ACLOCAL_M4)
145 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
146@@ -302,6 +303,14 @@
147 INSTALL_PROGRAM = @INSTALL_PROGRAM@
148 INSTALL_SCRIPT = @INSTALL_SCRIPT@
149 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
150+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
151+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
152+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
153+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
154+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
155+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
156+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
157+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
158 LD = @LD@
159 LDFLAGS = @LDFLAGS@
160 LIBDMAPSHARING_MAJORMINOR = @LIBDMAPSHARING_MAJORMINOR@
161
162=== modified file 'TODO'
163--- TODO 2013-06-29 22:28:20 +0000
164+++ TODO 2014-05-27 20:54:48 +0000
165@@ -1,10 +1,11 @@
166 = Short term ===================================================================
167
168-Fix use of iTunes as client with recent libsoup:
169- rhythmbox: GET /databases/1/items/...
170- iTunes: GET daap://192.168.1.245:3689/databases/...
171- libsoup 2.28.2: OK
172- libsoup 2.42.2: soup-message-server-io.c calls SOUP_URI_VALID_FOR_HTTP!
173+GNOME Bugs:
174+ 344616: support database updates
175+ 686220: play nicely with firewalld
176+ 705539: confirm two share scenario fixed (seems to be in rhythmbox 3.0.2)
177+ 727839: wierd startup warning
178+ 705949: grilo
179
180 Noah: DNS-SD implementation
181 Finish browser side support.
182@@ -18,6 +19,10 @@
183
184 = Mid term =====================================================================
185
186+Fix callbacks so that they do not provide a gpointer (see service-added
187+callback). They need to provide a proper GObject type (e.g., a new
188+DMAPMdnsBrowserService type) so that Python/GObject introspection works.
189+
190 Noah: Comment purpose of each source file and describe interfaces, using test
191 programs as examples (Note: wait on doxygen vs. gtk-doc decision.
192
193@@ -26,6 +31,10 @@
194
195 = Long term ====================================================================
196
197+API Changes:
198+ now_playing_artwork seems to return a filename, so should return a gchar *, not guchar *?
199+ Stuff related to Python introspection
200+
201 Mike: Audit remaining GSoC patch:
202 --- dmap-db.c
203 --- dmap-share.c
204
205=== modified file 'aclocal.m4'
206--- aclocal.m4 2013-06-29 22:28:20 +0000
207+++ aclocal.m4 2014-05-27 20:54:48 +0000
208@@ -220,6 +220,21 @@
209 m4_popdef([pkg_description])
210 ]) dnl PKG_NOARCH_INSTALLDIR
211
212+
213+# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
214+# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
215+# -------------------------------------------
216+# Retrieves the value of the pkg-config variable for the given module.
217+AC_DEFUN([PKG_CHECK_VAR],
218+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
219+AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
220+
221+_PKG_CONFIG([$1], [variable="][$3]["], [$2])
222+AS_VAR_COPY([$1], [pkg_cv_][$1])
223+
224+AS_VAR_IF([$1], [""], [$5], [$4])dnl
225+])# PKG_CHECK_VAR
226+
227 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
228 #
229 # This file is free software; the Free Software Foundation
230@@ -1344,6 +1359,7 @@
231 m4_include([m4/as-compiler-flag.m4])
232 m4_include([m4/as-version.m4])
233 m4_include([m4/gtk-doc.m4])
234+m4_include([m4/introspection.m4])
235 m4_include([m4/libtool.m4])
236 m4_include([m4/ltoptions.m4])
237 m4_include([m4/ltsugar.m4])
238
239=== modified file 'config.guess'
240--- config.guess 2013-06-29 22:28:20 +0000
241+++ config.guess 2014-05-27 20:54:48 +0000
242@@ -1,8 +1,10 @@
243 #! /bin/sh
244 # Attempt to guess a canonical system name.
245-# Copyright 1992-2013 Free Software Foundation, Inc.
246+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
247+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
248+# 2011, 2012, 2013 Free Software Foundation, Inc.
249
250-timestamp='2013-06-10'
251+timestamp='2012-12-29'
252
253 # This file is free software; you can redistribute it and/or modify it
254 # under the terms of the GNU General Public License as published by
255@@ -24,7 +26,7 @@
256 # program. This Exception is an additional permission under section 7
257 # of the GNU General Public License, version 3 ("GPLv3").
258 #
259-# Originally written by Per Bothner.
260+# Originally written by Per Bothner.
261 #
262 # You can get the latest version of this script from:
263 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
264@@ -50,7 +52,9 @@
265 GNU config.guess ($timestamp)
266
267 Originally written by Per Bothner.
268-Copyright 1992-2013 Free Software Foundation, Inc.
269+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
270+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
271+2012, 2013 Free Software Foundation, Inc.
272
273 This is free software; see the source for copying conditions. There is NO
274 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
275@@ -132,27 +136,6 @@
276 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
277 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
278
279-case "${UNAME_SYSTEM}" in
280-Linux|GNU|GNU/*)
281- # If the system lacks a compiler, then just pick glibc.
282- # We could probably try harder.
283- LIBC=gnu
284-
285- eval $set_cc_for_build
286- cat <<-EOF > $dummy.c
287- #include <features.h>
288- #if defined(__UCLIBC__)
289- LIBC=uclibc
290- #elif defined(__dietlibc__)
291- LIBC=dietlibc
292- #else
293- LIBC=gnu
294- #endif
295- EOF
296- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
297- ;;
298-esac
299-
300 # Note: order is significant - the case branches are not exclusive.
301
302 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
303@@ -874,21 +857,21 @@
304 exit ;;
305 *:GNU:*:*)
306 # the GNU system
307- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
308+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
309 exit ;;
310 *:GNU/*:*:*)
311 # other systems with GNU libc and userland
312- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
313+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
314 exit ;;
315 i*86:Minix:*:*)
316 echo ${UNAME_MACHINE}-pc-minix
317 exit ;;
318 aarch64:Linux:*:*)
319- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
320+ echo ${UNAME_MACHINE}-unknown-linux-gnu
321 exit ;;
322 aarch64_be:Linux:*:*)
323 UNAME_MACHINE=aarch64_be
324- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
325+ echo ${UNAME_MACHINE}-unknown-linux-gnu
326 exit ;;
327 alpha:Linux:*:*)
328 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
329@@ -901,54 +884,59 @@
330 EV68*) UNAME_MACHINE=alphaev68 ;;
331 esac
332 objdump --private-headers /bin/sh | grep -q ld.so.1
333- if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
334- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
335- exit ;;
336- arc:Linux:*:* | arceb:Linux:*:*)
337- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
338+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
339+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
340 exit ;;
341 arm*:Linux:*:*)
342 eval $set_cc_for_build
343 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
344 | grep -q __ARM_EABI__
345 then
346- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
347+ echo ${UNAME_MACHINE}-unknown-linux-gnu
348 else
349 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
350 | grep -q __ARM_PCS_VFP
351 then
352- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
353+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
354 else
355- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
356+ echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
357 fi
358 fi
359 exit ;;
360 avr32*:Linux:*:*)
361- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
362+ echo ${UNAME_MACHINE}-unknown-linux-gnu
363 exit ;;
364 cris:Linux:*:*)
365- echo ${UNAME_MACHINE}-axis-linux-${LIBC}
366+ echo ${UNAME_MACHINE}-axis-linux-gnu
367 exit ;;
368 crisv32:Linux:*:*)
369- echo ${UNAME_MACHINE}-axis-linux-${LIBC}
370+ echo ${UNAME_MACHINE}-axis-linux-gnu
371 exit ;;
372 frv:Linux:*:*)
373- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
374+ echo ${UNAME_MACHINE}-unknown-linux-gnu
375 exit ;;
376 hexagon:Linux:*:*)
377- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
378+ echo ${UNAME_MACHINE}-unknown-linux-gnu
379 exit ;;
380 i*86:Linux:*:*)
381- echo ${UNAME_MACHINE}-pc-linux-${LIBC}
382+ LIBC=gnu
383+ eval $set_cc_for_build
384+ sed 's/^ //' << EOF >$dummy.c
385+ #ifdef __dietlibc__
386+ LIBC=dietlibc
387+ #endif
388+EOF
389+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
390+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
391 exit ;;
392 ia64:Linux:*:*)
393- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
394+ echo ${UNAME_MACHINE}-unknown-linux-gnu
395 exit ;;
396 m32r*:Linux:*:*)
397- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
398+ echo ${UNAME_MACHINE}-unknown-linux-gnu
399 exit ;;
400 m68*:Linux:*:*)
401- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
402+ echo ${UNAME_MACHINE}-unknown-linux-gnu
403 exit ;;
404 mips:Linux:*:* | mips64:Linux:*:*)
405 eval $set_cc_for_build
406@@ -967,63 +955,54 @@
407 #endif
408 EOF
409 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
410- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
411+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
412 ;;
413- or1k:Linux:*:*)
414- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
415- exit ;;
416 or32:Linux:*:*)
417- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
418+ echo ${UNAME_MACHINE}-unknown-linux-gnu
419 exit ;;
420 padre:Linux:*:*)
421- echo sparc-unknown-linux-${LIBC}
422+ echo sparc-unknown-linux-gnu
423 exit ;;
424 parisc64:Linux:*:* | hppa64:Linux:*:*)
425- echo hppa64-unknown-linux-${LIBC}
426+ echo hppa64-unknown-linux-gnu
427 exit ;;
428 parisc:Linux:*:* | hppa:Linux:*:*)
429 # Look for CPU level
430 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
431- PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
432- PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
433- *) echo hppa-unknown-linux-${LIBC} ;;
434+ PA7*) echo hppa1.1-unknown-linux-gnu ;;
435+ PA8*) echo hppa2.0-unknown-linux-gnu ;;
436+ *) echo hppa-unknown-linux-gnu ;;
437 esac
438 exit ;;
439 ppc64:Linux:*:*)
440- echo powerpc64-unknown-linux-${LIBC}
441+ echo powerpc64-unknown-linux-gnu
442 exit ;;
443 ppc:Linux:*:*)
444- echo powerpc-unknown-linux-${LIBC}
445- exit ;;
446- ppc64le:Linux:*:*)
447- echo powerpc64le-unknown-linux-${LIBC}
448- exit ;;
449- ppcle:Linux:*:*)
450- echo powerpcle-unknown-linux-${LIBC}
451+ echo powerpc-unknown-linux-gnu
452 exit ;;
453 s390:Linux:*:* | s390x:Linux:*:*)
454- echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
455+ echo ${UNAME_MACHINE}-ibm-linux
456 exit ;;
457 sh64*:Linux:*:*)
458- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
459+ echo ${UNAME_MACHINE}-unknown-linux-gnu
460 exit ;;
461 sh*:Linux:*:*)
462- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
463+ echo ${UNAME_MACHINE}-unknown-linux-gnu
464 exit ;;
465 sparc:Linux:*:* | sparc64:Linux:*:*)
466- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
467+ echo ${UNAME_MACHINE}-unknown-linux-gnu
468 exit ;;
469 tile*:Linux:*:*)
470- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
471+ echo ${UNAME_MACHINE}-unknown-linux-gnu
472 exit ;;
473 vax:Linux:*:*)
474- echo ${UNAME_MACHINE}-dec-linux-${LIBC}
475+ echo ${UNAME_MACHINE}-dec-linux-gnu
476 exit ;;
477 x86_64:Linux:*:*)
478- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
479+ echo ${UNAME_MACHINE}-unknown-linux-gnu
480 exit ;;
481 xtensa*:Linux:*:*)
482- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
483+ echo ${UNAME_MACHINE}-unknown-linux-gnu
484 exit ;;
485 i*86:DYNIX/ptx:4*:*)
486 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
487@@ -1256,21 +1235,19 @@
488 exit ;;
489 *:Darwin:*:*)
490 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
491- eval $set_cc_for_build
492- if test "$UNAME_PROCESSOR" = unknown ; then
493- UNAME_PROCESSOR=powerpc
494- fi
495- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
496- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
497- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
498- grep IS_64BIT_ARCH >/dev/null
499- then
500- case $UNAME_PROCESSOR in
501- i386) UNAME_PROCESSOR=x86_64 ;;
502- powerpc) UNAME_PROCESSOR=powerpc64 ;;
503- esac
504- fi
505- fi
506+ case $UNAME_PROCESSOR in
507+ i386)
508+ eval $set_cc_for_build
509+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
510+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
511+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
512+ grep IS_64BIT_ARCH >/dev/null
513+ then
514+ UNAME_PROCESSOR="x86_64"
515+ fi
516+ fi ;;
517+ unknown) UNAME_PROCESSOR=powerpc ;;
518+ esac
519 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
520 exit ;;
521 *:procnto*:*:* | *:QNX:[0123456789]*:*)
522
523=== modified file 'config.sub'
524--- config.sub 2013-06-29 22:28:20 +0000
525+++ config.sub 2014-05-27 20:54:48 +0000
526@@ -1,8 +1,10 @@
527 #! /bin/sh
528 # Configuration validation subroutine script.
529-# Copyright 1992-2013 Free Software Foundation, Inc.
530+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
531+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
532+# 2011, 2012, 2013 Free Software Foundation, Inc.
533
534-timestamp='2013-04-24'
535+timestamp='2012-12-29'
536
537 # This file is free software; you can redistribute it and/or modify it
538 # under the terms of the GNU General Public License as published by
539@@ -68,7 +70,9 @@
540 version="\
541 GNU config.sub ($timestamp)
542
543-Copyright 1992-2013 Free Software Foundation, Inc.
544+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
545+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
546+2012, 2013 Free Software Foundation, Inc.
547
548 This is free software; see the source for copying conditions. There is NO
549 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
550@@ -252,7 +256,7 @@
551 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
552 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
553 | am33_2.0 \
554- | arc | arceb \
555+ | arc \
556 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
557 | avr | avr32 \
558 | be32 | be64 \
559@@ -286,17 +290,16 @@
560 | mipsisa64r2 | mipsisa64r2el \
561 | mipsisa64sb1 | mipsisa64sb1el \
562 | mipsisa64sr71k | mipsisa64sr71kel \
563- | mipsr5900 | mipsr5900el \
564 | mipstx39 | mipstx39el \
565 | mn10200 | mn10300 \
566 | moxie \
567 | mt \
568 | msp430 \
569 | nds32 | nds32le | nds32be \
570- | nios | nios2 | nios2eb | nios2el \
571+ | nios | nios2 \
572 | ns16k | ns32k \
573 | open8 \
574- | or1k | or32 \
575+ | or32 \
576 | pdp10 | pdp11 | pj | pjl \
577 | powerpc | powerpc64 | powerpc64le | powerpcle \
578 | pyramid \
579@@ -366,7 +369,7 @@
580 | aarch64-* | aarch64_be-* \
581 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
582 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
583- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
584+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
585 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
586 | avr-* | avr32-* \
587 | be32-* | be64-* \
588@@ -404,13 +407,12 @@
589 | mipsisa64r2-* | mipsisa64r2el-* \
590 | mipsisa64sb1-* | mipsisa64sb1el-* \
591 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
592- | mipsr5900-* | mipsr5900el-* \
593 | mipstx39-* | mipstx39el-* \
594 | mmix-* \
595 | mt-* \
596 | msp430-* \
597 | nds32-* | nds32le-* | nds32be-* \
598- | nios-* | nios2-* | nios2eb-* | nios2el-* \
599+ | nios-* | nios2-* \
600 | none-* | np1-* | ns16k-* | ns32k-* \
601 | open8-* \
602 | orion-* \
603@@ -1352,7 +1354,7 @@
604 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
605 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
606 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
607- | -sym* | -kopensolaris* | -plan9* \
608+ | -sym* | -kopensolaris* \
609 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
610 | -aos* | -aros* \
611 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
612@@ -1498,6 +1500,9 @@
613 -aros*)
614 os=-aros
615 ;;
616+ -kaos*)
617+ os=-kaos
618+ ;;
619 -zvmoe)
620 os=-zvmoe
621 ;;
622@@ -1589,9 +1594,6 @@
623 mips*-*)
624 os=-elf
625 ;;
626- or1k-*)
627- os=-elf
628- ;;
629 or32-*)
630 os=-coff
631 ;;
632
633=== modified file 'configure'
634--- configure 2014-02-22 10:48:55 +0000
635+++ configure 2014-05-27 20:54:48 +0000
636@@ -1,6 +1,6 @@
637 #! /bin/sh
638 # Guess values for system-dependent variables and create Makefiles.
639-# Generated by GNU Autoconf 2.69 for libdmapsharing 2.9.24.
640+# Generated by GNU Autoconf 2.69 for libdmapsharing 2.9.26.
641 #
642 #
643 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
644@@ -647,8 +647,8 @@
645 # Identity of this package.
646 PACKAGE_NAME='libdmapsharing'
647 PACKAGE_TARNAME='libdmapsharing'
648-PACKAGE_VERSION='2.9.24'
649-PACKAGE_STRING='libdmapsharing 2.9.24'
650+PACKAGE_VERSION='2.9.26'
651+PACKAGE_STRING='libdmapsharing 2.9.26'
652 PACKAGE_BUGREPORT=''
653 PACKAGE_URL=''
654
655@@ -693,10 +693,10 @@
656 LTLIBOBJS
657 LIBOBJS
658 DMAP_HAVE_UNALIGNED_ACCESS_DEFINE
659-CHECK_LIBS
660-CHECK_CFLAGS
661 HAVE_CHECK_FALSE
662 HAVE_CHECK_TRUE
663+CHECK_LIBS
664+CHECK_CFLAGS
665 BUILD_DPAPVIEW_FALSE
666 BUILD_DPAPVIEW_TRUE
667 HAVE_GEE_FALSE
668@@ -705,11 +705,13 @@
669 GEE_CFLAGS
670 GTK_LIBS
671 GTK_CFLAGS
672+BUILD_VAPI_FALSE
673+BUILD_VAPI_TRUE
674 VAPIGEN
675 VALA_GEN_INTROSPECT
676+HAVE_VALAC_FALSE
677+HAVE_VALAC_TRUE
678 VALAC
679-HAVE_VALA_FALSE
680-HAVE_VALA_TRUE
681 USE_GSTREAMERAPP_FALSE
682 USE_GSTREAMERAPP_TRUE
683 GSTLIB
684@@ -764,6 +766,16 @@
685 GTKDOC_MKPDF
686 GTKDOC_REBASE
687 GTKDOC_CHECK
688+HAVE_INTROSPECTION_FALSE
689+HAVE_INTROSPECTION_TRUE
690+INTROSPECTION_MAKEFILE
691+INTROSPECTION_LIBS
692+INTROSPECTION_CFLAGS
693+INTROSPECTION_TYPELIBDIR
694+INTROSPECTION_GIRDIR
695+INTROSPECTION_GENERATE
696+INTROSPECTION_COMPILER
697+INTROSPECTION_SCANNER
698 PKG_CONFIG_LIBDIR
699 PKG_CONFIG_PATH
700 PKG_CONFIG
701@@ -820,10 +832,6 @@
702 MAINTAINER_MODE_TRUE
703 SO_VERSION
704 LIBDMAPSHARING_MAJORMINOR
705-AM_BACKSLASH
706-AM_DEFAULT_VERBOSITY
707-AM_DEFAULT_V
708-AM_V
709 am__untar
710 am__tar
711 AMTAR
712@@ -846,6 +854,10 @@
713 INSTALL_SCRIPT
714 INSTALL_PROGRAM
715 API_VERSION
716+AM_BACKSLASH
717+AM_DEFAULT_VERBOSITY
718+AM_DEFAULT_V
719+AM_V
720 VERSION
721 PACKAGE
722 LIBDMAPSHARING_NANO_VERSION
723@@ -905,6 +917,7 @@
724 with_gnu_ld
725 with_sysroot
726 enable_libtool_lock
727+enable_introspection
728 with_html_dir
729 enable_gtk_doc
730 enable_gtk_doc_html
731@@ -1494,7 +1507,7 @@
732 # Omit some internal or obsolete options to make the list less imposing.
733 # This message is too long to be a string in the A/UX 3.1 sh.
734 cat <<_ACEOF
735-\`configure' configures libdmapsharing 2.9.24 to adapt to many kinds of systems.
736+\`configure' configures libdmapsharing 2.9.26 to adapt to many kinds of systems.
737
738 Usage: $0 [OPTION]... [VAR=VALUE]...
739
740@@ -1564,7 +1577,7 @@
741
742 if test -n "$ac_init_help"; then
743 case $ac_init_help in
744- short | recursive ) echo "Configuration of libdmapsharing 2.9.24:";;
745+ short | recursive ) echo "Configuration of libdmapsharing 2.9.26:";;
746 esac
747 cat <<\_ACEOF
748
749@@ -1586,6 +1599,8 @@
750 --enable-fast-install[=PKGS]
751 optimize for fast installation [default=yes]
752 --disable-libtool-lock avoid locking (might break parallel builds)
753+ --enable-introspection=[no/auto/yes]
754+ Enable introspection for this build
755 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
756 --enable-gtk-doc-html build documentation in html format [[default=yes]]
757 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
758@@ -1734,7 +1749,7 @@
759 test -n "$ac_init_help" && exit $ac_status
760 if $ac_init_version; then
761 cat <<\_ACEOF
762-libdmapsharing configure 2.9.24
763+libdmapsharing configure 2.9.26
764 generated by GNU Autoconf 2.69
765
766 Copyright (C) 2012 Free Software Foundation, Inc.
767@@ -2099,7 +2114,7 @@
768 This file contains any messages produced by compilers while
769 running configure, to aid debugging if configure makes a mistake.
770
771-It was created by libdmapsharing $as_me 2.9.24, which was
772+It was created by libdmapsharing $as_me 2.9.26, which was
773 generated by GNU Autoconf 2.69. Invocation command line was
774
775 $ $0 $@
776@@ -2452,20 +2467,20 @@
777 PACKAGE=libdmapsharing
778 LIBDMAPSHARING_MAJOR_VERSION=2
779 LIBDMAPSHARING_MINOR_VERSION=9
780- LIBDMAPSHARING_MICRO_VERSION=24
781+ LIBDMAPSHARING_MICRO_VERSION=26
782 NANO=LIBDMAPSHARING_CVS="no"
783 LIBDMAPSHARING_NANO_VERSION=$NANO
784 if test "x$NANO" = "x" || test "x$NANO" = "x0";
785 then
786 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring libdmapsharing for release" >&5
787 $as_echo "$as_me: configuring libdmapsharing for release" >&6;}
788- VERSION=2.9.24
789+ VERSION=2.9.26
790 LIBDMAPSHARING_RELEASE=1
791 LIBDMAPSHARING_CVS="yes"
792 else
793 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring libdmapsharing for development with nano $NANO" >&5
794 $as_echo "$as_me: configuring libdmapsharing for development with nano $NANO" >&6;}
795- VERSION=2.9.24.$NANO
796+ VERSION=2.9.26.$NANO
797 LIBDMAPSHARING_RELEASE=`date +%Y%m%d_%H%M%S`
798 :
799 fi
800@@ -2498,6 +2513,47 @@
801
802
803
804+# Enable silent build when available (Automake 1.11)
805+# Check whether --enable-silent-rules was given.
806+if test "${enable_silent_rules+set}" = set; then :
807+ enableval=$enable_silent_rules;
808+fi
809+
810+case $enable_silent_rules in # (((
811+ yes) AM_DEFAULT_VERBOSITY=0;;
812+ no) AM_DEFAULT_VERBOSITY=1;;
813+ *) AM_DEFAULT_VERBOSITY=0;;
814+esac
815+am_make=${MAKE-make}
816+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
817+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
818+if ${am_cv_make_support_nested_variables+:} false; then :
819+ $as_echo_n "(cached) " >&6
820+else
821+ if $as_echo 'TRUE=$(BAR$(V))
822+BAR0=false
823+BAR1=true
824+V=1
825+am__doit:
826+ @$(TRUE)
827+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
828+ am_cv_make_support_nested_variables=yes
829+else
830+ am_cv_make_support_nested_variables=no
831+fi
832+fi
833+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
834+$as_echo "$am_cv_make_support_nested_variables" >&6; }
835+if test $am_cv_make_support_nested_variables = yes; then
836+ AM_V='$(V)'
837+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
838+else
839+ AM_V=$AM_DEFAULT_VERBOSITY
840+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
841+fi
842+AM_BACKSLASH='\'
843+
844+
845 API_VERSION=3.0
846 #AC_DEFINE(API_VERSION, $API_VERSION, [library API version])
847
848@@ -2956,45 +3012,6 @@
849 fi
850 rmdir .tst 2>/dev/null
851
852-# Check whether --enable-silent-rules was given.
853-if test "${enable_silent_rules+set}" = set; then :
854- enableval=$enable_silent_rules;
855-fi
856-
857-case $enable_silent_rules in # (((
858- yes) AM_DEFAULT_VERBOSITY=0;;
859- no) AM_DEFAULT_VERBOSITY=1;;
860- *) AM_DEFAULT_VERBOSITY=1;;
861-esac
862-am_make=${MAKE-make}
863-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
864-$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
865-if ${am_cv_make_support_nested_variables+:} false; then :
866- $as_echo_n "(cached) " >&6
867-else
868- if $as_echo 'TRUE=$(BAR$(V))
869-BAR0=false
870-BAR1=true
871-V=1
872-am__doit:
873- @$(TRUE)
874-.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
875- am_cv_make_support_nested_variables=yes
876-else
877- am_cv_make_support_nested_variables=no
878-fi
879-fi
880-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
881-$as_echo "$am_cv_make_support_nested_variables" >&6; }
882-if test $am_cv_make_support_nested_variables = yes; then
883- AM_V='$(V)'
884- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
885-else
886- AM_V=$AM_DEFAULT_VERBOSITY
887- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
888-fi
889-AM_BACKSLASH='\'
890-
891 if test "`cd $srcdir && pwd`" != "`pwd`"; then
892 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
893 # is not polluted with repeated "-I."
894@@ -3017,7 +3034,7 @@
895
896 # Define the identity of the package.
897 PACKAGE='libdmapsharing'
898- VERSION='2.9.24'
899+ VERSION='2.9.26'
900
901
902 cat >>confdefs.h <<_ACEOF
903@@ -7464,10 +7481,10 @@
904 x86_64-*linux*)
905 LD="${LD-ld} -m elf_i386"
906 ;;
907- powerpcle-*linux*)
908+ powerpc64le-*linux*)
909 LD="${LD-ld} -m elf32lppclinux"
910 ;;
911- powerpc-*linux*)
912+ powerpc64-*linux*)
913 LD="${LD-ld} -m elf32ppclinux"
914 ;;
915 s390x-*linux*)
916@@ -12472,6 +12489,101 @@
917
918
919
920+ # Check whether --enable-introspection was given.
921+if test "${enable_introspection+set}" = set; then :
922+ enableval=$enable_introspection;
923+else
924+ enable_introspection=auto
925+fi
926+
927+
928+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
929+$as_echo_n "checking for gobject-introspection... " >&6; }
930+
931+ case $enable_introspection in #(
932+ no) :
933+ found_introspection="no (disabled, use --enable-introspection to enable)"
934+ ;; #(
935+ yes) :
936+ if test -n "$PKG_CONFIG" && \
937+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
938+ ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
939+ ac_status=$?
940+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
941+ test $ac_status = 0; }; then
942+ :
943+else
944+ as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
945+fi
946+ if test -n "$PKG_CONFIG" && \
947+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
948+ ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
949+ ac_status=$?
950+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
951+ test $ac_status = 0; }; then
952+ found_introspection=yes
953+else
954+ as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build libdmapsharing" "$LINENO" 5
955+fi
956+ ;; #(
957+ auto) :
958+ if test -n "$PKG_CONFIG" && \
959+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
960+ ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
961+ ac_status=$?
962+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
963+ test $ac_status = 0; }; then
964+ found_introspection=yes
965+else
966+ found_introspection=no
967+fi
968+ enable_introspection=$found_introspection
969+ ;; #(
970+ *) :
971+ as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
972+ ;;
973+esac
974+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
975+$as_echo "$found_introspection" >&6; }
976+
977+ INTROSPECTION_SCANNER=
978+ INTROSPECTION_COMPILER=
979+ INTROSPECTION_GENERATE=
980+ INTROSPECTION_GIRDIR=
981+ INTROSPECTION_TYPELIBDIR=
982+ if test "x$found_introspection" = "xyes"; then
983+ INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
984+ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
985+ INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
986+ INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
987+ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
988+ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
989+ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
990+ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
991+ fi
992+
993+
994+
995+
996+
997+
998+
999+
1000+
1001+ if test "x$found_introspection" = "xyes"; then
1002+ HAVE_INTROSPECTION_TRUE=
1003+ HAVE_INTROSPECTION_FALSE='#'
1004+else
1005+ HAVE_INTROSPECTION_TRUE='#'
1006+ HAVE_INTROSPECTION_FALSE=
1007+fi
1008+
1009+
1010+
1011+
1012+
1013+
1014+
1015 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
1016 set dummy gtkdoc-check; ac_word=$2
1017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1018@@ -14200,16 +14312,7 @@
1019
1020
1021
1022- if false; then
1023- HAVE_VALA_TRUE=
1024- HAVE_VALA_FALSE='#'
1025-else
1026- HAVE_VALA_TRUE='#'
1027- HAVE_VALA_FALSE=
1028-fi
1029-
1030-if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
1031- # Extract the first word of "valac", so it can be a program name with args.
1032+# Extract the first word of "valac", so it can be a program name with args.
1033 set dummy valac; ac_word=$2
1034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1035 $as_echo_n "checking for $ac_word... " >&6; }
1036@@ -14280,10 +14383,16 @@
1037 else
1038 :
1039 fi
1040- if test "x$VALAC" = "x" ; then
1041- as_fn_error $? "Cannot find the \"valac\" compiler in your PATH" "$LINENO" 5
1042- fi
1043- # Extract the first word of "vala-gen-introspect", so it can be a program name with args.
1044+ if test -x "$VALAC"; then
1045+ HAVE_VALAC_TRUE=
1046+ HAVE_VALAC_FALSE='#'
1047+else
1048+ HAVE_VALAC_TRUE='#'
1049+ HAVE_VALAC_FALSE=
1050+fi
1051+
1052+
1053+# Extract the first word of "vala-gen-introspect", so it can be a program name with args.
1054 set dummy vala-gen-introspect; ac_word=$2
1055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1056 $as_echo_n "checking for $ac_word... " >&6; }
1057@@ -14323,7 +14432,7 @@
1058 fi
1059
1060
1061- # Extract the first word of "vapigen", so it can be a program name with args.
1062+# Extract the first word of "vapigen", so it can be a program name with args.
1063 set dummy vapigen; ac_word=$2
1064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1065 $as_echo_n "checking for $ac_word... " >&6; }
1066@@ -14363,14 +14472,17 @@
1067 fi
1068
1069
1070- if true; then
1071- HAVE_VALA_TRUE=
1072- HAVE_VALA_FALSE='#'
1073+ if test -n "$VALA_GEN_INTROSPECT" -a -n "$VAPIGEN"; then
1074+ BUILD_VAPI_TRUE=
1075+ BUILD_VAPI_FALSE='#'
1076 else
1077- HAVE_VALA_TRUE='#'
1078- HAVE_VALA_FALSE=
1079+ BUILD_VAPI_TRUE='#'
1080+ BUILD_VAPI_FALSE=
1081 fi
1082
1083+if test -n "$BUILD_VAPI" ; then
1084+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build vapi" >&5
1085+$as_echo "$as_me: WARNING: will not build vapi" >&2;}
1086 fi
1087
1088
1089@@ -14531,37 +14643,19 @@
1090
1091
1092
1093-if test "x$HAVE_VALA" = "xyes" -a "x$HAVE_GEE" = "xyes" -a "x$HAVE_GTK" = "xyes"; then
1094- if true; then
1095- BUILD_DPAPVIEW_TRUE=
1096- BUILD_DPAPVIEW_FALSE='#'
1097-else
1098- BUILD_DPAPVIEW_TRUE='#'
1099- BUILD_DPAPVIEW_FALSE=
1100-fi
1101-
1102-else
1103- if false; then
1104- BUILD_DPAPVIEW_TRUE=
1105- BUILD_DPAPVIEW_FALSE='#'
1106-else
1107- BUILD_DPAPVIEW_TRUE='#'
1108- BUILD_DPAPVIEW_FALSE=
1109-fi
1110-
1111- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Will not build dpapview" >&5
1112-$as_echo "$as_me: WARNING: Will not build dpapview" >&2;}
1113-fi
1114-
1115- if false; then
1116- HAVE_CHECK_TRUE=
1117- HAVE_CHECK_FALSE='#'
1118-else
1119- HAVE_CHECK_TRUE='#'
1120- HAVE_CHECK_FALSE=
1121-fi
1122-
1123-if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
1124+ if test "x$HAVE_VALA" = "xyes" -a "x$HAVE_GEE" = "xyes" -a "x$HAVE_GTK" = "xyes"; then
1125+ BUILD_DPAPVIEW_TRUE=
1126+ BUILD_DPAPVIEW_FALSE='#'
1127+else
1128+ BUILD_DPAPVIEW_TRUE='#'
1129+ BUILD_DPAPVIEW_FALSE=
1130+fi
1131+
1132+if test -n "$BUILD_DPAPVIEW" ; then
1133+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build dpapview" >&5
1134+$as_echo "$as_me: WARNING: will not build dpapview" >&2;}
1135+fi
1136+
1137
1138 pkg_failed=no
1139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
1140@@ -14633,7 +14727,7 @@
1141 $as_echo "yes" >&6; }
1142 have_check=yes
1143 fi
1144- if test x"$have_check" = "xyes"; then
1145+ if test x"$have_check" = "xyes"; then
1146 HAVE_CHECK_TRUE=
1147 HAVE_CHECK_FALSE='#'
1148 else
1149@@ -14641,11 +14735,10 @@
1150 HAVE_CHECK_FALSE=
1151 fi
1152
1153- if test "x$have_check" = "xyes"; then
1154+if test "x$have_check" = "xyes"; then
1155
1156 $as_echo "#define HAVE_CHECK 1" >>confdefs.h
1157
1158- fi
1159 fi
1160
1161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
1162@@ -14909,6 +15002,10 @@
1163 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1165 fi
1166+if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
1167+ as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
1168+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1169+fi
1170 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
1171 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
1172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1173@@ -14953,12 +15050,12 @@
1174 as_fn_error $? "conditional \"USE_GSTREAMERAPP\" was never defined.
1175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1176 fi
1177-if test -z "${HAVE_VALA_TRUE}" && test -z "${HAVE_VALA_FALSE}"; then
1178- as_fn_error $? "conditional \"HAVE_VALA\" was never defined.
1179+if test -z "${HAVE_VALAC_TRUE}" && test -z "${HAVE_VALAC_FALSE}"; then
1180+ as_fn_error $? "conditional \"HAVE_VALAC\" was never defined.
1181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1182 fi
1183-if test -z "${HAVE_VALA_TRUE}" && test -z "${HAVE_VALA_FALSE}"; then
1184- as_fn_error $? "conditional \"HAVE_VALA\" was never defined.
1185+if test -z "${BUILD_VAPI_TRUE}" && test -z "${BUILD_VAPI_FALSE}"; then
1186+ as_fn_error $? "conditional \"BUILD_VAPI\" was never defined.
1187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1188 fi
1189 if test -z "${HAVE_GEE_TRUE}" && test -z "${HAVE_GEE_FALSE}"; then
1190@@ -14969,14 +15066,6 @@
1191 as_fn_error $? "conditional \"BUILD_DPAPVIEW\" was never defined.
1192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1193 fi
1194-if test -z "${BUILD_DPAPVIEW_TRUE}" && test -z "${BUILD_DPAPVIEW_FALSE}"; then
1195- as_fn_error $? "conditional \"BUILD_DPAPVIEW\" was never defined.
1196-Usually this means the macro was only invoked conditionally." "$LINENO" 5
1197-fi
1198-if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
1199- as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
1200-Usually this means the macro was only invoked conditionally." "$LINENO" 5
1201-fi
1202 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
1203 as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
1204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1205@@ -15378,7 +15467,7 @@
1206 # report actual input values of CONFIG_FILES etc. instead of their
1207 # values after options handling.
1208 ac_log="
1209-This file was extended by libdmapsharing $as_me 2.9.24, which was
1210+This file was extended by libdmapsharing $as_me 2.9.26, which was
1211 generated by GNU Autoconf 2.69. Invocation command line was
1212
1213 CONFIG_FILES = $CONFIG_FILES
1214@@ -15444,7 +15533,7 @@
1215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1216 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1217 ac_cs_version="\\
1218-libdmapsharing config.status 2.9.24
1219+libdmapsharing config.status 2.9.26
1220 configured by $0, generated by GNU Autoconf 2.69,
1221 with options \\"\$ac_cs_config\\"
1222
1223
1224=== modified file 'configure.ac'
1225--- configure.ac 2014-02-22 10:48:55 +0000
1226+++ configure.ac 2014-05-27 20:54:48 +0000
1227@@ -1,8 +1,11 @@
1228-AC_INIT(libdmapsharing, 2.9.24)
1229+AC_INIT(libdmapsharing, 2.9.26)
1230
1231 dnl when going to/from release please set the nano (fourth number) right !
1232 dnl releases only do Wall, cvs and prerelease does Werror too
1233-AS_VERSION(libdmapsharing, LIBDMAPSHARING, 2, 9, 24, LIBDMAPSHARING_CVS="no", LIBDMAPSHARING_CVS="yes")
1234+AS_VERSION(libdmapsharing, LIBDMAPSHARING, 2, 9, 26, LIBDMAPSHARING_CVS="no", LIBDMAPSHARING_CVS="yes")
1235+
1236+# Enable silent build when available (Automake 1.11)
1237+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
1238
1239 dnl FIXME:
1240 dnl would like to automate this off the above definitions, but API might be 2.2 with version 2.1.
1241@@ -37,6 +40,8 @@
1242 AC_HEADER_STDC
1243 AC_PROG_LIBTOOL
1244
1245+GOBJECT_INTROSPECTION_CHECK([1.30.0])
1246+
1247 GTK_DOC_CHECK(1.0)
1248 AC_CONFIG_MACRO_DIR(m4)
1249
1250@@ -336,15 +341,14 @@
1251 AC_SUBST(GSTREAMERAPP_CFLAGS)
1252 AC_SUBST(GSTREAMERAPP_LIBS)
1253
1254-AM_CONDITIONAL(HAVE_VALA, false)
1255-if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
1256- AM_PROG_VALAC([0.11.4])
1257- if test "x$VALAC" = "x" ; then
1258- AC_MSG_ERROR([Cannot find the "valac" compiler in your PATH])
1259- fi
1260- AC_PATH_PROG(VALA_GEN_INTROSPECT, vala-gen-introspect)
1261- AC_PATH_PROG(VAPIGEN, vapigen)
1262- AM_CONDITIONAL(HAVE_VALA, true)
1263+AM_PROG_VALAC([0.11.4])
1264+AM_CONDITIONAL(HAVE_VALAC, test -x "$VALAC")
1265+
1266+AC_PATH_PROG(VALA_GEN_INTROSPECT, vala-gen-introspect)
1267+AC_PATH_PROG(VAPIGEN, vapigen)
1268+AM_CONDITIONAL(BUILD_VAPI, test -n "$VALA_GEN_INTROSPECT" -a -n "$VAPIGEN")
1269+if test -n "$BUILD_VAPI" ; then
1270+ AC_WARN([will not build vapi])
1271 fi
1272
1273 PKG_CHECK_MODULES(GTK, gtk+-2.0, HAVE_GTK=yes, HAVE_GTK=no)
1274@@ -358,20 +362,15 @@
1275 AC_SUBST(GEE_CFLAGS)
1276 AC_SUBST(GEE_LIBS)
1277
1278-if test "x$HAVE_VALA" = "xyes" -a "x$HAVE_GEE" = "xyes" -a "x$HAVE_GTK" = "xyes"; then
1279- AM_CONDITIONAL(BUILD_DPAPVIEW, true)
1280-else
1281- AM_CONDITIONAL(BUILD_DPAPVIEW, false)
1282- AC_WARN([Will not build dpapview])
1283+AM_CONDITIONAL(BUILD_DPAPVIEW, test "x$HAVE_VALA" = "xyes" -a "x$HAVE_GEE" = "xyes" -a "x$HAVE_GTK" = "xyes")
1284+if test -n "$BUILD_DPAPVIEW" ; then
1285+ AC_WARN([will not build dpapview])
1286 fi
1287
1288-AM_CONDITIONAL(HAVE_CHECK, false)
1289-if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
1290- PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],have_check=yes,have_check=no)
1291- AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
1292- if test "x$have_check" = "xyes"; then
1293- AC_DEFINE(HAVE_CHECK, 1, [Define if check support is enabled])
1294- fi
1295+PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],have_check=yes,have_check=no)
1296+AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
1297+if test "x$have_check" = "xyes"; then
1298+ AC_DEFINE(HAVE_CHECK, 1, [Define if check support is enabled])
1299 fi
1300
1301 AC_CHECK_LIB(z, uncompress)
1302
1303=== modified file 'debian/changelog'
1304--- debian/changelog 2014-02-22 10:48:55 +0000
1305+++ debian/changelog 2014-05-27 20:54:48 +0000
1306@@ -1,3 +1,9 @@
1307+libdmapsharing (2.9.26-0ubuntu1) utopic; urgency=medium
1308+
1309+ * New upstream release.
1310+
1311+ -- Jackson Doak <noskcaj@ubuntu.com> Wed, 28 May 2014 06:27:12 +1000
1312+
1313 libdmapsharing (2.9.24-0ubuntu1) trusty; urgency=medium
1314
1315 * New upstream bugfix release.
1316
1317=== modified file 'doc/Makefile.in'
1318--- doc/Makefile.in 2013-06-29 22:28:20 +0000
1319+++ doc/Makefile.in 2014-05-27 20:54:48 +0000
1320@@ -90,9 +90,10 @@
1321 am__aclocal_m4_deps = $(top_srcdir)/m4/as-arch.m4 \
1322 $(top_srcdir)/m4/as-compiler-flag.m4 \
1323 $(top_srcdir)/m4/as-version.m4 $(top_srcdir)/m4/gtk-doc.m4 \
1324- $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
1325- $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
1326- $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
1327+ $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
1328+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
1329+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
1330+ $(top_srcdir)/configure.ac
1331 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
1332 $(ACLOCAL_M4)
1333 mkinstalldirs = $(install_sh) -d
1334@@ -184,6 +185,14 @@
1335 INSTALL_PROGRAM = @INSTALL_PROGRAM@
1336 INSTALL_SCRIPT = @INSTALL_SCRIPT@
1337 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1338+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
1339+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
1340+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
1341+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
1342+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
1343+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
1344+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
1345+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
1346 LD = @LD@
1347 LDFLAGS = @LDFLAGS@
1348 LIBDMAPSHARING_MAJORMINOR = @LIBDMAPSHARING_MAJORMINOR@
1349
1350=== modified file 'doc/html/libdmapsharing-3.0-DMAPContainerDb.html'
1351--- doc/html/libdmapsharing-3.0-DMAPContainerDb.html 2013-06-29 22:28:20 +0000
1352+++ doc/html/libdmapsharing-3.0-DMAPContainerDb.html 2014-05-27 20:54:48 +0000
1353@@ -138,6 +138,10 @@
1354 <td>A container database.</td>
1355 </tr>
1356 <tr>
1357+<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
1358+<td>The function to apply to each record in the database.</td>
1359+</tr>
1360+<tr>
1361 <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1362 <td>User data to pass to the function.</td>
1363 </tr>
1364
1365=== modified file 'doc/html/libdmapsharing-3.0-DMAPDb.html'
1366--- doc/html/libdmapsharing-3.0-DMAPDb.html 2013-06-29 22:28:20 +0000
1367+++ doc/html/libdmapsharing-3.0-DMAPDb.html 2014-05-27 20:54:48 +0000
1368@@ -96,7 +96,7 @@
1369 <pre class="programlisting"><span class="returnvalue">guint</span> dmap_db_add (<em class="parameter"><code><span class="type">DMAPDb</span> *db</code></em>,
1370 <em class="parameter"><code><span class="type">DMAPRecord</span> *record</code></em>);</pre>
1371 <p>
1372-Add a record to the database and assign it the given ID.
1373+Add a record to the database.
1374 </p>
1375 <div class="variablelist"><table border="0" class="variablelist">
1376 <colgroup>
1377@@ -114,8 +114,11 @@
1378 </tr>
1379 <tr>
1380 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1381-<td>The ID for the newly added record.
1382-See also the notes for dmap_db_add regarding reference counting.</td>
1383+<td>The ID for the newly added record. A reference to the record
1384+will be retained by the database (if required; an adapter-type
1385+implementation may not want to retain a reference as the record data may
1386+be placed elsewhere). In all cases, the record should be unrefed by the
1387+calling code.</td>
1388 </tr>
1389 </tbody>
1390 </table></div>
1391@@ -157,7 +160,33 @@
1392 <em class="parameter"><code><span class="type">DMAPRecord</span> *record</code></em>,
1393 <em class="parameter"><code><span class="type">guint</span> id</code></em>);</pre>
1394 <p>
1395+Add a record to the database and assign it the given ID.
1396 </p>
1397+<div class="variablelist"><table border="0" class="variablelist">
1398+<colgroup>
1399+<col align="left" valign="top">
1400+<col>
1401+</colgroup>
1402+<tbody>
1403+<tr>
1404+<td><p><span class="term"><em class="parameter"><code>db</code></em> :</span></p></td>
1405+<td>A media database.</td>
1406+</tr>
1407+<tr>
1408+<td><p><span class="term"><em class="parameter"><code>record</code></em> :</span></p></td>
1409+<td>A database record.</td>
1410+</tr>
1411+<tr>
1412+<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
1413+<td>A database record ID.</td>
1414+</tr>
1415+<tr>
1416+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1417+<td>The ID for the newly added record.
1418+See also the notes for dmap_db_add regarding reference counting.</td>
1419+</tr>
1420+</tbody>
1421+</table></div>
1422 </div>
1423 <hr>
1424 <div class="refsect2">
1425@@ -208,6 +237,10 @@
1426 <td>A media database.</td>
1427 </tr>
1428 <tr>
1429+<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
1430+<td>The function to apply to each record in the database.</td>
1431+</tr>
1432+<tr>
1433 <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1434 <td>User data to pass to the function.</td>
1435 </tr>
1436
1437=== modified file 'libdmapsharing-3.0-uninstalled.pc'
1438--- libdmapsharing-3.0-uninstalled.pc 2014-02-22 10:48:55 +0000
1439+++ libdmapsharing-3.0-uninstalled.pc 2014-05-27 20:54:48 +0000
1440@@ -5,7 +5,7 @@
1441
1442 Name: libdmapsharing
1443 Description: libdmapsharing
1444-Version: 2.9.24
1445+Version: 2.9.26
1446 Requires: glib-2.0 libsoup-2.4 gstreamer-1.0
1447 Libs: -L${libdir} -ldmapsharing-3.0
1448 Cflags: -I${includedir}
1449
1450=== modified file 'libdmapsharing/Makefile.am'
1451--- libdmapsharing/Makefile.am 2013-06-29 22:28:20 +0000
1452+++ libdmapsharing/Makefile.am 2014-05-27 20:54:48 +0000
1453@@ -60,6 +60,7 @@
1454
1455 libdmapsharing_3_0_la_LDFLAGS = \
1456 -version-info @SO_VERSION@ \
1457+ $(CHECK_LIBS) \
1458 $(GLIB_LIBS) \
1459 $(GTHREAD_LIBS) \
1460 $(GOBJECT_LIBS) \
1461@@ -135,4 +136,32 @@
1462
1463 CLEANFILES = $(BUILT_SOURCES)
1464
1465+if HAVE_INTROSPECTION
1466+include $(INTROSPECTION_MAKEFILE)
1467+INTROSPECTION_GIRS =
1468+INTROSPECTION_SCANNER_ARGS = --symbol-prefix=dmap --add-include-path=$(srcdir) --warn-all
1469+INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
1470+
1471+introspection_sources = $(libdmapsharinginclude_HEADERS) $(libdmapsharinginclude_SOURCES)
1472+
1473+DMAP-3.0.gir: libdmapsharing-3.0.la
1474+DMAP_3_0_gir_INCLUDES = GObject-2.0 Soup-2.4
1475+DMAP_3_0_gir_CFLAGS = \
1476+ $(INCLUDES) \
1477+ $(libdmapsharing_3_0_la_CFLAGS)
1478+DMAP_3_0_gir_LIBS = \
1479+ libdmapsharing-3.0.la
1480+DMAP_3_0_gir_FILES = $(introspection_sources)
1481+
1482+INTROSPECTION_GIRS += DMAP-3.0.gir
1483+
1484+girdir = $(datadir)/gir-1.0
1485+gir_DATA = $(INTROSPECTION_GIRS)
1486+
1487+typelibdir = $(libdir)/girepository-1.0
1488+typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
1489+
1490+CLEANFILES += $(gir_DATA) $(typelib_DATA)
1491+endif
1492+
1493 EXTRA_DIST = dmap-marshal.list
1494
1495=== modified file 'libdmapsharing/Makefile.in'
1496--- libdmapsharing/Makefile.in 2013-06-29 22:28:20 +0000
1497+++ libdmapsharing/Makefile.in 2014-05-27 20:54:48 +0000
1498@@ -15,6 +15,7 @@
1499 @SET_MAKE@
1500
1501
1502+
1503 VPATH = @srcdir@
1504 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
1505 am__make_running_with_option = \
1506@@ -98,6 +99,7 @@
1507 @USE_GSTREAMERAPP_TRUE@ dmap-gst-wav-input-stream.c \
1508 @USE_GSTREAMERAPP_TRUE@ gst-util.c
1509
1510+@HAVE_INTROSPECTION_TRUE@am__append_5 = $(gir_DATA) $(typelib_DATA)
1511 subdir = libdmapsharing
1512 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
1513 $(srcdir)/dmap-config.h.in $(top_srcdir)/depcomp \
1514@@ -106,9 +108,10 @@
1515 am__aclocal_m4_deps = $(top_srcdir)/m4/as-arch.m4 \
1516 $(top_srcdir)/m4/as-compiler-flag.m4 \
1517 $(top_srcdir)/m4/as-version.m4 $(top_srcdir)/m4/gtk-doc.m4 \
1518- $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
1519- $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
1520- $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
1521+ $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
1522+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
1523+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
1524+ $(top_srcdir)/configure.ac
1525 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
1526 $(ACLOCAL_M4)
1527 mkinstalldirs = $(install_sh) -d
1528@@ -142,7 +145,8 @@
1529 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
1530 $(am__cd) "$$dir" && rm -f $$files; }; \
1531 }
1532-am__installdirs = "$(DESTDIR)$(libdir)" \
1533+am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(girdir)" \
1534+ "$(DESTDIR)$(typelibdir)" \
1535 "$(DESTDIR)$(libdmapsharingincludedir)"
1536 LTLIBRARIES = $(lib_LTLIBRARIES)
1537 libdmapsharing_3_0_la_LIBADD =
1538@@ -244,6 +248,7 @@
1539 n|no|NO) false;; \
1540 *) (install-info --version) >/dev/null 2>&1;; \
1541 esac
1542+DATA = $(gir_DATA) $(typelib_DATA)
1543 HEADERS = $(libdmapsharinginclude_HEADERS) $(noinst_HEADERS)
1544 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
1545 # Read a list of newline-separated strings from the standard input,
1546@@ -329,6 +334,14 @@
1547 INSTALL_PROGRAM = @INSTALL_PROGRAM@
1548 INSTALL_SCRIPT = @INSTALL_SCRIPT@
1549 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1550+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
1551+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
1552+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
1553+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
1554+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
1555+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
1556+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
1557+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
1558 LD = @LD@
1559 LDFLAGS = @LDFLAGS@
1560 LIBDMAPSHARING_MAJORMINOR = @LIBDMAPSHARING_MAJORMINOR@
1561@@ -455,6 +468,7 @@
1562
1563 libdmapsharing_3_0_la_LDFLAGS = \
1564 -version-info @SO_VERSION@ \
1565+ $(CHECK_LIBS) \
1566 $(GLIB_LIBS) \
1567 $(GTHREAD_LIBS) \
1568 $(GOBJECT_LIBS) \
1569@@ -502,7 +516,24 @@
1570 dmap-gst-wav-input-stream.h \
1571 gst-util.h
1572
1573-CLEANFILES = $(BUILT_SOURCES)
1574+CLEANFILES = $(BUILT_SOURCES) $(am__append_5)
1575+@HAVE_INTROSPECTION_TRUE@INTROSPECTION_GIRS = DMAP-3.0.gir
1576+@HAVE_INTROSPECTION_TRUE@INTROSPECTION_SCANNER_ARGS = --symbol-prefix=dmap --add-include-path=$(srcdir) --warn-all
1577+@HAVE_INTROSPECTION_TRUE@INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
1578+@HAVE_INTROSPECTION_TRUE@introspection_sources = $(libdmapsharinginclude_HEADERS) $(libdmapsharinginclude_SOURCES)
1579+@HAVE_INTROSPECTION_TRUE@DMAP_3_0_gir_INCLUDES = GObject-2.0 Soup-2.4
1580+@HAVE_INTROSPECTION_TRUE@DMAP_3_0_gir_CFLAGS = \
1581+@HAVE_INTROSPECTION_TRUE@ $(INCLUDES) \
1582+@HAVE_INTROSPECTION_TRUE@ $(libdmapsharing_3_0_la_CFLAGS)
1583+
1584+@HAVE_INTROSPECTION_TRUE@DMAP_3_0_gir_LIBS = \
1585+@HAVE_INTROSPECTION_TRUE@ libdmapsharing-3.0.la
1586+
1587+@HAVE_INTROSPECTION_TRUE@DMAP_3_0_gir_FILES = $(introspection_sources)
1588+@HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0
1589+@HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS)
1590+@HAVE_INTROSPECTION_TRUE@typelibdir = $(libdir)/girepository-1.0
1591+@HAVE_INTROSPECTION_TRUE@typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
1592 EXTRA_DIST = dmap-marshal.list
1593 all: $(BUILT_SOURCES)
1594 $(MAKE) $(AM_MAKEFLAGS) all-am
1595@@ -877,6 +908,48 @@
1596
1597 clean-libtool:
1598 -rm -rf .libs _libs
1599+install-girDATA: $(gir_DATA)
1600+ @$(NORMAL_INSTALL)
1601+ @list='$(gir_DATA)'; test -n "$(girdir)" || list=; \
1602+ if test -n "$$list"; then \
1603+ echo " $(MKDIR_P) '$(DESTDIR)$(girdir)'"; \
1604+ $(MKDIR_P) "$(DESTDIR)$(girdir)" || exit 1; \
1605+ fi; \
1606+ for p in $$list; do \
1607+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1608+ echo "$$d$$p"; \
1609+ done | $(am__base_list) | \
1610+ while read files; do \
1611+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(girdir)'"; \
1612+ $(INSTALL_DATA) $$files "$(DESTDIR)$(girdir)" || exit $$?; \
1613+ done
1614+
1615+uninstall-girDATA:
1616+ @$(NORMAL_UNINSTALL)
1617+ @list='$(gir_DATA)'; test -n "$(girdir)" || list=; \
1618+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1619+ dir='$(DESTDIR)$(girdir)'; $(am__uninstall_files_from_dir)
1620+install-typelibDATA: $(typelib_DATA)
1621+ @$(NORMAL_INSTALL)
1622+ @list='$(typelib_DATA)'; test -n "$(typelibdir)" || list=; \
1623+ if test -n "$$list"; then \
1624+ echo " $(MKDIR_P) '$(DESTDIR)$(typelibdir)'"; \
1625+ $(MKDIR_P) "$(DESTDIR)$(typelibdir)" || exit 1; \
1626+ fi; \
1627+ for p in $$list; do \
1628+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1629+ echo "$$d$$p"; \
1630+ done | $(am__base_list) | \
1631+ while read files; do \
1632+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(typelibdir)'"; \
1633+ $(INSTALL_DATA) $$files "$(DESTDIR)$(typelibdir)" || exit $$?; \
1634+ done
1635+
1636+uninstall-typelibDATA:
1637+ @$(NORMAL_UNINSTALL)
1638+ @list='$(typelib_DATA)'; test -n "$(typelibdir)" || list=; \
1639+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1640+ dir='$(DESTDIR)$(typelibdir)'; $(am__uninstall_files_from_dir)
1641 install-libdmapsharingincludeHEADERS: $(libdmapsharinginclude_HEADERS)
1642 @$(NORMAL_INSTALL)
1643 @list='$(libdmapsharinginclude_HEADERS)'; test -n "$(libdmapsharingincludedir)" || list=; \
1644@@ -984,9 +1057,9 @@
1645 check-am: all-am
1646 check: $(BUILT_SOURCES)
1647 $(MAKE) $(AM_MAKEFLAGS) check-am
1648-all-am: Makefile $(LTLIBRARIES) $(HEADERS)
1649+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
1650 installdirs:
1651- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdmapsharingincludedir)"; do \
1652+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(girdir)" "$(DESTDIR)$(typelibdir)" "$(DESTDIR)$(libdmapsharingincludedir)"; do \
1653 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1654 done
1655 install: $(BUILT_SOURCES)
1656@@ -1045,7 +1118,8 @@
1657
1658 info-am:
1659
1660-install-data-am: install-libdmapsharingincludeHEADERS
1661+install-data-am: install-girDATA install-libdmapsharingincludeHEADERS \
1662+ install-typelibDATA
1663
1664 install-dvi: install-dvi-am
1665
1666@@ -1091,8 +1165,8 @@
1667
1668 ps-am:
1669
1670-uninstall-am: uninstall-libLTLIBRARIES \
1671- uninstall-libdmapsharingincludeHEADERS
1672+uninstall-am: uninstall-girDATA uninstall-libLTLIBRARIES \
1673+ uninstall-libdmapsharingincludeHEADERS uninstall-typelibDATA
1674
1675 .MAKE: all check install install-am install-strip
1676
1677@@ -1102,15 +1176,16 @@
1678 distclean-libtool distclean-tags distdir dvi dvi-am html \
1679 html-am info info-am install install-am install-data \
1680 install-data-am install-dvi install-dvi-am install-exec \
1681- install-exec-am install-html install-html-am install-info \
1682- install-info-am install-libLTLIBRARIES \
1683+ install-exec-am install-girDATA install-html install-html-am \
1684+ install-info install-info-am install-libLTLIBRARIES \
1685 install-libdmapsharingincludeHEADERS install-man install-pdf \
1686 install-pdf-am install-ps install-ps-am install-strip \
1687- installcheck installcheck-am installdirs maintainer-clean \
1688- maintainer-clean-generic mostlyclean mostlyclean-compile \
1689- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1690- tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES \
1691- uninstall-libdmapsharingincludeHEADERS
1692+ install-typelibDATA installcheck installcheck-am installdirs \
1693+ maintainer-clean maintainer-clean-generic mostlyclean \
1694+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1695+ pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
1696+ uninstall-girDATA uninstall-libLTLIBRARIES \
1697+ uninstall-libdmapsharingincludeHEADERS uninstall-typelibDATA
1698
1699
1700 dmap-marshal.c: dmap-marshal.list
1701@@ -1139,6 +1214,10 @@
1702 && sed -e "s/d_map/dmap/" -e "s/D_MAP/DMAP/" -e "s/d_acp/dacp/" -e "s/D_ACP/DACP/" $@.tmp > $@ \
1703 && rm -f $@.tmp
1704
1705+@HAVE_INTROSPECTION_TRUE@include $(INTROSPECTION_MAKEFILE)
1706+
1707+@HAVE_INTROSPECTION_TRUE@DMAP-3.0.gir: libdmapsharing-3.0.la
1708+
1709 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1710 # Otherwise a system limit (for SysV at least) may be exceeded.
1711 .NOEXPORT:
1712
1713=== modified file 'libdmapsharing/daap-share.c'
1714--- libdmapsharing/daap-share.c 2014-02-22 10:48:55 +0000
1715+++ libdmapsharing/daap-share.c 2014-05-27 20:54:48 +0000
1716@@ -185,7 +185,7 @@
1717 SoupMessage * message)
1718 {
1719 soup_message_headers_append (message->response_headers, "DMAP-Server",
1720- "libdmapsharing" VERSION);
1721+ "libdmapsharing" "VERSION");
1722 }
1723
1724 #define DMAP_VERSION 2.0
1725@@ -398,7 +398,7 @@
1726 }
1727
1728 done:
1729- g_debug (" Should%s transcode %s %s", fnval ? "" : " not", format, format2 ? format2 : "[no target format]");
1730+ g_debug (" Should%s transcode %s to %s", fnval ? "" : " not", format, format2 ? format2 : "[no target format]");
1731
1732 return fnval;
1733 }
1734@@ -922,7 +922,7 @@
1735 const gchar *s;
1736 gchar *content_range;
1737
1738- if (!g_ascii_strncasecmp (range_header, "bytes=", strlen("bytes="))) {
1739+ if (!g_str_has_prefix (range_header, "bytes=")) {
1740 /* Not starting with "bytes=" ? */
1741 offset = 0;
1742 } else {
1743
1744=== modified file 'libdmapsharing/dacp-player.h'
1745--- libdmapsharing/dacp-player.h 2013-08-29 12:30:01 +0000
1746+++ libdmapsharing/dacp-player.h 2014-05-27 20:54:48 +0000
1747@@ -91,13 +91,13 @@
1748 GType dacp_player_get_type (void);
1749
1750 /**
1751- * dacp_player_now_playing_record
1752+ * dacp_player_now_playing_record:
1753 * @player: a player
1754 */
1755 DAAPRecord *dacp_player_now_playing_record (DACPPlayer * player);
1756
1757 /**
1758- * dacp_player_now_playing_artwork
1759+ * dacp_player_now_playing_artwork:
1760 * @player: a player
1761 * @width: width
1762 * @height: height
1763@@ -106,37 +106,37 @@
1764 guint width, guint height);
1765
1766 /**
1767- * dacp_player_play_pause
1768+ * dacp_player_play_pause:
1769 * @player: a player
1770 */
1771 void dacp_player_play_pause (DACPPlayer * player);
1772
1773 /**
1774- * dacp_player_pause
1775+ * dacp_player_pause:
1776 * @player: a player
1777 */
1778 void dacp_player_pause (DACPPlayer * player);
1779
1780 /**
1781- * dacp_player_next_item
1782+ * dacp_player_next_item:
1783 * @player: a player
1784 */
1785 void dacp_player_next_item (DACPPlayer * player);
1786
1787 /**
1788- * dacp_player_now_prev_item
1789+ * dacp_player_now_prev_item:
1790 * @player: a player
1791 */
1792 void dacp_player_prev_item (DACPPlayer * player);
1793
1794 /**
1795- * dacp_player_cue_clear
1796+ * dacp_player_cue_clear:
1797 * @player: a player
1798 */
1799 void dacp_player_cue_clear (DACPPlayer * player);
1800
1801 /**
1802- * dacp_player_cue_play
1803+ * dacp_player_cue_play:
1804 * @player: a player
1805 * @records : a list of records
1806 * @index: an index
1807
1808=== modified file 'libdmapsharing/dacp-share.c'
1809--- libdmapsharing/dacp-share.c 2011-08-03 02:16:06 +0000
1810+++ libdmapsharing/dacp-share.c 2014-05-27 20:54:48 +0000
1811@@ -861,7 +861,7 @@
1812 == 0) {
1813 guint width = 320;
1814 guint height = 320;
1815- gchar *artwork_filename;
1816+ guchar *artwork_filename;
1817 gchar *buffer;
1818 gsize buffer_len;
1819
1820@@ -881,7 +881,7 @@
1821 }
1822 #ifdef HAVE_GDKPIXBUF
1823 GdkPixbuf *artwork =
1824- gdk_pixbuf_new_from_file_at_scale (artwork_filename,
1825+ gdk_pixbuf_new_from_file_at_scale ((char *) artwork_filename,
1826 width, height,
1827 TRUE, NULL);
1828
1829
1830=== modified file 'libdmapsharing/dmap-connection.h'
1831--- libdmapsharing/dmap-connection.h 2011-08-03 02:16:06 +0000
1832+++ libdmapsharing/dmap-connection.h 2014-05-27 20:54:48 +0000
1833@@ -167,7 +167,7 @@
1834 gint req_id, gboolean send_close);
1835
1836 /**
1837- * dmap_connection_authenticate_message
1838+ * dmap_connection_authenticate_message:
1839 * @connection: A #DMAPConnection
1840 * @session: A #SoupSession
1841 * @message: A #SoupMessage
1842
1843=== modified file 'libdmapsharing/dmap-container-db.h'
1844--- libdmapsharing/dmap-container-db.h 2011-08-03 02:16:06 +0000
1845+++ libdmapsharing/dmap-container-db.h 2014-05-27 20:54:48 +0000
1846@@ -103,7 +103,7 @@
1847 /**
1848 * dmap_container_db_foreach:
1849 * @db: A container database.
1850- * @fn: The function to apply to each record in the database.
1851+ * @func: The function to apply to each record in the database.
1852 * @data: User data to pass to the function.
1853 *
1854 * Apply a function to each record in a container database.
1855
1856=== modified file 'libdmapsharing/dmap-db.c'
1857--- libdmapsharing/dmap-db.c 2011-08-03 02:16:06 +0000
1858+++ libdmapsharing/dmap-db.c 2014-05-27 20:54:48 +0000
1859@@ -268,7 +268,7 @@
1860 for (list = fd->filter_def; list != NULL; list = list->next) {
1861 for (filter = list->data; filter != NULL;
1862 filter = filter->next) {
1863- FilterDefinition *def = filter->data;
1864+ DMAPDbFilterDefinition *def = filter->data;
1865 const gchar *property_name;
1866
1867 query_key = def->key;
1868
1869=== modified file 'libdmapsharing/dmap-db.h'
1870--- libdmapsharing/dmap-db.h 2011-08-03 02:16:06 +0000
1871+++ libdmapsharing/dmap-db.h 2014-05-27 20:54:48 +0000
1872@@ -79,12 +79,12 @@
1873
1874 typedef const char *(*RecordGetValueFunc) (DMAPRecord * record);
1875
1876-typedef struct FilterDefinition
1877+typedef struct DMAPDbFilterDefinition
1878 {
1879 gchar *key;
1880 gchar *value;
1881 gboolean negate;
1882-} FilterDefinition;
1883+} DMAPDbFilterDefinition;
1884
1885 GType dmap_db_get_type (void);
1886
1887@@ -104,7 +104,7 @@
1888 guint dmap_db_add (DMAPDb * db, DMAPRecord * record);
1889
1890 /**
1891- * dmap_db_add:
1892+ * dmap_db_add_with_id:
1893 * @db: A media database.
1894 * @record: A database record.
1895 * @id: A database record ID.
1896@@ -165,7 +165,7 @@
1897 /**
1898 * dmap_db_foreach:
1899 * @db: A media database.
1900- * @fn: The function to apply to each record in the database.
1901+ * @func: The function to apply to each record in the database.
1902 * @data: User data to pass to the function.
1903 *
1904 * Apply a function to each record in a media database.
1905
1906=== modified file 'libdmapsharing/dmap-gst-input-stream.c'
1907--- libdmapsharing/dmap-gst-input-stream.c 2013-08-29 12:30:01 +0000
1908+++ libdmapsharing/dmap-gst-input-stream.c 2014-05-27 20:54:48 +0000
1909@@ -307,7 +307,7 @@
1910 DMAPGstInputStream *gst_stream = DMAP_GST_INPUT_STREAM (stream);
1911 gint64 end_time;
1912
1913- end_time = end_time = g_get_monotonic_time () + QUEUE_POP_WAIT_SECONDS * G_TIME_SPAN_SECOND;
1914+ end_time = g_get_monotonic_time () + QUEUE_POP_WAIT_SECONDS * G_TIME_SPAN_SECOND;
1915
1916 g_mutex_lock (&gst_stream->priv->buffer_mutex);
1917
1918
1919=== modified file 'libdmapsharing/dmap-md5.c'
1920--- libdmapsharing/dmap-md5.c 2014-02-22 10:48:55 +0000
1921+++ libdmapsharing/dmap-md5.c 2014-05-27 20:54:48 +0000
1922@@ -142,6 +142,7 @@
1923 {
1924 unsigned count;
1925 unsigned char *p;
1926+ guint32 *tmp;
1927
1928 /* Compute number of bytes mod 64 */
1929 count = (ctx->bits[0] >> 3) & 0x3F;
1930@@ -170,8 +171,9 @@
1931 byteReverse (ctx->in, 14);
1932
1933 /* Append length in bits and transform */
1934- ((guint32 *) ctx->in)[14] = ctx->bits[0];
1935- ((guint32 *) ctx->in)[15] = ctx->bits[1];
1936+ tmp = (guint32 *) ctx->in;
1937+ tmp[14] = ctx->bits[0];
1938+ tmp[15] = ctx->bits[1];
1939
1940 MD5Transform (ctx->buf, (guint32 *) ctx->in, ctx->version);
1941 byteReverse ((unsigned char *) ctx->buf, 4);
1942@@ -525,19 +527,19 @@
1943 #ifdef HAVE_CHECK
1944 START_TEST(test_dmap_hash_generate_v3_h2)
1945 {
1946- char hash[33] = { 0 };
1947- char *url = "test://foo";
1948+ guchar hash[33] = { 0 };
1949+ guchar *url = (guchar *) "test://foo";
1950 dmap_hash_generate (3, url, 2, hash, 0);
1951- fail_unless (! strcmp (hash, "798A9D80B6F08E339603BE83E0FEAD03"));
1952+ fail_unless (! memcmp (hash, "798A9D80B6F08E339603BE83E0FEAD03", strlen ("798A9D80B6F08E339603BE83E0FEAD03")));
1953 }
1954 END_TEST
1955
1956 START_TEST(test_dmap_hash_progressive)
1957 {
1958- char buf[16] = { 0 };
1959- char hash1[33] = { 0 };
1960- char hash2[33] = { 0 };
1961- char *value = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
1962+ guchar buf[16] = { 0 };
1963+ guchar hash1[33] = { 0 };
1964+ guchar hash2[33] = { 0 };
1965+ guchar *value = (guchar *) "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
1966 DMAPHashContext context;
1967
1968 dmap_hash_progressive_init (&context);
1969@@ -552,7 +554,7 @@
1970
1971 dmap_hash_generate (3, value, 2, hash2, 0);
1972
1973- fail_unless (! strcmp (hash1, hash2));
1974+ fail_unless (! memcmp (hash1, hash2, 32));
1975 }
1976 END_TEST
1977
1978
1979=== modified file 'libdmapsharing/dmap-mdns-browser.h'
1980--- libdmapsharing/dmap-mdns-browser.h 2011-08-03 02:16:06 +0000
1981+++ libdmapsharing/dmap-mdns-browser.h 2014-05-27 20:54:48 +0000
1982@@ -181,5 +181,13 @@
1983 DMAPMdnsBrowserServiceType dmap_mdns_browser_get_service_type (DMAPMdnsBrowser
1984 * browser);
1985
1986+/**
1987+ * DMAPMdnsBrowser::service-added:
1988+ * @browser: the #DMAPMdnsBrowser which received the signal.
1989+ * @service: #DMAPMdnsBrowserService
1990+ *
1991+ * Emitted each time a service becomes available to @browser
1992+ */
1993+
1994 G_END_DECLS
1995 #endif
1996
1997=== modified file 'libdmapsharing/dmap-private-utils.c'
1998--- libdmapsharing/dmap-private-utils.c 2013-08-29 12:30:01 +0000
1999+++ libdmapsharing/dmap-private-utils.c 2014-05-27 20:54:48 +0000
2000@@ -38,7 +38,7 @@
2001 if (read_size > 0) {
2002 soup_message_body_append (message->response_body,
2003 SOUP_MEMORY_TAKE, chunk, read_size);
2004- g_debug ("Read/wrote %d bytes.", read_size);
2005+ g_debug ("Read/wrote %ld bytes.", read_size);
2006 } else {
2007 if (error != NULL) {
2008 g_warning ("Error reading from input stream: %s",
2009
2010=== modified file 'libdmapsharing/dmap-record.h'
2011--- libdmapsharing/dmap-record.h 2013-08-29 12:30:01 +0000
2012+++ libdmapsharing/dmap-record.h 2014-05-27 20:54:48 +0000
2013@@ -49,7 +49,7 @@
2014 #define IS_DMAP_RECORD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
2015 DMAP_TYPE_RECORD))
2016 /**
2017- * DAAP_RECORD_GET_INTERFACE:
2018+ * DMAP_RECORD_GET_INTERFACE:
2019 * @o: a #DAAPRecord instance.
2020 *
2021 * Get the class structure associated to a #DAAPRecord instance.
2022
2023=== modified file 'libdmapsharing/dmap-share.c'
2024--- libdmapsharing/dmap-share.c 2011-12-01 10:07:48 +0000
2025+++ libdmapsharing/dmap-share.c 2014-05-27 20:54:48 +0000
2026@@ -1295,7 +1295,7 @@
2027 gboolean negate;
2028 gint parentheses_count;
2029 gint quotes_count;
2030- FilterDefinition *def;
2031+ DMAPDbFilterDefinition *def;
2032
2033 GSList *list = NULL;
2034 GSList *filter = NULL;
2035@@ -1419,11 +1419,11 @@
2036 } else if (value != NULL && *next_char != '!') {
2037 // If we won't accept this character, we are ending a
2038 // query key or value, so we should save them in a new
2039- // FilterDefinition. If is_value is TRUE, we will still
2040+ // DMAPDbFilterDefinition. If is_value is TRUE, we will still
2041 // parse the query value, so we must keep our def around.
2042 // Otherwise, save it in the list of filters.
2043 if (!def) {
2044- def = g_new0 (FilterDefinition, 1);
2045+ def = g_new0 (DMAPDbFilterDefinition, 1);
2046 }
2047 if (is_key) {
2048 def->key = value->str;
2049@@ -1468,8 +1468,8 @@
2050 for (ptr1 = list; ptr1 != NULL; ptr1 = ptr1->next) {
2051 for (ptr2 = ptr1->data; ptr2 != NULL; ptr2 = ptr2->next) {
2052 g_debug ("%s = %s",
2053- ((FilterDefinition *) ptr2->data)->key,
2054- ((FilterDefinition *) ptr2->data)->value);
2055+ ((DMAPDbFilterDefinition *) ptr2->data)->key,
2056+ ((DMAPDbFilterDefinition *) ptr2->data)->value);
2057 }
2058 }
2059
2060@@ -1483,7 +1483,7 @@
2061
2062 for (ptr1 = filter; ptr1 != NULL; ptr1 = ptr1->next) {
2063 for (ptr2 = ptr1->data; ptr2 != NULL; ptr2 = ptr2->next) {
2064- g_free (((FilterDefinition *) ptr2->data)->value);
2065+ g_free (((DMAPDbFilterDefinition *) ptr2->data)->value);
2066 g_free (ptr2->data);
2067 }
2068 }
2069
2070=== modified file 'libdmapsharing/dpap-share.c'
2071--- libdmapsharing/dpap-share.c 2013-06-29 22:28:20 +0000
2072+++ libdmapsharing/dpap-share.c 2014-05-27 20:54:48 +0000
2073@@ -191,7 +191,7 @@
2074 SoupMessage * message)
2075 {
2076 soup_message_headers_append (message->response_headers, "DPAP-Server",
2077- "libdmapsharing" VERSION);
2078+ "libdmapsharing" "VERSION");
2079 }
2080
2081 #define DMAP_VERSION 2.0
2082
2083=== modified file 'm4/Makefile.in'
2084--- m4/Makefile.in 2013-06-29 22:28:20 +0000
2085+++ m4/Makefile.in 2014-05-27 20:54:48 +0000
2086@@ -83,9 +83,10 @@
2087 am__aclocal_m4_deps = $(top_srcdir)/m4/as-arch.m4 \
2088 $(top_srcdir)/m4/as-compiler-flag.m4 \
2089 $(top_srcdir)/m4/as-version.m4 $(top_srcdir)/m4/gtk-doc.m4 \
2090- $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
2091- $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
2092- $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
2093+ $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
2094+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
2095+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
2096+ $(top_srcdir)/configure.ac
2097 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
2098 $(ACLOCAL_M4)
2099 mkinstalldirs = $(install_sh) -d
2100@@ -177,6 +178,14 @@
2101 INSTALL_PROGRAM = @INSTALL_PROGRAM@
2102 INSTALL_SCRIPT = @INSTALL_SCRIPT@
2103 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
2104+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
2105+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
2106+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
2107+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
2108+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
2109+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
2110+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
2111+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
2112 LD = @LD@
2113 LDFLAGS = @LDFLAGS@
2114 LIBDMAPSHARING_MAJORMINOR = @LIBDMAPSHARING_MAJORMINOR@
2115
2116=== added file 'm4/introspection.m4'
2117--- m4/introspection.m4 1970-01-01 00:00:00 +0000
2118+++ m4/introspection.m4 2014-05-27 20:54:48 +0000
2119@@ -0,0 +1,96 @@
2120+dnl -*- mode: autoconf -*-
2121+dnl Copyright 2009 Johan Dahlin
2122+dnl
2123+dnl This file is free software; the author(s) gives unlimited
2124+dnl permission to copy and/or distribute it, with or without
2125+dnl modifications, as long as this notice is preserved.
2126+dnl
2127+
2128+# serial 1
2129+
2130+m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
2131+[
2132+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
2133+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
2134+ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
2135+
2136+ dnl enable/disable introspection
2137+ m4_if([$2], [require],
2138+ [dnl
2139+ enable_introspection=yes
2140+ ],[dnl
2141+ AC_ARG_ENABLE(introspection,
2142+ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
2143+ [Enable introspection for this build]),,
2144+ [enable_introspection=auto])
2145+ ])dnl
2146+
2147+ AC_MSG_CHECKING([for gobject-introspection])
2148+
2149+ dnl presence/version checking
2150+ AS_CASE([$enable_introspection],
2151+ [no], [dnl
2152+ found_introspection="no (disabled, use --enable-introspection to enable)"
2153+ ],dnl
2154+ [yes],[dnl
2155+ PKG_CHECK_EXISTS([gobject-introspection-1.0],,
2156+ AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
2157+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
2158+ found_introspection=yes,
2159+ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
2160+ ],dnl
2161+ [auto],[dnl
2162+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
2163+ dnl Canonicalize enable_introspection
2164+ enable_introspection=$found_introspection
2165+ ],dnl
2166+ [dnl
2167+ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
2168+ ])dnl
2169+
2170+ AC_MSG_RESULT([$found_introspection])
2171+
2172+ INTROSPECTION_SCANNER=
2173+ INTROSPECTION_COMPILER=
2174+ INTROSPECTION_GENERATE=
2175+ INTROSPECTION_GIRDIR=
2176+ INTROSPECTION_TYPELIBDIR=
2177+ if test "x$found_introspection" = "xyes"; then
2178+ INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
2179+ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
2180+ INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
2181+ INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
2182+ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
2183+ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
2184+ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
2185+ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
2186+ fi
2187+ AC_SUBST(INTROSPECTION_SCANNER)
2188+ AC_SUBST(INTROSPECTION_COMPILER)
2189+ AC_SUBST(INTROSPECTION_GENERATE)
2190+ AC_SUBST(INTROSPECTION_GIRDIR)
2191+ AC_SUBST(INTROSPECTION_TYPELIBDIR)
2192+ AC_SUBST(INTROSPECTION_CFLAGS)
2193+ AC_SUBST(INTROSPECTION_LIBS)
2194+ AC_SUBST(INTROSPECTION_MAKEFILE)
2195+
2196+ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
2197+])
2198+
2199+
2200+dnl Usage:
2201+dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
2202+
2203+AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
2204+[
2205+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
2206+])
2207+
2208+dnl Usage:
2209+dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
2210+
2211+
2212+AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
2213+[
2214+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
2215+])
2216
2217=== modified file 'm4/libtool.m4'
2218--- m4/libtool.m4 2014-02-22 10:48:55 +0000
2219+++ m4/libtool.m4 2014-05-27 20:54:48 +0000
2220@@ -1326,10 +1326,10 @@
2221 x86_64-*linux*)
2222 LD="${LD-ld} -m elf_i386"
2223 ;;
2224- powerpcle-*linux*)
2225+ powerpc64le-*linux*)
2226 LD="${LD-ld} -m elf32lppclinux"
2227 ;;
2228- powerpc-*linux*)
2229+ powerpc64-*linux*)
2230 LD="${LD-ld} -m elf32ppclinux"
2231 ;;
2232 s390x-*linux*)
2233
2234=== modified file 'media/Makefile.in'
2235--- media/Makefile.in 2013-06-29 22:28:20 +0000
2236+++ media/Makefile.in 2014-05-27 20:54:48 +0000
2237@@ -83,9 +83,10 @@
2238 am__aclocal_m4_deps = $(top_srcdir)/m4/as-arch.m4 \
2239 $(top_srcdir)/m4/as-compiler-flag.m4 \
2240 $(top_srcdir)/m4/as-version.m4 $(top_srcdir)/m4/gtk-doc.m4 \
2241- $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
2242- $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
2243- $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
2244+ $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
2245+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
2246+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
2247+ $(top_srcdir)/configure.ac
2248 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
2249 $(ACLOCAL_M4)
2250 mkinstalldirs = $(install_sh) -d
2251@@ -177,6 +178,14 @@
2252 INSTALL_PROGRAM = @INSTALL_PROGRAM@
2253 INSTALL_SCRIPT = @INSTALL_SCRIPT@
2254 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
2255+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
2256+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
2257+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
2258+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
2259+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
2260+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
2261+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
2262+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
2263 LD = @LD@
2264 LDFLAGS = @LDFLAGS@
2265 LIBDMAPSHARING_MAJORMINOR = @LIBDMAPSHARING_MAJORMINOR@
2266
2267=== modified file 'tests/Makefile.am'
2268--- tests/Makefile.am 2013-05-27 20:02:23 +0000
2269+++ tests/Makefile.am 2014-05-27 20:54:48 +0000
2270@@ -52,7 +52,7 @@
2271 $(IMAGEMAGICK_LIBS) \
2272 $(MDNS_LIBS)
2273
2274-if MAINTAINER_MODE
2275+if HAVE_VALAC
2276 BUILT_SOURCES = dacplisten.stamp dpapview.stamp dmapcopy.stamp dmapserve.stamp
2277
2278 dacplisten.stamp: $(dacplisten_VALASOURCES)
2279@@ -162,15 +162,17 @@
2280 test-dpap-record-factory.h
2281
2282 EXTRA_DIST = \
2283+ $(dacplisten_VALASOURCES) \
2284+ $(dacplisten_VALABUILTSOURCES) \
2285 $(dpapview_VALASOURCES) \
2286 $(dpapview_VALABUILTSOURCES) \
2287- $(dacplisten_VALASOURCES) \
2288- $(dacplisten_VALABUILTSOURCES) \
2289+ $(dmapcopy_VALASOURCES) \
2290+ $(dmapcopy_VALABUILTSOURCES) \
2291 $(dmapserve_VALASOURCES) \
2292 $(dmapserve_VALABUILTSOURCES) \
2293 dpapview.ui
2294
2295-if MAINTAINER_MODE
2296+if HAVE_VALAC
2297 CLEANFILES = \
2298 $(BUILT_SOURCES) \
2299 $(dpapview_VALABUILTSOURCES)
2300
2301=== modified file 'tests/Makefile.in'
2302--- tests/Makefile.in 2013-06-29 22:28:20 +0000
2303+++ tests/Makefile.in 2014-05-27 20:54:48 +0000
2304@@ -92,9 +92,10 @@
2305 am__aclocal_m4_deps = $(top_srcdir)/m4/as-arch.m4 \
2306 $(top_srcdir)/m4/as-compiler-flag.m4 \
2307 $(top_srcdir)/m4/as-version.m4 $(top_srcdir)/m4/gtk-doc.m4 \
2308- $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
2309- $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
2310- $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
2311+ $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
2312+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
2313+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
2314+ $(top_srcdir)/configure.ac
2315 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
2316 $(ACLOCAL_M4)
2317 mkinstalldirs = $(install_sh) -d
2318@@ -288,6 +289,14 @@
2319 INSTALL_PROGRAM = @INSTALL_PROGRAM@
2320 INSTALL_SCRIPT = @INSTALL_SCRIPT@
2321 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
2322+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
2323+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
2324+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
2325+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
2326+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
2327+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
2328+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
2329+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
2330 LD = @LD@
2331 LDFLAGS = @LDFLAGS@
2332 LIBDMAPSHARING_MAJORMINOR = @LIBDMAPSHARING_MAJORMINOR@
2333@@ -436,7 +445,7 @@
2334 $(IMAGEMAGICK_LIBS) \
2335 $(MDNS_LIBS)
2336
2337-@MAINTAINER_MODE_TRUE@BUILT_SOURCES = dacplisten.stamp dpapview.stamp dmapcopy.stamp dmapserve.stamp
2338+@HAVE_VALAC_TRUE@BUILT_SOURCES = dacplisten.stamp dpapview.stamp dmapcopy.stamp dmapserve.stamp
2339 dacplisten_VALASOURCES = \
2340 dacplisten.vala \
2341 vala-dmap-db.vala \
2342@@ -516,17 +525,19 @@
2343 test-dpap-record-factory.h
2344
2345 EXTRA_DIST = \
2346+ $(dacplisten_VALASOURCES) \
2347+ $(dacplisten_VALABUILTSOURCES) \
2348 $(dpapview_VALASOURCES) \
2349 $(dpapview_VALABUILTSOURCES) \
2350- $(dacplisten_VALASOURCES) \
2351- $(dacplisten_VALABUILTSOURCES) \
2352+ $(dmapcopy_VALASOURCES) \
2353+ $(dmapcopy_VALABUILTSOURCES) \
2354 $(dmapserve_VALASOURCES) \
2355 $(dmapserve_VALABUILTSOURCES) \
2356 dpapview.ui
2357
2358-@MAINTAINER_MODE_TRUE@CLEANFILES = \
2359-@MAINTAINER_MODE_TRUE@ $(BUILT_SOURCES) \
2360-@MAINTAINER_MODE_TRUE@ $(dpapview_VALABUILTSOURCES)
2361+@HAVE_VALAC_TRUE@CLEANFILES = \
2362+@HAVE_VALAC_TRUE@ $(BUILT_SOURCES) \
2363+@HAVE_VALAC_TRUE@ $(dpapview_VALABUILTSOURCES)
2364
2365 all: $(BUILT_SOURCES)
2366 $(MAKE) $(AM_MAKEFLAGS) all-am
2367@@ -860,21 +871,21 @@
2368 tags tags-am uninstall uninstall-am
2369
2370
2371-@MAINTAINER_MODE_TRUE@dacplisten.stamp: $(dacplisten_VALASOURCES)
2372-@MAINTAINER_MODE_TRUE@ $(VALAC) --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg glib-2.0 --pkg avahi-gobject $^ -C
2373-@MAINTAINER_MODE_TRUE@ touch $@
2374-
2375-@MAINTAINER_MODE_TRUE@dpapview.stamp: $(dpapview_VALASOURCES)
2376-@MAINTAINER_MODE_TRUE@ $(VALAC) --vapidir=../vala --pkg gee-0.8 --pkg gtk+-2.0 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg glib-2.0 --pkg avahi-gobject $^ -C
2377-@MAINTAINER_MODE_TRUE@ touch $@
2378-
2379-@MAINTAINER_MODE_TRUE@dmapcopy.stamp: $(dmapcopy_VALASOURCES)
2380-@MAINTAINER_MODE_TRUE@ $(VALAC) --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg glib-2.0 --pkg avahi-gobject $^ -C
2381-@MAINTAINER_MODE_TRUE@ touch $@
2382-
2383-@MAINTAINER_MODE_TRUE@dmapserve.stamp: $(dmapserve_VALASOURCES)
2384-@MAINTAINER_MODE_TRUE@ $(VALAC) --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg glib-2.0 --pkg avahi-gobject $^ -C
2385-@MAINTAINER_MODE_TRUE@ touch $@
2386+@HAVE_VALAC_TRUE@dacplisten.stamp: $(dacplisten_VALASOURCES)
2387+@HAVE_VALAC_TRUE@ $(VALAC) --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg glib-2.0 --pkg avahi-gobject $^ -C
2388+@HAVE_VALAC_TRUE@ touch $@
2389+
2390+@HAVE_VALAC_TRUE@dpapview.stamp: $(dpapview_VALASOURCES)
2391+@HAVE_VALAC_TRUE@ $(VALAC) --vapidir=../vala --pkg gee-0.8 --pkg gtk+-2.0 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg glib-2.0 --pkg avahi-gobject $^ -C
2392+@HAVE_VALAC_TRUE@ touch $@
2393+
2394+@HAVE_VALAC_TRUE@dmapcopy.stamp: $(dmapcopy_VALASOURCES)
2395+@HAVE_VALAC_TRUE@ $(VALAC) --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg glib-2.0 --pkg avahi-gobject $^ -C
2396+@HAVE_VALAC_TRUE@ touch $@
2397+
2398+@HAVE_VALAC_TRUE@dmapserve.stamp: $(dmapserve_VALASOURCES)
2399+@HAVE_VALAC_TRUE@ $(VALAC) --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg glib-2.0 --pkg avahi-gobject $^ -C
2400+@HAVE_VALAC_TRUE@ touch $@
2401
2402 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2403 # Otherwise a system limit (for SysV at least) may be exceeded.
2404
2405=== modified file 'tests/dacplisten.c'
2406--- tests/dacplisten.c 2013-05-27 20:02:23 +0000
2407+++ tests/dacplisten.c 2014-05-27 20:54:48 +0000
2408@@ -1,4 +1,4 @@
2409-/* dacplisten.c generated by valac 0.18.1, the Vala compiler
2410+/* dacplisten.c generated by valac 0.22.1, the Vala compiler
2411 * generated from dacplisten.vala, do not modify */
2412
2413 /* FILE: dacplisten.vala -- Listen to DACP remotes
2414@@ -110,7 +110,7 @@
2415 VALA_DACP_PLAYER_DUMMY_PROPERTY
2416 };
2417 static DAAPRecord* vala_dacp_player_real_now_playing_record (DACPPlayer* base);
2418-static guchar* vala_dacp_player_real_now_playing_artwork (DACPPlayer* base, guint width, guint heigth, int* result_length1);
2419+static guchar* vala_dacp_player_real_now_playing_artwork (DACPPlayer* base, guint width, guint height, int* result_length1);
2420 static void vala_dacp_player_real_play_pause (DACPPlayer* base);
2421 static void vala_dacp_player_real_pause (DACPPlayer* base);
2422 static void vala_dacp_player_real_next_item (DACPPlayer* base);
2423@@ -143,7 +143,7 @@
2424 static DAAPRecord* vala_dacp_player_real_now_playing_record (DACPPlayer* base) {
2425 ValaDACPPlayer * self;
2426 DAAPRecord* result = NULL;
2427- FILE* _tmp0_;
2428+ FILE* _tmp0_ = NULL;
2429 self = (ValaDACPPlayer*) base;
2430 _tmp0_ = stdout;
2431 fprintf (_tmp0_, "Now playing record request received\n");
2432@@ -152,12 +152,12 @@
2433 }
2434
2435
2436-static guchar* vala_dacp_player_real_now_playing_artwork (DACPPlayer* base, guint width, guint heigth, int* result_length1) {
2437+static guchar* vala_dacp_player_real_now_playing_artwork (DACPPlayer* base, guint width, guint height, int* result_length1) {
2438 ValaDACPPlayer * self;
2439 guchar* result = NULL;
2440- FILE* _tmp0_;
2441- guchar* _tmp1_;
2442- gint _tmp1__length1;
2443+ FILE* _tmp0_ = NULL;
2444+ guchar* _tmp1_ = NULL;
2445+ gint _tmp1__length1 = 0;
2446 self = (ValaDACPPlayer*) base;
2447 _tmp0_ = stdout;
2448 fprintf (_tmp0_, "Now playing artwork request received\n");
2449@@ -173,7 +173,7 @@
2450
2451 static void vala_dacp_player_real_play_pause (DACPPlayer* base) {
2452 ValaDACPPlayer * self;
2453- FILE* _tmp0_;
2454+ FILE* _tmp0_ = NULL;
2455 self = (ValaDACPPlayer*) base;
2456 _tmp0_ = stdout;
2457 fprintf (_tmp0_, "Play/pause request received\n");
2458@@ -182,7 +182,7 @@
2459
2460 static void vala_dacp_player_real_pause (DACPPlayer* base) {
2461 ValaDACPPlayer * self;
2462- FILE* _tmp0_;
2463+ FILE* _tmp0_ = NULL;
2464 self = (ValaDACPPlayer*) base;
2465 _tmp0_ = stdout;
2466 fprintf (_tmp0_, "Pause request received\n");
2467@@ -191,7 +191,7 @@
2468
2469 static void vala_dacp_player_real_next_item (DACPPlayer* base) {
2470 ValaDACPPlayer * self;
2471- FILE* _tmp0_;
2472+ FILE* _tmp0_ = NULL;
2473 self = (ValaDACPPlayer*) base;
2474 _tmp0_ = stdout;
2475 fprintf (_tmp0_, "Next item request received\n");
2476@@ -200,7 +200,7 @@
2477
2478 static void vala_dacp_player_real_prev_item (DACPPlayer* base) {
2479 ValaDACPPlayer * self;
2480- FILE* _tmp0_;
2481+ FILE* _tmp0_ = NULL;
2482 self = (ValaDACPPlayer*) base;
2483 _tmp0_ = stdout;
2484 fprintf (_tmp0_, "Previous item request received\n");
2485@@ -209,7 +209,7 @@
2486
2487 static void vala_dacp_player_real_cue_clear (DACPPlayer* base) {
2488 ValaDACPPlayer * self;
2489- FILE* _tmp0_;
2490+ FILE* _tmp0_ = NULL;
2491 self = (ValaDACPPlayer*) base;
2492 _tmp0_ = stdout;
2493 fprintf (_tmp0_, "Cue clear request received\n");
2494@@ -218,7 +218,7 @@
2495
2496 static void vala_dacp_player_real_cue_play (DACPPlayer* base, GList* records, guint index) {
2497 ValaDACPPlayer * self;
2498- FILE* _tmp0_;
2499+ FILE* _tmp0_ = NULL;
2500 self = (ValaDACPPlayer*) base;
2501 _tmp0_ = stdout;
2502 fprintf (_tmp0_, "Cue play request received\n");
2503@@ -274,9 +274,9 @@
2504
2505
2506 static void __lambda2_ (DACPListener* self, const gchar* service_name, const gchar* display_name) {
2507- FILE* _tmp0_;
2508- const gchar* _tmp1_;
2509- const gchar* _tmp2_;
2510+ FILE* _tmp0_ = NULL;
2511+ const gchar* _tmp1_ = NULL;
2512+ const gchar* _tmp2_ = NULL;
2513 g_return_if_fail (service_name != NULL);
2514 g_return_if_fail (display_name != NULL);
2515 _tmp0_ = stdout;
2516@@ -292,7 +292,7 @@
2517
2518
2519 static void __lambda3_ (DACPListener* self, const gchar* guid) {
2520- FILE* _tmp0_;
2521+ FILE* _tmp0_ = NULL;
2522 g_return_if_fail (guid != NULL);
2523 _tmp0_ = stdout;
2524 fprintf (_tmp0_, "Add GUID request received\n");
2525@@ -306,16 +306,16 @@
2526
2527 DACPListener* dacp_listener_construct (GType object_type) {
2528 DACPListener * self = NULL;
2529- ValaDMAPDb* _tmp0_;
2530- ValaDMAPContainerDb* _tmp1_;
2531- ValaDACPPlayer* _tmp2_;
2532- DACPPlayer* _tmp3_;
2533- DMAPDb* _tmp4_;
2534- DMAPContainerDb* _tmp5_;
2535- DACPShare* _tmp6_;
2536- DACPShare* _tmp7_;
2537- DACPShare* _tmp8_;
2538- DACPShare* _tmp9_;
2539+ ValaDMAPDb* _tmp0_ = NULL;
2540+ ValaDMAPContainerDb* _tmp1_ = NULL;
2541+ ValaDACPPlayer* _tmp2_ = NULL;
2542+ DACPPlayer* _tmp3_ = NULL;
2543+ DMAPDb* _tmp4_ = NULL;
2544+ DMAPContainerDb* _tmp5_ = NULL;
2545+ DACPShare* _tmp6_ = NULL;
2546+ DACPShare* _tmp7_ = NULL;
2547+ DACPShare* _tmp8_ = NULL;
2548+ DACPShare* _tmp9_ = NULL;
2549 self = (DACPListener*) g_object_new (object_type, NULL);
2550 _tmp0_ = vala_dmap_db_new ();
2551 _g_object_unref0 (self->priv->db);
2552@@ -384,10 +384,10 @@
2553
2554 gint _vala_main (gchar** args, int args_length1) {
2555 gint result = 0;
2556- GMainLoop* _tmp0_;
2557- GMainLoop* loop;
2558- DACPListener* _tmp1_;
2559- DACPListener* dacplistener;
2560+ GMainLoop* loop = NULL;
2561+ GMainLoop* _tmp0_ = NULL;
2562+ DACPListener* dacplistener = NULL;
2563+ DACPListener* _tmp1_ = NULL;
2564 _tmp0_ = g_main_loop_new (NULL, FALSE);
2565 loop = _tmp0_;
2566 _tmp1_ = dacp_listener_new ();
2567
2568=== modified file 'tests/dacplisten.vala'
2569--- tests/dacplisten.vala 2011-08-03 02:16:06 +0000
2570+++ tests/dacplisten.vala 2014-05-27 20:54:48 +0000
2571@@ -27,7 +27,7 @@
2572 return null;
2573 }
2574
2575- unowned uchar[] now_playing_artwork (uint width, uint heigth) {
2576+ unowned uchar[] now_playing_artwork (uint width, uint height) {
2577 stdout.printf ("Now playing artwork request received\n");
2578 return null;
2579 }
2580
2581=== modified file 'tests/dmapcopy.c'
2582--- tests/dmapcopy.c 2013-05-27 20:02:23 +0000
2583+++ tests/dmapcopy.c 2014-05-27 20:54:48 +0000
2584@@ -1,4 +1,4 @@
2585-/* dmapcopy.c generated by valac 0.18.1, the Vala compiler
2586+/* dmapcopy.c generated by valac 0.22.1, the Vala compiler
2587 * generated from dmapcopy.vala, do not modify */
2588
2589 /* FILE: dmapcopy.vala -- Copy files from a DMAP server
2590@@ -137,10 +137,10 @@
2591
2592
2593 static void __lambda2_ (DPAPCopy* self, gconstpointer k, gconstpointer v) {
2594- FILE* _tmp0_;
2595- gconstpointer _tmp1_;
2596- const gchar* _tmp2_;
2597- const gchar* _tmp3_;
2598+ FILE* _tmp0_ = NULL;
2599+ gconstpointer _tmp1_ = NULL;
2600+ const gchar* _tmp2_ = NULL;
2601+ const gchar* _tmp3_ = NULL;
2602 _tmp0_ = stdout;
2603 _tmp1_ = v;
2604 _tmp2_ = vala_dpap_record_get_location (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_VALA_DPAP_RECORD, ValaDPAPRecord));
2605@@ -156,9 +156,9 @@
2606
2607 static gboolean dpap_copy_connected_cb (DPAPCopy* self, DMAPConnection* connection, gboolean _result_, const gchar* reason) {
2608 gboolean result = FALSE;
2609- ValaDMAPDb* _tmp0_;
2610+ ValaDMAPDb* _tmp0_ = NULL;
2611 gint64 _tmp1_ = 0LL;
2612- ValaDMAPDb* _tmp2_;
2613+ ValaDMAPDb* _tmp2_ = NULL;
2614 g_return_val_if_fail (self != NULL, FALSE);
2615 g_return_val_if_fail (connection != NULL, FALSE);
2616 _tmp0_ = self->priv->db;
2617@@ -179,16 +179,16 @@
2618
2619
2620 static void dpap_copy_service_added_cb (DPAPCopy* self, DMAPMdnsBrowserService* service) {
2621- DMAPMdnsBrowserService* _tmp0_;
2622- const gchar* _tmp1_;
2623- DMAPMdnsBrowserService* _tmp2_;
2624- const gchar* _tmp3_;
2625- DMAPMdnsBrowserService* _tmp4_;
2626- guint _tmp5_;
2627- ValaDMAPDb* _tmp6_;
2628- ValaDPAPRecordFactory* _tmp7_;
2629- DPAPConnection* _tmp8_;
2630- DMAPConnection* _tmp9_;
2631+ DMAPMdnsBrowserService* _tmp0_ = NULL;
2632+ const gchar* _tmp1_ = NULL;
2633+ DMAPMdnsBrowserService* _tmp2_ = NULL;
2634+ const gchar* _tmp3_ = NULL;
2635+ DMAPMdnsBrowserService* _tmp4_ = NULL;
2636+ guint _tmp5_ = 0U;
2637+ ValaDMAPDb* _tmp6_ = NULL;
2638+ ValaDPAPRecordFactory* _tmp7_ = NULL;
2639+ DPAPConnection* _tmp8_ = NULL;
2640+ DMAPConnection* _tmp9_ = NULL;
2641 g_return_if_fail (self != NULL);
2642 _tmp0_ = service;
2643 _tmp1_ = _tmp0_->service_name;
2644@@ -213,11 +213,11 @@
2645
2646 DPAPCopy* dpap_copy_construct (GType object_type, GError** error) {
2647 DPAPCopy* self = NULL;
2648- ValaDMAPDb* _tmp0_;
2649- ValaDPAPRecordFactory* _tmp1_;
2650- DMAPMdnsBrowser* _tmp2_;
2651- DMAPMdnsBrowser* _tmp3_;
2652- DMAPMdnsBrowser* _tmp4_;
2653+ ValaDMAPDb* _tmp0_ = NULL;
2654+ ValaDPAPRecordFactory* _tmp1_ = NULL;
2655+ DMAPMdnsBrowser* _tmp2_ = NULL;
2656+ DMAPMdnsBrowser* _tmp3_ = NULL;
2657+ DMAPMdnsBrowser* _tmp4_ = NULL;
2658 GError * _inner_error_ = NULL;
2659 self = (DPAPCopy*) g_type_create_instance (object_type);
2660 _tmp0_ = vala_dmap_db_new ();
2661@@ -413,8 +413,8 @@
2662
2663
2664 void debug_printf (const gchar* log_domain, GLogLevelFlags log_level, const gchar* message) {
2665- FILE* _tmp0_;
2666- const gchar* _tmp1_;
2667+ FILE* _tmp0_ = NULL;
2668+ const gchar* _tmp1_ = NULL;
2669 _tmp0_ = stdout;
2670 _tmp1_ = message;
2671 fprintf (_tmp0_, "%s\n", _tmp1_);
2672@@ -432,10 +432,10 @@
2673
2674 gint _vala_main (gchar** args, int args_length1) {
2675 gint result = 0;
2676- GMainLoop* _tmp0_;
2677- GMainLoop* loop;
2678- DPAPCopy* _tmp1_;
2679- DPAPCopy* dmapcopy;
2680+ GMainLoop* loop = NULL;
2681+ GMainLoop* _tmp0_ = NULL;
2682+ DPAPCopy* dmapcopy = NULL;
2683+ DPAPCopy* _tmp1_ = NULL;
2684 GError * _inner_error_ = NULL;
2685 _tmp0_ = g_main_loop_new (NULL, FALSE);
2686 loop = _tmp0_;
2687
2688=== added file 'tests/dmapcopy.vala'
2689--- tests/dmapcopy.vala 1970-01-01 00:00:00 +0000
2690+++ tests/dmapcopy.vala 2014-05-27 20:54:48 +0000
2691@@ -0,0 +1,100 @@
2692+/* FILE: dmapcopy.vala -- Copy files from a DMAP server
2693+ * AUTHOR: W. Michael Petullo <mike@flyn.org>
2694+ * DATE: 20 December 2010
2695+ *
2696+ * Copyright (c) 2010 W. Michael Petullo <new@flyn.org>
2697+ * All rights reserved.
2698+ *
2699+ * This program is free software; you can redistribute it and/or modify
2700+ * it under the terms of the GNU General Public License as published by
2701+ * the Free Software Foundation; either version 2 of the License, or
2702+ * (at your option) any later version.
2703+ *
2704+ * This program is distributed in the hope that it will be useful,
2705+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2706+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2707+ * GNU General Public License for more details.
2708+ *
2709+ * You should have received a copy of the GNU General Public License
2710+ * along with this program; if not, write to the Free Software
2711+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2712+ */
2713+
2714+private class DPAPCopy {
2715+ private DMAP.MdnsBrowser browser;
2716+ private DMAP.Connection connection;
2717+ private ValaDMAPDb db;
2718+ private ValaDPAPRecordFactory factory;
2719+
2720+ private bool connected_cb (DMAP.Connection connection, bool result, string? reason) {
2721+ GLib.debug ("%lld entries\n", db.count ());
2722+
2723+ db.foreach ((k, v) => {
2724+
2725+ stdout.printf ("%s\n", ((ValaDPAPRecord) v).location);
2726+
2727+ /* Uncomment to copy the data:
2728+ var session = new Soup.SessionAsync ();
2729+ var message = new Soup.Message ("GET", ((ValaDPAPRecord) v).location);
2730+ message.request_headers = connection.get_headers (((ValaDPAPRecord) v).location);
2731+
2732+ GLib.debug ("GET %s", ((ValaDPAPRecord) v).location);
2733+ session.send_message (message);
2734+
2735+ var file = File.new_for_path (((int) k).to_string ());
2736+ var file_stream = file.create (FileCreateFlags.NONE);
2737+
2738+ // Test for the existence of file
2739+ if (file.query_exists ()) {
2740+ stdout.printf ("File successfully created.\n");
2741+ }
2742+
2743+ // Write text data to file
2744+ var data_stream = new DataOutputStream (file_stream);
2745+ data_stream.write (message.response_body.data, (size_t) message.response_body.length, null);
2746+ */
2747+ });
2748+
2749+ return true;
2750+ }
2751+
2752+ private void service_added_cb (DMAP.MdnsBrowserService *service) {
2753+ connection = (DMAP.Connection) new DPAP.Connection (service->service_name, service->host, service->port, db, factory);
2754+ connection.connect (connected_cb);
2755+ }
2756+
2757+ public DPAPCopy () throws GLib.Error {
2758+ db = new ValaDMAPDb ();
2759+ factory = new ValaDPAPRecordFactory ();
2760+
2761+ browser = new DMAP.MdnsBrowser (DMAP.MdnsBrowserServiceType.DPAP);
2762+ browser.service_added.connect (service_added_cb);
2763+ browser.start ();
2764+ }
2765+}
2766+
2767+void debug_printf (string? log_domain,
2768+ GLib.LogLevelFlags log_level,
2769+ string? message)
2770+{
2771+ stdout.printf ("%s\n", message);
2772+}
2773+
2774+void debug_null (string? log_domain,
2775+ GLib.LogLevelFlags log_level,
2776+ string? message)
2777+{
2778+}
2779+
2780+int main (string[] args) {
2781+ var loop = new GLib.MainLoop ();
2782+
2783+ GLib.Log.set_handler ("libdmapsharing", GLib.LogLevelFlags.LEVEL_DEBUG, debug_null);
2784+ GLib.Log.set_handler (null, GLib.LogLevelFlags.LEVEL_DEBUG, debug_null);
2785+
2786+ var dmapcopy = new DPAPCopy ();
2787+
2788+ loop.run ();
2789+
2790+ return 0;
2791+}
2792
2793=== modified file 'tests/dmapserve.c'
2794--- tests/dmapserve.c 2013-05-27 20:02:23 +0000
2795+++ tests/dmapserve.c 2014-05-27 20:54:48 +0000
2796@@ -1,4 +1,4 @@
2797-/* dmapserve.c generated by valac 0.18.1, the Vala compiler
2798+/* dmapserve.c generated by valac 0.22.1, the Vala compiler
2799 * generated from dmapserve.vala, do not modify */
2800
2801 /* FILE: dmapserve.vala -- Serve media using DMAP
2802@@ -133,14 +133,14 @@
2803
2804 DPAPServe* dpap_serve_construct (GType object_type, GError** error) {
2805 DPAPServe* self = NULL;
2806- ValaDPAPRecord* _tmp0_;
2807- ValaDMAPDb* _tmp1_;
2808- ValaDMAPDb* _tmp2_;
2809- ValaDPAPRecord* _tmp3_;
2810- ValaDMAPContainerDb* _tmp4_;
2811- ValaDMAPDb* _tmp5_;
2812- ValaDMAPContainerDb* _tmp6_;
2813- DPAPShare* _tmp7_;
2814+ ValaDPAPRecord* _tmp0_ = NULL;
2815+ ValaDMAPDb* _tmp1_ = NULL;
2816+ ValaDMAPDb* _tmp2_ = NULL;
2817+ ValaDPAPRecord* _tmp3_ = NULL;
2818+ ValaDMAPContainerDb* _tmp4_ = NULL;
2819+ ValaDMAPDb* _tmp5_ = NULL;
2820+ ValaDMAPContainerDb* _tmp6_ = NULL;
2821+ DPAPShare* _tmp7_ = NULL;
2822 self = (DPAPServe*) g_type_create_instance (object_type);
2823 _tmp0_ = vala_dpap_record_new ();
2824 _g_object_unref0 (self->priv->record);
2825@@ -334,8 +334,8 @@
2826
2827
2828 void debug_printf (const gchar* log_domain, GLogLevelFlags log_level, const gchar* message) {
2829- FILE* _tmp0_;
2830- const gchar* _tmp1_;
2831+ FILE* _tmp0_ = NULL;
2832+ const gchar* _tmp1_ = NULL;
2833 _tmp0_ = stdout;
2834 _tmp1_ = message;
2835 fprintf (_tmp0_, "%s\n", _tmp1_);
2836@@ -353,10 +353,10 @@
2837
2838 gint _vala_main (gchar** args, int args_length1) {
2839 gint result = 0;
2840- GMainLoop* _tmp0_;
2841- GMainLoop* loop;
2842- DPAPServe* _tmp1_;
2843- DPAPServe* dmapcopy;
2844+ GMainLoop* loop = NULL;
2845+ GMainLoop* _tmp0_ = NULL;
2846+ DPAPServe* dmapcopy = NULL;
2847+ DPAPServe* _tmp1_ = NULL;
2848 GError * _inner_error_ = NULL;
2849 _tmp0_ = g_main_loop_new (NULL, FALSE);
2850 loop = _tmp0_;
2851
2852=== modified file 'tests/dpapview.c'
2853--- tests/dpapview.c 2013-05-27 20:02:23 +0000
2854+++ tests/dpapview.c 2014-05-27 20:54:48 +0000
2855@@ -1,4 +1,4 @@
2856-/* dpapview.c generated by valac 0.18.1, the Vala compiler
2857+/* dpapview.c generated by valac 0.22.1, the Vala compiler
2858 * generated from dpapview.vala, do not modify */
2859
2860 /* FILE: dpapviewer.vala -- View DPAP data
2861@@ -141,19 +141,19 @@
2862
2863
2864 static void __lambda2_ (DPAPViewer* self, gconstpointer k, gconstpointer v) {
2865- GdkPixbuf* pixbuf;
2866- gconstpointer _tmp0_;
2867- GByteArray* _tmp1_;
2868- GByteArray* _tmp2_;
2869+ GdkPixbuf* pixbuf = NULL;
2870+ gconstpointer _tmp0_ = NULL;
2871+ GByteArray* _tmp1_ = NULL;
2872+ GByteArray* _tmp2_ = NULL;
2873 GtkTreeIter iter = {0};
2874- GtkListStore* _tmp15_;
2875+ GtkListStore* _tmp15_ = NULL;
2876 GtkTreeIter _tmp16_ = {0};
2877- GtkListStore* _tmp17_;
2878- GtkTreeIter _tmp18_;
2879- GdkPixbuf* _tmp19_;
2880- gconstpointer _tmp20_;
2881- const gchar* _tmp21_;
2882- const gchar* _tmp22_;
2883+ GtkListStore* _tmp17_ = NULL;
2884+ GtkTreeIter _tmp18_ = {0};
2885+ GdkPixbuf* _tmp19_ = NULL;
2886+ gconstpointer _tmp20_ = NULL;
2887+ const gchar* _tmp21_ = NULL;
2888+ const gchar* _tmp22_ = NULL;
2889 GError * _inner_error_ = NULL;
2890 pixbuf = NULL;
2891 _tmp0_ = v;
2892@@ -161,20 +161,20 @@
2893 _tmp2_ = _tmp1_;
2894 if (_tmp2_ != NULL) {
2895 gchar* path = NULL;
2896+ gint fd = 0;
2897 gchar* _tmp3_ = NULL;
2898 gint _tmp4_ = 0;
2899- gint fd;
2900- const gchar* _tmp5_;
2901- gconstpointer _tmp6_;
2902- GByteArray* _tmp7_;
2903- GByteArray* _tmp8_;
2904- guint8* _tmp9_;
2905- gint _tmp9__length1;
2906- gint _tmp10_;
2907- const gchar* _tmp11_;
2908- GdkPixbuf* _tmp12_;
2909- GdkPixbuf* _tmp13_;
2910- const gchar* _tmp14_;
2911+ const gchar* _tmp5_ = NULL;
2912+ gconstpointer _tmp6_ = NULL;
2913+ GByteArray* _tmp7_ = NULL;
2914+ GByteArray* _tmp8_ = NULL;
2915+ guint8* _tmp9_ = NULL;
2916+ gint _tmp9__length1 = 0;
2917+ gint _tmp10_ = 0;
2918+ GdkPixbuf* _tmp11_ = NULL;
2919+ const gchar* _tmp12_ = NULL;
2920+ GdkPixbuf* _tmp13_ = NULL;
2921+ const gchar* _tmp14_ = NULL;
2922 _tmp4_ = g_file_open_tmp ("dpapview.XXXXXX", &_tmp3_, &_inner_error_);
2923 _g_free0 (path);
2924 path = _tmp3_;
2925@@ -202,9 +202,9 @@
2926 }
2927 _tmp10_ = fd;
2928 close (_tmp10_);
2929- _tmp11_ = path;
2930- _tmp12_ = gdk_pixbuf_new_from_file (_tmp11_, &_inner_error_);
2931- _tmp13_ = _tmp12_;
2932+ _tmp12_ = path;
2933+ _tmp13_ = gdk_pixbuf_new_from_file (_tmp12_, &_inner_error_);
2934+ _tmp11_ = _tmp13_;
2935 if (_inner_error_ != NULL) {
2936 _g_free0 (path);
2937 _g_object_unref0 (pixbuf);
2938@@ -213,7 +213,7 @@
2939 return;
2940 }
2941 _g_object_unref0 (pixbuf);
2942- pixbuf = _tmp13_;
2943+ pixbuf = _tmp11_;
2944 _tmp14_ = path;
2945 g_unlink (_tmp14_);
2946 _g_free0 (path);
2947@@ -239,9 +239,9 @@
2948
2949 static gboolean dpap_viewer_connected_cb (DPAPViewer* self, DMAPConnection* connection, gboolean _result_, const gchar* reason) {
2950 gboolean result = FALSE;
2951- ValaDMAPDb* _tmp0_;
2952+ ValaDMAPDb* _tmp0_ = NULL;
2953 gint64 _tmp1_ = 0LL;
2954- ValaDMAPDb* _tmp2_;
2955+ ValaDMAPDb* _tmp2_ = NULL;
2956 g_return_val_if_fail (self != NULL, FALSE);
2957 g_return_val_if_fail (connection != NULL, FALSE);
2958 _tmp0_ = self->priv->db;
2959@@ -262,16 +262,16 @@
2960
2961
2962 static void dpap_viewer_service_added_cb (DPAPViewer* self, DMAPMdnsBrowserService* service) {
2963- DMAPMdnsBrowserService* _tmp0_;
2964- const gchar* _tmp1_;
2965- DMAPMdnsBrowserService* _tmp2_;
2966- const gchar* _tmp3_;
2967- DMAPMdnsBrowserService* _tmp4_;
2968- guint _tmp5_;
2969- ValaDMAPDb* _tmp6_;
2970- ValaDPAPRecordFactory* _tmp7_;
2971- DPAPConnection* _tmp8_;
2972- DMAPConnection* _tmp9_;
2973+ DMAPMdnsBrowserService* _tmp0_ = NULL;
2974+ const gchar* _tmp1_ = NULL;
2975+ DMAPMdnsBrowserService* _tmp2_ = NULL;
2976+ const gchar* _tmp3_ = NULL;
2977+ DMAPMdnsBrowserService* _tmp4_ = NULL;
2978+ guint _tmp5_ = 0U;
2979+ ValaDMAPDb* _tmp6_ = NULL;
2980+ ValaDPAPRecordFactory* _tmp7_ = NULL;
2981+ DPAPConnection* _tmp8_ = NULL;
2982+ DMAPConnection* _tmp9_ = NULL;
2983 g_return_if_fail (self != NULL);
2984 _tmp0_ = service;
2985 _tmp1_ = _tmp0_->service_name;
2986@@ -301,23 +301,23 @@
2987
2988 DPAPViewer* dpap_viewer_construct (GType object_type, GtkBuilder* builder, GError** error) {
2989 DPAPViewer* self = NULL;
2990- GtkBuilder* _tmp0_;
2991- GtkBuilder* _tmp1_;
2992+ GtkBuilder* _tmp0_ = NULL;
2993+ GtkWidget* widget = NULL;
2994+ GtkBuilder* _tmp1_ = NULL;
2995 GObject* _tmp2_ = NULL;
2996- GtkWidget* _tmp3_;
2997- GtkWidget* widget;
2998- GtkBuilder* _tmp4_;
2999+ GtkWidget* _tmp3_ = NULL;
3000+ GtkIconView* iconview = NULL;
3001+ GtkBuilder* _tmp4_ = NULL;
3002 GObject* _tmp5_ = NULL;
3003- GtkIconView* _tmp6_;
3004- GtkIconView* iconview;
3005- GtkBuilder* _tmp7_;
3006+ GtkIconView* _tmp6_ = NULL;
3007+ GtkBuilder* _tmp7_ = NULL;
3008 GObject* _tmp8_ = NULL;
3009- GtkListStore* _tmp9_;
3010- ValaDMAPDb* _tmp10_;
3011- ValaDPAPRecordFactory* _tmp11_;
3012- DMAPMdnsBrowser* _tmp12_;
3013- DMAPMdnsBrowser* _tmp13_;
3014- DMAPMdnsBrowser* _tmp14_;
3015+ GtkListStore* _tmp9_ = NULL;
3016+ ValaDMAPDb* _tmp10_ = NULL;
3017+ ValaDPAPRecordFactory* _tmp11_ = NULL;
3018+ DMAPMdnsBrowser* _tmp12_ = NULL;
3019+ DMAPMdnsBrowser* _tmp13_ = NULL;
3020+ DMAPMdnsBrowser* _tmp14_ = NULL;
3021 GError * _inner_error_ = NULL;
3022 g_return_val_if_fail (builder != NULL, NULL);
3023 self = (DPAPViewer*) g_type_create_instance (object_type);
3024@@ -541,12 +541,12 @@
3025 GError * _inner_error_ = NULL;
3026 gtk_init (&args_length1, &args);
3027 {
3028- GtkBuilder* _tmp0_;
3029- GtkBuilder* builder;
3030- GtkBuilder* _tmp1_;
3031- GtkBuilder* _tmp2_;
3032- DPAPViewer* _tmp3_;
3033- DPAPViewer* dpapviewer;
3034+ GtkBuilder* builder = NULL;
3035+ GtkBuilder* _tmp0_ = NULL;
3036+ GtkBuilder* _tmp1_ = NULL;
3037+ DPAPViewer* dpapviewer = NULL;
3038+ GtkBuilder* _tmp2_ = NULL;
3039+ DPAPViewer* _tmp3_ = NULL;
3040 _tmp0_ = gtk_builder_new ();
3041 builder = _tmp0_;
3042 _tmp1_ = builder;
3043@@ -570,9 +570,9 @@
3044 __catch0_g_error:
3045 {
3046 GError* e = NULL;
3047- FILE* _tmp4_;
3048- GError* _tmp5_;
3049- const gchar* _tmp6_;
3050+ FILE* _tmp4_ = NULL;
3051+ GError* _tmp5_ = NULL;
3052+ const gchar* _tmp6_ = NULL;
3053 e = _inner_error_;
3054 _inner_error_ = NULL;
3055 _tmp4_ = stderr;
3056
3057=== modified file 'tests/test-dmap-server.c'
3058--- tests/test-dmap-server.c 2013-08-29 12:30:01 +0000
3059+++ tests/test-dmap-server.c 2014-05-27 20:54:48 +0000
3060@@ -63,7 +63,7 @@
3061 (dmap_container_record));
3062 DMAPRecordFactory *factory;
3063 DMAPRecord *record;
3064- DMAPShare *share;
3065+ DMAPShare *share = NULL;
3066 DMAPDb *db;
3067
3068 if (conn_type == DAAP) {
3069@@ -94,6 +94,8 @@
3070 NULL));
3071 }
3072
3073+ g_assert (NULL != share);
3074+
3075 g_free (name);
3076 }
3077
3078
3079=== modified file 'tests/vala-dmap-container-db.c'
3080--- tests/vala-dmap-container-db.c 2013-05-27 20:02:23 +0000
3081+++ tests/vala-dmap-container-db.c 2014-05-27 20:54:48 +0000
3082@@ -1,4 +1,4 @@
3083-/* vala-dmap-container-db.c generated by valac 0.18.1, the Vala compiler
3084+/* vala-dmap-container-db.c generated by valac 0.22.1, the Vala compiler
3085 * generated from vala-dmap-container-db.vala, do not modify */
3086
3087 /* FILE: vala-dmap-db.vala -- A DMAPContainerDb implementation in Vala
3088@@ -75,9 +75,9 @@
3089 static gint64 vala_dmap_container_db_real_count (DMAPContainerDb* base) {
3090 ValaDMAPContainerDb * self;
3091 gint64 result = 0LL;
3092- GeeArrayList* _tmp0_;
3093- gint _tmp1_;
3094- gint _tmp2_;
3095+ GeeArrayList* _tmp0_ = NULL;
3096+ gint _tmp1_ = 0;
3097+ gint _tmp2_ = 0;
3098 self = (ValaDMAPContainerDb*) base;
3099 _tmp0_ = self->priv->db;
3100 _tmp1_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp0_);
3101@@ -92,25 +92,25 @@
3102 gint i = 0;
3103 self = (ValaDMAPContainerDb*) base;
3104 {
3105- gboolean _tmp0_;
3106+ gboolean _tmp0_ = FALSE;
3107 i = 0;
3108 _tmp0_ = TRUE;
3109 while (TRUE) {
3110- gboolean _tmp1_;
3111- gint _tmp3_;
3112- GeeArrayList* _tmp4_;
3113- gint _tmp5_;
3114- gint _tmp6_;
3115- GHFunc _tmp7_;
3116- void* _tmp7__target;
3117- gint _tmp8_;
3118+ gboolean _tmp1_ = FALSE;
3119+ gint _tmp3_ = 0;
3120+ GeeArrayList* _tmp4_ = NULL;
3121+ gint _tmp5_ = 0;
3122+ gint _tmp6_ = 0;
3123+ GHFunc _tmp7_ = NULL;
3124+ void* _tmp7__target = NULL;
3125+ gint _tmp8_ = 0;
3126 void* _tmp9_ = NULL;
3127- GeeArrayList* _tmp10_;
3128- gint _tmp11_;
3129+ GeeArrayList* _tmp10_ = NULL;
3130+ gint _tmp11_ = 0;
3131 gpointer _tmp12_ = NULL;
3132 _tmp1_ = _tmp0_;
3133 if (!_tmp1_) {
3134- gint _tmp2_;
3135+ gint _tmp2_ = 0;
3136 _tmp2_ = i;
3137 i = _tmp2_ + 1;
3138 }
3139@@ -181,7 +181,7 @@
3140
3141
3142 static void vala_dmap_container_db_instance_init (ValaDMAPContainerDb * self) {
3143- GeeArrayList* _tmp0_;
3144+ GeeArrayList* _tmp0_ = NULL;
3145 self->priv = VALA_DMAP_CONTAINER_DB_GET_PRIVATE (self);
3146 _tmp0_ = gee_array_list_new (DMAP_TYPE_RECORD, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
3147 self->priv->db = _tmp0_;
3148
3149=== modified file 'tests/vala-dmap-db.c'
3150--- tests/vala-dmap-db.c 2013-05-27 20:02:23 +0000
3151+++ tests/vala-dmap-db.c 2014-05-27 20:54:48 +0000
3152@@ -1,4 +1,4 @@
3153-/* vala-dmap-db.c generated by valac 0.18.1, the Vala compiler
3154+/* vala-dmap-db.c generated by valac 0.22.1, the Vala compiler
3155 * generated from vala-dmap-db.vala, do not modify */
3156
3157 /* FILE: vala-dmap-db.vala -- A DMAPDb implementation in Vala
3158@@ -80,11 +80,11 @@
3159 static guint vala_dmap_db_real_add (DMAPDb* base, DMAPRecord* record) {
3160 ValaDMAPDb * self;
3161 guint result = 0U;
3162- GeeArrayList* _tmp0_;
3163- DMAPRecord* _tmp1_;
3164- GeeArrayList* _tmp2_;
3165- gint _tmp3_;
3166- gint _tmp4_;
3167+ GeeArrayList* _tmp0_ = NULL;
3168+ DMAPRecord* _tmp1_ = NULL;
3169+ GeeArrayList* _tmp2_ = NULL;
3170+ gint _tmp3_ = 0;
3171+ gint _tmp4_ = 0;
3172 self = (ValaDMAPDb*) base;
3173 g_return_val_if_fail (record != NULL, 0U);
3174 _tmp0_ = self->priv->db;
3175@@ -121,9 +121,9 @@
3176 static gint64 vala_dmap_db_real_count (DMAPDb* base) {
3177 ValaDMAPDb * self;
3178 gint64 result = 0LL;
3179- GeeArrayList* _tmp0_;
3180- gint _tmp1_;
3181- gint _tmp2_;
3182+ GeeArrayList* _tmp0_ = NULL;
3183+ gint _tmp1_ = 0;
3184+ gint _tmp2_ = 0;
3185 self = (ValaDMAPDb*) base;
3186 _tmp0_ = self->priv->db;
3187 _tmp1_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp0_);
3188@@ -138,25 +138,25 @@
3189 gint i = 0;
3190 self = (ValaDMAPDb*) base;
3191 {
3192- gboolean _tmp0_;
3193+ gboolean _tmp0_ = FALSE;
3194 i = 0;
3195 _tmp0_ = TRUE;
3196 while (TRUE) {
3197- gboolean _tmp1_;
3198- gint _tmp3_;
3199- GeeArrayList* _tmp4_;
3200- gint _tmp5_;
3201- gint _tmp6_;
3202- GHFunc _tmp7_;
3203- void* _tmp7__target;
3204- gint _tmp8_;
3205+ gboolean _tmp1_ = FALSE;
3206+ gint _tmp3_ = 0;
3207+ GeeArrayList* _tmp4_ = NULL;
3208+ gint _tmp5_ = 0;
3209+ gint _tmp6_ = 0;
3210+ GHFunc _tmp7_ = NULL;
3211+ void* _tmp7__target = NULL;
3212+ gint _tmp8_ = 0;
3213 void* _tmp9_ = NULL;
3214- GeeArrayList* _tmp10_;
3215- gint _tmp11_;
3216+ GeeArrayList* _tmp10_ = NULL;
3217+ gint _tmp11_ = 0;
3218 gpointer _tmp12_ = NULL;
3219 _tmp1_ = _tmp0_;
3220 if (!_tmp1_) {
3221- gint _tmp2_;
3222+ gint _tmp2_ = 0;
3223 _tmp2_ = i;
3224 i = _tmp2_ + 1;
3225 }
3226@@ -184,8 +184,8 @@
3227 static DMAPRecord* vala_dmap_db_real_lookup_by_id (DMAPDb* base, guint id) {
3228 ValaDMAPDb * self;
3229 DMAPRecord* result = NULL;
3230- GeeArrayList* _tmp0_;
3231- guint _tmp1_;
3232+ GeeArrayList* _tmp0_ = NULL;
3233+ guint _tmp1_ = 0U;
3234 gpointer _tmp2_ = NULL;
3235 self = (ValaDMAPDb*) base;
3236 _tmp0_ = self->priv->db;
3237@@ -238,7 +238,7 @@
3238
3239
3240 static void vala_dmap_db_instance_init (ValaDMAPDb * self) {
3241- GeeArrayList* _tmp0_;
3242+ GeeArrayList* _tmp0_ = NULL;
3243 self->priv = VALA_DMAP_DB_GET_PRIVATE (self);
3244 _tmp0_ = gee_array_list_new (DMAP_TYPE_RECORD, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
3245 self->priv->db = _tmp0_;
3246
3247=== modified file 'tests/vala-dpap-record.c'
3248--- tests/vala-dpap-record.c 2013-05-27 20:02:23 +0000
3249+++ tests/vala-dpap-record.c 2014-05-27 20:54:48 +0000
3250@@ -1,4 +1,4 @@
3251-/* vala-dpap-record.c generated by valac 0.18.1, the Vala compiler
3252+/* vala-dpap-record.c generated by valac 0.22.1, the Vala compiler
3253 * generated from vala-dpap-record.vala, do not modify */
3254
3255 /* FILE: vala-dpap-record.vala -- A DPAPRecord implementation in Vala
3256@@ -112,7 +112,7 @@
3257 VALA_DPAP_RECORD_CREATION_DATE
3258 };
3259 static GInputStream* vala_dpap_record_real_read (DPAPRecord* base, GError** error);
3260-static DMAPRecord* vala_dpap_record_real_set_from_blob (DMAPRecord* base, GByteArray* blob);
3261+static gboolean vala_dpap_record_real_set_from_blob (DMAPRecord* base, GByteArray* blob);
3262 static GByteArray* vala_dpap_record_real_to_blob (DMAPRecord* base);
3263 ValaDPAPRecord* vala_dpap_record_new (void);
3264 ValaDPAPRecord* vala_dpap_record_construct (GType object_type);
3265@@ -159,11 +159,11 @@
3266 }
3267
3268
3269-static DMAPRecord* vala_dpap_record_real_set_from_blob (DMAPRecord* base, GByteArray* blob) {
3270+static gboolean vala_dpap_record_real_set_from_blob (DMAPRecord* base, GByteArray* blob) {
3271 ValaDPAPRecord * self;
3272- DMAPRecord* result = NULL;
3273+ gboolean result = FALSE;
3274 self = (ValaDPAPRecord*) base;
3275- g_return_val_if_fail (blob != NULL, NULL);
3276+ g_return_val_if_fail (blob != NULL, FALSE);
3277 g_error ("vala-dpap-record.vala:99: set_from_blob not implemented");
3278 return result;
3279 }
3280@@ -181,27 +181,27 @@
3281 ValaDPAPRecord* vala_dpap_record_construct (GType object_type) {
3282 ValaDPAPRecord * self = NULL;
3283 gchar* _tmp0_ = NULL;
3284- gchar* _tmp1_;
3285- gchar* _tmp2_;
3286- gchar* _tmp3_;
3287- gchar* _tmp4_;
3288- gchar* _tmp5_;
3289- const gchar* _tmp6_;
3290+ gchar* _tmp1_ = NULL;
3291+ gchar* _tmp2_ = NULL;
3292+ gchar* _tmp3_ = NULL;
3293+ gchar* _tmp4_ = NULL;
3294+ gchar* _tmp5_ = NULL;
3295+ const gchar* _tmp6_ = NULL;
3296 gchar* _tmp7_ = NULL;
3297- gchar* _tmp8_;
3298- gchar* _tmp9_;
3299+ gchar* _tmp8_ = NULL;
3300+ gchar* _tmp9_ = NULL;
3301+ gchar* path = NULL;
3302 gchar* _tmp10_ = NULL;
3303- gchar* _tmp11_;
3304- gchar* _tmp12_;
3305- gchar* _tmp13_;
3306- gchar* path;
3307+ gchar* _tmp11_ = NULL;
3308+ gchar* _tmp12_ = NULL;
3309+ gchar* _tmp13_ = NULL;
3310 guint8* data = NULL;
3311 gint data_length1 = 0;
3312 gint _data_size_ = 0;
3313 guint8* _tmp14_ = NULL;
3314 size_t _tmp15_;
3315- GByteArray* _tmp16_;
3316- GByteArray* _tmp17_;
3317+ GByteArray* _tmp16_ = NULL;
3318+ GByteArray* _tmp17_ = NULL;
3319 GError * _inner_error_ = NULL;
3320 self = (ValaDPAPRecord*) g_object_new (object_type, NULL);
3321 _tmp0_ = g_get_current_dir ();
3322@@ -267,7 +267,7 @@
3323
3324 const gchar* vala_dpap_record_get_location (ValaDPAPRecord* self) {
3325 const gchar* result;
3326- const gchar* _tmp0_;
3327+ const gchar* _tmp0_ = NULL;
3328 g_return_val_if_fail (self != NULL, NULL);
3329 _tmp0_ = self->priv->_location;
3330 result = _tmp0_;
3331@@ -276,8 +276,8 @@
3332
3333
3334 void vala_dpap_record_set_location (ValaDPAPRecord* self, const gchar* value) {
3335- const gchar* _tmp0_;
3336- gchar* _tmp1_;
3337+ const gchar* _tmp0_ = NULL;
3338+ gchar* _tmp1_ = NULL;
3339 g_return_if_fail (self != NULL);
3340 _tmp0_ = value;
3341 _tmp1_ = g_strdup (_tmp0_);
3342@@ -289,7 +289,7 @@
3343
3344 const gchar* vala_dpap_record_get_filename (ValaDPAPRecord* self) {
3345 const gchar* result;
3346- const gchar* _tmp0_;
3347+ const gchar* _tmp0_ = NULL;
3348 g_return_val_if_fail (self != NULL, NULL);
3349 _tmp0_ = self->priv->_filename;
3350 result = _tmp0_;
3351@@ -298,8 +298,8 @@
3352
3353
3354 void vala_dpap_record_set_filename (ValaDPAPRecord* self, const gchar* value) {
3355- const gchar* _tmp0_;
3356- gchar* _tmp1_;
3357+ const gchar* _tmp0_ = NULL;
3358+ gchar* _tmp1_ = NULL;
3359 g_return_if_fail (self != NULL);
3360 _tmp0_ = value;
3361 _tmp1_ = g_strdup (_tmp0_);
3362@@ -311,7 +311,7 @@
3363
3364 const gchar* vala_dpap_record_get_aspect_ratio (ValaDPAPRecord* self) {
3365 const gchar* result;
3366- const gchar* _tmp0_;
3367+ const gchar* _tmp0_ = NULL;
3368 g_return_val_if_fail (self != NULL, NULL);
3369 _tmp0_ = self->priv->_aspect_ratio;
3370 result = _tmp0_;
3371@@ -320,8 +320,8 @@
3372
3373
3374 void vala_dpap_record_set_aspect_ratio (ValaDPAPRecord* self, const gchar* value) {
3375- const gchar* _tmp0_;
3376- gchar* _tmp1_;
3377+ const gchar* _tmp0_ = NULL;
3378+ gchar* _tmp1_ = NULL;
3379 g_return_if_fail (self != NULL);
3380 _tmp0_ = value;
3381 _tmp1_ = g_strdup (_tmp0_);
3382@@ -333,7 +333,7 @@
3383
3384 const gchar* vala_dpap_record_get_format (ValaDPAPRecord* self) {
3385 const gchar* result;
3386- const gchar* _tmp0_;
3387+ const gchar* _tmp0_ = NULL;
3388 g_return_val_if_fail (self != NULL, NULL);
3389 _tmp0_ = self->priv->_format;
3390 result = _tmp0_;
3391@@ -342,8 +342,8 @@
3392
3393
3394 void vala_dpap_record_set_format (ValaDPAPRecord* self, const gchar* value) {
3395- const gchar* _tmp0_;
3396- gchar* _tmp1_;
3397+ const gchar* _tmp0_ = NULL;
3398+ gchar* _tmp1_ = NULL;
3399 g_return_if_fail (self != NULL);
3400 _tmp0_ = value;
3401 _tmp1_ = g_strdup (_tmp0_);
3402@@ -355,7 +355,7 @@
3403
3404 GByteArray* vala_dpap_record_get_thumbnail (ValaDPAPRecord* self) {
3405 GByteArray* result;
3406- GByteArray* _tmp0_;
3407+ GByteArray* _tmp0_ = NULL;
3408 g_return_val_if_fail (self != NULL, NULL);
3409 _tmp0_ = self->priv->_thumbnail;
3410 result = _tmp0_;
3411@@ -364,11 +364,11 @@
3412
3413
3414 void vala_dpap_record_set_thumbnail (ValaDPAPRecord* self, GByteArray* value) {
3415- GByteArray* _tmp0_;
3416- GByteArray* _tmp1_;
3417- GByteArray* _tmp2_;
3418- guint8* _tmp3_;
3419- gint _tmp3__length1;
3420+ GByteArray* _tmp0_ = NULL;
3421+ GByteArray* _tmp1_ = NULL;
3422+ GByteArray* _tmp2_ = NULL;
3423+ guint8* _tmp3_ = NULL;
3424+ gint _tmp3__length1 = 0;
3425 g_return_if_fail (self != NULL);
3426 _tmp0_ = g_byte_array_new ();
3427 _g_byte_array_free0 (self->priv->_thumbnail);
3428@@ -384,7 +384,7 @@
3429
3430 const gchar* vala_dpap_record_get_comments (ValaDPAPRecord* self) {
3431 const gchar* result;
3432- const gchar* _tmp0_;
3433+ const gchar* _tmp0_ = NULL;
3434 g_return_val_if_fail (self != NULL, NULL);
3435 _tmp0_ = self->priv->_comments;
3436 result = _tmp0_;
3437@@ -393,8 +393,8 @@
3438
3439
3440 void vala_dpap_record_set_comments (ValaDPAPRecord* self, const gchar* value) {
3441- const gchar* _tmp0_;
3442- gchar* _tmp1_;
3443+ const gchar* _tmp0_ = NULL;
3444+ gchar* _tmp1_ = NULL;
3445 g_return_if_fail (self != NULL);
3446 _tmp0_ = value;
3447 _tmp1_ = g_strdup (_tmp0_);
3448@@ -406,7 +406,7 @@
3449
3450 gint vala_dpap_record_get_large_filesize (ValaDPAPRecord* self) {
3451 gint result;
3452- gint _tmp0_;
3453+ gint _tmp0_ = 0;
3454 g_return_val_if_fail (self != NULL, 0);
3455 _tmp0_ = self->priv->_large_filesize;
3456 result = _tmp0_;
3457@@ -415,7 +415,7 @@
3458
3459
3460 void vala_dpap_record_set_large_filesize (ValaDPAPRecord* self, gint value) {
3461- gint _tmp0_;
3462+ gint _tmp0_ = 0;
3463 g_return_if_fail (self != NULL);
3464 _tmp0_ = value;
3465 self->priv->_large_filesize = _tmp0_;
3466@@ -425,7 +425,7 @@
3467
3468 gint vala_dpap_record_get_pixel_height (ValaDPAPRecord* self) {
3469 gint result;
3470- gint _tmp0_;
3471+ gint _tmp0_ = 0;
3472 g_return_val_if_fail (self != NULL, 0);
3473 _tmp0_ = self->priv->_pixel_height;
3474 result = _tmp0_;
3475@@ -434,7 +434,7 @@
3476
3477
3478 void vala_dpap_record_set_pixel_height (ValaDPAPRecord* self, gint value) {
3479- gint _tmp0_;
3480+ gint _tmp0_ = 0;
3481 g_return_if_fail (self != NULL);
3482 _tmp0_ = value;
3483 self->priv->_pixel_height = _tmp0_;
3484@@ -444,7 +444,7 @@
3485
3486 gint vala_dpap_record_get_pixel_width (ValaDPAPRecord* self) {
3487 gint result;
3488- gint _tmp0_;
3489+ gint _tmp0_ = 0;
3490 g_return_val_if_fail (self != NULL, 0);
3491 _tmp0_ = self->priv->_pixel_width;
3492 result = _tmp0_;
3493@@ -453,7 +453,7 @@
3494
3495
3496 void vala_dpap_record_set_pixel_width (ValaDPAPRecord* self, gint value) {
3497- gint _tmp0_;
3498+ gint _tmp0_ = 0;
3499 g_return_if_fail (self != NULL);
3500 _tmp0_ = value;
3501 self->priv->_pixel_width = _tmp0_;
3502@@ -463,7 +463,7 @@
3503
3504 gint vala_dpap_record_get_rating (ValaDPAPRecord* self) {
3505 gint result;
3506- gint _tmp0_;
3507+ gint _tmp0_ = 0;
3508 g_return_val_if_fail (self != NULL, 0);
3509 _tmp0_ = self->priv->_rating;
3510 result = _tmp0_;
3511@@ -472,7 +472,7 @@
3512
3513
3514 void vala_dpap_record_set_rating (ValaDPAPRecord* self, gint value) {
3515- gint _tmp0_;
3516+ gint _tmp0_ = 0;
3517 g_return_if_fail (self != NULL);
3518 _tmp0_ = value;
3519 self->priv->_rating = _tmp0_;
3520@@ -482,7 +482,7 @@
3521
3522 gint vala_dpap_record_get_creation_date (ValaDPAPRecord* self) {
3523 gint result;
3524- gint _tmp0_;
3525+ gint _tmp0_ = 0;
3526 g_return_val_if_fail (self != NULL, 0);
3527 _tmp0_ = self->priv->_creation_date;
3528 result = _tmp0_;
3529@@ -491,7 +491,7 @@
3530
3531
3532 void vala_dpap_record_set_creation_date (ValaDPAPRecord* self, gint value) {
3533- gint _tmp0_;
3534+ gint _tmp0_ = 0;
3535 g_return_if_fail (self != NULL);
3536 _tmp0_ = value;
3537 self->priv->_creation_date = _tmp0_;
3538@@ -521,7 +521,7 @@
3539
3540 static void vala_dpap_record_dmap_record_interface_init (DMAPRecordIface * iface) {
3541 vala_dpap_record_dmap_record_parent_iface = g_type_interface_peek_parent (iface);
3542- iface->set_from_blob = (DMAPRecord* (*)(DMAPRecord*, GByteArray*)) vala_dpap_record_real_set_from_blob;
3543+ iface->set_from_blob = (gboolean (*)(DMAPRecord*, GByteArray*)) vala_dpap_record_real_set_from_blob;
3544 iface->to_blob = (GByteArray* (*)(DMAPRecord*)) vala_dpap_record_real_to_blob;
3545 }
3546
3547@@ -657,7 +657,7 @@
3548 static DMAPRecord* vala_dpap_record_factory_real_create (DMAPRecordFactory* base, void* user_data) {
3549 ValaDPAPRecordFactory * self;
3550 DMAPRecord* result = NULL;
3551- ValaDPAPRecord* _tmp0_;
3552+ ValaDPAPRecord* _tmp0_ = NULL;
3553 self = (ValaDPAPRecordFactory*) base;
3554 _tmp0_ = vala_dpap_record_new ();
3555 result = (DMAPRecord*) _tmp0_;
3556
3557=== modified file 'tests/vala-dpap-record.vala'
3558--- tests/vala-dpap-record.vala 2011-08-03 02:16:06 +0000
3559+++ tests/vala-dpap-record.vala 2014-05-27 20:54:48 +0000
3560@@ -95,7 +95,7 @@
3561 GLib.error ("read not implemented");
3562 }
3563
3564- public unowned DMAP.Record set_from_blob (GLib.ByteArray blob) {
3565+ public unowned bool set_from_blob (GLib.ByteArray blob) {
3566 GLib.error ("set_from_blob not implemented");
3567 }
3568
3569
3570=== modified file 'vala/Makefile.am'
3571--- vala/Makefile.am 2013-05-27 20:02:23 +0000
3572+++ vala/Makefile.am 2014-05-27 20:54:48 +0000
3573@@ -1,4 +1,4 @@
3574-if MAINTAINER_MODE
3575+if BUILD_VAPI
3576 libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.namespace
3577 PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-daap
3578 @mv libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi
3579@@ -51,6 +51,11 @@
3580 all: libdmapsharing-@API_VERSION@.vapi
3581 endif
3582
3583+vapidir = $(datadir)/vala/vapi
3584+
3585+dist_vapi_DATA = \
3586+ libdmapsharing-@API_VERSION@.vapi
3587+
3588 EXTRA_DIST = \
3589 libdmapsharing-@API_VERSION@.vapi \
3590 libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.excludes \
3591@@ -86,7 +91,7 @@
3592 libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@-uninstalled.files \
3593 libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@-uninstalled.files
3594
3595-if MAINTAINER_MODE
3596+if BUILD_VAPI
3597 CLEANFILES += \
3598 libdmapsharing-@API_VERSION@.vapi
3599 endif
3600
3601=== modified file 'vala/Makefile.in'
3602--- vala/Makefile.in 2013-06-29 22:28:20 +0000
3603+++ vala/Makefile.in 2014-05-27 20:54:48 +0000
3604@@ -13,6 +13,7 @@
3605 # PARTICULAR PURPOSE.
3606
3607 @SET_MAKE@
3608+
3609 VPATH = @srcdir@
3610 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
3611 am__make_running_with_option = \
3612@@ -77,18 +78,20 @@
3613 POST_UNINSTALL = :
3614 build_triplet = @build@
3615 host_triplet = @host@
3616-@MAINTAINER_MODE_TRUE@am__append_1 = \
3617-@MAINTAINER_MODE_TRUE@ libdmapsharing-@API_VERSION@.vapi
3618+@BUILD_VAPI_TRUE@am__append_1 = \
3619+@BUILD_VAPI_TRUE@ libdmapsharing-@API_VERSION@.vapi
3620
3621 subdir = vala
3622-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
3623+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
3624+ $(dist_vapi_DATA)
3625 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
3626 am__aclocal_m4_deps = $(top_srcdir)/m4/as-arch.m4 \
3627 $(top_srcdir)/m4/as-compiler-flag.m4 \
3628 $(top_srcdir)/m4/as-version.m4 $(top_srcdir)/m4/gtk-doc.m4 \
3629- $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
3630- $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
3631- $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
3632+ $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
3633+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
3634+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
3635+ $(top_srcdir)/configure.ac
3636 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
3637 $(ACLOCAL_M4)
3638 mkinstalldirs = $(install_sh) -d
3639@@ -114,6 +117,35 @@
3640 n|no|NO) false;; \
3641 *) (install-info --version) >/dev/null 2>&1;; \
3642 esac
3643+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
3644+am__vpath_adj = case $$p in \
3645+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
3646+ *) f=$$p;; \
3647+ esac;
3648+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
3649+am__install_max = 40
3650+am__nobase_strip_setup = \
3651+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
3652+am__nobase_strip = \
3653+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
3654+am__nobase_list = $(am__nobase_strip_setup); \
3655+ for p in $$list; do echo "$$p $$p"; done | \
3656+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
3657+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
3658+ if (++n[$$2] == $(am__install_max)) \
3659+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
3660+ END { for (dir in files) print dir, files[dir] }'
3661+am__base_list = \
3662+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
3663+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
3664+am__uninstall_files_from_dir = { \
3665+ test -z "$$files" \
3666+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
3667+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
3668+ $(am__cd) "$$dir" && rm -f $$files; }; \
3669+ }
3670+am__installdirs = "$(DESTDIR)$(vapidir)"
3671+DATA = $(dist_vapi_DATA)
3672 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
3673 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
3674 ACLOCAL = @ACLOCAL@
3675@@ -180,6 +212,14 @@
3676 INSTALL_PROGRAM = @INSTALL_PROGRAM@
3677 INSTALL_SCRIPT = @INSTALL_SCRIPT@
3678 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
3679+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
3680+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
3681+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
3682+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
3683+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
3684+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
3685+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
3686+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
3687 LD = @LD@
3688 LDFLAGS = @LDFLAGS@
3689 LIBDMAPSHARING_MAJORMINOR = @LIBDMAPSHARING_MAJORMINOR@
3690@@ -286,6 +326,10 @@
3691 top_build_prefix = @top_build_prefix@
3692 top_builddir = @top_builddir@
3693 top_srcdir = @top_srcdir@
3694+vapidir = $(datadir)/vala/vapi
3695+dist_vapi_DATA = \
3696+ libdmapsharing-@API_VERSION@.vapi
3697+
3698 EXTRA_DIST = \
3699 libdmapsharing-@API_VERSION@.vapi \
3700 libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.excludes \
3701@@ -358,6 +402,27 @@
3702
3703 clean-libtool:
3704 -rm -rf .libs _libs
3705+install-dist_vapiDATA: $(dist_vapi_DATA)
3706+ @$(NORMAL_INSTALL)
3707+ @list='$(dist_vapi_DATA)'; test -n "$(vapidir)" || list=; \
3708+ if test -n "$$list"; then \
3709+ echo " $(MKDIR_P) '$(DESTDIR)$(vapidir)'"; \
3710+ $(MKDIR_P) "$(DESTDIR)$(vapidir)" || exit 1; \
3711+ fi; \
3712+ for p in $$list; do \
3713+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
3714+ echo "$$d$$p"; \
3715+ done | $(am__base_list) | \
3716+ while read files; do \
3717+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(vapidir)'"; \
3718+ $(INSTALL_DATA) $$files "$(DESTDIR)$(vapidir)" || exit $$?; \
3719+ done
3720+
3721+uninstall-dist_vapiDATA:
3722+ @$(NORMAL_UNINSTALL)
3723+ @list='$(dist_vapi_DATA)'; test -n "$(vapidir)" || list=; \
3724+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
3725+ dir='$(DESTDIR)$(vapidir)'; $(am__uninstall_files_from_dir)
3726 tags TAGS:
3727
3728 ctags CTAGS:
3729@@ -397,8 +462,11 @@
3730 done
3731 check-am: all-am
3732 check: check-am
3733-all-am: Makefile
3734+all-am: Makefile $(DATA)
3735 installdirs:
3736+ for dir in "$(DESTDIR)$(vapidir)"; do \
3737+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
3738+ done
3739 install: install-am
3740 install-exec: install-exec-am
3741 install-data: install-data-am
3742@@ -451,7 +519,7 @@
3743
3744 info-am:
3745
3746-install-data-am:
3747+install-data-am: install-dist_vapiDATA
3748
3749 install-dvi: install-dvi-am
3750
3751@@ -495,72 +563,73 @@
3752
3753 ps-am:
3754
3755-uninstall-am:
3756+uninstall-am: uninstall-dist_vapiDATA
3757
3758 .MAKE: install-am install-strip
3759
3760 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
3761 cscopelist-am ctags-am distclean distclean-generic \
3762 distclean-libtool distdir dvi dvi-am html html-am info info-am \
3763- install install-am install-data install-data-am install-dvi \
3764- install-dvi-am install-exec install-exec-am install-html \
3765- install-html-am install-info install-info-am install-man \
3766- install-pdf install-pdf-am install-ps install-ps-am \
3767- install-strip installcheck installcheck-am installdirs \
3768- maintainer-clean maintainer-clean-generic mostlyclean \
3769- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
3770- tags-am uninstall uninstall-am
3771-
3772-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.namespace
3773-@MAINTAINER_MODE_TRUE@ PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-daap
3774-@MAINTAINER_MODE_TRUE@ @mv libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi
3775-
3776-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@-uninstalled.namespace
3777-@MAINTAINER_MODE_TRUE@ PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-dacp
3778-@MAINTAINER_MODE_TRUE@ @mv libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.gi
3779-
3780-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@-uninstalled.namespace
3781-@MAINTAINER_MODE_TRUE@ PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-dmap
3782-@MAINTAINER_MODE_TRUE@ @mv libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.gi
3783-
3784-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@-uninstalled.namespace
3785-@MAINTAINER_MODE_TRUE@ PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-dpap
3786-@MAINTAINER_MODE_TRUE@ @mv libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi
3787-
3788-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@-daap.vapi: libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.metadata
3789-@MAINTAINER_MODE_TRUE@ $(VAPIGEN) --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-@API_VERSION@-daap libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi
3790-
3791-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@-dacp.vapi: libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.gi libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.metadata
3792-@MAINTAINER_MODE_TRUE@ $(VAPIGEN) --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-@API_VERSION@-dacp libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.gi
3793-
3794-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@-dmap.vapi: libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.gi libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.metadata
3795-@MAINTAINER_MODE_TRUE@ $(VAPIGEN) --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-@API_VERSION@-dmap libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.gi
3796-
3797-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@-dpap.vapi: libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.metadata
3798-@MAINTAINER_MODE_TRUE@ $(VAPIGEN) --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-@API_VERSION@-dpap libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi
3799+ install install-am install-data install-data-am \
3800+ install-dist_vapiDATA install-dvi install-dvi-am install-exec \
3801+ install-exec-am install-html install-html-am install-info \
3802+ install-info-am install-man install-pdf install-pdf-am \
3803+ install-ps install-ps-am install-strip installcheck \
3804+ installcheck-am installdirs maintainer-clean \
3805+ maintainer-clean-generic mostlyclean mostlyclean-generic \
3806+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
3807+ uninstall-am uninstall-dist_vapiDATA
3808+
3809+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.namespace
3810+@BUILD_VAPI_TRUE@ PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-daap
3811+@BUILD_VAPI_TRUE@ @mv libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi
3812+
3813+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@-uninstalled.namespace
3814+@BUILD_VAPI_TRUE@ PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-dacp
3815+@BUILD_VAPI_TRUE@ @mv libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.gi
3816+
3817+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@-uninstalled.namespace
3818+@BUILD_VAPI_TRUE@ PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-dmap
3819+@BUILD_VAPI_TRUE@ @mv libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.gi
3820+
3821+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi: libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@-uninstalled.files libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@-uninstalled.namespace
3822+@BUILD_VAPI_TRUE@ PKG_CONFIG_PATH=$(top_builddir):${PKG_CONFIG_PATH} $(VALA_GEN_INTROSPECT) libdmapsharing-@API_VERSION@-uninstalled libdmapsharing-@API_VERSION@-dpap
3823+@BUILD_VAPI_TRUE@ @mv libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@-uninstalled.gi libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi
3824+
3825+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@-daap.vapi: libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.metadata
3826+@BUILD_VAPI_TRUE@ $(VAPIGEN) --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-@API_VERSION@-daap libdmapsharing-@API_VERSION@-daap/libdmapsharing-@API_VERSION@.gi
3827+
3828+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@-dacp.vapi: libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.gi libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.metadata
3829+@BUILD_VAPI_TRUE@ $(VAPIGEN) --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-@API_VERSION@-dacp libdmapsharing-@API_VERSION@-dacp/libdmapsharing-@API_VERSION@.gi
3830+
3831+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@-dmap.vapi: libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.gi libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.metadata
3832+@BUILD_VAPI_TRUE@ $(VAPIGEN) --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-@API_VERSION@-dmap libdmapsharing-@API_VERSION@-dmap/libdmapsharing-@API_VERSION@.gi
3833+
3834+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@-dpap.vapi: libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.metadata
3835+@BUILD_VAPI_TRUE@ $(VAPIGEN) --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-@API_VERSION@-dpap libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi
3836
3837 # NOTE: Sed is used to fix a problem I don't know how to handle in
3838 # vapigen. I have several namespaces (DMAP, DAAP, ...) in libdmapsharing. In
3839 # order to support this, I generate four Vala API files and then concatenate
3840 # them. But, each has its own definition of DMAP.Db, DAAP.DMAPDb, etc. The
3841 # use of sed fixes this:
3842-@MAINTAINER_MODE_TRUE@libdmapsharing-@API_VERSION@.vapi: libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi
3843-@MAINTAINER_MODE_TRUE@ cat libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi > libdmapsharing-@API_VERSION@.vapi
3844-@MAINTAINER_MODE_TRUE@ cat libdmapsharing-@API_VERSION@.vapi | \
3845-@MAINTAINER_MODE_TRUE@ sed 's/DAAP\.DMAPDb/DMAP.Db/g' | \
3846-@MAINTAINER_MODE_TRUE@ sed 's/DPAP\.DMAPDb/DMAP.Db/g' | \
3847-@MAINTAINER_MODE_TRUE@ sed 's/DACP\.DMAPDb/DMAP.Db/g' | \
3848-@MAINTAINER_MODE_TRUE@ sed 's/DAAP\.DMAPContainerDb/DMAP.ContainerDb/g' | \
3849-@MAINTAINER_MODE_TRUE@ sed 's/DPAP\.DMAPContainerDb/DMAP.ContainerDb/g' | \
3850-@MAINTAINER_MODE_TRUE@ sed 's/DACP\.DMAPContainerDb/DMAP.ContainerDb/g' | \
3851-@MAINTAINER_MODE_TRUE@ sed 's/DAAP\.DMAPRecordFactory/DMAP.RecordFactory/g' | \
3852-@MAINTAINER_MODE_TRUE@ sed 's/DPAP\.DMAPRecordFactory/DMAP.RecordFactory/g' | \
3853-@MAINTAINER_MODE_TRUE@ sed 's/DACP\.DAAPRecord/DAAP.Record/g' | \
3854-@MAINTAINER_MODE_TRUE@ cat > libdmapsharing-@API_VERSION@.vapi.tmp
3855-@MAINTAINER_MODE_TRUE@ mv libdmapsharing-@API_VERSION@.vapi.tmp libdmapsharing-@API_VERSION@.vapi
3856-@MAINTAINER_MODE_TRUE@ rm -f libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi
3857+@BUILD_VAPI_TRUE@libdmapsharing-@API_VERSION@.vapi: libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi
3858+@BUILD_VAPI_TRUE@ cat libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi > libdmapsharing-@API_VERSION@.vapi
3859+@BUILD_VAPI_TRUE@ cat libdmapsharing-@API_VERSION@.vapi | \
3860+@BUILD_VAPI_TRUE@ sed 's/DAAP\.DMAPDb/DMAP.Db/g' | \
3861+@BUILD_VAPI_TRUE@ sed 's/DPAP\.DMAPDb/DMAP.Db/g' | \
3862+@BUILD_VAPI_TRUE@ sed 's/DACP\.DMAPDb/DMAP.Db/g' | \
3863+@BUILD_VAPI_TRUE@ sed 's/DAAP\.DMAPContainerDb/DMAP.ContainerDb/g' | \
3864+@BUILD_VAPI_TRUE@ sed 's/DPAP\.DMAPContainerDb/DMAP.ContainerDb/g' | \
3865+@BUILD_VAPI_TRUE@ sed 's/DACP\.DMAPContainerDb/DMAP.ContainerDb/g' | \
3866+@BUILD_VAPI_TRUE@ sed 's/DAAP\.DMAPRecordFactory/DMAP.RecordFactory/g' | \
3867+@BUILD_VAPI_TRUE@ sed 's/DPAP\.DMAPRecordFactory/DMAP.RecordFactory/g' | \
3868+@BUILD_VAPI_TRUE@ sed 's/DACP\.DAAPRecord/DAAP.Record/g' | \
3869+@BUILD_VAPI_TRUE@ cat > libdmapsharing-@API_VERSION@.vapi.tmp
3870+@BUILD_VAPI_TRUE@ mv libdmapsharing-@API_VERSION@.vapi.tmp libdmapsharing-@API_VERSION@.vapi
3871+@BUILD_VAPI_TRUE@ rm -f libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi
3872
3873-@MAINTAINER_MODE_TRUE@all: libdmapsharing-@API_VERSION@.vapi
3874+@BUILD_VAPI_TRUE@all: libdmapsharing-@API_VERSION@.vapi
3875
3876 # Tell versions [3.59,3.63) of GNU make to not export all variables.
3877 # Otherwise a system limit (for SysV at least) may be exceeded.
3878
3879=== modified file 'vala/libdmapsharing-3.0.vapi'
3880--- vala/libdmapsharing-3.0.vapi 2012-04-19 20:50:13 +0000
3881+++ vala/libdmapsharing-3.0.vapi 2014-05-27 20:54:48 +0000
3882@@ -81,6 +81,13 @@
3883 public DAAP.DMAPType type;
3884 }
3885 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3886+ [Compact]
3887+ public class DMAPDbFilterDefinition {
3888+ public weak string key;
3889+ public bool negate;
3890+ public weak string value;
3891+ }
3892+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3893 public class DMAPGstInputStream : GLib.InputStream, GLib.Seekable {
3894 [CCode (cname = "dmap_gst_input_stream_new", has_construct_function = false, type = "GInputStream*")]
3895 public DMAPGstInputStream (string transcode_mimetype, GLib.InputStream src_stream);
3896@@ -93,11 +100,27 @@
3897 public DMAPGstMP3InputStream (GLib.InputStream stream);
3898 }
3899 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3900+ public class DMAPGstQtInputStream : DAAP.DMAPGstInputStream, GLib.Seekable {
3901+ [CCode (cname = "dmap_gst_qt_input_stream_new", has_construct_function = false, type = "GInputStream*")]
3902+ public DMAPGstQtInputStream (GLib.InputStream stream);
3903+ }
3904+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3905 public class DMAPGstWAVInputStream : DAAP.DMAPGstInputStream, GLib.Seekable {
3906 [CCode (cname = "dmap_gst_wav_input_stream_new", has_construct_function = false, type = "GInputStream*")]
3907 public DMAPGstWAVInputStream (GLib.InputStream stream);
3908 }
3909 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3910+ [Compact]
3911+ public class DMAPHashContext {
3912+ [CCode (array_length = false)]
3913+ public weak uint32[] bits;
3914+ [CCode (array_length = false)]
3915+ public weak uint32[] buf;
3916+ [CCode (array_length = false)]
3917+ public weak uint[] @in;
3918+ public int version;
3919+ }
3920+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3921 public class DMAPMdnsBrowser : GLib.Object {
3922 [CCode (cname = "dmap_mdns_browser_new", has_construct_function = false, type = "DMAPMdnsBrowser*")]
3923 public DMAPMdnsBrowser (DAAP.DMAPMdnsBrowserServiceType type);
3924@@ -219,13 +242,6 @@
3925 public uint32 size;
3926 }
3927 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3928- [Compact]
3929- public class FilterDefinition {
3930- public weak string key;
3931- public bool negate;
3932- public weak string value;
3933- }
3934- [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3935 public class Share : DAAP.DMAPShare {
3936 [CCode (has_construct_function = false)]
3937 public Share (string name, string password, DMAP.Db db, DMAP.ContainerDb container_db, string transcode_mimetype);
3938@@ -278,7 +294,7 @@
3939 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3940 public interface DMAPRecord : GLib.Object {
3941 [CCode (cname = "dmap_record_set_from_blob")]
3942- public abstract unowned DAAP.DMAPRecord set_from_blob (DAAP.DMAPRecord record, GLib.ByteArray blob);
3943+ public abstract bool set_from_blob (DAAP.DMAPRecord record, GLib.ByteArray blob);
3944 [CCode (cname = "dmap_record_to_blob")]
3945 public abstract unowned GLib.ByteArray to_blob (DAAP.DMAPRecord record);
3946 }
3947@@ -526,6 +542,8 @@
3948 [CCode (cheader_filename = "libdmapsharing/dmap.h", has_target = false)]
3949 public delegate unowned string RecordGetValueFunc (DAAP.DMAPRecord record);
3950 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3951+ public const int DMAP_HASH_SIZE;
3952+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3953 public const int DMAP_HAVE_UNALIGNED_ACCESS;
3954 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3955 public const int DMAP_STATUS_OK;
3956@@ -545,6 +563,14 @@
3957 public static unowned DAAP.DMAPContentCodeDefinition dmap_content_codes (uint number);
3958 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_generate")]
3959 public static void dmap_hash_generate (short version_major, uchar[] url, uchar hash_select, uchar[] @out, int request_id);
3960+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_final")]
3961+ public static void dmap_hash_progressive_final (DAAP.DMAPHashContext context, uint[] digest);
3962+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_init")]
3963+ public static void dmap_hash_progressive_init (DAAP.DMAPHashContext context);
3964+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_to_string")]
3965+ public static void dmap_hash_progressive_to_string (uint digest, string str);
3966+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_update")]
3967+ public static void dmap_hash_progressive_update (DAAP.DMAPHashContext context, uint buffer, uint length);
3968 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_marshal_BOOLEAN__STRING")]
3969 public static void dmap_marshal_BOOLEAN__STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
3970 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_marshal_STRING__STRING")]
3971@@ -565,6 +591,8 @@
3972 public static unowned Avahi.Client dmap_mdns_avahi_get_client ();
3973 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_mdns_avahi_set_entry_group")]
3974 public static void dmap_mdns_avahi_set_entry_group (Avahi.EntryGroup group);
3975+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_mime_to_format")]
3976+ public static unowned string dmap_mime_to_format (string transcode_mimetype);
3977 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_structure_add")]
3978 public static unowned GLib.Node dmap_structure_add (GLib.Node parent, DAAP.DMAPContentCode cc);
3979 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_structure_destroy")]
3980@@ -683,6 +711,13 @@
3981 public DACP.DMAPType type;
3982 }
3983 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3984+ [Compact]
3985+ public class DMAPDbFilterDefinition {
3986+ public weak string key;
3987+ public bool negate;
3988+ public weak string value;
3989+ }
3990+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3991 public class DMAPGstInputStream : GLib.InputStream, GLib.Seekable {
3992 [CCode (cname = "dmap_gst_input_stream_new", has_construct_function = false, type = "GInputStream*")]
3993 public DMAPGstInputStream (string transcode_mimetype, GLib.InputStream src_stream);
3994@@ -695,11 +730,27 @@
3995 public DMAPGstMP3InputStream (GLib.InputStream stream);
3996 }
3997 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
3998+ public class DMAPGstQtInputStream : DACP.DMAPGstInputStream, GLib.Seekable {
3999+ [CCode (cname = "dmap_gst_qt_input_stream_new", has_construct_function = false, type = "GInputStream*")]
4000+ public DMAPGstQtInputStream (GLib.InputStream stream);
4001+ }
4002+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4003 public class DMAPGstWAVInputStream : DACP.DMAPGstInputStream, GLib.Seekable {
4004 [CCode (cname = "dmap_gst_wav_input_stream_new", has_construct_function = false, type = "GInputStream*")]
4005 public DMAPGstWAVInputStream (GLib.InputStream stream);
4006 }
4007 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4008+ [Compact]
4009+ public class DMAPHashContext {
4010+ [CCode (array_length = false)]
4011+ public weak uint32[] bits;
4012+ [CCode (array_length = false)]
4013+ public weak uint32[] buf;
4014+ [CCode (array_length = false)]
4015+ public weak uint[] @in;
4016+ public int version;
4017+ }
4018+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4019 public class DMAPMdnsBrowser : GLib.Object {
4020 [CCode (cname = "dmap_mdns_browser_new", has_construct_function = false, type = "DMAPMdnsBrowser*")]
4021 public DMAPMdnsBrowser (DACP.DMAPMdnsBrowserServiceType type);
4022@@ -821,13 +872,6 @@
4023 public uint32 size;
4024 }
4025 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4026- [Compact]
4027- public class FilterDefinition {
4028- public weak string key;
4029- public bool negate;
4030- public weak string value;
4031- }
4032- [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4033 public class Share : DACP.DAAPShare {
4034 [CCode (has_construct_function = false)]
4035 public Share (string library_name, DACP.Player player, DMAP.Db db, DMAP.ContainerDb container_db);
4036@@ -902,7 +946,7 @@
4037 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4038 public interface DMAPRecord : GLib.Object {
4039 [CCode (cname = "dmap_record_set_from_blob")]
4040- public abstract unowned DACP.DMAPRecord set_from_blob (DACP.DMAPRecord record, GLib.ByteArray blob);
4041+ public abstract bool set_from_blob (DACP.DMAPRecord record, GLib.ByteArray blob);
4042 [CCode (cname = "dmap_record_to_blob")]
4043 public abstract unowned GLib.ByteArray to_blob (DACP.DMAPRecord record);
4044 }
4045@@ -1165,6 +1209,8 @@
4046 [CCode (cheader_filename = "libdmapsharing/dmap.h", has_target = false)]
4047 public delegate unowned string RecordGetValueFunc (DACP.DMAPRecord record);
4048 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4049+ public const int DMAP_HASH_SIZE;
4050+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4051 public const int DMAP_HAVE_UNALIGNED_ACCESS;
4052 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4053 public const int DMAP_STATUS_OK;
4054@@ -1184,6 +1230,14 @@
4055 public static unowned DACP.DMAPContentCodeDefinition dmap_content_codes (uint number);
4056 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_generate")]
4057 public static void dmap_hash_generate (short version_major, uchar[] url, uchar hash_select, uchar[] @out, int request_id);
4058+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_final")]
4059+ public static void dmap_hash_progressive_final (DACP.DMAPHashContext context, uint[] digest);
4060+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_init")]
4061+ public static void dmap_hash_progressive_init (DACP.DMAPHashContext context);
4062+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_to_string")]
4063+ public static void dmap_hash_progressive_to_string (uint digest, string str);
4064+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_update")]
4065+ public static void dmap_hash_progressive_update (DACP.DMAPHashContext context, uint buffer, uint length);
4066 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_marshal_BOOLEAN__STRING")]
4067 public static void dmap_marshal_BOOLEAN__STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
4068 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_marshal_STRING__STRING")]
4069@@ -1204,6 +1258,8 @@
4070 public static unowned Avahi.Client dmap_mdns_avahi_get_client ();
4071 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_mdns_avahi_set_entry_group")]
4072 public static void dmap_mdns_avahi_set_entry_group (Avahi.EntryGroup group);
4073+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_mime_to_format")]
4074+ public static unowned string dmap_mime_to_format (string transcode_mimetype);
4075 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_structure_add")]
4076 public static unowned GLib.Node dmap_structure_add (GLib.Node parent, DACP.DMAPContentCode cc);
4077 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_structure_destroy")]
4078@@ -1299,7 +1355,7 @@
4079 }
4080 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4081 [Compact]
4082- public class FilterDefinition {
4083+ public class DbFilterDefinition {
4084 public weak string key;
4085 public bool negate;
4086 public weak string value;
4087@@ -1317,11 +1373,27 @@
4088 public GstMP3InputStream (GLib.InputStream stream);
4089 }
4090 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4091+ public class GstQtInputStream : DMAP.GstInputStream, GLib.Seekable {
4092+ [CCode (has_construct_function = false, type = "GInputStream*")]
4093+ public GstQtInputStream (GLib.InputStream stream);
4094+ }
4095+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4096 public class GstWAVInputStream : DMAP.GstInputStream, GLib.Seekable {
4097 [CCode (has_construct_function = false, type = "GInputStream*")]
4098 public GstWAVInputStream (GLib.InputStream stream);
4099 }
4100 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4101+ [Compact]
4102+ public class HashContext {
4103+ [CCode (array_length = false)]
4104+ public weak uint32[] bits;
4105+ [CCode (array_length = false)]
4106+ public weak uint32[] buf;
4107+ [CCode (array_length = false)]
4108+ public weak uint[] @in;
4109+ public int version;
4110+ }
4111+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4112 public class MdnsBrowser : GLib.Object {
4113 [CCode (has_construct_function = false)]
4114 public MdnsBrowser (DMAP.MdnsBrowserServiceType type);
4115@@ -1463,7 +1535,7 @@
4116 }
4117 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4118 public interface Record : GLib.Object {
4119- public abstract unowned DMAP.Record set_from_blob (GLib.ByteArray blob);
4120+ public abstract bool set_from_blob (GLib.ByteArray blob);
4121 public abstract unowned GLib.ByteArray to_blob ();
4122 }
4123 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4124@@ -1703,6 +1775,8 @@
4125 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4126 public delegate void ResponseHandler (DMAP.Connection connection, uint status, GLib.Node structure);
4127 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4128+ public const int HASH_SIZE;
4129+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4130 public const int HAVE_UNALIGNED_ACCESS;
4131 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4132 public const int STATUS_OK;
4133@@ -1725,6 +1799,14 @@
4134 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4135 public static void hash_generate (short version_major, uchar[] url, uchar hash_select, uchar[] @out, int request_id);
4136 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4137+ public static void hash_progressive_final (DMAP.HashContext context, uint[] digest);
4138+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4139+ public static void hash_progressive_init (DMAP.HashContext context);
4140+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4141+ public static void hash_progressive_to_string (uint digest, string str);
4142+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4143+ public static void hash_progressive_update (DMAP.HashContext context, uint buffer, uint length);
4144+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4145 public static void marshal_BOOLEAN__STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
4146 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4147 public static void marshal_STRING__STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
4148@@ -1744,6 +1826,8 @@
4149 public static unowned Avahi.Client mdns_avahi_get_client ();
4150 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4151 public static void mdns_avahi_set_entry_group (Avahi.EntryGroup group);
4152+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4153+ public static unowned string mime_to_format (string transcode_mimetype);
4154 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "pads_compatible")]
4155 public static bool pads_compatible (Gst.Pad pad1, Gst.Pad pad2);
4156 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4157@@ -1850,6 +1934,13 @@
4158 public DPAP.DMAPType type;
4159 }
4160 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4161+ [Compact]
4162+ public class DMAPDbFilterDefinition {
4163+ public weak string key;
4164+ public bool negate;
4165+ public weak string value;
4166+ }
4167+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4168 public class DMAPGstInputStream : GLib.InputStream, GLib.Seekable {
4169 [CCode (cname = "dmap_gst_input_stream_new", has_construct_function = false, type = "GInputStream*")]
4170 public DMAPGstInputStream (string transcode_mimetype, GLib.InputStream src_stream);
4171@@ -1862,11 +1953,27 @@
4172 public DMAPGstMP3InputStream (GLib.InputStream stream);
4173 }
4174 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4175+ public class DMAPGstQtInputStream : DPAP.DMAPGstInputStream, GLib.Seekable {
4176+ [CCode (cname = "dmap_gst_qt_input_stream_new", has_construct_function = false, type = "GInputStream*")]
4177+ public DMAPGstQtInputStream (GLib.InputStream stream);
4178+ }
4179+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4180 public class DMAPGstWAVInputStream : DPAP.DMAPGstInputStream, GLib.Seekable {
4181 [CCode (cname = "dmap_gst_wav_input_stream_new", has_construct_function = false, type = "GInputStream*")]
4182 public DMAPGstWAVInputStream (GLib.InputStream stream);
4183 }
4184 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4185+ [Compact]
4186+ public class DMAPHashContext {
4187+ [CCode (array_length = false)]
4188+ public weak uint32[] bits;
4189+ [CCode (array_length = false)]
4190+ public weak uint32[] buf;
4191+ [CCode (array_length = false)]
4192+ public weak uint[] @in;
4193+ public int version;
4194+ }
4195+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4196 public class DMAPMdnsBrowser : GLib.Object {
4197 [CCode (cname = "dmap_mdns_browser_new", has_construct_function = false, type = "DMAPMdnsBrowser*")]
4198 public DMAPMdnsBrowser (DPAP.DMAPMdnsBrowserServiceType type);
4199@@ -1988,13 +2095,6 @@
4200 public uint32 size;
4201 }
4202 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4203- [Compact]
4204- public class FilterDefinition {
4205- public weak string key;
4206- public bool negate;
4207- public weak string value;
4208- }
4209- [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4210 public class Share : DPAP.DMAPShare {
4211 [CCode (has_construct_function = false)]
4212 public Share (string name, string password, void* db, void* container_db, string transcode_mimetype);
4213@@ -2047,7 +2147,7 @@
4214 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4215 public interface DMAPRecord : GLib.Object {
4216 [CCode (cname = "dmap_record_set_from_blob")]
4217- public abstract unowned DPAP.DMAPRecord set_from_blob (DPAP.DMAPRecord record, GLib.ByteArray blob);
4218+ public abstract bool set_from_blob (DPAP.DMAPRecord record, GLib.ByteArray blob);
4219 [CCode (cname = "dmap_record_to_blob")]
4220 public abstract unowned GLib.ByteArray to_blob (DPAP.DMAPRecord record);
4221 }
4222@@ -2293,6 +2393,8 @@
4223 [CCode (cheader_filename = "libdmapsharing/dmap.h", has_target = false)]
4224 public delegate unowned string RecordGetValueFunc (DPAP.DMAPRecord record);
4225 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4226+ public const int DMAP_HASH_SIZE;
4227+ [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4228 public const int DMAP_HAVE_UNALIGNED_ACCESS;
4229 [CCode (cheader_filename = "libdmapsharing/dmap.h")]
4230 public const int DMAP_STATUS_OK;
4231@@ -2312,6 +2414,14 @@
4232 public static unowned DPAP.DMAPContentCodeDefinition dmap_content_codes (uint number);
4233 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_generate")]
4234 public static void dmap_hash_generate (short version_major, uchar[] url, uchar hash_select, uchar[] @out, int request_id);
4235+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_final")]
4236+ public static void dmap_hash_progressive_final (DPAP.DMAPHashContext context, uint[] digest);
4237+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_init")]
4238+ public static void dmap_hash_progressive_init (DPAP.DMAPHashContext context);
4239+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_to_string")]
4240+ public static void dmap_hash_progressive_to_string (uint digest, string str);
4241+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_hash_progressive_update")]
4242+ public static void dmap_hash_progressive_update (DPAP.DMAPHashContext context, uint buffer, uint length);
4243 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_marshal_BOOLEAN__STRING")]
4244 public static void dmap_marshal_BOOLEAN__STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
4245 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_marshal_STRING__STRING")]
4246@@ -2332,6 +2442,8 @@
4247 public static unowned Avahi.Client dmap_mdns_avahi_get_client ();
4248 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_mdns_avahi_set_entry_group")]
4249 public static void dmap_mdns_avahi_set_entry_group (Avahi.EntryGroup group);
4250+ [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_mime_to_format")]
4251+ public static unowned string dmap_mime_to_format (string transcode_mimetype);
4252 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_structure_add")]
4253 public static unowned GLib.Node dmap_structure_add (GLib.Node parent, DPAP.DMAPContentCode cc);
4254 [CCode (cheader_filename = "libdmapsharing/dmap.h", cname = "dmap_structure_destroy")]

Subscribers

People subscribed via source and target branches

to all changes: