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
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
trisquel
package-helpers
Commits
0b5864cb
Commit
0b5864cb
authored
9 years ago
by
Legimet
Committed by
Ruben Rodriguez
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Download KDE patches in make-firefox helper
parent
2f1b5468
No related branches found
No related tags found
1 merge request
!183
Fix geoip-database-contrib
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/config
+2
-1
2 additions, 1 deletion
helpers/config
helpers/make-firefox
+8
-4
8 additions, 4 deletions
helpers/make-firefox
with
10 additions
and
5 deletions
helpers/config
+
2
−
1
View file @
0b5864cb
...
...
@@ -21,6 +21,7 @@
set
-e
export
LANG
=
C
LC_TIME
=
C
PACKAGE
=
$(
echo
$0
|/bin/sed s/make-//g
)
PKGVERSION
=
$(
dpkg-parsechangelog
--show-field
Version
)
export
DATE
=
$(
date
+
'%a, %d %b %Y %T %z'
)
...
...
@@ -53,7 +54,7 @@ find $3 -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -execd
}
changelog
(){
head
-n
1 debian/changelog |
grep
-q
$UPSTREAM
-security
&&
REPO
=
$CODENAME
-security
||
REPO
=
$CODENAME
echo
| dch
-D
$REPO
-v
$
(
/bin/sed
-n
'1s/^.*(\(.*\)).*/\1'
+
${
REVISION
}
trisquel
${
VERSION
}
'/p'
debian/changelog
)
"
$1
"
echo
| dch
-D
$REPO
-v
$
{
PKGVERSION
}
+
${
REVISION
}
trisquel
${
VERSION
}
"
$1
"
# Make sure the changelog file is identical between archs
/bin/sed
"/-- Trisquel/s/.*/ -- Trisquel GNU
\/
Linux developers <trisquel-devel@listas.trisquel.info>
$DATE
/"
-i
debian/changelog
...
...
This diff is collapsed.
Click to expand it.
helpers/make-firefox
+
8
−
4
View file @
0b5864cb
...
...
@@ -29,10 +29,14 @@ patch -p1 < $DATA/enable-js-options.patch
cp
./browser/components/preferences/advanced-scripts.xul ./browser/components/preferences/in-content/
# KDE integration patches from https://www.rosenauer.org/hg/mozilla
# These should be taken from the hg branch corresponding to the right version
# (or default) and placed in the DATA directory in unmodified form
cp
$DATA
/mozilla-kde.patch debian/patches/
cp
$DATA
/firefox-kde.patch debian/patches/abrowser-kde.patch
# Use firefox$MAJORVERSION branch if available, otherwise use default
MAJORVERSION
=
echo
"
$PKGVERSION
"
|
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
...
...
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