FreeBSD Bugzilla – Attachment 152645 Details for
Bug 197381
[mantainer] centos-6 editors/sublime3 update (patch desktop file, add shm check)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
destop_file_plus_shm
sublime_desktopfile_shmcheck.diff (text/plain), 2.16 KB, created by
miguelmclara
on 2015-02-07 00:31:53 UTC
(
hide
)
Description:
destop_file_plus_shm
Filename:
MIME Type:
Creator:
miguelmclara
Created:
2015-02-07 00:31:53 UTC
Size:
2.16 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 378327) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= sublime > PORTVERSION= 3.0.65 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= editors linux > MASTER_SITES= http://c758482.r82.cf2.rackcdn.com/ > PKGNAMEPREFIX= linux- >Index: files/patch-sublime_text.desktop >=================================================================== >--- files/patch-sublime_text.desktop (revision 0) >+++ files/patch-sublime_text.desktop (working copy) >@@ -0,0 +1,24 @@ >+--- sublime_text.desktop.orig 2014-08-27 >++++ sublime_text.desktop >+@@ -4,20 +4,9 @@ >+ Name=Sublime Text >+ GenericName=Text Editor >+ Comment=Sophisticated text editor for code, markup and prose >+-Exec=/opt/sublime_text/sublime_text %F >++Exec=/usr/local/bin/sublime %F >+ Terminal=false >+ MimeType=text/plain; >+ Icon=sublime-text >+ Categories=TextEditor;Development; >+ StartupNotify=true >+-Actions=Window;Document; >+- >+-[Desktop Action Window] >+-Name=New Window >+-Exec=/opt/sublime_text/sublime_text -n >+-OnlyShowIn=Unity; >+- >+-[Desktop Action Document] >+-Name=New File >+-Exec=/opt/sublime_text/sublime_text --command new_file >+-OnlyShowIn=Unity; > >Property changes on: files/patch-sublime_text.desktop >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/sublime.in >=================================================================== >--- files/sublime.in (revision 378327) >+++ files/sublime.in (working copy) >@@ -1,2 +1,15 @@ > #!/compat/linux/bin/sh >-%%DATADIR%%/sublime_text $* >+if [ -L "/dev/shm" ];then >+ %%DATADIR%%/sublime_text $* >+else >+ echo "Some Linux applications use shared memory. >+ >+Sublime Text 3 can not function without it, you need to set up a link >+from /dev/shm to a suitable place, e.g. by adding the following line >+to /etc/devfs.conf (takes effect on each boot - restart devfs to apply >+then change now): >+ link /tmp shm >+" >+ exit 1; >+fi >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197381
: 152645