tell the user to report the bug against libwebkit-1.0-2 if they reproduce it in the Webkit test browser. Figure out the package name and the path to GtkLauncher automagically during build. (Closes: #562501)

This commit is contained in:
Ryan Niebur 2009-12-24 17:35:51 -08:00
parent 2ddea89df7
commit c8c273404d
5 changed files with 21 additions and 6 deletions

6
debian/changelog vendored
View file

@ -10,8 +10,12 @@ midori (0.2.2-1) UNRELEASED; urgency=low
- Ctrl-u in urlbar with emacs key binding theme works (Closes: #538327) - Ctrl-u in urlbar with emacs key binding theme works (Closes: #538327)
* move libjs-mootools to Recommends, it's not required (Closes: * move libjs-mootools to Recommends, it's not required (Closes:
#547584) #547584)
* tell the user to report the bug against libwebkit-1.0-2 if they
reproduce it in the Webkit test browser. Figure out the package name
and the path to GtkLauncher automagically during build. (Closes:
#562501)
-- Ryan Niebur <ryan@debian.org> Thu, 24 Dec 2009 17:24:00 -0800 -- Ryan Niebur <ryan@debian.org> Thu, 24 Dec 2009 17:35:45 -0800
midori (0.2.0-1) unstable; urgency=low midori (0.2.0-1) unstable; urgency=low

1
debian/clean vendored
View file

@ -1,2 +1,3 @@
midori/midori-debian.h midori/midori-debian.h
debian/midori.postinst debian/midori.postinst
debian/presubj

5
debian/presubj vendored
View file

@ -1,5 +0,0 @@
Sometimes a problem in Midori is caused by a bug in the rendering
engine, Webkit. Please take a moment to try to reproduce bugs with
the Webkit test browser, /usr/lib/webkit-1.0/libexec/GtkLauncher.
You may also wish to see if your bug has already been reported
as a webkit bug: http://bugs.debian.org/src:webkit

7
debian/presubj.in vendored Normal file
View file

@ -0,0 +1,7 @@
Sometimes a problem in Midori is caused by a bug in the rendering
engine, Webkit. Please take a moment to try to reproduce bugs with
the Webkit test browser, %GTKLAUNCHER%.
If you are able to reproduce your bug in the Webkit test browser,
report the bug against %LIBWEBKIT_PKG% instead. You may also wish
to see if your bug has already been reported as a webkit bug:
http://bugs.debian.org/src:webkit

8
debian/rules vendored
View file

@ -2,6 +2,8 @@
CMD=$(shell echo $@ | sed 's/override_//') CMD=$(shell echo $@ | sed 's/override_//')
LIBWEBKIT_PKG=$(shell dpkg-query -p libwebkit-dev | grep Depends | sed -r 's/.*(libwebkit[^ ]+).*/\1/')
GTKLAUNCHER=$(shell dpkg-query -L $(LIBWEBKIT_PKG) | grep GtkLauncher)
DISTRO=$(shell lsb_release -is) DISTRO=$(shell lsb_release -is)
CONFIG_FILE=debian/config/$(DISTRO).h CONFIG_FILE=debian/config/$(DISTRO).h
ifneq (0, $(shell test -e $(CONFIG_FILE); echo "$$?")) ifneq (0, $(shell test -e $(CONFIG_FILE); echo "$$?"))
@ -19,6 +21,12 @@ override_dh_quilt_patch:
#WAF=/usr/bin/waf #WAF=/usr/bin/waf
WAF=./waf WAF=./waf
debian/presubj: debian/presubj.in
sed -e "s,%LIBWEBKIT_PKG%,$(LIBWEBKIT_PKG),g" -e "s,%GTKLAUNCHER%,$(GTKLAUNCHER),g" $@.in > $@
override_dh_install: debian/presubj
$(CMD)
override_dh_auto_clean: override_dh_auto_clean:
$(WAF) --nocache distclean $(WAF) --nocache distclean
rm -rf _build_ rm -rf _build_