Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2013 19:20:01 GMT
From:      The BSD Dreamer <beastie@tardisi.com>
To:        chromium@FreeBSD.org
Subject:   Re: ports/175369: www/chromium: Chromimum Desktop Integration doesn't open URLs
Message-ID:  <201301261920.r0QJK1EE027840@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/175369; it has been noted by GNATS.

From: The BSD Dreamer <beastie@tardisi.com>
To: bug-followup@FreeBSD.org, beastie@tardisi.com
Cc:  
Subject: Re: ports/175369: www/chromium: Chromimum Desktop Integration doesn't
 open URLs
Date: Sat, 26 Jan 2013 13:16:46 -0600

 This is a multi-part message in MIME format.
 --------------000909080403000602010204
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 One of the diffs was wrong, here's the updated diffs against the current
 www/chromium.
 
 --------------000909080403000602010204
 Content-Type: text/plain; charset=UTF-8;
  name="patch.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch.txt"
 
 --- Makefile.orig	2013-01-23 15:43:43.000000000 -0600
 +++ Makefile	2013-01-26 09:50:49.763986586 -0600
 @@ -50,9 +50,6 @@
  USE_PKGCONFIG=	build
  MAN1=		chrome.1
  
 -DESKTOP_ENTRIES="Chromium" "Web browser" "${DATADIR}/product_logo_48.png" \
 -		"chrome" "Network;WebBrowser;GTK;" true
 -
  ALL_TARGET=	chrome
  
  # See build/common.gypi for all the available variables.
 @@ -187,6 +184,9 @@
  .endfor
  	cd ${WRKSRC}/out/${BUILDTYPE} && \
  		${COPYTREE_SHARE} "locales resources" ${DATADIR}
 +	${MKDIR} ${PREFIX}/share/applications
 +	${INSTALL_DATA} ${FILESDIR}/chromium-browser.desktop \
 +		${PREFIX}/share/applications
  	${LN} -sf ${DATADIR}/chrome ${PREFIX}/bin
  
  post-install:
 @@ -194,5 +194,6 @@
  	@${ECHO_MSG} "For best performance please enable shared memory support" 
  	@${ECHO_MSG} "in chromium by setting kern.ipc.shm_allow_removed=1"
  	@${ECHO_MSG} "========================================================" 
 +	-@update-desktop-database
  
  .include <bsd.port.post.mk>
 --- pkg-plist.orig	2013-01-10 19:50:26.000000000 -0600
 +++ pkg-plist	2013-01-26 09:52:36.215971366 -0600
 @@ -1,4 +1,5 @@
  bin/chrome
 +share/applications/chromium-browser.desktop
  %%DATADIR%%/chrome
  %%DATADIR%%/chrome-wrapper
  %%DATADIR%%/chrome.pak
 @@ -256,3 +257,5 @@
  @dirrm %%DATADIR%%/resources/extension
  @dirrm %%DATADIR%%/resources
  @dirrm %%DATADIR%%
 +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
 +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
 --- files/chromium-browser.desktop.orig	1969-12-31 18:00:00.000000000 -0600
 +++ files/chromium-browser.desktop	2013-01-26 09:52:22.383644657 -0600
 @@ -0,0 +1,11 @@
 +[Desktop Entry]
 +Type=Application
 +Version=1.0.0
 +Encoding=UTF-8
 +Name=Chromium
 +Comment=A mostly BSD-licensed web browser based on WebKit and Gtk+
 +Icon=/usr/local/share/chromium/product_logo_48.png
 +Exec=chrome %U
 +Categories=Application;Network;WebBrowser;
 +MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
 +StartupNotify=true
 
 --------------000909080403000602010204--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301261920.r0QJK1EE027840>