[gnome-packagekit] Remove the service pack support



commit 5ae8b660850975d05f830ba547c3ab0c483d6645
Author: Richard Hughes <richard hughsie com>
Date:   Fri Nov 29 14:26:28 2013 +0000

    Remove the service pack support
    
    It only ever worked (barely) on Fedora using yum. Support has been removed from
    PackageKit too.

 data/Makefile.am                               |    3 -
 data/appdata/ss-service-pack.png               |  Bin 32144 -> 0 bytes
 data/gpk-service-pack.desktop.in               |   11 -
 data/gpk-service-pack.ui                       |  313 ------
 data/icons/16x16/status/Makefile.am            |    1 -
 data/icons/16x16/status/pk-service-pack.png    |  Bin 585 -> 0 bytes
 data/icons/22x22/status/Makefile.am            |    1 -
 data/icons/22x22/status/pk-service-pack.png    |  Bin 990 -> 0 bytes
 data/icons/24x24/status/Makefile.am            |    1 -
 data/icons/24x24/status/pk-service-pack.png    |  Bin 1007 -> 0 bytes
 data/icons/48x48/status/Makefile.am            |    1 -
 data/icons/48x48/status/pk-service-pack.png    |  Bin 2588 -> 0 bytes
 data/icons/scalable/status/Makefile.am         |    1 -
 data/icons/scalable/status/pk-service-pack.svg | 1379 ------------------------
 help/C/figures/gpk-service-pack-example.png    |  Bin 28475 -> 0 bytes
 help/C/figures/gpk-service-pack-example.svg    | 1133 -------------------
 help/C/figures/gpk-service-pack.png            |  Bin 30063 -> 0 bytes
 help/C/index.docbook                           |  126 ---
 help/Makefile.am                               |    2 -
 man/Makefile.am                                |    4 -
 man/gpk-service-pack.sgml                      |   77 --
 src/Makefile.am                                |   10 -
 src/gpk-common.h                               |    1 -
 src/gpk-service-pack.c                         |  900 ----------------
 24 files changed, 0 insertions(+), 3964 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 248354d..b24a4d3 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,7 +10,6 @@ desktopdir = $(datadir)/applications
 desktop_in_files =                                     \
        gpk-install-local-file.desktop.in               \
        gpk-dbus-service.desktop.in                     \
-       gpk-service-pack.desktop.in                     \
        gpk-prefs.desktop.in                            \
        gpk-application.desktop.in                      \
        gpk-update-viewer.desktop.in                    \
@@ -26,7 +25,6 @@ pkgdata_DATA =                                                \
        gpk-application.ui                              \
        gpk-update-viewer.ui                            \
        gpk-prefs.ui                                    \
-       gpk-service-pack.ui                             \
        gpk-signature.ui                                \
        gpk-error.ui                                    \
        gpk-log.ui                                      \
@@ -56,7 +54,6 @@ clean-local :
 
 DISTCLEANFILES =                                       \
        gpk-prefs.desktop                               \
-       gpk-service-pack.desktop                        \
        gpk-update-viewer.desktop                       \
        gpk-install-local-file.desktop                  \
        gpk-dbus-service.desktop                        \
diff --git a/data/icons/16x16/status/Makefile.am b/data/icons/16x16/status/Makefile.am
index dd33006..445e2d5 100644
--- a/data/icons/16x16/status/Makefile.am
+++ b/data/icons/16x16/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA =                          \
        pk-update-normal.png            \
        pk-update-security.png          \
        pk-refresh-cache.png            \
-       pk-service-pack.png             \
        pk-setup.png                    \
        pk-wait.png
 
diff --git a/data/icons/22x22/status/Makefile.am b/data/icons/22x22/status/Makefile.am
index dde9518..ec777f4 100644
--- a/data/icons/22x22/status/Makefile.am
+++ b/data/icons/22x22/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA =                          \
        pk-update-normal.png            \
        pk-update-security.png          \
        pk-refresh-cache.png            \
-       pk-service-pack.png             \
        pk-setup.png                    \
        pk-wait.png
 
diff --git a/data/icons/24x24/status/Makefile.am b/data/icons/24x24/status/Makefile.am
index 7454037..c70df24 100644
--- a/data/icons/24x24/status/Makefile.am
+++ b/data/icons/24x24/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA =                          \
        pk-update-normal.png            \
        pk-update-security.png          \
        pk-refresh-cache.png            \
-       pk-service-pack.png             \
        pk-setup.png                    \
        pk-wait.png
 
diff --git a/data/icons/48x48/status/Makefile.am b/data/icons/48x48/status/Makefile.am
index 786c389..2bf23be 100644
--- a/data/icons/48x48/status/Makefile.am
+++ b/data/icons/48x48/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA =                          \
        pk-update-normal.png            \
        pk-update-security.png          \
        pk-refresh-cache.png            \
-       pk-service-pack.png             \
        pk-setup.png                    \
        pk-wait.png
 
diff --git a/data/icons/scalable/status/Makefile.am b/data/icons/scalable/status/Makefile.am
index a625ea0..054081a 100644
--- a/data/icons/scalable/status/Makefile.am
+++ b/data/icons/scalable/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA =                          \
        pk-update-normal.svg            \
        pk-update-security.svg          \
        pk-refresh-cache.svg            \
-       pk-service-pack.svg             \
        pk-setup.svg                    \
        pk-wait.svg
 
diff --git a/help/C/index.docbook b/help/C/index.docbook
index dedec77..14e1734 100644
--- a/help/C/index.docbook
+++ b/help/C/index.docbook
@@ -526,132 +526,6 @@
   </para>
 </section>
 
-<section id="service-pack">
-  <title>Service Pack Creator</title>
-  <figure>
-    <title>Service pack creator</title>
-    <screenshot>
-      <mediaobject>
-        <imageobject>
-          <imagedata fileref="figures/gpk-service-pack.png" format="PNG"/>
-        </imageobject>
-      </mediaobject>
-    </screenshot>
-  </figure>
-  <para>
-    This tool can be opened using <menuchoice><guimenu>Applications</guimenu>
-    <guisubmenu>System Tools</guisubmenu>
-    <guimenuitem>Service Pack Creator</guimenuitem></menuchoice>.
-  </para>
-  <para>
-    A service pack is a tarball which contains a set of packages and their dependencies.
-    To explain better what a service pack is, it is best to show a few use-cases.
-  </para>
-  <note><para>
-    You can add multiple packages to a service pack by separating the package
-    names with a comma, for instance <literal>hal,gnome-power-manager</literal>.
-  </para></note>
-  <orderedlist numeration="arabic">
-    <listitem>
-      <para>
-        You have seven desktops you've just installed with Fedora 9.
-        Each one needs to have 204Mb of updates installed.
-      </para>
-    </listitem>
-    <listitem>
-      <para>
-        You have a laptop that needs network drivers before it can download updates,
-        and you have a similar up to date laptop with internet access nearby.
-        The network drivers require a few dependencies, and other packages to be
-        upgraded before they will install.
-      </para>
-    </listitem>
-    <listitem>
-      <para>
-        You frequently install Linux on other peoples computers.
-        You carry around a live-cd and a pendrive with a single 204Mb file
-        <filename>Fedora-updates-SP1.servicepack</filename> which contains all the
-        updates since last week.
-      </para>
-    </listitem>
-    <listitem>
-      <para>
-        A free software magazine wants to distribute patent encumbered multimedia
-        plugins and programs with the latest Fedora release DVD.
-        They want a way in which even the most lazy user can get the things
-        installed without much fuss.
-      </para>
-    </listitem>
-  </orderedlist>
-  <para>
-    Internally, the pack file is just an uncompressed tarball, with the packages
-    and a single metadata.conf file inside.
-    The metadata file is just the distribution identifier and the time of creation.
-    This ensures you don't try installing a <filename>fedora-9-i386</filename>
-    service pack on a <filename>ubuntu-intrepid-ppc</filename> machine.
-  </para>
-  <para>
-    We need a destination file list because we not know what packages are
-    installed on the destination computer.
-    For example:
-  </para>
-  <figure>
-    <title>Two example computers</title>
-    <screenshot>
-      <mediaobject>
-        <imageobject>
-          <imagedata fileref="figures/gpk-service-pack-example.png" format="PNG"/>
-        </imageobject>
-      </mediaobject>
-    </screenshot>
-  </figure>
-  <para>
-    Computer A has the following packages installed, and has internet access.
-  </para>
-  <itemizedlist>
-    <listitem><para><literal>glib</literal></para></listitem>
-    <listitem><para><literal>dbus</literal></para></listitem>
-    <listitem><para><literal>dbus-glib</literal></para></listitem>
-    <listitem><para><literal>libgnome</literal></para></listitem>
-  </itemizedlist>
-  <para>
-    Computer B has the following packages installed, and does not have internet access.
-  </para>
-  <itemizedlist>
-    <listitem><para><literal>glib</literal></para></listitem>
-    <listitem><para><literal>dbus</literal></para></listitem>
-    <listitem><para><literal>kdebase</literal></para></listitem>
-    <listitem><para><literal>kdeapps</literal></para></listitem>
-  </itemizedlist>
-  <para>
-    Computer B wants to have a service pack containing a new version of
-    <literal>k3b</literal> so that it can burn DVD-RWs.
-  </para>
-  <para>
-    The <literal>k3b</literal> program has dependencies of <literal>dbus</literal>,
-    <literal>dbus-glib</literal> and <literal>kdebase</literal>.
-    Now, if we asked computer A to download <literal>k3b</literal>, it would download
-    <literal>k3b</literal> <emphasis>and</emphasis> <literal>kdebase</literal>, but
-    <emphasis>not</emphasis> <literal>dbus-glib</literal>.
-    We need to provide computer A with the information about what packages computer B
-    has got installed before we can create the service pack.
-  </para>
-  <para>
-    If we generate a package list on computer B, and the transfer it to
-    computer A on a USB pendrive or CD-RW we can download the correct packages.
-    In this case we would download <literal>k3b</literal> and
-    <literal>dbus-glib</literal> and pack it into the new service pack.
-  </para>
-  <para>
-    The service pack can now be transferred from computer A to computer B on
-    the USB pendrive.
-  </para>
-  <para>
-    The <command>pkgenpack</command> command line tool can also be used for
-    creating service pack files.
-  </para>
-</section>
-
 <section id="auto-updates">
   <title>Automatic Updates</title>
   <para>
diff --git a/help/Makefile.am b/help/Makefile.am
index ac71199..f5e707a 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -16,8 +16,6 @@ HELP_MEDIA = \
        figures/gpk-added-deps.png \
        figures/gpk-remove-confirm.png \
        figures/gpk-updates.png \
-       figures/gpk-service-pack.png \
-       figures/gpk-service-pack-example.png \
        figures/gpk-updates-warning.png
 
 HELP_LINGUAS = de el es fr gl oc pa pl pt_BR ru sl sv zh_CN
diff --git a/man/Makefile.am b/man/Makefile.am
index 4bc6829..485dcf7 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -4,7 +4,6 @@ EXTRA_DIST =                                            \
        gpk-install-local-file.sgml                     \
        gpk-log.sgml                                    \
        gpk-prefs.sgml                                  \
-       gpk-service-pack.sgml                           \
        gpk-update-viewer.sgml
 
 if HAVE_DOCBOOK2MAN
@@ -14,7 +13,6 @@ man_MANS =                                            \
        gpk-install-local-file.1                        \
        gpk-log.1                                       \
        gpk-prefs.1                                     \
-       gpk-service-pack.1                              \
        gpk-update-viewer.1
 endif
 
@@ -31,8 +29,6 @@ gpk-update-viewer.1: gpk-update-viewer.sgml
        docbook2man $? > /dev/null
 gpk-log.1: gpk-log.sgml
        docbook2man $? > /dev/null
-gpk-service-pack.1: gpk-service-pack.sgml
-       docbook2man $? > /dev/null
 endif
 
 clean-local :
diff --git a/src/Makefile.am b/src/Makefile.am
index 7058e86..629089d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -31,7 +31,6 @@ AM_CPPFLAGS =                                         \
 bin_PROGRAMS =                                         \
        gpk-application                                 \
        gpk-prefs                                       \
-       gpk-service-pack                                \
        gpk-install-local-file                          \
        gpk-update-viewer                               \
        gpk-log                                         \
@@ -131,15 +130,6 @@ gpk_application_LDADD =                                    \
        $(shared_LIBS)                                  \
        $(NULL)
 
-gpk_service_pack_SOURCES =                             \
-       gpk-service-pack.c                              \
-       $(NULL)
-
-gpk_service_pack_LDADD =                               \
-       libgpkshared.a                                  \
-       $(shared_LIBS)                                  \
-       $(NULL)
-
 gpk_prefs_SOURCES =                                    \
        gpk-debug.h                                     \
        gpk-debug.c                                     \
diff --git a/src/gpk-common.h b/src/gpk-common.h
index 168f9b4..0f57386 100644
--- a/src/gpk-common.h
+++ b/src/gpk-common.h
@@ -57,7 +57,6 @@ G_BEGIN_DECLS
 #define GPK_ICON_SOFTWARE_INSTALLER            "system-software-install"
 #define GPK_ICON_SOFTWARE_LOG                  "gpk-log"
 #define GPK_ICON_SOFTWARE_UPDATE_PREFS         "gpk-prefs"
-#define GPK_ICON_SERVICE_PACK                  "gpk-service-pack"
 
 /* any status that is slower than this will not be shown in the UI */
 #define GPK_UI_STATUS_SHOW_DELAY               750 /* ms */


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