Commit ce6a8235 by Ruben Rodriguez

Disabled abrowser kde integration patches not applying correctly

parent 86c7c0cd
...@@ -18,38 +18,39 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment