Re: How to properly register a program in KDE/GNOME

2009-11-22 Thread Eric Lavarde

Hi Daniel,

thanks for your help, but it didn't... help :-( (yet)

$ sudo cat /usr/share/applications/freemind.desktop
[Desktop Entry]
Version=1.0
Name=FreeMind
Exec=/usr/bin/freemind
Terminal=false
Icon=FreeMindWindowIcon
Type=Application
MimeType=application/x-freemind;
Categories=Office;
GenericName=FreeMind
Comment=A free mind mapping tool

$ sudo cat /usr/share/mime/packages/freemind.xml
?xml version=1.0 encoding=UTF-8?
mime-info xmlns=http://www.freedesktop.org/standards/shared-mime-info;
mime-type type=application/x-freemind
comment xml:lang=csFreeMind Mapa/comment
[...]
comment xml:lang=zhFreeMind 心智圖/comment
sub-class-of type=text/xml /
glob pattern=*.mm/
magic priority=85
match type=string value=lt;map offset=0/
/magic
/mime-type
/mime-info
(you were right, it's an XML format)

$ sudo update-mime-database /usr/share/mime
(no output)

$ xdg-mime query default application/x-freemind
(no output)

$ xdg-mime query filetype bla.mm
text/plain
$ xdg-mime query filetype New\ Mindmap.mm
text/html
(the 2nd file has some HTML embedded)


Any further ideas? Isn't there somewhere an official documentation on 
how it's supposed to work? Should I use xdg-mime install directly to 
register mime types, and possibly also xdg-icon-resource? Or is there a 
dh_something function I might have missed?


Thanks, Eric

PS: I'm on the list, no need to copy me.

Daniel Leidert wrote:

Am Samstag, den 21.11.2009, 08:33 +0100 schrieb Eric Lavarde:

I'm trying to get FreeMind files to be properly opened with FreeMind 
within KDE/GNOME (and probably other freedesktop compatible desktops), 
e.g. click in Konqueror on a FreeMind file (shown with the FreeMind 
icon) and FreeMind is opened with the file.


I'm quite at the end of my knowledge and I haven't found a documentation 
that explains it all.


I have the following:

$ cat /usr/share/applications/freemind.desktop
[Desktop Entry]

[snip]

The Encoding key and the Application category are deprecated. The
MimeType line misses the semicolon after the MIME type. JFTR: The icon
field should not contain a path nor a file suffix.


$ cat /usr/share/mime/packages/freemind.xml
?xml version=1.0 encoding=UTF-8?
mime-info xmlns=http://www.freedesktop.org/standards/shared-mime-info;
 mime-type type=application/x-freemind
 comment xml:lang=csFreeMind Mapa/comment
[...]
 comment xml:lang=zhFreeMind 心智圖/comment
 glob pattern=*.mm/
 magic priority=65
 match type=string value=lt;map offset=0/
 /magic
 /mime-type
/mime-info
(the magic thing is needed to make the difference with troff files)


Is application/x-freemind a subtype of application/octet-stream - some
binary format? If not you *must* add a proper sub-class-of element (e.g.
of text/plain, application/xml, ...). From the magic it looks like an
XML format:

sub-class-of type=application/xml/


You can test the result with the tools gvfs-info, kmimetypefinder and
xdg-mime. Please check the results and post them if necessary.

Regards, Daniel






--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to properly register a program in KDE/GNOME

2009-11-22 Thread Charles Plessy
Le Sun, Nov 22, 2009 at 01:03:20PM +0100, Eric Lavarde a écrit :

 Any further ideas? Isn't there somewhere an official documentation on  
 how it's supposed to work? Should I use xdg-mime install directly to  
 register mime types, and possibly also xdg-icon-resource? Or is there a  
 dh_something function I might have missed?

Dear Eric,

there is dh_installmime. You can find a summary about MIME support on the
Debian wiki: http://wiki.debian.org/MimeTypesSupport

Have a nice day,

-- 
Charles


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



RFS: gdisk

2009-11-22 Thread Guillaume Delacour
Dear mentors,

I am looking for a sponsor for my package gdisk.

* Package name: gdisk
  Version : 0.5.0-1
  Upstream Author : Rod Smith rodsm...@rodsbooks.com
* URL : http://sourceforge.net/projects/gptfdisk/
* License : GPL-2
  Section : admin

It builds these binary packages:
gdisk  - GPT fdisk text-mode partitioning tool

The package appears to be lintian clean.

My motivation for maintaining this package is that i have an iMac with
gpt partition table and gdisk save me many times when editing MBR (fdisk
or parted bugs with GPT). GPT will be (soon ?) the next layout of
partition table. Upstream have Debian package built with alien ; i would
like to provide Debian standart packages in the main archive instead.

The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/g/gdisk
- Source repository: deb-src http://mentors.debian.net/debian unstable
main contrib non-free
- dget http://mentors.debian.net/debian/pool/main/g/gdisk/gdisk_0.5.0-1.dsc

I would be glad if someone uploaded this package for me.

Kind regards

-- 
Guillaume Delacour



signature.asc
Description: OpenPGP digital signature


Re: Fwd: ninja (updated package)

2009-11-22 Thread Barry deFreese
William Vera wrote:
 Hello mentors!
 I'm still looking for an upload for this package, can help me?
 
 Thanks!
 
 
 -- Forwarded message --
 From: William Vera bi...@billy.com.mx
 Date: Sat, Oct 31, 2009 at 10:00 PM
 Subject: ninja (updated package)
 To: debian-mentors debian-mentors@lists.debian.org
 
 
 Dear mentors,
 
 I am looking for a sponsor for the new version 0.1.2-4
 of my package ninja.
 
 It builds these binary packages:
 ninja  - Privilege escalation detection system for GNU/Linux
 
 The package appears to be lintian clean.
 
 The upload would fix these bugs: 550545
 
 The package can be found on mentors.debian.net:
 - URL: http://mentors.debian.net/debian/pool/main/n/ninja
 - Source repository: deb-src http://mentors.debian.net/debian unstable
 main contrib non-free
 - dget http://mentors.debian.net/debian/pool/main/n/ninja/ninja_0.1.2-4.dsc
 
 I would be glad if someone uploaded this package for me.
 
 Kind regards
  William Vera
 
 --
 William Vera bi...@billy.com.mx
 PGP Key: 1024D/F5CC22A4
 Fingerprint: 3E73 FA1F 5C57 6005 0439  4D75 1FD2 BF96 F5CC 22A4
 
 
 
Uploaded.  Thanks.

Barry deFreese


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [...@debian.org: Re: RFS: php-clamav]

2009-11-22 Thread Michael Tautschnig
Hi all,

Could someone ...

 HI and thanks for your response.
 
 Yes I have subscribe (
 http://qa.debian.org/developer.php?login=argo...@gmail.com) but it's my
 first upload :-).
 
 For history, php-clamav is a fork of actual and unmaintained php-clamavlib.
 It's break compatibility with older version of php and clamav.
 But I was fix bugs, and warning compilation.
 
 And I search a sponsor for this little package.
 
 For my name, sorry but I don't like show my real name on internet.
 

... please clarify, whether this is acceptable at all for copyright purposes?
(resending to debian-legal for that matter)

Thanks in advance,
Michael

PS.: Sorry for cross-posting.



pgpMIZ1NyEtso.pgp
Description: PGP signature


Re: [...@debian.org: Re: RFS: php-clamav]

2009-11-22 Thread Francesco Poli
On Sun, 22 Nov 2009 18:54:24 +0100 Michael Tautschnig wrote:

 Hi all,

Hi!

[...]
  Yes I have subscribe (
  http://qa.debian.org/developer.php?login=argo...@gmail.com) but it's my
  first upload :-).
[...]
  For my name, sorry but I don't like show my real name on internet.
  
 
 ... please clarify, whether this is acceptable at all for copyright purposes?
 (resending to debian-legal for that matter)

As far as copyright is concerned, it is my personal understanding that
anonymous and pseudonymous works are protected by copyright in all
Berne Convention signatory countries (that is to say, virtually
everywhere): see, for instance,
article 7, paragraph 3 of the Berne Convention
http://wipo.int/treaties/en/ip/berne/trtdocs_wo001.html#P127_22000
as well as article 15, paragraph 3
http://wipo.int/treaties/en/ip/berne/trtdocs_wo001.html#P192_37445


Whether the Debian Project is or is not willing to accept pseudonymous
works in its archive, it is up to the FTP Masters to decide, I think.


I hope this helps.


-- 
 New location for my website! Update your bookmarks!
 http://www.inventati.org/frx
. Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4


pgpDqJd5OHVES.pgp
Description: PGP signature


RFS: checkinstall (fixes RC bug)

2009-11-22 Thread Felipe Sateler

Dear mentors,

I am looking for a sponsor for the new version 1.6.1-10
of my package checkinstall.

It builds these binary packages:
checkinstall - installation tracker

The package is lintian clean, and fixes the FTBFS with newer glibc.

The upload would fix these bugs: 552860, 556725

The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/c/checkinstall
- Source repository: deb-src http://mentors.debian.net/debian unstable 
main contrib non-free
- dget 
http://mentors.debian.net/debian/pool/main/c/checkinstall/checkinstall_1.6.1-10.dsc


I would be glad if someone uploaded this package for me.

--
Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to properly register a program in KDE/GNOME

2009-11-22 Thread Charles Plessy
Le Sun, Nov 22, 2009 at 09:40:33PM -0300, Nicolas Alvarez a écrit :
 Eric Lavarde wrote:
  MimeType=application/x-freemind;
  Categories=Office;
 
 Are those semicolons supposed to be there?

Dear Nicolas,

MimeType and Categories are keys that can contain multiple values, and as such
should use a semicolon to delimitate them:

  Some keys can have multiple values. In such a case, the value of the key is
  specified as a plural: for example, string(s). The multiple values should be
  separated by a semicolon. Those keys which have several values should have a
  semicolon as the trailing character. Semicolons in these values need to be
  escaped using \;. 

  http://standards.freedesktop.org/desktop-entry-spec/1.0/ar01s03.html

In ‘http://standards.freedesktop.org/desktop-entry-spec/1.0/ar01s05.html’,
MimeType and Categories are listed as containing ‘string(s)’.

Accordingly, the tool desktop-file-validate will report an error about the
absence of the semicolon.

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: RFS: checkinstall (fixes RC bug)

2009-11-22 Thread Charles Plessy
Le Sun, Nov 22, 2009 at 09:21:44PM -0300, Felipe Sateler a écrit :

 The upload would fix these bugs: 552860, 556725

Dear Felipe,

I have uploaded the package. By the way, have you considered appliying as a DM
to upload it independantly? Judging by your changelog, you have a good track
record…

Another question I have is the upstream status of checkinstall. There are no
commits anymore in the Upstream git repository since November 2008. As a
consequence, your package is accumulating a lot of patches. Has Upstream
completely abandonned development and maintainance ? In the worse case, maybe
you can consult with the maintainers of the checkinstall packages of the other
distributions (the command ‘whohas’ will help you to find them).

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: RFS: checkinstall (fixes RC bug)

2009-11-22 Thread Felipe Sateler

Charles Plessy wrote:

Le Sun, Nov 22, 2009 at 09:21:44PM -0300, Felipe Sateler a écrit :

The upload would fix these bugs: 552860, 556725


Dear Felipe,

I have uploaded the package.


Thanks!

 By the way, have you considered appliying as a DM

to upload it independantly? Judging by your changelog, you have a good track
record…


I hadn't really thought of it. Checkinstall is small and requires little 
maintainance, and the rest of my packages are team maintained so that it 
is not usually a problem. I am in the NM process, so this looks like 
little overhead for a good gain :).




Another question I have is the upstream status of checkinstall. There are no
commits anymore in the Upstream git repository since November 2008. As a
consequence, your package is accumulating a lot of patches. Has Upstream
completely abandonned development and maintainance ? In the worse case, maybe
you can consult with the maintainers of the checkinstall packages of the other
distributions (the command ‘whohas’ will help you to find them).


Not really. The upstream maintainer has been sort of MIA in the past 
year, but most of the patches in the debian package are already in the 
upstream git repository (and he usually accepts proposed patches). 
Although I have not really been involved with upstream so I haven't 
pushed him to release or anything.



--
Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org