From owner-svn-ports-all@freebsd.org Tue Oct 20 04:25:47 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1E20A193F1; Tue, 20 Oct 2015 04:25:46 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D49065E; Tue, 20 Oct 2015 04:25:46 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9K4PjdS075944; Tue, 20 Oct 2015 04:25:45 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9K4Pjr7075941; Tue, 20 Oct 2015 04:25:45 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201510200425.t9K4Pjr7075941@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 20 Oct 2015 04:25:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399802 - in head/editors/sublime3: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 04:25:47 -0000 Author: koobs Date: Tue Oct 20 04:25:45 2015 New Revision: 399802 URL: https://svnweb.freebsd.org/changeset/ports/399802 Log: editors/sublime3: Fix opening filepaths with spaces Sublime 3 contains a wrapper script at /usr/local/bin/sublime to ensure that /dev/shm is set up correctly, and it's currently passing arguments to the real binary incorrectly. It currently causes sublime to incorrectly open any file where the path contains a space. - Modify sublime.in to open filepaths with spaces correctly - Bump PORTREVISION While I'm here: - Sort USES - Group USE{S} lines - Pet portlint (make patch `makepatch` compliant) PR: 203783 Submitted by: Miguel (maintainer) MFH: 2015Q4 Modified: head/editors/sublime3/Makefile head/editors/sublime3/files/patch-sublime_text.desktop head/editors/sublime3/files/sublime.in Modified: head/editors/sublime3/Makefile ============================================================================== --- head/editors/sublime3/Makefile Tue Oct 20 03:54:05 2015 (r399801) +++ head/editors/sublime3/Makefile Tue Oct 20 04:25:45 2015 (r399802) @@ -3,6 +3,7 @@ PORTNAME= sublime PORTVERSION= 3.0.83 +PORTREVISION= 1 CATEGORIES= editors linux MASTER_SITES= http://c758482.r82.cf2.rackcdn.com/ PKGNAMEPREFIX= linux- @@ -11,7 +12,10 @@ DISTNAME= sublime_text_3_build_3083_x32 MAINTAINER= miguelmclara@gmail.com COMMENT= Sophisticated text editor for code, markup and prose -USES= tar:bzip2 desktop-file-utils +USES= desktop-file-utils tar:bzip2 +USE_LINUX= c6 +USE_LINUX_APPS= xorglibs gtk2 + INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/sublime_text_3 @@ -20,9 +24,6 @@ CONFLICTS= linux-sublime-[0-24-9]* NO_BUILD= SUB_FILES= sublime -USE_LINUX= c6 -USE_LINUX_APPS= xorglibs gtk2 - post-patch: ${BRANDELF} -t Linux ${WRKSRC}/sublime_text ${BRANDELF} -t Linux ${WRKSRC}/plugin_host Modified: head/editors/sublime3/files/patch-sublime_text.desktop ============================================================================== --- head/editors/sublime3/files/patch-sublime_text.desktop Tue Oct 20 03:54:05 2015 (r399801) +++ head/editors/sublime3/files/patch-sublime_text.desktop Tue Oct 20 04:25:45 2015 (r399802) @@ -1,6 +1,6 @@ ---- sublime_text.desktop.orig 2014-08-27 -+++ sublime_text.desktop -@@ -4,20 +4,9 @@ +--- sublime_text.desktop.orig 2015-03-26 07:23:04 UTC ++++ sublime_text.desktop +@@ -4,20 +4,9 @@ Type=Application Name=Sublime Text GenericName=Text Editor Comment=Sophisticated text editor for code, markup and prose Modified: head/editors/sublime3/files/sublime.in ============================================================================== --- head/editors/sublime3/files/sublime.in Tue Oct 20 03:54:05 2015 (r399801) +++ head/editors/sublime3/files/sublime.in Tue Oct 20 04:25:45 2015 (r399802) @@ -1,6 +1,6 @@ #!/compat/linux/bin/sh if [ -L "/dev/shm" ];then - %%DATADIR%%/sublime_text $* + %%DATADIR%%/sublime_text "$@" else echo "Some Linux applications use shared memory.