pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/31533
The following reply was made to PR pkg/31533; it has been noted by GNATS.
From: Pavel Cahyna <pcah8322%artax.karlin.mff.cuni.cz@localhost>
To: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: pkg/31533
Date: Wed, 12 Oct 2005 01:03:22 +0200
--xHFwDpU9dbj6ez1V
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 desktopdb.mk 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 desktopdb.mk file itself seems to do it somehow...
Pavel Cahyna
--xHFwDpU9dbj6ez1V
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_PKGINSTALL= yes
USE_LANGUAGES= c c++
+USE_DIRS+= xdg-1.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=
--with-freetype2-includes=${BUILDLINK_PREFIX.freetype2}/include/freetype2
@@ -39,14 +40,16 @@
${SED} ${FILES_SUBST_SED} $${f}.orig > $${f}; \
done
-# Used by supplemental packages.
post-install:
+ ${INSTALL_DATA} ${FILESDIR}/xpdf.desktop ${PREFIX}/share/applications
+# Used by supplemental packages.
${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf
.include "../../fonts/t1lib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.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]
+Encoding=UTF-8
+Name=X PDF
+Name[af]=X Pdf
+Name[bn]=���স পি-ডি-�ফ
+Name[de]=X-PDF
+Name[eo]=XPDF
+Name[es]=PDF para X
+Name[fr]=XPDF
+Name[hi]=���स प�ड��फ
+Name[ko]=Xì?© PDF
+Name[mn]=X-PDF
+MimeType=application/pdf
+GenericName=PDF Viewer
+GenericName[af]=Pdf Aansig
+GenericName[ar]=عارض Ù?Ù?Ù?ات PDF
+GenericName[az]=PDF NümayiÅ?çisi
+GenericName[bg]=Ð?Ñ?еглед на докÑ?менÑ?и PDF
+GenericName[bn]=পি-ডি-�ফ প�রদর�শ�
+GenericName[br]=Gweler PDF
+GenericName[bs]=Preglednik PDF dokumenata
+GenericName[ca]=Visor PDF
+GenericName[cs]=ProhlÞeÄ? PDF souborů
+GenericName[cy]=Gwelydd PDF
+GenericName[da]=PDF-fremviser
+GenericName[de]=PDF-Betrachter
+GenericName[el]=Î Ï?οβολÎαÏ? PDF
+GenericName[eo]=PDF-rigardilo
+GenericName[es]=Visor de documentos PDF
+GenericName[et]=PDF failide vaatamine
+GenericName[eu]=PDF ikustailua
+GenericName[fa]=Ù?Ù?اÛ?شگر PDF
+GenericName[fi]=PDF-N�ytt�j�
+GenericName[fo]=PDF-vÃsari
+GenericName[fr]=Afficheur PDF
+GenericName[fy]=PDF-werjefteprogramma
+GenericName[ga]=Amharcán PDF
+GenericName[gl]=Visualizador de PDF
+GenericName[he]=×?צ×?×? ק×?צ×? PDF
+GenericName[hi]=प�ड��फ प�रदर�श�
+GenericName[hr]=Preglednik PDF dokumenata
+GenericName[hu]=PDF-nézegetÅ?
+GenericName[id]=Viewer PDF
+GenericName[is]=PDF-sjá
+GenericName[it]=Visualizzatore PDF
+GenericName[ja]=PDFã??ã?¥ã?¼ã?¢
+GenericName[ko]=PDF 보기
+GenericName[lo]=ສະ����ົ�PDF
+GenericName[lt]=PDF Žiūriklis
+GenericName[lv]=PDF SkatÄ«tÄ?js
+GenericName[mk]=Ð?Ñ?егледÑ?ваÑ? на PDF-даÑ?оÑ?еки
+GenericName[mn]=PDF-ХаÑ?агÑ?
+GenericName[mt]=Werrej PDF
+GenericName[nb]=PDF-leser
+GenericName[nds]=Kieker för PDF-Dateien
+GenericName[nl]=PDF-weergaveprogramma
+GenericName[nn]=PDF-lesar
+GenericName[nso]=Molebeledi wa PDF
+GenericName[oc]=Visualisor PDF
+GenericName[pa]=PDF ਦਰਸ਼�
+GenericName[pl]=PrzeglÄ?darka plików PDF
+GenericName[pt]=Visualizador de PDFs
+GenericName[pt_BR]=Visualizador de arquivos PDF
+GenericName[ro]=Vizualizor de documente PDF
+GenericName[ru]=Ð?Ñ?огÑ?амма пÑ?оÑ?моÑ?Ñ?а докÑ?менÑ?ов PDF
+GenericName[se]=PDF-logan
+GenericName[sk]=PrehliadaÄ? PDF súborov
+GenericName[sl]=Pregledovalnik datotek PDF
+GenericName[sr]=PDF пÑ?иказиваÑ?
+GenericName[sr@Latn]=PDF prikazivaÄ?
+GenericName[ss]=Sibuki se PDF
+GenericName[sv]=PDF-visare
+GenericName[ta]=PDF �ா���ி
+GenericName[tg]=Ð?амоиÑ?гаÑ?и PDF
+GenericName[th]=�ัว�ส���ล PDF
+GenericName[tr]=PDF Görüntüleyici
+GenericName[uk]=Ð?еÑ?еглÑ?даÑ? PDF
+GenericName[uz]=PDF кÑ?Ñ?Ñ?вÑ?и
+GenericName[ven]=Tshivhoni tsha PDF
+GenericName[vi]=Trình xem PDF
+GenericName[wa]=HÃ¥yneu di documints PDF
+GenericName[zh_CN]=PDF æ?¥ç??å?¨
+GenericName[zh_TW]=PDF 檢���
+GenericName[zu]=Umbukisi we-PDF
+Exec=xpdf
+Icon=gv
+Path=
+Type=Application
+Terminal=false
+X-KDE-StartupNotify=false
--xHFwDpU9dbj6ez1V--
Home |
Main Index |
Thread Index |
Old Index