[packagekit] packagekit: Branch 'master' - 2 commits

Richard Hughes hughsient at kemper.freedesktop.org
Thu Jan 17 14:32:13 PST 2008


 docs/spec/pk-introduction.xml |    8 +++++++-
 libpackagekit/pk-enum.c       |    6 ++++++
 libpackagekit/pk-enum.h       |    6 ++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

New commits:
commit 7cf0e4964a44ac19185df3adcf2ffcfba612a9ae
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu Jan 17 22:29:21 2008 +0000

    add the visible filter

diff --git a/docs/spec/pk-introduction.xml b/docs/spec/pk-introduction.xml
index eeb46e2..9d6a798 100644
--- a/docs/spec/pk-introduction.xml
+++ b/docs/spec/pk-introduction.xml
@@ -195,7 +195,13 @@
                 the package metadata, or the status of the license is
                 not known, the package will be marked as 'non-free'.
               </entry>
-
+            </row>
+            <row>
+              <entry><literal>visible</literal> or <literal>~visible</literal></entry>
+              <entry>
+                Repositories may want to specify if a package should be visible
+                in an application chooser.
+              </entry>
             </row>
           </tbody>
         </tgroup>
diff --git a/libpackagekit/pk-enum.c b/libpackagekit/pk-enum.c
index b500a83..7a60437 100644
--- a/libpackagekit/pk-enum.c
+++ b/libpackagekit/pk-enum.c
@@ -147,10 +147,12 @@ static PkEnumMatch enum_filter[] = {
 	{PK_FILTER_ENUM_INSTALLED,		"installed"},
 	{PK_FILTER_ENUM_GUI,			"gui"},
 	{PK_FILTER_ENUM_FREE,			"free"},
+	{PK_FILTER_ENUM_VISIBLE,		"visible"},
 	{PK_FILTER_ENUM_NOT_DEVELOPMENT,	"~devel"},
 	{PK_FILTER_ENUM_NOT_INSTALLED,		"~installed"},
 	{PK_FILTER_ENUM_NOT_GUI,		"~gui"},
 	{PK_FILTER_ENUM_NOT_FREE,		"~free"},
+	{PK_FILTER_ENUM_NOT_VISIBLE,		"~visible"},
 	{0, NULL},
 };
 
diff --git a/libpackagekit/pk-enum.h b/libpackagekit/pk-enum.h
index 045e966..01d3c7f 100644
--- a/libpackagekit/pk-enum.h
+++ b/libpackagekit/pk-enum.h
@@ -123,10 +123,12 @@ typedef enum {
 	PK_FILTER_ENUM_INSTALLED,
 	PK_FILTER_ENUM_GUI,
 	PK_FILTER_ENUM_FREE,
+	PK_FILTER_ENUM_VISIBLE,
 	PK_FILTER_ENUM_NOT_DEVELOPMENT,
 	PK_FILTER_ENUM_NOT_INSTALLED,
 	PK_FILTER_ENUM_NOT_GUI,
 	PK_FILTER_ENUM_NOT_FREE,
+	PK_FILTER_ENUM_NOT_VISIBLE,
 	PK_FILTER_ENUM_NONE,
 	PK_FILTER_ENUM_UNKNOWN
 } PkFilterEnum;
commit 41bd35fecc883d219271f8f2317791d25b5c7ace
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu Jan 17 22:24:00 2008 +0000

    add some more group enums

diff --git a/libpackagekit/pk-enum.c b/libpackagekit/pk-enum.c
index 0f8756e..b500a83 100644
--- a/libpackagekit/pk-enum.c
+++ b/libpackagekit/pk-enum.c
@@ -180,6 +180,10 @@ static PkEnumMatch enum_group[] = {
 	{PK_GROUP_ENUM_VIRTUALIZATION,		"virtualization"},
 	{PK_GROUP_ENUM_POWER_MANAGEMENT,	"power-management"},
 	{PK_GROUP_ENUM_SECURITY,		"security"},
+	{PK_GROUP_ENUM_COMMUNICATION,		"communication"},
+	{PK_GROUP_ENUM_NETWORK,			"network"},
+	{PK_GROUP_ENUM_MAPS,			"maps"},
+	{PK_GROUP_ENUM_REPOS,			"repos"},
 	{0, NULL},
 };
 
diff --git a/libpackagekit/pk-enum.h b/libpackagekit/pk-enum.h
index e35813e..045e966 100644
--- a/libpackagekit/pk-enum.h
+++ b/libpackagekit/pk-enum.h
@@ -218,6 +218,10 @@ typedef enum {
 	PK_GROUP_ENUM_VIRTUALIZATION,
 	PK_GROUP_ENUM_SECURITY,
 	PK_GROUP_ENUM_POWER_MANAGEMENT,
+	PK_GROUP_ENUM_COMMUNICATION,
+	PK_GROUP_ENUM_NETWORK,
+	PK_GROUP_ENUM_MAPS,
+	PK_GROUP_ENUM_REPOS,
 	PK_GROUP_ENUM_UNKNOWN
 } PkGroupEnum;
 



More information about the PackageKit mailing list