From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12841 invoked by alias); 26 Oct 2011 02:47:18 -0000 Received: (qmail 12830 invoked by uid 22791); 26 Oct 2011 02:47:17 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-vx0-f171.google.com (HELO mail-vx0-f171.google.com) (209.85.220.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Oct 2011 02:47:01 +0000 Received: by vcbfk13 with SMTP id fk13so1428162vcb.2 for ; Tue, 25 Oct 2011 19:46:58 -0700 (PDT) Received: by 10.52.176.98 with SMTP id ch2mr30769257vdc.82.1319597218931; Tue, 25 Oct 2011 19:46:58 -0700 (PDT) Received: from [192.168.0.100] (S0106000cf16f58b1.wp.shawcable.net. [24.79.200.150]) by mx.google.com with ESMTPS id ha1sm455151vdb.17.2011.10.25.19.46.57 (version=SSLv3 cipher=OTHER); Tue, 25 Oct 2011 19:46:58 -0700 (PDT) Subject: cygutils: cygstart FD.o integration From: "Yaakov (Cygwin/X)" To: cygwin-apps Date: Wed, 26 Oct 2011 02:47:00 -0000 Content-Type: multipart/mixed; boundary="=-36AETnXiZl4plhIsLpOF" Message-ID: <1319597221.7192.9.camel@YAAKOV04> Mime-Version: 1.0 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2011-10/txt/msg00076.txt.bz2 --=-36AETnXiZl4plhIsLpOF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Content-length: 294 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 --=-36AETnXiZl4plhIsLpOF Content-Disposition: attachment; filename="cygstart-fdo-desktop.patch" Content-Type: text/x-patch; name="cygstart-fdo-desktop.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit Content-length: 1522 2011-10-25 Yaakov Selkowitz 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 = \ --=-36AETnXiZl4plhIsLpOF Content-Type: application/x-bzip-compressed-tar; name="cygstart-fdo-desktop.tar.bz2" Content-Disposition: attachment; filename="cygstart-fdo-desktop.tar.bz2" Content-Transfer-Encoding: base64 Content-length: 850 QlpoOTFBWSZTWZS8IYQAAfd/jOQQAQBSE//fv6OPqn/v3+ACAAAAgAhAAjzX d3SVIip5qJkyYhoYmEyGmmjQ0AMQwIBkinhBplMU2oxDQMQAAAZNGgGqnvUp +qA0AZGgAD1A00GgAAASREajUxNBgE9QMgGgDQB6j1AKz289Ul/d4ySTyEhG C9shfMCw0EjWGEgYHMlKCs8dWplXLTQUCrGA1xMURHJXvau1ayzw9KpruN9/ Ox8V0tyrIjV0xEUOsJogYaWAsN4Iq8NsZZa8Duao+PPK4M40+LRbS2DCGgYD u7KRbBEBzO4MY9aBEKhIEBDAVYQoFjH4pCBMxhxFLWI4WChEYkP1PL7rENQ6 1/3C0IlZBu2DhBIgUoOh9iJFmA5wpDuhg6HlGr8dVLIM0LcsDwGL0o0M0oa5 KsooGGpQ+haWVYNY2meIVqXXEN5Igad90qLXfUxuCM12fa/e3jNlS4jKOIhc Vh572TNLVGac4C4BT4KhCksK0GaSSvhf6QgRQCInqQ6dLmXcjgH0Zq9OvHnR 1ZbqtuFVJwYVWJiHDxE4zigm+i3yBEp6s74Ufe9VD8HsLCNIRbGxXLJFWR6Y tnV+60BE0+3GAyGGgt3BbzO17fVKmE07WBkEzJ9qNEFEg6HgpZ/LNk8bbbYf ChOiEhGhTyvJl2i3vCjEuzyr3ieq6/kEfmBIsRNSBfeKICdrXI3BukxSmsvB sevO5cxzZSBmw/2SQonuF4HJOWocjHFDOCNTS2zNK17SRixl3HSzdotomCVX pv4b4FkQ/DMFlWwsITwik8Hk9e7fiIExA2xuVID/F3JFOFCQlLwhhA== --=-36AETnXiZl4plhIsLpOF--