Subject: Re: pkg/31533
To: None <,,>
From: Pavel Cahyna <>
List: pkgsrc-bugs
Date: 10/11/2005 23:04:02
The following reply was made to PR pkg/31533; it has been noted by GNATS.

From: Pavel Cahyna <>
To: "Jeremy C. Reed" <>
Subject: Re: pkg/31533
Date: Wed, 12 Oct 2005 01:03:22 +0200

 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 On Tue, Oct 11, 2005 at 02:19:44PM -0700, Jeremy C. Reed wrote:
 > I see that pkgsrc/sysutils/desktop-file-utils has a file 
 > which says:
 > # This Makefile fragment is intended to be included by packages that install
 > # desktop entries.  It takes care of registering them in the global 
 > database.
 > Have a look at that.
 Attached patch fixes the issue for me. Please check carefully, I don't
 know what I'm doing.
 The .desktop file is stolen from Gentoo - kappfinder-3.4.1 package.
 > I see some packages do include it, like gpdf, ggv, totem, epiphany, etc.
 > But I am not sure what handles the running of update-desktop-database.
 the file itself seems to do it somehow...
 Pavel Cahyna
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: attachment; filename="mime.diff"
 Content-Transfer-Encoding: 8bit
 ? README.html
 ? files
 ? mime.diff
 Index: Makefile
 RCS file: /cvsroot/pkgsrc/print/xpdf/Makefile,v
 retrieving revision 1.39
 diff -u -r1.39 Makefile
 --- Makefile	7 Sep 2005 15:19:08 -0000	1.39
 +++ Makefile	11 Oct 2005 22:50:26 -0000
 @@ -16,6 +16,7 @@
 +USE_DIRS+=		xdg-1.1
  CONFIGURE_ARGS+=	--with-freetype2-includes=${BUILDLINK_PREFIX.freetype2}/include/freetype2
 @@ -39,14 +40,16 @@
  		${SED} ${FILES_SUBST_SED} $${f}.orig > $${f}; \
 -# Used by supplemental packages.
 +	${INSTALL_DATA} ${FILESDIR}/xpdf.desktop ${PREFIX}/share/applications
 +# Used by supplemental packages.
  	${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf
  .include "../../fonts/t1lib/"
  .include "../../graphics/freetype2/"
  .include "../../graphics/xpm/"
  .include "../../mk/"
 +.include "../../sysutils/desktop-file-utils/"
  .include "../../mk/"
 --- /dev/null	2005-10-12 00:50:26.000000000 +0200
 +++ files/xpdf.desktop	2005-10-12 00:12:39.000000000 +0200
 @@ -0,0 +1,90 @@
 +[Desktop Entry]
 +Name=X PDF
 +Name[af]=X Pdf
 +Name[bn]=~O~U~Mস পি-ডি-~Oফ
 +Name[es]=PDF para X
 +Name[hi]=~O~U~Mस प~@ड~@~Oफ
 +Name[ko]=X~Z PDF
 +GenericName=PDF Viewer
 +GenericName[af]=Pdf Aansig
 +GenericName[ar]=عارض ~E~D~Aات PDF
 +GenericName[az]=PDF Nümayi~_çisi
 +GenericName[bg]=~_~@еглед на док~Cмен~Bи PDF
 +GenericName[bn]=পি-ডি-~Oফ প~Mরদর~Mশ~U
 +GenericName[br]=Gweler PDF
 +GenericName[bs]=Preglednik PDF dokumenata
 +GenericName[ca]=Visor PDF
 +GenericName[cs]=Prohlíže~M PDF souborů
 +GenericName[cy]=Gwelydd PDF
 +GenericName[el]=Π~Aοβολέα~B PDF
 +GenericName[es]=Visor de documentos PDF
 +GenericName[et]=PDF failide vaatamine
 +GenericName[eu]=PDF ikustailua
 +GenericName[fa]=~F~Eا~Lشگر PDF
 +GenericName[fr]=Afficheur PDF
 +GenericName[ga]=Amharcán PDF
 +GenericName[gl]=Visualizador de PDF
 +GenericName[he]=~^צ~Y~R ק~Qצ~Y PDF
 +GenericName[hi]=प~@ड~@~Oफ प~Mरदर~Mश~U
 +GenericName[hr]=Preglednik PDF dokumenata
 +GenericName[id]=Viewer PDF
 +GenericName[it]=Visualizzatore PDF
 +GenericName[ko]=PDF 보기
 +GenericName[lt]=PDF Žiūriklis
 +GenericName[lv]=PDF Skatīt~Ajs
 +GenericName[mk]=~_~@еглед~Cва~G на PDF-да~Bо~Bеки
 +GenericName[mt]=Werrej PDF
 +GenericName[nds]=Kieker för PDF-Dateien
 +GenericName[nso]=Molebeledi wa PDF
 +GenericName[oc]=Visualisor PDF
 +GenericName[pa]=PDF ਦਰਸ਼~U
 +GenericName[pl]=Przegl~Edarka plików PDF
 +GenericName[pt]=Visualizador de PDFs
 +GenericName[pt_BR]=Visualizador de arquivos PDF
 +GenericName[ro]=Vizualizor de documente PDF
 +GenericName[ru]=~_~@ог~@амма п~@о~Aмо~B~@а док~Cмен~Bов PDF
 +GenericName[sk]=Prehliada~M PDF súborov
 +GenericName[sl]=Pregledovalnik datotek PDF
 +GenericName[sr]=PDF п~@иказива~G
 +GenericName[sr@Latn]=PDF prikaziva~M
 +GenericName[ss]=Sibuki se PDF 
 +GenericName[ta]=PDF ~Uா~_~M~Zி
 +GenericName[tg]=~]амои~Hга~@и PDF
 +GenericName[th]=~Uัว~Aส~T~G~\ล PDF
 +GenericName[tr]=PDF Görüntüleyici
 +GenericName[uk]=~_е~@егл~Oда~G PDF
 +GenericName[uz]=PDF к~^~@~Cв~Gи
 +GenericName[ven]=Tshivhoni tsha PDF
 +GenericName[vi]=Trình xem PDF
 +GenericName[wa]=Håyneu di documints PDF
 +GenericName[zh_CN]=PDF ~_~\~K~Y
 +GenericName[zh_TW]=PDF 檢~V~K~O
 +GenericName[zu]=Umbukisi we-PDF