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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Kevin
package-helpers
Commits
97c612d3
Commit
97c612d3
authored
12 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Fixed firefox helper to make it compile, although it needs some extra work
parent
d057cfb4
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
+21
-21
21 additions, 21 deletions
helpers/make-firefox
with
21 additions
and
21 deletions
helpers/make-firefox
+
21
−
21
View file @
97c612d3
...
...
@@ -30,12 +30,12 @@ sed 's/iceweasel,/iceweasel, firefox, icecat,/' -i debian/control*
sed '/Package: firefox/,/It can be safely removed/d' -i debian/control.in
# Remove Ubuntu bookmarks
sed -i /ubuntu-bookmarks/d debian/patches/series
sed -i /ubuntu-bookmarks/d debian/patches/series
.in
rm debian/patches/ubuntu-bookmarks*
#Unbrand url codes for google and amazon
rm debian/patches/ubuntu-codes*
sed /ubuntu-codes/d debian/patches/series -i
#
rm debian/patches/ubuntu-codes*
#
sed /ubuntu-codes/d debian/patches/series
.in
-i
cat << EOF > debian/distribution.ini
[Global]
...
...
@@ -56,9 +56,9 @@ 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
TARBALL=$(ls *.tar.bz2)
tar -jxf $TARBALL
rm $TARBALL
#
TARBALL=$(ls *.tar.bz2)
#
tar -jxf $TARBALL
#
rm $TARBALL
sed "s/^MOZ_APP_NAME\t.*/MOZ_APP_NAME\t\t:= abrowser/; s/firefox/abrowser/" debian/rules -i
# Hack to avoid compilation to fail on 3.0x kernel
...
...
@@ -82,7 +82,7 @@ replace FIREFOX ABROWSER .
replace " Mozilla " " Trisquel " .
sed -i '1s/^Source:.*/Source: firefox/' debian/control*
replace PACKAGES/abrowser PACKAGES/firefox .
sed s/Trisquel/Mozilla/
debian/
compare-locales/scripts/compare-locales -i
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
...
...
@@ -90,14 +90,14 @@ 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
# Redirect feedback menu
sed s:input.mozilla.com/feedback:trisquel.info/contact: -i
mozilla/
browser/base/content/utilityOverlay.js
sed s:input.mozilla.com/feedback:trisquel.info/contact: -i browser/base/content/utilityOverlay.js
# Make abrowser-locale-$lang provide firefox-locale-$lang
sed 's/Package:\(.*\)/Package:\1\nProvides: firefox-locale-@LANGCODE@/g' debian/control.langpacks* -i
#
sed 's/Package:\(.*\)/Package:\1\nProvides: firefox-locale-@LANGCODE@/g' debian/control.langpacks* -i
# Branding files
rm
mozilla/
browser/branding/* -rf
cp -a $DATA/branding/
mozilla/
browser/branding/$CODENAME
rm browser/branding/* -rf
cp -a $DATA/branding/ browser/branding/$CODENAME
cat << EOF > debian/config/branch.mk
CHANNEL = $CODENAME
MOZ_WANT_UNIT_TESTS = 0
...
...
@@ -109,7 +109,7 @@ L10N_REPO = http://hg.mozilla.org/releases/l10n/mozilla-release
EOF
#set default layout
cat << EOF |patch -p
0
-N -r /dev/null
cat << EOF |patch -p
1
-N -r /dev/null
--- mozilla/browser/base/content/browser.xul.old 2011-07-18 02:35:10.000000000 +0000
+++ mozilla/browser/base/content/browser.xul 2011-07-18 02:40:51.000000000 +0000
@@ -477,6 +477,7 @@
...
...
@@ -150,7 +150,7 @@ cat << EOF |patch -p0 -N -r /dev/null
EOF
#Trisquel custom bookmarks
cat << EOF >
mozilla/
browser/locales/generic/profile/bookmarks.html.in
cat << EOF > browser/locales/generic/profile/bookmarks.html.in
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
...
...
@@ -235,8 +235,8 @@ EOF
echo "debian/search/* /usr/lib/abrowser-addons/searchplugins" >> debian/abrowser.install.in
# Disable search field at extensions panel
#sed '/header-search/d; /search.placeholder/d' -i
mozilla/
toolkit/mozapps/extensions/content/extensions.xul
cat << EOF >>
./mozilla/
toolkit/mozapps/extensions/content/extensions.css
#sed '/header-search/d; /search.placeholder/d' -i toolkit/mozapps/extensions/content/extensions.xul
cat << EOF >> toolkit/mozapps/extensions/content/extensions.css
#header-search {
display:none;
}
...
...
@@ -257,7 +257,7 @@ done
replace www.mozilla.com/abrowser/central trisquel.info/browser
replace www.mozilla.com/legal/privacy trisquel.info/legal
sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ href\=\"http\:\/\/www.trisquel.info\/\"\>Trisquel\ Project<\/a>/g'
mozilla/
browser/base/content/overrides/app-license.html
sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ href\=\"http\:\/\/www.trisquel.info\/\"\>Trisquel\ Project<\/a>/g' browser/base/content/overrides/app-license.html
# We went too far...
replace "Trisquel Public" "Mozilla Public" .
...
...
@@ -266,14 +266,14 @@ replace "Trisquel Corporation" "Mozilla Corporation" .
sed -i 's/iceweasel, abrowser, icecat,/iceweasel, firefox, icecat,/g' debian/control*
# Restore useragent to Firefox
sed '/MOZ_UA_ABROWSER_VERSION/ s:Abrowser/:Firefox/:;' -i
mozilla/
netwerk/protocol/http/nsHttpHandler.cpp
sed '/MOZ_UA_ABROWSER_VERSION/ s:Abrowser/:Firefox/:;' -i netwerk/protocol/http/nsHttpHandler.cpp
# Set migrator scripts
cp
mozilla/
browser/components/migration/src/FirefoxProfileMigrator.js
mozilla/
browser/components/migration/src/AbrowserProfileMigrator.js
sed 's/Abrowser/Firefox/g; s/ABROWSER/FIREFOX/g; s/abrowser/firefox/g' -i
mozilla/
browser/components/migration/src/FirefoxProfileMigrator.js
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
tar -cjf $TARBALL mozilla
rm mozilla -rf
#
tar -cjf $TARBALL mozilla
#
rm mozilla -rf
#cp $DATA/control debian/control
# Postinst script to manage profile migration and system links
...
...
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