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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
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
Eliab Andi Artz
package-helpers
Commits
d9743c7c
Commit
d9743c7c
authored
12 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Updated firefox and ubufox for v17
parent
8298f4a4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/make-firefox
+13
-12
13 additions, 12 deletions
helpers/make-firefox
helpers/make-ubufox
+2
-4
2 additions, 4 deletions
helpers/make-ubufox
with
15 additions
and
16 deletions
helpers/make-firefox
+
13
−
12
View file @
d9743c7c
#!/bin/sh
#!/bin/
ba
sh
#
# Copyright (C) 2008-2012 Ruben Rodriguez <ruben@trisquel.info>
#
...
...
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=
2
VERSION=
3
. ./config
...
...
@@ -25,7 +25,7 @@ rm debian/control
# Make ubufox mandatory
sed 's/Depends: lsb-release,/Depends: lsb-release, xul-ext-ubufox,/' -i debian/control.in
sed 's/iceweasel,/iceweasel, firefox, icecat,/' -i debian/control
*
sed 's/iceweasel,/iceweasel, firefox, icecat,/' -i debian/control
.in
# Remove extra firefox metapackages
sed '/Package: firefox/,/It can be safely removed/d' -i debian/control.in
...
...
@@ -52,10 +52,11 @@ EOF
# speed up build process
#sed 's/\(^MOZ_WANT_UNIT_TESTS.*\)1/\1 0/' -i debian/rules
sed 's/\(^MOZ_ENABLE_BREAKPAD.*\)1/\1 0/' -i debian/rules
#
sed 's/\(^MOZ_ENABLE_BREAKPAD.*\)1/\1 0/' -i debian/rules
# Set release to unofficial
sed "s/\(^MOZ_BUILD_UNOFFICIAL.*\)0/\1 1/; s/release$/$CODENAME/" -i debian/rules
sed 's/\(^MOZ_BUILD_UNOFFICIAL.*\)0/\1 1/' debian/config/branch.mk -i
#sed "s/release$/$CODENAME/" -i debian/rules
#TARBALL=$(ls *.tar.bz2)
#tar -jxf $TARBALL
...
...
@@ -70,8 +71,8 @@ sed '1s/^/\nMOZ_PKG_NAME\t\t:= abrowser/' -i debian/build/mozbuild.mk
############################################################################3
############################################################################3
############################################################################3
sed -i s/abrowser/abrowser-old/ debian/control
*
sed "s_^Maintainer.*_Maintainer: $DEBFULLNAME <$DEBEMAIL>_g" -i debian/control
*
sed -i s/abrowser/abrowser-old/ debian/control
.in
sed "s_^Maintainer.*_Maintainer: $DEBFULLNAME <$DEBEMAIL>_g" -i debian/control
.in
# Replace Firefox branding
find -type d | grep firefox | xargs rename s/firefox/abrowser/
...
...
@@ -83,12 +84,12 @@ replace firefox abrowser .
replace Firefox Abrowser .
replace FIREFOX ABROWSER .
replace " Mozilla " " Trisquel " .
sed -i '1s/^Source:.*/Source: firefox/' debian/control
*
sed -i '1s/^Source:.*/Source: firefox/' debian/control
.in
replace PACKAGES/abrowser PACKAGES/firefox .
sed s/Trisquel/Mozilla/ compare-locales/scripts/compare-locales -i
replace "iceweasel, abrowser" "iceweasel, firefox" .
replace "Replaces: abrowser" "Replaces: firefox" .
sed s/Ubuntu/Trisquel/g debian/rules -i
#
sed s/Ubuntu/Trisquel/g debian/rules -i
sed s/ubuntu/trisquel/g debian/distribution.ini debian/config/mozconfig.in -i
sed 's/ubuntu_version/trisquel_version/; s/Ubuntu 10.10/Trisquel 4.0/; s/1010/40/' -i debian/abrowser.postinst.in
...
...
@@ -266,14 +267,14 @@ sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ hr
replace "Trisquel Public" "Mozilla Public" .
replace "Trisquel Foundation" "Mozilla Foundation" .
replace "Trisquel Corporation" "Mozilla Corporation" .
sed -i 's/iceweasel, abrowser, icecat,/iceweasel, firefox, icecat,/g' debian/control
*
#
sed -i 's/iceweasel, abrowser, icecat,/iceweasel, firefox, icecat,/g' debian/control
.in
# Restore useragent to Firefox
sed '/MOZ
_UA_ABROWSER_
VERSION/ s:Abrowser/:Firefox/:
;
' -i netwerk/protocol/http/nsHttpHandler.cpp
sed '/MOZ
ILLA_UA
VERSION/ s:Abrowser/:Firefox/:' -i netwerk/protocol/http/nsHttpHandler.cpp
# Set migrator scripts
cp browser/components/migration/src/FirefoxProfileMigrator.js browser/components/migration/src/AbrowserProfileMigrator.js
sed 's/Abrowser/Firefox/g;
s/ABROWSER/FIREFOX/g;
s/abrowser/firefox/g' -i browser/components/migration/src/FirefoxProfileMigrator.js
sed 's/Abrowser/Firefox/g; s/abrowser/firefox/g' -i browser/components/migration/src/FirefoxProfileMigrator.js
#tar -cjf $TARBALL mozilla
#rm mozilla -rf
...
...
This diff is collapsed.
Click to expand it.
helpers/make-ubufox
+
2
−
4
View file @
d9743c7c
...
...
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
1
VERSION
=
2
.
./config
...
...
@@ -29,13 +29,11 @@ rm ./content/ubuntulogo32.png
replace ubuntulogo32.png internet32.png
.
# This hack makes Firefox avoid sending a request for a list of plugins, instead returns a hardcoded xml list.
sed
's^https://mozilla-pfs.ubuntu.com/.*ID%^http://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETYPE%^; '
-i
modul
es/distributions/Ubuntu.jsm
sed
's^https://mozilla-pfs.ubuntu.com/.*ID%^http://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETYPE%^; '
-i
./r
es/distributions/Ubuntu.jsm
# Changes the link to pfs.mozilla.org in the install wizard
sed
's_https://pfs.mozilla.org/plugins/_http://trisquel.info/browser/_'
-i
content/pluginInstallerWizard.js
#sed 's/ubuntu-artwork/trisquel-artwork/; s_http://start.ubuntu.com/_https://trisquel.info/welcome_; s/PREFIX +.*/PREFIX;/' -i ./components/aboutStartpage.js
rm
components/aboutStartpage.js
sed
s/components//
-i
./config_build.sh
sed
/components/d
-i
./chrome.manifest
sed
/startup/d
-i
defaults/preferences/ubuntu-mods.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