]> www.infradead.org Git - pidgin-chime.git/commitdiff
Move Chime core sources to chime/
authorDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 5 Apr 2018 13:13:59 +0000 (14:13 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 5 Apr 2018 13:18:56 +0000 (14:18 +0100)
24 files changed:
Makefile.am
chime/chime-call-audio.c [moved from chime-call-audio.c with 100% similarity]
chime/chime-call-audio.h [moved from chime-call-audio.h with 100% similarity]
chime/chime-call-transport.c [moved from chime-call-transport.c with 100% similarity]
chime/chime-call.c [moved from chime-call.c with 100% similarity]
chime/chime-call.h [moved from chime-call.h with 100% similarity]
chime/chime-connection-private.h [moved from chime-connection-private.h with 100% similarity]
chime/chime-connection.c [moved from chime-connection.c with 100% similarity]
chime/chime-connection.h [moved from chime-connection.h with 100% similarity]
chime/chime-contact.c [moved from chime-contact.c with 100% similarity]
chime/chime-contact.h [moved from chime-contact.h with 100% similarity]
chime/chime-conversation.c [moved from chime-conversation.c with 100% similarity]
chime/chime-conversation.h [moved from chime-conversation.h with 100% similarity]
chime/chime-juggernaut.c [moved from chime-juggernaut.c with 100% similarity]
chime/chime-meeting.c [moved from chime-meeting.c with 100% similarity]
chime/chime-meeting.h [moved from chime-meeting.h with 100% similarity]
chime/chime-object.c [moved from chime-object.c with 100% similarity]
chime/chime-object.h [moved from chime-object.h with 100% similarity]
chime/chime-props.h [moved from chime-props.h with 100% similarity]
chime/chime-room.c [moved from chime-room.c with 100% similarity]
chime/chime-room.h [moved from chime-room.h with 100% similarity]
chime/chime-websocket-connection.c [moved from chime-websocket-connection.c with 100% similarity]
chime/chime-websocket-connection.h [moved from chime-websocket-connection.h with 100% similarity]
chime/chime-websocket.c [moved from chime-websocket.c with 100% similarity]

index 2052d98bff5ee0cdc059088da1d15feb2fdc82c6..911a0a6f785bef764cf9248c3521531196c20492 100644 (file)
@@ -9,8 +9,6 @@ AM_CPPFLAGS = @WFLAGS@
 
 plugin_LTLIBRARIES = libchimeprpl.la
 
-WEBSOCKET_SRCS = chime-websocket-connection.c chime-websocket-connection.h chime-websocket.c
-
 PROTOBUF_SRCS = protobuf/auth_message.pb-c.c protobuf/auth_message.pb-c.h \
                protobuf/data_message.pb-c.c protobuf/data_message.pb-c.h \
                protobuf/rt_message.pb-c.c protobuf/rt_message.pb-c.h
@@ -19,25 +17,27 @@ PRPL_SRCS = chime.h chime.c buddy.c rooms.c chat.c messages.c conversations.c me
 
 LOGIN_SRCS =   login.c login-amazon.c login-warpdrive.c login-private.h
 
-CHIME_SRCS =   chime-connection.c chime-connection.h \
-               chime-contact.c chime-contact.h \
-               chime-room.c chime-room.h \
-               chime-conversation.c chime-conversation.h \
-               chime-object.c chime-object.h chime-props.h \
-               chime-call.c chime-call.h chime-call-audio.c \
-               chime-call-transport.c \
-               chime-juggernaut.c \
-               chime-meeting.c chime-meeting.h
+WEBSOCKET_SRCS = chime/chime-websocket-connection.c chime/chime-websocket-connection.h chime/chime-websocket.c
+
+CHIME_SRCS =   chime/chime-connection.c chime/chime-connection.h \
+               chime/chime-contact.c chime/chime-contact.h \
+               chime/chime-room.c chime/chime-room.h \
+               chime/chime-conversation.c chime/chime-conversation.h \
+               chime/chime-object.c chime/chime-object.h chime/chime-props.h \
+               chime/chime-call.c chime/chime-call.h chime/chime-call-audio.c \
+               chime/chime-call-transport.c \
+               chime/chime-juggernaut.c \
+               chime/chime-meeting.c chime/chime-meeting.h
 
 noinst_LTLIBRARIES = libchime.la
 
 libchime_la_SOURCES = $(CHIME_SRCS) $(WEBSOCKET_SRCS) $(PROTOBUF_SRCS)
-libchime_la_CFLAGS = $(PURPLE_CFLAGS) $(SOUP_CFLAGS) $(JSON_CFLAGS) $(LIBXML_CFLAGS) $(PROTOBUF_CFLAGS) $(MARKDOWN_CFLAGS) $(GSTREAMER_CFLAGS)
+libchime_la_CFLAGS = $(PURPLE_CFLAGS) $(SOUP_CFLAGS) $(JSON_CFLAGS) $(LIBXML_CFLAGS) $(PROTOBUF_CFLAGS) $(MARKDOWN_CFLAGS) $(GSTREAMER_CFLAGS) -Ichime
 libchime_la_LIBADD = $(PURPLE_LIBS) $(SOUP_LIBS) $(JSON_LIBS) $(LIBXML_LIBS) $(PROTOBUF_LIBS) $(MARKDOWN_LIBS) $(GSTREAMER_LIBS)
 libchime_la_LDFLAGS = -module -avoid-version -no-undefined
 
 libchimeprpl_la_SOURCES = $(PRPL_SRCS) $(LOGIN_SRCS)
-libchimeprpl_la_CFLAGS = $(PURPLE_CFLAGS) $(SOUP_CFLAGS) $(JSON_CFLAGS) $(LIBXML_CFLAGS) $(MARKDOWN_CFLAGS) $(GSTREAMER_CFLAGS)
+libchimeprpl_la_CFLAGS = $(PURPLE_CFLAGS) $(SOUP_CFLAGS) $(JSON_CFLAGS) $(LIBXML_CFLAGS) $(MARKDOWN_CFLAGS) $(GSTREAMER_CFLAGS) -Ichime
 libchimeprpl_la_LIBADD = $(PURPLE_LIBS) $(SOUP_LIBS) $(JSON_LIBS) $(LIBXML_LIBS) $(MARKDOWN_LIBS) $(GSTREAMER_LIBS) libchime.la
 libchimeprpl_la_LDFLAGS = -module -avoid-version -no-undefined
 
@@ -51,11 +51,11 @@ po/$(PACKAGE).pot: $(POTFILES)
          --msgid-bugs-address=dwmw2@infradead.org \
          -o $@ $(POTFILES)
 
-chime-call-transport.h: protobuf/auth_message.pb-c.h
-chime-call-transport.h: protobuf/rt_message.pb-c.h
-chime-call-transport.h: protobuf/data_message.pb-c.h
+chime/chime-call-transport.h: protobuf/auth_message.pb-c.h
+chime/chime-call-transport.h: protobuf/rt_message.pb-c.h
+chime/chime-call-transport.h: protobuf/data_message.pb-c.h
 
-chime-call-transport.c chime-call-audio.c chime-call.c: chime-call-transport.h
+chime/chime-call-transport.c chime/chime-call-audio.c chime/chime-call.c: chime/chime-call-transport.h
 
 %.pb-c.c %.pb-c.h: %.proto
        $(PROTOC) $< --c_out .
similarity index 100%
rename from chime-call-audio.c
rename to chime/chime-call-audio.c
similarity index 100%
rename from chime-call-audio.h
rename to chime/chime-call-audio.h
similarity index 100%
rename from chime-call.c
rename to chime/chime-call.c
similarity index 100%
rename from chime-call.h
rename to chime/chime-call.h
similarity index 100%
rename from chime-connection.c
rename to chime/chime-connection.c
similarity index 100%
rename from chime-connection.h
rename to chime/chime-connection.h
similarity index 100%
rename from chime-contact.c
rename to chime/chime-contact.c
similarity index 100%
rename from chime-contact.h
rename to chime/chime-contact.h
similarity index 100%
rename from chime-juggernaut.c
rename to chime/chime-juggernaut.c
similarity index 100%
rename from chime-meeting.c
rename to chime/chime-meeting.c
similarity index 100%
rename from chime-meeting.h
rename to chime/chime-meeting.h
similarity index 100%
rename from chime-object.c
rename to chime/chime-object.c
similarity index 100%
rename from chime-object.h
rename to chime/chime-object.h
similarity index 100%
rename from chime-props.h
rename to chime/chime-props.h
similarity index 100%
rename from chime-room.c
rename to chime/chime-room.c
similarity index 100%
rename from chime-room.h
rename to chime/chime-room.h
similarity index 100%
rename from chime-websocket.c
rename to chime/chime-websocket.c