Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Philipe Gil
package-helpers
Commits
9f9b47a5
Commit
9f9b47a5
authored
7 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Disabled abrowser kde integration patches not applying correctly
parent
c9c34340
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-firefox
+28
-27
28 additions, 27 deletions
helpers/make-firefox
with
28 additions
and
27 deletions
helpers/make-firefox
+
28
−
27
View file @
9f9b47a5
...
...
@@ -18,38 +18,39 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
5
0
VERSION
=
5
1
.
./config
rm
debian/control
# KDE integration patches from https://www.rosenauer.org/hg/mozilla
# Use firefox$MAJORVERSION branch if available, otherwise use default
MAJORVERSION
=
$(
echo
`
pkgversion
`
| /bin/sed
's/\([0-9]\+\).*/\1/'
)
BRANCH
=
firefox
$MAJORVERSION
if
!
wget
--spider
https://rosenauer.org/hg/mozilla/log/
$BRANCH
;
then
BRANCH
=
default
fi
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
mozilla-kde.patch
abrowser-kde.patch
EOF
# Add kde.js file
echo
'pref("browser.preferences.instantApply", false);'
>
debian/kde.js
sed
-i
'/pre-build/r /dev/stdin'
debian/rules
<<
'
EOF
'
mkdir -p
$(
MOZ_DISTDIR
)
/bin/defaults/pref
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',
; }"
debian/patches/mozilla-kde.patch
# Disabled until the patches work on v57 with moz1382323.patch
## KDE integration patches from https://www.rosenauer.org/hg/mozilla
## Use firefox$MAJORVERSION branch if available, otherwise use default
#MAJORVERSION=$(echo `pkgversion` | /bin/sed 's/\([0-9]\+\).*/\1/')
#BRANCH=firefox$MAJORVERSION
#if ! wget --spider https://rosenauer.org/hg/mozilla/log/$BRANCH; then
# BRANCH=default
#fi
#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
#mozilla-kde.patch
#abrowser-kde.patch
#EOF
#
## Add kde.js file
#echo 'pref("browser.preferences.instantApply", false);' > debian/kde.js
#sed -i '/pre-build/r /dev/stdin' debian/rules << 'EOF'
# mkdir -p $(MOZ_DISTDIR)/bin/defaults/pref
# 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',
#; }" debian/patches/mozilla-kde.patch
# js settings
cat
$DATA
/settings.js
>>
debian/vendor-firefox.js
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment