r18279 - in /desktop/experimental/epiphany-browser/debian: changelog rules

joss at users.alioth.debian.org joss at users.alioth.debian.org
Fri Jan 23 17:50:06 UTC 2009


Author: joss
Date: Fri Jan 23 17:50:05 2009
New Revision: 18279

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=18279
Log:
rules: append the Debian version to default-prefs.js so that it 
appears in the user-agent string. Closes: #509207.

Modified:
    desktop/experimental/epiphany-browser/debian/changelog
    desktop/experimental/epiphany-browser/debian/rules

Modified: desktop/experimental/epiphany-browser/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/epiphany-browser/debian/changelog?rev=18279&op=diff
==============================================================================
--- desktop/experimental/epiphany-browser/debian/changelog (original)
+++ desktop/experimental/epiphany-browser/debian/changelog Fri Jan 23 17:50:05 2009
@@ -2,6 +2,8 @@
 
   * Move the contents of README.Debian to epiphany-browser.README.Debian 
     so that it is actually shipped.
+  * rules: append the Debian version to default-prefs.js so that it 
+    appears in the user-agent string. Closes: #509207.
 
  -- Josselin Mouette <joss at debian.org>  Tue, 06 Jan 2009 13:05:29 +0100
 

Modified: desktop/experimental/epiphany-browser/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/epiphany-browser/debian/rules?rev=18279&op=diff
==============================================================================
--- desktop/experimental/epiphany-browser/debian/rules (original)
+++ desktop/experimental/epiphany-browser/debian/rules Fri Jan 23 17:50:05 2009
@@ -107,6 +107,10 @@
 	cd debian/epiphany-webkit && rm -rf etc usr/share usr/lib/pkgconfig usr/include
 	cd debian/epiphany-browser-data/usr/share/epiphany-browser && \
 		mv mime-types-permissions.xml default-prefs.js $(CURDIR)/debian/epiphany-browser-data/etc/gnome/epiphany/
+	# Add Debian version to the user agent
+	cd debian/epiphany-browser-data/etc/gnome/epiphany && \
+		echo >> default-prefs.js && \
+		echo 'pref("general.useragent.extra.epiphany.debian", "(Debian/$(DEB_VERSION))");' >> default-prefs.js
 	cd debian/epiphany-browser-data/usr/share/man/man1 && \
 		mv epiphany.1 epiphany-browser.1
 	# Correct help file paths




More information about the pkg-gnome-commits mailing list