Bug#647272: evince-gtk: MIME support is now missing?

2012-01-07 Thread Antoine Beaupré
On Sat, 07 Jan 2012 15:16:22 +0100, Josselin Mouette  wrote:
> We’ve been doing that for years, maintaining mailcap crap and waiting
> for people to write the tools to deprecate it. It hasn’t happened.

I am not talking about writing the tools but writing a change in the
policy. The tools will then have to come.

The way things stand in Debian right now, the mailcap is not "crap",
it's the official way of doing things. If we want to drop it we should
at *least* document the new way in the policy.

No?

-- 
Modern man has a kind of poverty of the spirit which stands
in great contrast to his remarkable scientific and technological
achievements. We've learned to walk in outer space and yet we
haven't learned to walk to earth as brothers and sisters.
- Dr. Martin Luther King, Jr.


pgpAgFTbUarZa.pgp
Description: PGP signature


Bug#647272: evince-gtk: MIME support is now missing?

2012-01-07 Thread Josselin Mouette
Le vendredi 06 janvier 2012 à 11:31 -0500, Antoine Beaupré a écrit :
> I do not object to the arguments brought forward however: it does make
> sense to deprecate the mailcap file, but it seems to me this should be
> done in an orderly fashion, not in a "shoot first ask questions later"
> approach. The way this is happening now just means I can't use Evince
> anymore..

We’ve been doing that for years, maintaining mailcap crap and waiting
for people to write the tools to deprecate it. It hasn’t happened.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'  “If you behave this way because you are blackmailed by someone,
  `-[…] I will see what I can do for you.”  -- Jörg Schilling




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



Bug#647272: evince-gtk: MIME support is now missing?

2012-01-06 Thread Antoine Beaupré
Package: evince
Version: 3.2.1-1
Followup-For: Bug #647272

I also find it unfortunate that a single package drops support
unilateraly. It's just one file to ship with the package, and is
causing major regressions in third party packages which assume this
"just works". In other words, I do not think the benefits justify the
breakage, for those of us that do not use a "Desktop Environment".

I do not object to the arguments brought forward however: it does make
sense to deprecate the mailcap file, but it seems to me this should be
done in an orderly fashion, not in a "shoot first ask questions later"
approach. The way this is happening now just means I can't use Evince
anymore..

In fact, we could say that Evince is not respecting the "Debian MIME
support sub-policy" as detailed here:

http://www.debian.org/doc/packaging-manuals/mime-policy/

This policy is still reference by the current Debian Policy:

http://www.debian.org/doc/debian-policy/ch-opersys.html#s-mime

If that policy needs to be changed, fine, but please do not break the
policy.

For those who want to fix this regression on their own, you can either
add the following mailcap lines:

application/pdf; /usr/bin/evince '%s'; test=test "$DISPLAY" != ""; 
description=Portable Document Format; nametemplate=%s.pdf
application/x-pdf; /usr/bin/evince '%s'; test=test "$DISPLAY" != ""; 
description=Portable Document Format;

... to either:

 a. your ~/.mailcap file
 b. to the top of the /etc/mailcap file (between the magic lines)
 c. or in /usr/lib/mime/packages/evince and rerun update-mime

Note: I have just taken the mime configuration of xpdf and replaced
xpdf with evince, which seems to work. Having the original evince mime
lines would probably be more appropriate here.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages evince depends on:
ii  evince-common3.2.1-1
ii  gnome-icon-theme 3.2.1.2-1
ii  libatk1.0-0  2.2.0-2
ii  libc62.13-21
ii  libcairo-gobject21.10.2-6.1
ii  libcairo21.10.2-6.1
ii  libevince3-3 3.2.1-1
ii  libfontconfig1   2.8.0-3
ii  libfreetype6 2.4.8-1
ii  libgail-3-0  3.2.2-3
ii  libgdk-pixbuf2.0-0   2.24.0-1
ii  libglib2.0-0 2.30.2-4
ii  libgnome-keyring03.2.2-1
ii  libgtk-3-0   3.2.2-3
ii  libice6  2:1.0.7-2
ii  libnautilus-extension1a  3.2.1-2+b1
ii  libpango1.0-01.29.4-2
ii  libsm6   2:1.2.0-2
ii  libx11-6 2:1.4.4-4
ii  libxml2  2.7.8.dfsg-5
ii  shared-mime-info 0.90-1
ii  zlib1g   1:1.2.3.4.dfsg-3

Versions of packages evince recommends:
ii  dbus-x11  1.4.16-1
ii  gvfs  1.10.1-2

Versions of packages evince suggests:
ii  nautilus  3.2.1-2+b1
ii  poppler-data  0.4.5-2
ii  unrar 1:4.0.3-1

-- no debconf information



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



Bug#647272: evince-gtk: MIME support is now missing?

2011-11-01 Thread Vaclav Ovsik
Package: evince-gtk
Version: 3.2.1-1
Severity: wishlist

Dear Maintainers,
I'm using the MUA Mutt and now the application Ghostview is used for PDF
attached documents in it :(. I can of course configure mailcap by hand,
but... Is there any alternative for people not using integrated desktop
environments after dropping the evince.mime and evince-gtk.mime? Maybe
I overlooked some mechanism to generate mailcap entries from desktop
files? (The bug should be reassigned somewhere.)

Citation:
>  [ Josselin Mouette ]
>  * bug-presubj: please document where to report rendering bugs.
>  * evince.mime: dropped. We have desktop files to handle MIME 
>associations, no need to maintain an alternate system by hand.
>Closes: #619564, #627027, #551734, #581441.

Or users of mime-support have bad luck? I understand the burden of
maintenance of MIME records and priorities especially, but I hope there
will be some solution for mailcap users.
Thanks
Best Regards
-- 
Zito


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages evince-gtk depends on:
ii  evince-common   3.2.1-1 
ii  gnome-icon-theme3.2.1.2-1   
ii  libatk1.0-0 2.2.0-2 
ii  libc6   2.13-21 
ii  libcairo-gobject2   1.10.2-6.1  
ii  libcairo2   1.10.2-6.1  
ii  libevince3-33.2.1-1 
ii  libfontconfig1  2.8.0-3 
ii  libfreetype62.4.7-2 
ii  libgail-3-0 3.0.12-2
ii  libgdk-pixbuf2.0-0  2.24.0-1
ii  libglib2.0-02.28.8-1
ii  libgtk-3-0  3.0.12-2
ii  libice6 2:1.0.7-2   
ii  libpango1.0-0   1.29.4-2
ii  libsm6  2:1.2.0-2   
ii  libx11-62:1.4.4-2   
ii  libxml2 2.7.8.dfsg-5
ii  shared-mime-info0.90-1  
ii  zlib1g  1:1.2.3.4.dfsg-3

Versions of packages evince-gtk recommends:
ii  dbus-x11  1.4.16-1

Versions of packages evince-gtk suggests:
ii  gvfs  1.8.2-2  
ii  nautilus  3.0.2-4  
ii  poppler-data  0.4.5-2  
ii  unrar 1:4.0.3-1

-- no debconf information



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