[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-06 Thread Mike Pontillo
Okay, here's attempt #2. This one integrates the script into the build process instead. I didn't do this at first, since I wasn't sure if whoever was building the package would always have the same /etc/lsb-release info as the target distribution. Am I being too pedantic adding 'mktemp' and

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-06 Thread Mike Pontillo
Modified patch to not require sed, or a helper script. ** Attachment added: Patch to modify default prefs file with the correct useragent string during build process (without using sed or a helper script!) http://launchpadlibrarian.net/26409331/23_lsb_useragent.patch -- Epiphany doesn't

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-06 Thread Alexander Sack
please use lsb_release -s -c for the general.useragent.vendorComment text. besides from that its ok. Please include a changelog entry in your diff (aka full debdiff). -- Epiphany doesn't mention Ubuntu in user agent string https://bugs.launchpad.net/bugs/332253 You received this bug

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-06 Thread Mike Pontillo
Okay, I think I've really got it now. Better debdiff attached. Sorry for the spam. ** Attachment added: debd http://launchpadlibrarian.net/26412707/epiphany_lsb_release_good_debdiff.patch -- Epiphany doesn't mention Ubuntu in user agent string https://bugs.launchpad.net/bugs/332253 You

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-06 Thread Mike Pontillo
... and here's the debdiff. (with a small bug fix as well) ** Attachment added: debdiff to correct epiphany useragent string http://launchpadlibrarian.net/26411305/epiphany_lsb_useragent_debdiff.patch -- Epiphany doesn't mention Ubuntu in user agent string

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package epiphany-browser - 2.26.1-0ubuntu2 --- epiphany-browser (2.26.1-0ubuntu2) karmic; urgency=low * Fix default prefs file to use info from lsb_release (LP: #332253) -- Mike Pontillo ponti...@gmail.com Wed, 06 May 2009 15:30:31 -0700 ** Changed

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-04 Thread Sebastien Bacher
using postinst commands is the wrong way you can simply ship a .js with the pacakge or patch the source as debian is doing -- Epiphany doesn't mention Ubuntu in user agent string https://bugs.launchpad.net/bugs/332253 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-04 Thread Mike Pontillo
I had a feeling that might be the case, but based on Alexander's suggestion above, I wasn't sure where the best place to modify the .js file would be. If Debian already has this same fix in native code, then I agree, that's the way to go. We could use the same script at the time of packaging

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-04 Thread Sebastien Bacher
there is probably no need to bother using lsb values, static versions should work or use those in the rules to build the .js at build time rather -- Epiphany doesn't mention Ubuntu in user agent string https://bugs.launchpad.net/bugs/332253 You received this bug notification because you are a

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-03 Thread Mike Pontillo
I've never worked with Debian packages (other than with checkinstall) before, but would something like this do the trick? The script depends on: echo mktemp lsb_release cut sed cat rm It unconditionally replaces the default user-agent string every time the script is run. I tested

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-05-03 Thread Mike Pontillo
** Changed in: epiphany-browser (Ubuntu) Status: Confirmed = In Progress ** Changed in: epiphany-browser (Ubuntu) Assignee: Ubuntu Desktop Bugs (desktop-bugs) = Mike Pontillo (mpontillo) -- Epiphany doesn't mention Ubuntu in user agent string https://bugs.launchpad.net/bugs/332253

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-03-10 Thread Alexander Sack
the prefs you need to set are: general.useragent.vendor=Ubuntu (get this from lsb_release -i) general.useragent.vendorComment=jaunty (get this from lsb_release -c) general.useragent.vendorSub=9.04 (get this from lsb_release -r) -- Epiphany doesn't mention Ubuntu in user agent string

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-03-10 Thread Alexander Sack
e.g. put the prefs in /usr/share/epiphany-browser/default-prefs.js -- Epiphany doesn't mention Ubuntu in user agent string https://bugs.launchpad.net/bugs/332253 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-02-21 Thread Sebastien Bacher
thank you for your bug report, that would be a nice task for a new contributor to work on ** Changed in: epiphany-browser (Ubuntu) Importance: Low = Wishlist Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) Status: New = Confirmed -- Epiphany doesn't mention Ubuntu in

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-02-20 Thread Pedro Villavicencio
** Changed in: epiphany-browser (Ubuntu) Importance: Undecided = Low -- Epiphany doesn't mention Ubuntu in user agent string https://bugs.launchpad.net/bugs/332253 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 332253] Re: Epiphany doesn't mention Ubuntu in user agent string

2009-02-20 Thread Dan Kegel
** Description changed: Binary package hint: epiphany-browser The Wine project is trying to streamline their download page by detecting the distribution of visitors. However, Epiphany doesn't - mention Ubuntu in the user agent string, so it's impossible to detect. + mention Ubuntu in the