THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Ben (Wally)
Attached to Project - OpenPandora Main OS
Summary - OS Selector bug
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Release 1 (Zaxxon)
Severity - Medium
Priority - Very Low
Reported Version - SuperZaxxon Final 1.54
Due in Version - Undecided
Due Date - Undecided
Details - <p>When selecting no OS in the OS Selector you're returned to the login screen where you have to reauthenicate. (Pressing Enter without selecting an OS does this)</p>
<p>I happen to do this a lot and it drives me mad :P</p>
More information can be found at the following URL:
http://bugs.openpandora.org/index.php?do=details&task_id=323
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#322 - Allow removal of categories using the libpnd category config file
User who did this - Jürgen Rühle (jr)
----------
<p>The following patch implements this.</p>
<blockquote>
<p>From 59eb27c78bd7bd4db1fde6e99cb64efd90c4f6ba Mon Sep 17 00:00:00 2001<br />
From: =?UTF-8?q?J=C3=BCrgen=20R=C3=BChle?= <j-r(a)online.de><br />
Date: Sat, 15 Jun 2013 19:33:05 +0200<br />
Subject: [PATCH] Allow mapping categories to nothing</p>
<p>Now a category mapped to the magic string "NoCategory" in the categories config<br />
file will not be added to the Categories field of the desktop file.</p>
<p>Note that the configured default categories are used, if all PND categories get<br />
suppressed using this mechanism.<br />
---<br />
lib/pnd_desktop.c | 6 ++++--<br />
1 files changed, 4 insertions(+), 2 deletions(-)</p>
<p>diff --git a/lib/pnd_desktop.c b/lib/pnd_desktop.c<br />
index e6aca21..08ec6b0 100644<br />
--- a/lib/pnd_desktop.c<br />
+++ b/lib/pnd_desktop.c<br />
@@ -537,8 +537,10 @@ int pnd_map_dotdesktop_categories ( pnd_conf_handle c, char *target_buffer, unsi<br />
#define MAPCAT(field) \<br />
if ( ( t = d -> field ) ) { \<br />
match = pnd_map_dotdesktop_category ( c, t ); \<br />
- strncat ( target_buffer, match ? match : t, len ); \<br />
- strncat ( target_buffer, ";", len ); \<br />
+ if ( !match || strcasecmp ( match, "NoCategory" ) ) { \<br />
+ strncat ( target_buffer, match ? match : t, len ); \<br />
+ strncat ( target_buffer, ";", len ); \<br />
+ } \<br />
}<br />
<br />
MAPCAT(main_category);<br />
--<br />
1.7.0.2</p>
<p> </p>
</blockquote>
----------
More information can be found at the following URL:
http://bugs.openpandora.org/index.php?do=details&task_id=322#comment531
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Jürgen Rühle (jr)
Attached to Project - OpenPandora Main OS
Summary - Allow removal of categories using the libpnd category config file
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Release 1 (Zaxxon)
Severity - Low
Priority - Very Low
Reported Version - SuperZaxxon Final 1.54
Due in Version - Undecided
Due Date - Undecided
Details - <p>Since some PNDs provide nonstandard categories like GTK or GNOME, it is desirable to extend the libpnd category mapping with the ability to suppress individual categories completely.</p>
More information can be found at the following URL:
http://bugs.openpandora.org/index.php?do=details&task_id=322
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#321 - Support overriding all category fields with .ovr
User who did this - Jürgen Rühle (jr)
----------
<p>Fortunately it is trivial to extend the existing override support. Please consider the following patch (there probably is a better way to supply it:-)</p>
<blockquote>
<p>From 78972f82c02c6864eca677f6c4c19c8704664b9e Mon Sep 17 00:00:00 2001<br />
From: =?UTF-8?q?J=C3=BCrgen=20R=C3=BChle?= <j-r(a)online.de><br />
Date: Sat, 15 Jun 2013 19:20:15 +0200<br />
Subject: [PATCH 2/3] Support more complete category override from .ovr files</p>
<p>Add overide support for subcategory 2 and the alternate category chain.</p>
<p>Also allow full suppression of the alternate main category using the magic<br />
string "NoCategory". Note that the main category still cannot be supressed by<br />
the .ovr file, because it should always use a useful main category.<br />
---<br />
lib/pnd_discovery.c | 43 +++++++++++++++++++++++++++++++++++++++++++<br />
1 files changed, 43 insertions(+), 0 deletions(-)</p>
<p>diff --git a/lib/pnd_discovery.c b/lib/pnd_discovery.c<br />
index 1f43540..6905687 100644<br />
--- a/lib/pnd_discovery.c<br />
+++ b/lib/pnd_discovery.c<br />
@@ -428,6 +428,7 @@ static int pnd_disco_callback ( const char *fpath, const struct stat *sb,<br />
if ( p -> main_category ) {<br />
free ( p -> main_category );<br />
}<br />
+ // the override file cannot suppress the main category<br />
p -> main_category = strdup ( v );<br />
}<br />
snprintf ( key, 100, "Application-%u.maincategorysub1", p -> subapp_number );<br />
@@ -440,6 +441,48 @@ static int pnd_disco_callback ( const char *fpath, const struct stat *sb,<br />
p -> main_category1 = strdup ( v );<br />
}<br />
}<br />
+ snprintf ( key, 100, "Application-%u.maincategorysub2", p -> subapp_number );<br />
+ if ( ( v = pnd_conf_get_as_char ( ovrh, key ) ) ) {<br />
+ if ( p -> main_category2 ) {<br />
+ free ( p -> main_category2 );<br />
+ p -> main_category2 = NULL;<br />
+ }<br />
+ if ( strcasecmp ( v, "NoSubcategory" ) != 0 ) {<br />
+ p -> main_category2 = strdup ( v );<br />
+ }<br />
+ }<br />
+ // alt categories<br />
+ snprintf ( key, 100, "Application-%u.altcategory", p -> subapp_number );<br />
+ if ( ( v = pnd_conf_get_as_char ( ovrh, key ) ) ) {<br />
+ if ( p -> alt_category ) {<br />
+ free ( p -> alt_category );<br />
+ p -> alt_category = NULL;<br />
+ }<br />
+ // but it makes sense to allow full suppression of the alternate category<br />
+ if ( strcasecmp ( v, "NoCategory" ) != 0 ) {<br />
+ p -> alt_category = strdup ( v );<br />
+ }<br />
+ }<br />
+ snprintf ( key, 100, "Application-%u.altcategorysub1", p -> subapp_number );<br />
+ if ( ( v = pnd_conf_get_as_char ( ovrh, key ) ) ) {<br />
+ if ( p -> alt_category1 ) {<br />
+ free ( p -> alt_category1 );<br />
+ p -> alt_category1 = NULL;<br />
+ }<br />
+ if ( strcasecmp ( v, "NoSubcategory" ) != 0 ) {<br />
+ p -> alt_category1 = strdup ( v );<br />
+ }<br />
+ }<br />
+ snprintf ( key, 100, "Application-%u.altcategorysub2", p -> subapp_number );<br />
+ if ( ( v = pnd_conf_get_as_char ( ovrh, key ) ) ) {<br />
+ if ( p -> alt_category2 ) {<br />
+ free ( p -> alt_category2 );<br />
+ p -> alt_category2 = NULL;<br />
+ }<br />
+ if ( strcasecmp ( v, "NoSubcategory" ) != 0 ) {<br />
+ p -> alt_category2 = strdup ( v );<br />
+ }<br />
+ }<br />
<br />
} // got ovr conf loaded?<br />
<br />
--<br />
1.7.0.2</p>
<p> </p>
</blockquote>
----------
More information can be found at the following URL:
http://bugs.openpandora.org/index.php?do=details&task_id=321#comment530
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Jürgen Rühle (jr)
Attached to Project - OpenPandora Main OS
Summary - Support overriding all category fields with .ovr
Task Type - Feature Request
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Release 1 (Zaxxon)
Severity - Low
Priority - Very Low
Reported Version - SuperZaxxon Final 1.54
Due in Version - Undecided
Due Date - Undecided
Details - <p>Currently only the main category and the first sub category of the main category can be overridden using a .ovr file while libpnd uses additional PXML supplied category date to construct the desktop file. This makes it difficult to work with PNDs that supply unwanted data in these additional fields.</p>
More information can be found at the following URL:
http://bugs.openpandora.org/index.php?do=details&task_id=321
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.