This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygutils: cygstart FD.o integration


The attached patch and new files integrate cygstart into the
Freedesktop.org desktop menu system.  This allows Windows-specific files
(e.g. .exe, .com, .bat, .msi, .themepack) to be easily opened by
cygstart from within FD.o/X file managers (e.g. Nautilus, Thunar,
PCManFM, Dolphin).


Yaakov

2011-10-25  Yaakov Selkowitz  <yselkowitz@...>

	Integrate cygstart with FD.o menu and mimetype system.
	* src/cygstart/cygstart.desktop: New file.
	* src/cygstart/cygutils.xml: New file.
	* Makefile.am: Dist and install these files.

Index: Makefile.am
===================================================================
RCS file: /cvs/cygwin-apps/cygutils/Makefile.am,v
retrieving revision 1.36
diff -u -p -r1.36 Makefile.am
--- Makefile.am	28 Apr 2011 17:41:03 -0000	1.36
+++ Makefile.am	26 Oct 2011 02:21:55 -0000
@@ -15,6 +15,8 @@ windows_progs = src/banner/banner src/cl
 	src/readshortcut/readshortcut
 windows_ltlibraries = src/cygicons/libicons.la
 windows_headers = src/cygicons/cygicons.h
+xdg_menus       = src/cygstart/cygstart.desktop
+xdg_mimes       = src/cygstart/cygutils.xml
 cygicons_docs   = src/cygicons/README
 lpr_docs        = src/lpr/README
 endif
@@ -54,6 +56,12 @@ doc_DATA = \
 licensesdir = $(docdir)/licenses
 licenses_DATA = $(licenses)
 
+xdg_menudir   = $(datadir)/applications
+xdg_menu_DATA = $(xdg_menus)
+
+xdg_mimedir   = $(datadir)/mime/packages
+xdg_mime_DATA = $(xdg_mimes)
+
 EXTRA_PROGRAMS = src/banner/banner src/clip/getclip src/clip/putclip \
 	src/cygstart/cygstart \
 	src/ipc/semtool src/ipc/shmtool \
@@ -94,6 +102,7 @@ cygicons_list = \
 EXTRA_DIST = bootstrap common.h \
    BRANCHES $(man_MANS) $(doc_DATA) $(EXTRA_SCRIPTS) \
    $(licenses) $(po_files) $(extra_docs) $(cygicons_list) \
+   $(xdg_menus) $(xdg_mimes) \
    src/cygicons/hippo.svg
 
 DISTCLEANFILES = \

Attachment: cygstart-fdo-desktop.tar.bz2
Description: application/bzip-compressed-tar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]