[gnome-builder] Rename of ide-flatpak-source-archive ide-flatpak-sources



commit 0d14eaf95769f125a8cd92d6f3dd8b8f10b4a1c8
Author: Simon Schampijer <simon schampijer endlessm com>
Date:   Tue Dec 13 22:39:26 2016 +0100

    Rename of ide-flatpak-source-archive ide-flatpak-sources
    
    That code does as well handle the patching of the sources,
    therefore the renaming.

 plugins/flatpak/Makefile.am                        |    4 ++--
 plugins/flatpak/gbp-flatpak-clone-widget.c         |    2 +-
 ...tpak-source-archive.c => gbp-flatpak-sources.c} |    4 ++--
 ...tpak-source-archive.h => gbp-flatpak-sources.h} |    8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/plugins/flatpak/Makefile.am b/plugins/flatpak/Makefile.am
index a9f208d..a5324bd 100644
--- a/plugins/flatpak/Makefile.am
+++ b/plugins/flatpak/Makefile.am
@@ -25,8 +25,8 @@ libflatpak_plugin_la_SOURCES = \
        gbp-flatpak-clone-widget.h \
        gbp-flatpak-genesis-addin.c \
        gbp-flatpak-genesis-addin.h \
-       gbp-flatpak-source-archive.c \
-       gbp-flatpak-source-archive.h \
+       gbp-flatpak-sources.c \
+       gbp-flatpak-sources.h \
        $(NULL)
 
 nodist_libflatpak_plugin_la_SOURCES = \
diff --git a/plugins/flatpak/gbp-flatpak-clone-widget.c b/plugins/flatpak/gbp-flatpak-clone-widget.c
index 1ea765f..82e1891 100644
--- a/plugins/flatpak/gbp-flatpak-clone-widget.c
+++ b/plugins/flatpak/gbp-flatpak-clone-widget.c
@@ -23,7 +23,7 @@
 #include "egg-animation.h"
 
 #include "gbp-flatpak-clone-widget.h"
-#include "gbp-flatpak-source-archive.h"
+#include "gbp-flatpak-sources.h"
 
 #define ANIMATION_DURATION_MSEC 250
 
diff --git a/plugins/flatpak/gbp-flatpak-source-archive.c b/plugins/flatpak/gbp-flatpak-sources.c
similarity index 99%
rename from plugins/flatpak/gbp-flatpak-source-archive.c
rename to plugins/flatpak/gbp-flatpak-sources.c
index 49ca417..f96fe2e 100644
--- a/plugins/flatpak/gbp-flatpak-source-archive.c
+++ b/plugins/flatpak/gbp-flatpak-sources.c
@@ -1,4 +1,4 @@
-/* gbp-flatpak-source-archive.c
+/* gbp-flatpak-sources.c
  *
  * Copyright (C) 2016 Endless Mobile, Inc.
  *
@@ -22,7 +22,7 @@
 #include <libsoup/soup.h>
 
 #include "config.h"
-#include "gbp-flatpak-source-archive.h"
+#include "gbp-flatpak-sources.h"
 
 /* This file includes modified code from
  * flatpak/builder/builder-source-archive.c
diff --git a/plugins/flatpak/gbp-flatpak-source-archive.h b/plugins/flatpak/gbp-flatpak-sources.h
similarity index 88%
rename from plugins/flatpak/gbp-flatpak-source-archive.h
rename to plugins/flatpak/gbp-flatpak-sources.h
index 707e5e6..378fe9d 100644
--- a/plugins/flatpak/gbp-flatpak-source-archive.h
+++ b/plugins/flatpak/gbp-flatpak-sources.h
@@ -1,4 +1,4 @@
-/* gbp-flatpak-source-archive.h
+/* gbp-flatpak-sources.h
  *
  * Copyright (C) 2016 Endless Mobile, Inc.
  *
@@ -16,8 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GBP_FLATPAK_SOURCE_ARCHIVE_H
-#define GBP_FLATPAK_SOURCE_ARCHIVE_H
+#ifndef GBP_FLATPAK_SOURCES_H
+#define GBP_FLATPAK_SOURCES_H
 
 GFile    *fetch_archive (const gchar  *url,
                          const gchar  *sha,
@@ -31,4 +31,4 @@ gboolean  apply_patch (const gchar  *path,
                        guint         strip_components,
                        GError      **error);
 
-#endif /* GBP_FLATPAK_SOURCE_ARCHIVE_H */
+#endif /* GBP_FLATPAK_SOURCES_H */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]