Disabled abrowser kde integration patches not applying correctly
This commit is contained in:
parent
c9c343408c
commit
9f9b47a599
1 changed files with 28 additions and 27 deletions
|
|
@ -18,38 +18,39 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=50
|
VERSION=51
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
rm debian/control
|
rm debian/control
|
||||||
|
|
||||||
# KDE integration patches from https://www.rosenauer.org/hg/mozilla
|
# Disabled until the patches work on v57 with moz1382323.patch
|
||||||
# Use firefox$MAJORVERSION branch if available, otherwise use default
|
## KDE integration patches from https://www.rosenauer.org/hg/mozilla
|
||||||
MAJORVERSION=$(echo `pkgversion` | /bin/sed 's/\([0-9]\+\).*/\1/')
|
## Use firefox$MAJORVERSION branch if available, otherwise use default
|
||||||
BRANCH=firefox$MAJORVERSION
|
#MAJORVERSION=$(echo `pkgversion` | /bin/sed 's/\([0-9]\+\).*/\1/')
|
||||||
if ! wget --spider https://rosenauer.org/hg/mozilla/log/$BRANCH; then
|
#BRANCH=firefox$MAJORVERSION
|
||||||
BRANCH=default
|
#if ! wget --spider https://rosenauer.org/hg/mozilla/log/$BRANCH; then
|
||||||
fi
|
# BRANCH=default
|
||||||
wget https://rosenauer.org/hg/mozilla/raw-file/$BRANCH/mozilla-kde.patch -O debian/patches/mozilla-kde.patch
|
#fi
|
||||||
wget https://rosenauer.org/hg/mozilla/raw-file/$BRANCH/firefox-kde.patch -O debian/patches/abrowser-kde.patch
|
#wget https://rosenauer.org/hg/mozilla/raw-file/$BRANCH/mozilla-kde.patch -O debian/patches/mozilla-kde.patch
|
||||||
|
#wget https://rosenauer.org/hg/mozilla/raw-file/$BRANCH/firefox-kde.patch -O debian/patches/abrowser-kde.patch
|
||||||
# Add to series
|
#
|
||||||
cat << EOF >> debian/patches/series
|
## Add to series
|
||||||
mozilla-kde.patch
|
#cat << EOF >> debian/patches/series
|
||||||
abrowser-kde.patch
|
#mozilla-kde.patch
|
||||||
EOF
|
#abrowser-kde.patch
|
||||||
|
#EOF
|
||||||
# Add kde.js file
|
#
|
||||||
echo 'pref("browser.preferences.instantApply", false);' > debian/kde.js
|
## Add kde.js file
|
||||||
sed -i '/pre-build/r /dev/stdin' debian/rules << 'EOF'
|
#echo 'pref("browser.preferences.instantApply", false);' > debian/kde.js
|
||||||
mkdir -p $(MOZ_DISTDIR)/bin/defaults/pref
|
#sed -i '/pre-build/r /dev/stdin' debian/rules << 'EOF'
|
||||||
cp $(CURDIR)/debian/kde.js $(MOZ_DISTDIR)/bin/defaults/pref/kde.js
|
# mkdir -p $(MOZ_DISTDIR)/bin/defaults/pref
|
||||||
EOF
|
# cp $(CURDIR)/debian/kde.js $(MOZ_DISTDIR)/bin/defaults/pref/kde.js
|
||||||
|
#EOF
|
||||||
# A line is added to widget/gtk/moz.build by unity-menubar.patch, so we have to fix mozilla-kde.patch
|
#
|
||||||
sed -i "/widget\/gtk\/moz\.build/,/widget\/gtk\/nsFilePicker\.cpp/{ /chromium/d; /generic/a\ \ \ \ \ '/layout/style',
|
## A line is added to widget/gtk/moz.build by unity-menubar.patch, so we have to fix mozilla-kde.patch
|
||||||
; }" debian/patches/mozilla-kde.patch
|
#sed -i "/widget\/gtk\/moz\.build/,/widget\/gtk\/nsFilePicker\.cpp/{ /chromium/d; /generic/a\ \ \ \ \ '/layout/style',
|
||||||
|
#; }" debian/patches/mozilla-kde.patch
|
||||||
|
|
||||||
# js settings
|
# js settings
|
||||||
cat $DATA/settings.js >> debian/vendor-firefox.js
|
cat $DATA/settings.js >> debian/vendor-firefox.js
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue