[rosa-devel] desktop-file-utils 0.21

symbianflo symbianflo at mandrivausers.ro
Wed May 1 12:23:51 MSK 2013


Hi
I'd like to have desktop-file-utils  0.21 , on both LTS and Fresh since
it have few new features and allows 
us to fix/install  more desktop files, so we'll have less desktop "cat"
on specs , and/or 
less another secondary source as the desktop file.
But, yes it is a but, I would start a QA procedure , the only problem is
that 
I don't really have no clue what should I write in "advisory ", is not a
app used by the endusers ,
 it is a tool  used, pretty much  by the packagers.
I have diffed up the help but I 'm pretty sure ain't no enough for a QA:

( Of course  I can also diff the rpms  but this also is not
conclusive...)
###################
--- desktop-file-install-0.18   2013-05-01 09:48:48.094583451 +0200
+++ desktop-file-install-0.21   2013-05-01 09:45:24.846579244 +0200
@@ -8,22 +8,33 @@
 Opzioni di aiuto:
   -h, --help                            Mostra le opzioni di aiuto
   --help-all                            Mostra tutte le opzioni di
aiuto
+  --help-install                        Show desktop file installation
options
   --help-edit                           Show desktop file edition
options
 
+Installation options for desktop file
+  --dir=DIR                             Install desktop files to the
DIR directory
+  -m, --mode=MODE                       Set the permissions of the
destination files to MODE
+  --vendor=VENDOR                       Add a vendor prefix to the
desktop files, if not already present
+  --delete-original                     Delete the source desktop
files, leaving only the target files (effectively "renames" the desktop
files)
+
 Edition options for desktop file
-  --copy-name-to-generic-name           Copy the value of the "Name"
key to the "GenericName" key
+  --set-key=KEY                         Set the KEY key to VALUE passed
to next --set-value option
+  --set-value=VALUE                     Set the KEY key from previous
--set-key option to VALUE
+  --set-name=NAME                       Set the "Name" key to NAME
   --copy-generic-name-to-name           Copy the value of the
"GenericName" key to the "Name" key
-  --remove-key=KEY                      Remove the KEY key from the
desktop files, if present
+  --set-generic-name=GENERIC-NAME       Set the "GenericName" key to
GENERIC-NAME
+  --copy-name-to-generic-name           Copy the value of the "Name"
key to the "GenericName" key
+  --set-comment=COMMENT                 Set the "Comment" key to
COMMENT
+  --set-icon=ICON                       Set the "Icon" key to ICON
   --add-category=CATEGORY               Add CATEGORY to the list of
categories
   --remove-category=CATEGORY            Remove CATEGORY from the list
of categories
   --add-mime-type=MIME-TYPE             Add MIME-TYPE to the list of
MIME types
   --remove-mime-type=MIME-TYPE          Remove MIME-TYPE from the list
of MIME types
   --add-only-show-in=ENVIRONMENT        Add ENVIRONMENT to the list of
desktop environment where the desktop files should be displayed
   --remove-only-show-in=ENVIRONMENT     Remove ENVIRONMENT from the
list of desktop environment where the desktop files should be displayed
-
-Opzioni dell'applicazione:
-  --delete-original                     Delete the source desktop
files, leaving only the target files (effectively "renames" the desktop
files)
-  --dir=DIR                             Install desktop files to the
DIR directory
-  -m, --mode=MODE                       Set the permissions of the
destination files to MODE
-  --vendor=VENDOR                       Add a vendor prefix to the
desktop files, if not already present
-  --rebuild-mime-info-cache             Rebuild the MIME types
application database after installing desktop
files                                                                           
+  --add-not-show-in=ENVIRONMENT         Add ENVIRONMENT to the list of
desktop environment where the desktop files should not be
displayed                                                   
+  --remove-not-show-in=ENVIRONMENT      Remove ENVIRONMENT from the
list of desktop environment where the desktop files should not be
displayed                                              
+  --remove-key=KEY                      Remove the KEY key from the
desktop files, if present
+                                                                                                                                                                                              
+Opzioni
dell'applicazione:                                                                                                                                                                    
+  --rebuild-mime-info-cache             Rebuild the MIME types
application database after processing desktop files

##############################
The part that interest most is :

Edition options for desktop file
  --set-key=KEY                         Set the KEY key to VALUE passed
to next --set-value option
  --set-value=VALUE                     Set the KEY key from previous
--set-key option to VALUE
  --set-name=NAME                       Set the "Name" key to NAME
  --copy-generic-name-to-name           Copy the value of the
"GenericName" key to the "Name" key
  --set-generic-name=GENERIC-NAME       Set the "GenericName" key to
GENERIC-NAME
  --copy-name-to-generic-name           Copy the value of the "Name" key
to the "GenericName" key
  --set-comment=COMMENT                 Set the "Comment" key to COMMENT
  --set-icon=ICON                       Set the "Icon" key to ICON
  --add-category=CATEGORY               Add CATEGORY to the list of
categories
  --remove-category=CATEGORY            Remove CATEGORY from the list of
categories
  --add-mime-type=MIME-TYPE             Add MIME-TYPE to the list of
MIME types
  --remove-mime-type=MIME-TYPE          Remove MIME-TYPE from the list
of MIME types
  --add-only-show-in=ENVIRONMENT        Add ENVIRONMENT to the list of
desktop environment where the desktop files should be displayed
  --remove-only-show-in=ENVIRONMENT     Remove ENVIRONMENT from the list
of desktop environment where the desktop files should be displayed
  --add-not-show-in=ENVIRONMENT         Add ENVIRONMENT to the list of
desktop environment where the desktop files should not be displayed
  --remove-not-show-in=ENVIRONMENT      Remove ENVIRONMENT from the list
of desktop environment where the desktop files should not be displayed
  --remove-key=KEY                      Remove the KEY key from the
desktop files, if present

#######################################################
Of course the differences are more , but I'm interested only in
desktop-file-install for now.




if somebody want to try it :
LTS:
https://abf.rosalinux.ru/build_lists/1076882
https://abf.rosalinux.ru/build_lists/1076881

Fresh:
https://abf.rosalinux.ru/build_lists/1076880
https://abf.rosalinux.ru/build_lists/1076879


So with the new 0.21 we have a lot much chances to tune a desktop and
simplify the spec/work.
Any suggestion is welcome.


Greetings 

-- 

           ***MandrivaUsers Romania Backports***
                                   ***Rosalinux.ro***
     I do thank you for your time , have a doable day
                                           SymbianFlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rosalab.ru/pipermail/rosa-devel/attachments/20130501/f9d55ca0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_site_2_0.1.png
Type: image/png
Size: 41636 bytes
Desc: not available
URL: <http://lists.rosalab.ru/pipermail/rosa-devel/attachments/20130501/f9d55ca0/attachment.png>


More information about the rosa-devel mailing list