Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • trisquel/package-helpers
  • aklis/package-helpers
  • leny2010/package-helpers
  • fr33domlover/package-helpers
  • Legimet/package-helpers
  • ralphtheninja/package-helpers
  • damo22/package-helpers
  • wherrfrye/package-helpers
  • habs/package-helpers
  • pehjota/package-helpers
  • kpengboy/package-helpers
  • alvaro/package-helpers
  • salman/package-helpers
  • pabloyoyoista/package-helpers
  • mixalis/package-helpers
  • jorgesumle/package-helpers
  • a_slacker_here/package-helpers
  • chaosmonk/package-helpers
  • Beformed/package-helpers
  • dknight/package-helpers
  • proninyaroslav/package-helpers
  • adfeno/package-helpers
  • snd/package-helpers
  • davidpgil/package-helpers
  • diopon/package-helpers
  • ruben/package-helpers
  • bandali/package-helpers
  • joshaspinall/package-helpers
  • GNUtoo/package-helpers
  • Ark74/package-helpers
  • dragestil/package-helpers
  • bill-auger/package-helpers
  • andi89gi/package-helpers
  • Fikar/package-helpers
  • davidl/package-helpers
  • jas/package-helpers
  • parodper/package-helpers
  • David_Hedlund/package-helpers
  • dinomug/package-helpers
  • bf/package-helpers
  • hartkemd/package-helpers
  • del111/package-helpers
  • jxself/package-helpers
  • JacobK/package-helpers
44 results
Show changes
Showing
with 36288 additions and 0 deletions
This diff is collapsed.
helpers/DATA/usb-creator/usb-creator.png

1.13 KiB

#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
#
set -e
PACKAGE=$(echo $0 |sed s/make-//g)
export DATA=$PWD/DATA/$PACKAGE
COMPONENT=${COMPONENT:-universe}
if [ -f /CurrentlyBuilding ]
then
echo "Already running $(cat /CurrentlyBuilding)"
echo "If $(cat /CurrentlyBuilding) broke and nothing is actually running"
echo "remove /CurrentlyBuilding and run this script again"
exit 1
else
echo "Package: $PACKAGE
Component: $COMPONENT" > /CurrentlyBuilding
fi
[ -d PACKAGES ] || mkdir PACKAGES
[ -d /proc/sys ] || mount proc /proc -t proc
hostname devel.trisquel.info
export DEBEMAIL=trisquel-devel@listas.trisquel.info
export DEBFULLNAME="Trisquel GNU/Linux developers"
export CODENAME=awen
export UPSTREAM=karmic
export REVISION=3.5
export RELEASE=trisquel
export DOMAIN=trisquel.info
export PARALLEL=true
cat << EOF > /etc/lsb-release
DISTRIB_ID=Trisquel
DISTRIB_RELEASE=$REVISION
DISTRIB_CODENAME=$CODENAME
DISTRIB_DESCRIPTION="Trisquel $REVISION"
EOF
changelog(){
echo | dch -D $CODENAME -v $(sed -n '1s/^.*(\(.*\)).*/\1'trisquel${VERSION}'/p' debian/changelog) "$1"
}
rm -rf PACKAGES/$PACKAGE
mkdir PACKAGES/$PACKAGE
cd PACKAGES/$PACKAGE
cat << EOF > /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu karmic main universe
deb http://archive.ubuntu.com/ubuntu karmic-updates main universe
deb http://archive.ubuntu.com/ubuntu karmic-security main universe
deb-src http://archive.ubuntu.com/ubuntu karmic main universe
deb-src http://archive.ubuntu.com/ubuntu karmic-updates main universe
deb-src http://archive.ubuntu.com/ubuntu karmic-security main universe
EOF
apt-get update
apt-get install --force-yes -y devscripts rpl
if [ $PACKAGE = linux ]
then
apt-get source linux-libc-dev
apt-get --yes build-dep linux-libc-dev
else
apt-get source $PACKAGE
apt-get --yes build-dep $PACKAGE
fi
rm * || true
cd $PACKAGE*
for i in debian.master/control.stub.in debian.master/control.stub debian.master/control debian/control.stub.in debian/control.stub debian/control
do
[ -f $i ] && sed "s_^Maintainer.*_Maintainer: $DEBFULLNAME <$DEBEMAIL>_g" -i $i
done
compile(){
export QUILT_PATCHES=debian/patches
[ -d debian/patches ] && quilt push -a
if $PARALLEL
then
dpkg-buildpackage -us -uc -j$(cat /proc/cpuinfo |grep processor|wc -l)
else
dpkg-buildpackage -us -uc
fi
rm /CurrentlyBuilding
umount /proc
}
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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=2
. ./config
# Note: this package needs no modifications, just to be recompiled in a
# Trisquel box (with the proper base-files package installed).
apt-get remove -y --force-yes autoconf2.13
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
# We remove any info about non-free packages
egrep -lr 'X-AppInstall-Section=(multiverse|restricted)' . | xargs -r rm
for i in firefox* nvidia* jockey* envyng* helix* ubufox ubuntu* ndisgtk*
do
rm -v menu-data/$i
done
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
RELEASE="3.5"
cat << EOF > etc/motd
___ ___ ___ ___ ___ ___ ___
/\ \ /\ \ ___ /\ \ /\ \ /\__\ /\ \ /\__\
\ \ \ / \ \ /\ \ / \ \ / \ \ / / / / \ \ / / /
\ \ \ / /\ \ \ \ \ \/ /\ \ \ / /\ \ \ / / / / /\ \ \ / / /
/ \ \/ \ \ \ \ / \__\ \ \ \ \/ / \ \ \ / / ___/ \ \ \ \/ / /
/ /\ \__\/\ \ \ \__\/ /\/__/\ \ \ \__\/__/ \ \__\__/ /\__\/\ \ \ \__\/__/
/ / \/__/_| \/ / / / /\ \ \ \ \/__/\ \ / / / \ / / /\ \ \ \/__/\ \
/ / / | | / / /__/ \ \ \ \__\ \ \/\/ / / \ / / /\ \ \ \__\ \ \ \
\/__/ | |\/__/\ \__\ \ \/ / / \ / / \ \/ / / \ \ \/__/ \ \ \
| | | \/__/ \ / / \ / / \ / / \ \__\ \ \__\
\|__| \/__/ \/__/ \/__/ \/__/ \/__/
EOF
cat << EOF > etc/legal
The programs included with the Trisquel GNU/Linux system are free software.
The exact distribution terms for each program are described in the individual
files in /usr/share/doc/*/copyright.
Trisquel GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted
by applicable law.
EOF
cat << EOF >> share/dot.bashrc
# Trisquel aliases for root
if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
alias ll='ls -lh'
alias la='ls -A'
alias l='ls -CF'
alias dir='ls --color=auto --format=vertical'
alias vdir='ls --color=auto --format=long'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias rm='rm -i'
[ -f /usr/bin/vim ] && alias vi='vim' || alias vi='vim.tiny'
[ -f /usr/bin/vim ] || alias vim='vim.tiny'
fi
EOF
cat > etc/issue <<EOF
Trisquel GNU/Linux $RELEASE \n \l
EOF
cat > etc/issue.net <<EOF
Trisquel GNU/Linux $RELEASE
EOF
cat > etc/lsb-release <<EOF
DISTRIB_ID=Trisquel
DISTRIB_RELEASE=$RELEASE
DISTRIB_CODENAME=$CODENAME
DISTRIB_DESCRIPTION="Trisquel $RELEASE"
EOF
cat << EOF > origins/trisquel
Vendor: Trisquel
Vendor-URL: http://trisquel.info/
Bugs: http://trisquel.info/project/issues
Parent: Ubuntu
EOF
echo /etc/dpkg/origins/trisquel >> debian/conffiles
sed s/ubuntu/trisquel/ -i debian/rules
changelog "Compiled for Trisquel"
sed -i "1s/(.*)/(1000.${REVISION}trisquel${VERSION})/" debian/changelog
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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=2
. ./config
sed -i /reload_new_plugins/d debian/patches/series
sed s/Firefox/Abrowser/g -i debian/*restart-required*
cat <<EOF >> $(ls debian/*restart-required* -1)
Name-es: Reinicio de Abrowser-3.6 requerido
Description-es: Abrowser-3.6 ha sido actualizado (o reinstalado) y necesita ser reiniciado.
Por favor cierre y reinicie su navegador ahora.
Name-gl: Reinicio de Abrowser-3.6 requerido
Description-gl: Abrowser-3.6 foi actualizado (ou reinstalado) e precisa ser reiniciado.
Por favor peche e reinicie o seu navegador agora.
EOF
cp $DATA/firefox.control debian/control
cp $DATA/abrowser.desktop debian/abrowser.desktop
cp $DATA/firefox-setup.sh debian/
cp $DATA/default* debian/
cat << EOF > debian/firefox.js
// Disable plugin installer
pref("plugins.hide_infobar_for_missing_plugin", true);
pref("plugins.hide_infobar_for_outdated_plugin", true);
pref("plugin.default_plugin_disabled", false);
//Speeding it up
pref("network.http.pipelining", true);
pref("network.http.proxy.pipelining", true);
pref("network.http.pipelining.maxrequests", 10);
pref("network.dns.disableIPv6", true);
pref("nglayout.initialpaint.delay", 0);
// Disable third party cookies
pref("network.cookie.cookieBehavior", 1);
// Search as we type
pref("accessibility.typeaheadfind", true);
pref("extensions.update.enabled", true);
// Use LANG environment variable to choose locale
pref("intl.locale.matchOS", true);
// Disable default browser checking.
pref("browser.shell.checkDefaultBrowser", false);
// Prevent EULA dialog to popup on first run
pref("browser.EULA.override", true);
pref("general.useragent.vendor", "Trisquel");
pref("general.useragent.vendorComment", "$CODENAME");
pref("general.useragent.vendorSub", "$REVISION");
pref ("startup.homepage_override_url" , "http://trisquel.info/newbrowser");
pref ("startup.homepage_welcome_url" , "http://trisquel.info/welcome");
// Preferences for the Get Add-ons panel
pref ("extensions.update.notifyUser", false);
pref ("extensions.getAddons.showPane", false);
pref ("extensions.getAddons.browseAddons", "http://trisquel.info/browser");
pref ("extensions.getAddons.maxResults", 5);
pref ("extensions.getAddons.recommended.browseURL", "http://trisquel.info/browser");
pref ("extensions.getAddons.recommended.url", "http://trisquel.info/browser");
pref ("extensions.getAddons.search.browseURL", "http://trisquel.info/browser");
pref ("extensions.getAddons.search.url", "http://trisquel.info/browser");
pref ("extensions.getMoreExtensionsURL" , "http://trisquel.info/browser");
pref ("extensions.getMorePluginsURL" , "http://trisquel.info/browser");
pref ("extensions.getMoreThemesURL" , "http://trisquel.info/browser");
// Dictionary download preference
pref("browser.dictionaries.download.url", "http://trisquel.info/browser");
EOF
#Remove ubuntu package search engine
sed -i '/debsearch/d' debian/*.install
#Make default list of search engines appear for all languages
sed s:searchplugins/en-US:searchplugins:g debian/rules -i
cat << EOF > debian/distribution.ini
[Global]
id=trisquel
version=3.5
about=Mozilla based browser for Trisquel GNU/Linux
[Preferences]
app.distributor = “trisquel”
app.distributor.channel = “trisquel”
app.partner.ubuntu = “trisquel”
EOF
#The firefox-setup script needs to be launched during the pre-build stage
sed 's:\(^pre-build.*$\):\1\n\tsh debian/firefox-setup.sh:' -i debian/rules
changelog "Firefox branding removed, abrowser tuned up for Trisquel"
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
patch -p0 < $DATA/gnome-app-install.patch
sed -i 's: <default>3</default>: <default>1</default>:' data/gnome-app-install.schemas.in
cp -v $DATA/gnome-app-install_Ubuntu.py AppInstall/distros/Ubuntu.py
changelog "Removed non-free recommendation system"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
sed -i "s/Ubuntu/Trisquel/g" debian/rules
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
cp $DATA/09_app_install_entry.patch debian/patches
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
cp $DATA/gnome-panel.patch debian/patches/01_layout.patch
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
# Remove non-free bits
sh $DATA/deblob/deblob-2.6.31
# Disable broken drivers
sed /ME4000/d drivers/staging/Makefile -i
sed /rt3070/d drivers/staging/Makefile -i
sed /rt2870/d drivers/staging/Makefile -i
rm -rf debian/firmware/*
echo > debian.master/d-i/firmware/scsi-modules
echo > debian.master/d-i/firmware/nic-modules
# Removing some extra Ubuntu modules
rm -rf ubuntu/ndiswrapper
sed /ndiswrapper/d -i ubuntu/Makefile
sed /ndiswrapper/d -i ubuntu/Kconfig
rm -rf ubuntu/lirc/lirc_pvr150
sed /pvr150/d -i ubuntu/lirc/Makefile
sed /pvr150/d -i ubuntu/lirc/Kconfig
#rm -rf ubuntu/misc/wireless/acx
#sed /acx/d -i ubuntu/misc/wireless/Makefile
#sed /acx/d -i ubuntu/misc/wireless/Kconfig
sed /rt2860/d -i drivers/staging/Makefile
sed /rt2860/d -i ubuntu/Makefile
sed /rt2870/d -i drivers/staging/Makefile
sed /rt2870/d -i ubuntu/Makefile
sed /radeon/d -i drivers/gpu/drm/Makefile
# Compile with less modules and avoid abi check
echo 'skipmodule = true' >> debian.master/rules.d/0-common-vars.mk
echo 'skipabi = true' >> debian.master/rules.d/0-common-vars.mk
changelog "Removed non-free bits"
cp debian/changelog debian.master/changelog
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
cp $DATA/linux.control debian/control
changelog "Removed non-free bits"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
cp $DATA/* data/templates/
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
sed -i 's/WORKGROUP/TRISQUEL/g; s/Ubuntu/Trisquel/g' debian/smb.conf* debian/samba-common.templates
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
PARALLEL=false compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
cp $DATA/testpage* debian/local/
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
sed 's/Ubuntu hardy-security/Trisquel awen-security/g; s/Ubuntu hardy-updates/Trisquel awen-updates/g' -i data/50unattended-upgrades
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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=3
. ./config
cat > ./DistUpgrade/Trisquel.info << EOF
ChangelogURI: http://archive.trisquel.info/trisquel/changelogs/pool/%s/%s/%s/%s_%s/changelog
Suite: $CODENAME
RepositoryType: deb
BaseURI: http://archive.trisquel.info/trisquel/
Description: Trisquel $CODENAME
Component: main
Enabled: 1
CompDescription: Trisquel GNU/linux packages
Suite: $CODENAME-security
RepositoryType: deb
BaseURI: http://archive.trisquel.info/trisquel/
Description: Trisquel $CODENAME Security Updates
Component: main
Enabled: 1
CompDescription: Trisquel GNU/linux packages
Suite: $CODENAME-updates
RepositoryType: deb
BaseURI: http://archive.trisquel.info/trisquel/
Description: Trisquel $CODENAME Updates
Component: main
Enabled: 1
CompDescription: Trisquel GNU/linux packages
Suite: $CODENAME-backports
RepositoryType: deb
BaseURI: http://archive.trisquel.info/trisquel/
Description: Trisquel $CODENAME Backports
Component: main
Enabled: 1
CompDescription: Trisquel GNU/linux packages
EOF
cp ./DistUpgrade/Trisquel.info ./DistUpgrade/Ubuntu.info
cat << EOF > DistUpgrade/ReleaseAnnouncement
= Welcome to Trisquel GNU/Linux $REVISION '$CODENAME' =
The Trisquel team is proud to announce Trisquel $REVISION '$CODENAME'.
Trisquel is a fully free operating system based in GNU/Linux, for domestic
users, small enterprises and educational centers.
We hope you enjoy Trisquel.
== Feedback and Helping ==
If you would like to help shape Trisquel, take a look at the list of
ways you can participate at
http://trisquel.info/en/wiki/how-help
Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Trisquel ever. If you feel
that you have found a bug please send it to us via
http://trisquel.info/project/issues
If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #trisquel IRC channel on Freenode,
on the Trisquel Users mailing list, or on the Trisquel forums:
http://listas.trisquel.info/
http://trisquel.info/forum
== More Information ==
You can find out more about Trisquel on our website, IRC channel and wiki.
If you're new to Trisquel, please visit:
http://trisquel.info
To sign up for future Trisquel announcements, please subscribe to Trisquel's
very low volume announcement list at:
http://listas.trisquel.info/mailman/listinfo/trisquel-announce
EOF
cat << EOF > DistUpgrade/DevelReleaseAnnouncement
This is a development release, do not install on production systems!
EOF
cat DistUpgrade/ReleaseAnnouncement >> DistUpgrade/DevelReleaseAnnouncement
cat <<EOF > DistUpgrade/removal_blacklist.cfg
# blacklist of packages that should never be removed
trisquel
trisquel-base
trisquel-desktop-common
trisquel-gnome-base
# update-manager itself should not remove itself
update-manager
update-manager-core
EOF
cat << EOF > DistUpgrade/mirrors.cfg
http://archive.trisquel.info/trisquel/
http://us.archive.trisquel.info/trisquel/
http://es.archive.trisquel.info/trisquel/
EOF
cat << EOF > DistUpgrade/DistUpgrade.cfg
[View]
# the views will be tried in this order, if one fails to import, the next
# is tried
View=DistUpgradeViewGtk,DistUpgradeViewKDE,DistUpgradeViewText
#View=DistUpgradeViewNonInteractive
#Depends= python-apt (>= 0.6.0), apt (>= 0.6)
# the views below support upgrades over ssh connection
SupportSSH=DistUpgradeViewText,DistUpgradeViewNonInteractive
# Distro contains global information about the upgrade
[Distro]
# the meta-pkgs we support
MetaPkgs=trisquel
BaseMetaPkgs=trisquel-base, trisquel-desktop-common, trisquel-gnome-base
PostUpgradePurge=xorg-common, libgl1-mesa, ltsp-client, ltspfsd, python2.3
Demotions=demoted.cfg
RemoveEssentialOk=sysvinit, sysvutils
RemovalBlacklistFile=removal_blacklist.cfg
# if those packages were installed, make sure to keep them installed
KeepInstalledPkgs=gnumeric, hpijs, grub
KeepInstalledSection=translations
RemoveObsoletes=yes
ForcedObsoletes=esound, esound-common, slocate, ksplash-engine-moodin, powernowd
# example rule
#PostUpgrade{Install,Remove,Purge}=evms
# libflashsupport is now oboselete and causes problems so we remove it
# early
PostUpgradeRemove=libflashsupport,casper,ubiquity
PostUpgradeUpgrade=brasero
PostInstallScripts=./trisquel-postinstall.sh
#EnableApport=no
# this supported blacklisting certain versions to ensure we do not upgrade
# to a known broken version. python2.6 was broken during intrepid->jaunty
BadVersions=python2.6_2.6.1-1ubuntu8,python-central_0.6.11ubuntu5
[KernelRemoval]
Version=2.6.28
BaseNames=linux-image,linux-headers,linux-image-debug,linux-ubuntu-modules,linux-header-lum,linux-backport-modules,linux-header-lbm,linux-restricted-modules
Types=386,generic,rt,server,virtual
# information about the individual meta-pkgs
[trisquel-gnome-base]
KeyDependencies=gdm, usplash-theme-trisquel, trisquel-sounds
# those pkgs will be marked remove right after the distUpgrade in the cache
PostUpgradeRemove=xscreensaver, gnome-cups-manager, powermanagement-interface
ForcedObsoletes=desktop-effects, cups-pdf, gnome-app-install, policykit-gnome, gnome-mount
[Files]
BackupExt=distUpgrade
LogDir=/var/log/dist-upgrade
[Sources]
From=dwyn
To=$CODENAME
ValidOrigin=Trisquel
ValidMirrors = mirrors.cfg
Components=main
;[PreRequists]
;Packages=release-upgrader-apt,release-upgrader-dpkg
;SourcesList=prerequists-sources.list
;SourcesList-ia64=prerequists-sources.ports.list
;SourcesList-hppa=prerequists-sources.ports.list
[Aufs]
; this is a xor option, either full or chroot overlay
;EnableFullOverlay=yes
;EnableChrootOverlay=yes
; sync changes from the chroot back to the real system
;EnableChrootRsync=yes
; what chroot dir to use
;ChrootDir=/tmp/upgrade-chroot
; the RW dir to use (either for full overlay or chroot overlay)
;RWDir=/tmp/upgrade-rw
[Network]
MaxRetries=3
[NonInteractive]
ForceOverwrite=yes
RealReboot=no
DebugBrokenScripts=no
DpkgProgressLog=no
;TerminalTimeout=2400
EOF
cat << EOF > DistUpgrade/trisquel-postinstall.sh
#!/bin/sh
apt-get remove --purge --force-yes -y trisquel-usplash-theme
[ -f /boot/grub/menu.lst ] && sed 's/ 3.0,/ 3.5,/g' /boot/grub/menu.lst -i
update-initramfs -u
sed s/extras//g /etc/apt/sources.list -i
sudo -u gdm gconftool-2 --set --type string --set /apps/gdm/simple-greeter/logo_icon_name trisquel
sudo -u gdm gconftool-2 --set --type string --set /desktop/gnome/interface/gtk_theme Glossy
sudo -u gdm gconftool-2 --set --type string --set /desktop/gnome/interface/icon_theme Trisquel
sudo -u gdm gconftool-2 --set --type string --set /desktop/gnome/background/picture_filename /usr/share/backgrounds/trisquel.png
sudo -u gdm gconftool-2 --set --type string --set /desktop/gnome/background/picture_options zoom
sudo -u gdm gconftool-2 --set --type string --set /apps/metacity/general/theme Trisquel
EOF
chomd 755 DistUpgrade/trisquel-postinstall.sh
echo > DistUpgrade/demoted.cfg
apt-get install -y --force-yes rpl
rpl lucid taranis DistUpgrade po -R
rpl karmic awen DistUpgrade po -R
rpl jaunty dwyn DistUpgrade po -R
rpl hardy robur DistUpgrade po -R
rpl Ubuntu Trisquel . -R
rpl " ubuntu " " trisquel " . -R
rpl archive.ubuntu.com/ubuntu archive.trisquel.info/trisquel . -R
rpl archive.ubuntu.com archive.trisquel.info . -R
rpl "main restricted" "main" DistUpgrade -R
rpl '9.10' $REVISION DistUpgrade po -R
sed 's?\(gather what components are enabled and are inconsitent\)?\1\
# Changes made for Trisquel\
# Incredibly ugly hack to avoid the upgrader from asking about the useless casper config\
if os.path.exists("/etc/init.d/casper"):\
os.system("sed 89,96s/\#// -i /etc/init.d/casper")\
# From release 3.5 onwards we only have the main component\
for d in ["%s" % self.toDist,\
"%s-updates" % self.toDist,\
"%s-backports" % self.toDist,\
"sugar-%s" % self.toDist,\
"%s-security" % self.toDist]:\
entry.comps = ["main"];?' -i DistUpgrade/DistUpgradeController.py
find -type f | egrep '(sh$|py$|glade$|ui$|po$|pot$|xml$|release$|./update-manager.*)' | xargs sed -i "s/karmic/$CODENAME/g; s/jaunty/dwyn/g; s/hardy/robur/g; s:archive.ubuntu.com/ubuntu:archive.trisquel.info/trisquel:g; s/archive.ubuntu.com/archive.trisquel.info/g; s/main restricted/main/g; s/9.10/$REVISION/g; s:changelogs.ubuntu.com:archive.trisquel.info/trisquel:g; s/�~Lubuntu/�~Ltrisquel/g; s/被ubuntu/被trisquel/g; s#http://launchpad.net/ubuntu/+source/%s/%s/+changelog#http://trisquel.info/project/issues#g; s/<.*@ubuntu.com/<info@trisquel.info/g; s/\ ubuntu\ /\ trisquel\ /g; s/ubuntu\ /trisquel\ /g; s/\ ubuntu/\ trisquel/g; s/Ubuntu/Trisquel/g; s/xubuntu/trisquel-mini/g; s/kubuntu/trisquel-pro/g; s/edubuntu/trisquel-edu/g; s/ubuntu-desktop/trisquel-/g; s/www.ubuntu.com/trisquel.info/g; s/www.ubuntulinux.org/trisquel.info/g "
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# 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=2
. ./config
cp $DATA/usb-creator.png desktop
#sed -i 's/Ubuntu/Trisquel/g;' po/* gui/*
sed -i 's/Icon=usb-creator-gtk/Icon=notification-device-usb/' desktop/usb-creator-gtk.desktop.in
changelog "Compiled for Trisquel"
echo COMPILING ------------------------------------------------------
compile
#!/bin/sh
#
# Copyright (C) 2011 Rubén Rodríguez <ruben@trisquel.info>
#
# 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
sed '/non-free/d;' debian/control -i
changelog "Removed references to non-free drivers"
compile