You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
5.9 KiB

  1. diff --git a/meson.build b/meson.build
  2. index 8a590b9..f858a20 100644
  3. --- a/meson.build
  4. +++ b/meson.build
  5. @@ -62,7 +62,7 @@ gstreamer_dep = dependency('gstreamer-1.0', required: false)
  6. gthread_dep = dependency('gthread-2.0', required: false)
  7. json_glib_dep = dependency('json-glib-1.0', required: false)
  8. libarchive_dep = dependency('libarchive', required: false)
  9. -libdmapsharing4_dep = dependency('libdmapsharing-4.0', version: '>= 3.9.4', required: false)
  10. +libdmapsharing4_dep = dependency('libdmapsharing-4.0', version: '>= 3.9.9', required: false)
  11. if libdmapsharing4_dep.found()
  12. libdmapsharing_dep = libdmapsharing4_dep
  13. else
  14. diff --git a/src/dmap/grl-daap-compat.h b/src/dmap/grl-daap-compat.h
  15. index da9025f..149e6a0 100644
  16. --- a/src/dmap/grl-daap-compat.h
  17. +++ b/src/dmap/grl-daap-compat.h
  18. @@ -38,7 +38,7 @@ guint grl_daap_db_add (DMAPDb *_db, DMAPRecord *_record, GError **error);
  19. #define DmapAvRecordInterface DAAPRecordIface
  20. #define DMAP_AV_RECORD DAAP_RECORD
  21. #define DMAP_TYPE_AV_RECORD DAAP_TYPE_RECORD
  22. -#define IS_DMAP_AV_RECORD IS_DAAP_RECORD
  23. +#define DMAP_IS_AV_RECORD IS_DAAP_RECORD
  24. static inline DmapRecord *
  25. grl_daap_record_factory_create_compat (DmapRecordFactory *factory, gpointer user_data)
  26. diff --git a/src/dmap/grl-daap-db.c b/src/dmap/grl-daap-db.c
  27. index e9a1713..46f49bf 100644
  28. --- a/src/dmap/grl-daap-db.c
  29. +++ b/src/dmap/grl-daap-db.c
  30. @@ -157,8 +157,8 @@ set_insert (GHashTable *category, const char *category_name, char *set_name, Grl
  31. guint
  32. grl_daap_db_add (DmapDb *_db, DmapRecord *_record, GError **error)
  33. {
  34. - g_assert (IS_GRL_DAAP_DB (_db));
  35. - g_assert (IS_DMAP_AV_RECORD (_record));
  36. + g_assert (GRL_IS_DAAP_DB (_db));
  37. + g_assert (DMAP_IS_AV_RECORD (_record));
  38. GrlDaapDb *db = GRL_DAAP_DB (_db);
  39. DmapAvRecord *record = DMAP_AV_RECORD (_record);
  40. @@ -261,7 +261,7 @@ grl_daap_db_browse (GrlDaapDb *db,
  41. GrlSourceResultCb func,
  42. gpointer user_data)
  43. {
  44. - g_assert (IS_GRL_DAAP_DB (db));
  45. + g_assert (GRL_IS_DAAP_DB (db));
  46. int i;
  47. guint remaining;
  48. @@ -319,7 +319,7 @@ grl_daap_db_search (GrlDaapDb *db,
  49. GrlSourceResultCb func,
  50. gpointer user_data)
  51. {
  52. - g_assert (IS_GRL_DAAP_DB (db));
  53. + g_assert (GRL_IS_DAAP_DB (db));
  54. gint i, j, k;
  55. guint remaining = 0;
  56. diff --git a/src/dmap/grl-daap-db.h b/src/dmap/grl-daap-db.h
  57. index ed877e4..16edfce 100644
  58. --- a/src/dmap/grl-daap-db.h
  59. +++ b/src/dmap/grl-daap-db.h
  60. @@ -39,11 +39,11 @@ G_BEGIN_DECLS
  61. (G_TYPE_CHECK_CLASS_CAST ((k), \
  62. TYPE_GRL_DAAP_DB, \
  63. GrlDaapDbClass))
  64. -#define IS_GRL_DAAP_DB(o) \
  65. +#define GRL_IS_DAAP_DB(o) \
  66. (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
  67. TYPE_GRL_DAAP_DB))
  68. -#define IS_GRL_DAAP_DB_CLASS(k) \
  69. +#define GRL_IS_DAAP_DB_CLASS(k) \
  70. (G_TYPE_CHECK_CLASS_TYPE ((k), \
  71. TYPE_GRL_DAAP_DB_CLASS))
  72. diff --git a/src/dmap/grl-dpap-compat.h b/src/dmap/grl-dpap-compat.h
  73. index b996464..212fab4 100644
  74. --- a/src/dmap/grl-dpap-compat.h
  75. +++ b/src/dmap/grl-dpap-compat.h
  76. @@ -38,7 +38,7 @@ guint grl_dpap_db_add (DMAPDb *_db, DMAPRecord *_record, GError **error);
  77. #define DmapImageRecordInterface DPAPRecordIface
  78. #define DMAP_IMAGE_RECORD DPAP_RECORD
  79. #define DMAP_TYPE_IMAGE_RECORD DPAP_TYPE_RECORD
  80. -#define IS_DMAP_IMAGE_RECORD IS_DPAP_RECORD
  81. +#define DMAP_IS_IMAGE_RECORD IS_DPAP_RECORD
  82. static inline DmapRecord *
  83. grl_dpap_record_factory_create_compat (DmapRecordFactory *factory, gpointer user_data)
  84. diff --git a/src/dmap/grl-dpap-db.c b/src/dmap/grl-dpap-db.c
  85. index 56be8b0..833f654 100644
  86. --- a/src/dmap/grl-dpap-db.c
  87. +++ b/src/dmap/grl-dpap-db.c
  88. @@ -125,8 +125,8 @@ set_insert (GHashTable *category, const char *category_name, char *set_name, Grl
  89. guint
  90. grl_dpap_db_add (DmapDb *_db, DmapRecord *_record, GError **error)
  91. {
  92. - g_assert (IS_GRL_DPAP_DB (_db));
  93. - g_assert (IS_DMAP_IMAGE_RECORD (_record));
  94. + g_assert (GRL_IS_DPAP_DB (_db));
  95. + g_assert (DMAP_IS_IMAGE_RECORD (_record));
  96. GrlDpapDb *db = GRL_DPAP_DB (_db);
  97. DmapImageRecord *record = DMAP_IMAGE_RECORD (_record);
  98. @@ -207,7 +207,7 @@ grl_dpap_db_browse (GrlDpapDb *db,
  99. GrlSourceResultCb func,
  100. gpointer user_data)
  101. {
  102. - g_assert (IS_GRL_DPAP_DB (db));
  103. + g_assert (GRL_IS_DPAP_DB (db));
  104. int i;
  105. guint remaining;
  106. @@ -258,7 +258,7 @@ grl_dpap_db_search (GrlDpapDb *db,
  107. GrlSourceResultCb func,
  108. gpointer user_data)
  109. {
  110. - g_assert (IS_GRL_DPAP_DB (db));
  111. + g_assert (GRL_IS_DPAP_DB (db));
  112. gint i, j, k;
  113. guint remaining = 0;
  114. diff --git a/src/dmap/grl-dpap-db.h b/src/dmap/grl-dpap-db.h
  115. index 23ae4c1..1ee78b4 100644
  116. --- a/src/dmap/grl-dpap-db.h
  117. +++ b/src/dmap/grl-dpap-db.h
  118. @@ -39,10 +39,10 @@ G_BEGIN_DECLS
  119. (G_TYPE_CHECK_CLASS_CAST ((k), \
  120. TYPE_GRL_DPAP_DB, \
  121. GrlDpapDbClass))
  122. -#define IS_GRL_DPAP_DB(o) \
  123. +#define GRL_IS_DPAP_DB(o) \
  124. (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
  125. TYPE_GRL_DPAP_DB))
  126. -#define IS_GRL_DPAP_DB_CLASS(k) \
  127. +#define GRL_IS_DPAP_DB_CLASS(k) \
  128. (G_TYPE_CHECK_CLASS_TYPE ((k), \
  129. TYPE_GRL_DPAP_DB_CLASS))