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
5fcaef1a
Commit
5fcaef1a
authored
2 years ago
by
Luis Guzmán
Browse files
Options
Downloads
Patches
Plain Diff
ubuntukylin-meta: rebuild for trisquel
parent
ef0b8619
No related branches found
No related tags found
1 merge request
!935
ubuntukylin-meta: rebuild for trisquel
Pipeline
#754
passed
2 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-ubuntukylin-meta
+58
-0
58 additions, 0 deletions
helpers/make-ubuntukylin-meta
with
58 additions
and
0 deletions
helpers/make-ubuntukylin-meta
0 → 100644
+
58
−
0
View file @
5fcaef1a
#!/bin/sh
#
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
1
.
./config
rm_pkg_line
(){
#find and remove everywhere found.
grep
-rl
$1
| xargs
sed
-i
"/
$1
/d"
}
# Remove deprecated packages
grep
-l
ubuntu-drivers-common desktop
*
| xargs
sed
-i
'/ubuntu-drivers-common/d'
grep
-l
snapd desktop
*
| xargs
sed
-i
'/snapd/d'
grep
-l
kylin-docs desktop
*
| xargs
sed
-i
'/ubuntu-kylin-docs/d'
rm_pkg_line xul-ext-ubufox
rm_pkg_line branding-ubuntu
rm_pkg_line ubuntu-advantage-tools
rm_pkg_line ubuntu-artwork
rm_pkg_line ubuntu-standard
rm_pkg_line ubuntu-minimal
rm_pkg_line ubuntu-settings
# Rebrand and tweak packages
sed
-i
's|Ubuntu|Trisquel|g'
debian/control
sed
-i
's|ubuntu|trisquel|'
README
replace
'firefox'
'abrowser'
replace
'thunderbird'
'icedove'
replace
'fonts-ubuntu'
'fonts-trisquel'
replace
'ubuntu-release-upgrader-gtk'
'trisquel-release-upgrader-gtk'
grep
-rl
plymouth-theme | xargs
sed
-i
'/plymouth-theme/s|ubuntu|trisquel|g'
grep
-rl
sounds | xargs
sed
-i
'/sounds/s|ubuntu|trisquel|g'
grep
-rl
ubuntu-keyring | xargs
sed
-i
's|ubuntu-keyring|trisquel-keyring|g'
grep
-l
ubuntu-kylin-software-center desktop
*
|
\
xargs
sed
-i
"s|ubuntu-kylin-software-center|trisquel-app-install
\n
synaptic|g"
# Remove raspimeta package components
rm
update.cfg
changelog
"Rebuild to drop non-available deprecated and non-free source packages."
compile
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