...
 
Commits (1591)
_buildscripts
_repo
_sources
_temp
pkg
src
dbg
hdr
*~
build-desktop.sh
./build.sh
check-database.sh
check-links.sh
check-so-files.sh
clean-builddir.sh
clean-database.sh
clean-workdir.sh
copy-any.sh
fakeuname
get-any.sh
makepkg
move.sh
pkgrels-decrease.sh
pkgrels-increase.sh
pkgrels-reset.sh
rebuildlist-build.sh
rebuildlist-generate.sh
recreate-database.sh
remove.sh
repoclean-local.sh
repoclean-remote.sh
show-config.sh
show-pkglists.sh
sign-remote-db.sh
sign-remote-pkg.sh
unlock-database.sh
upload-nodb.sh
upload.sh
*-cfg.conf
*-makepkg.conf
*-pkgs.conf
user.conf
*.db.tar.*
*.pkg.tar.*
*.tar.*
*.log
*.log*
image: chakralinux/makepkg:latest
variables:
REPODIR: "$CI_PROJECT_DIR"
stages:
- package
- sign
- deploy
- stable
before_script:
# import the gitlab-ci scripts
- git clone --depth 1 https://code.chakralinux.org/tools/chakra-gitlab-ci-scripts _gitlab-ci-scripts
# setup basic environment settings, as root
- _gitlab-ci-scripts/prepare.sh
# import pgp keys flagged as valid
- sudo -u builder -E -H _gitlab-ci-scripts/import-validpgpkeys.sh
build_pkgs:
stage: package
script:
# setup makepkg settings (enable and sync the correct repository), as root
- _gitlab-ci-scripts/prepare_makepkg.sh
# the build script can't be run as root, as makepkg would complain...
- sudo -u builder -E -H _gitlab-ci-scripts/build.sh
artifacts:
# expire artifacts per default - the gitlab web frontend can be used to keep
# artifacts of interest for an unlimited time
expire_in: 1 week
paths:
- ./_repo/gitlab-ci/*.pkg.tar.xz
- ./_logs/*.log
name: "$CI_BUILD_NAME"
cache:
paths:
- /var/cache/pacman/pkg
- ./_sources
tags:
- PKGBUILD
sign_pkgs:
stage: sign
script:
- for pkg in $(find . -type f | grep ".pkg.tar.xz"); do echo "signing $pkg" && echo "$GPG_PASSWORD" | gpg -sb --pinentry-mode loopback --passphrase-fd 0 $pkg; done
artifacts:
# expire artifacts per default - the gitlab web frontend can be used to keep
# artifacts of interest for an unlimited time
expire_in: 1 week
paths:
- ./_repo/gitlab-ci/*.pkg.tar.xz.sig
name: "$CI_BUILD_NAME"
tags:
- signature
deploy_pkgs:
stage: deploy
variables:
DEPLOY_SERVER: "$DEPLOY_SERVER"
SSH_USER: "$SSH_USER"
SSH_PORT: "$SSH_PORT"
GPG_PASSWORD: "$GPG_PASSWORD"
environment: staging-repo
script:
- _gitlab-ci-scripts/deploy.sh
when: manual
tags:
- rsync
move_pkgs_to_stable:
stage: stable
variables:
DEPLOY_SERVER: "$DEPLOY_SERVER"
SSH_USER: "$SSH_USER"
SSH_PORT: "$SSH_PORT"
GPG_PASSWORD: "$GPG_PASSWORD"
DEST_REPO: "gtk"
environment: stable-repo
script:
- _gitlab-ci-scripts/move.sh
when: manual
tags:
- rsync
### Summary
(Summarize the bug encountered concisely)
### Steps to reproduce
(How one can reproduce the issue - this is very important)
### What is the current *bug* behavior?
(What actually happens)
### What is the expected *correct* behavior?
(What you should see instead)
### Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output,
logs, and code as it's very hard to read otherwise.)
### Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
/label ~"Broken package"
### Link to CCR entry
(Link to the CCR entry)
### Reason for import
(Explain why it should be imported)
/label ~"Import from CCR"
### In which repository is the package now?
(Link here)
### In which repository is the package expected to be?
(Link here)
/label ~"Misplaced package"
### Which package is missing a dependency?
(Link here)
### What dependency is it missing?
(Link here, provide log files, errors, or screenshots if available)
### Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output,
logs, and code as it's very hard to read otherwise.)
/label ~"Missing dependency"
### Current version in our repositories
(Link here)
### New version available upstream
(Link to upstream release announcement for new version)
/label ~"Outdated package"
### Which package should be removed, and why?
(Explain here)
/label ~"Package removal"
pkgname=amule
pkgver=10803
pkgver=11004
pkgrel=1
epoch=1
pkgdesc="An eMule-like client for ed2k p2p network"
arch=('x86_64')
url="http://www.amule.org"
license=('GPL')
depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++' 'filesystem-extra')
makedepends=('ccache')
source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2"
"http://chakra.sourceforge.net/sources/oxygen-themes/aMule_Oxygen_Skin.zip")
md5sums=('febf14f5b1185f25acde64f61b78ed38'
'9c1c06c1f7eaffd5dd383b7e0348b6db')
depends=('wxgtk2' 'gd' 'geoip' 'libupnp' 'crypto++' 'boost-libs')
makedepends=('ccache' 'git' 'boost')
source=("git://repo.or.cz/amule.git#tag=amule-svn-r$pkgver"
'amuled.systemd'
'amuleweb.systemd'
'amule.sysusers'
'amule.tmpfiles'
'amule-wxgtk-3.1.patch')
sha256sums=('SKIP'
'20ac6b60c5f3bf49c0b080dfc02409da3c9d01b154344188008c6a75ca69681e'
'f4f43b1154ddccc9036a4291a58c6715f097b171fec62ea7aead0c9d9fa654f2'
'c4ca658ab4105b3b90e0bb3efcc8121eca1c4d873787db1ed4f637925c16d502'
'e9d1b7019c7075b0f8616c6507a767b87de8f899936680e9ff5829d8cbba224d'
'2486059f4358e6c3cc1b42c8ca2494dca5e86321663ac13c3d2a8f4c1fe23fd2')
build() {
cd "${srcdir}/aMule-SVN-r${pkgver}"
prepare(){
cd $pkgname
patch -p1 -i ../amule-wxgtk-3.1.patch # Fix build with wxgtk 3.1
}
./configure --prefix=/extra/usr \
--mandir=/extra/usr/share/man \
build() {
cd $pkgname
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-cas \
--enable-wxcas \
--enable-amule-daemon \
......@@ -29,16 +42,19 @@ build() {
--enable-optimize \
--enable-ccache \
--enable-geoip \
--disable-plasmamule \
--enable-upnp
--enable-upnp \
--enable-fileview \
--with-boost
make
}
package() {
cd "${srcdir}/aMule-SVN-r${pkgver}"
cd $pkgname
make DESTDIR=${pkgdir}/ install
make DESTDIR=$pkgdir install
cp -f $srcdir/aMule_Oxygen_Skin.zip $pkgdir/extra/usr/share/amule/skins/
install -Dm644 "$srcdir"/amuled.systemd "$pkgdir"/usr/lib/systemd/system/amuled.service
install -Dm644 "$srcdir"/amuleweb.systemd "$pkgdir"/usr/lib/systemd/system/amuleweb.service
install -Dm644 "$srcdir"/amule.sysusers "$pkgdir"/usr/lib/sysusers.d/amule.conf
install -Dm644 "$srcdir"/amule.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/amule.conf
}
diff --git a/src/amuleDlg.cpp b/src/amuleDlg.cpp
index 03bc83c3..a1dc07b2 100644
--- a/src/amuleDlg.cpp
+++ b/src/amuleDlg.cpp
@@ -1380,7 +1380,7 @@ void CamuleDlg::Create_Toolbar(bool orientation)
if (!m_wndToolbar) {
m_wndToolbar = CreateToolBar(
(orientation ? wxTB_VERTICAL : wxTB_HORIZONTAL) |
- wxNO_BORDER | wxTB_TEXT | wxTB_3DBUTTONS |
+ wxNO_BORDER | wxTB_TEXT |
wxTB_FLAT | wxCLIP_CHILDREN | wxTB_NODIVIDER);
diff --git a/src/extern/wxWidgets/listctrl.cpp b/src/extern/wxWidgets/listctrl.cpp
index 46070069..4483d0f1 100644
--- a/src/extern/wxWidgets/listctrl.cpp
+++ b/src/extern/wxWidgets/listctrl.cpp
@@ -4860,7 +4860,7 @@ void wxListMainWindow::SortItems( MuleListCtrlCompare fn, long data )
void wxListMainWindow::OnScroll(wxScrollWinEvent& event)
{
// FIXME
-#if ( defined(__WXGTK__) || defined(__WXMAC__) ) && !defined(__WXUNIVERSAL__)
+#if ( defined(__WXMAC__) ) && !defined(__WXUNIVERSAL__)
wxScrolledWindow::OnScroll(event);
#else
HandleOnScroll( event );
u amule - "aMule Client" /var/lib/amule
d /var/lib/amule 0750 amule amule
[Unit]
Description=aMule Daemon
After=network.target
# This assumes that a user 'amule' exists, with a writeable home directory
[Service]
User=amule
ExecStart=/usr/bin/amuled
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
[Unit]
Description=aMule Webserver
Requires=amuled.service
[Service]
User=amule
ExecStart=/usr/bin/amuleweb --quiet
# If amuled still starting then amuleweb exits, restart until amuleweb is up
Restart=on-success
RestartSec=3s
[Install]
WantedBy=multi-user.target
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
pkgname=antlr4
_shortname=${pkgname:0:-1}
pkgver=4.7.1
pkgrel=1
pkgdesc='Parser generator for reading, processing, executing, or translating structured text or binary files'
arch=('x86_64')
url='http://www.antlr.org/index.html'
license=('BSD')
depends=('java-environment>=6')
provides=("antlr=${pkgver}")
source=(http://www.antlr.org/download/${_shortname}-${pkgver}-complete.jar
https://raw.githubusercontent.com/${_shortname}/${pkgname}/master/LICENSE.txt
bin_antlr4
bin_grun)
noextract=("${_shortname}-${pkgver}-complete.jar")
sha256sums=('f41dce7441d523baf9769cb7756a00f27a4b67e55aacab44525541f62d7f6688'
'b1b379fcaf3219593a4c433feb1b35c780bed23fafaae440b1ae2771a9521e3a'
'345697e77b7191e2afe70b223f205a8a7fd18a655e6865f503a764583d9a3dcc'
'81e1536e011762287a095e969784a9f2fbbcc62374ab5fb83e19e01ade20b454')
package() {
cd "${srcdir}"
install -D ${_shortname}-${pkgver}-complete.jar \
"${pkgdir}"/usr/share/java/${_shortname}-${pkgver}-complete.jar
ln -s antlr-${pkgver}-complete.jar "${pkgdir}"/usr/share/java/antlr-complete.jar
install -D bin_antlr4 "${pkgdir}"/usr/bin/antlr4
install -D bin_grun "${pkgdir}"/usr/bin/grun
install -D LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
}
#!/bin/sh
java -jar /usr/share/java/antlr-complete.jar "$@"
#!/bin/sh
java -cp .:/usr/share/java/antlr-complete.jar org.antlr.v4.gui.TestRig "$@"
if [ -n "$GTK_MODULES" ]; then
GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module"
else
GTK_MODULES="appmenu-gtk-module"
fi
if [ -z "$UBUNTU_MENUPROXY" ]; then
UBUNTU_MENUPROXY=1
fi
export GTK_MODULES
export UBUNTU_MENUPROXY
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: rilian-la-te <ria.freelander@gmail.com>
# Contributor: Kaizhao Zhang <zhangkaizhao@gmail.com>
pkgname=appmenu-gtk-module
pkgver=0.6.94
pkgrel=1
pkgdesc="Application Menu GTK+ Module"
depends=()
makedepends=(cmake gtk3 gtk2)
optdepends=('gtk3: GTK3 module' 'gtk2: GTK2 module')
url="https://github.com/rilian-la-te/vala-panel-appmenu"
arch=(x86_64)
license=(LGPL3)
source=("https://github.com/rilian-la-te/vala-panel-appmenu/releases/download/${pkgver}/appmenu-gtk-module.tar.xz"
80-appmenu-gtk-module)
sha256sums=('97a5ec89688be1a88470b44e829c198b200678b75c969f8bc4532c7db18575ee'
'4c006c4ea7b8556070ad6d35529d3a9e23da8033429e34d1824c25942d969fbc')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
install -dm755 "$pkgdir"/etc/X11/xinit/xinitrc.d/
install -m755 "$srcdir"/80-appmenu-gtk-module "$pkgdir"/etc/X11/xinit/xinitrc.d/
}
pkgname=ardour
pkgver=5.12
pkgrel=2
pkgdesc="Professional-grade digital audio workstation"
arch=('x86_64')
url="http://ardour.org/"
license=('GPL')
depends=('liblrdf' 'liblo' 'lilv' 'gtkmm' 'aubio' 'suil' 'taglib' 'rubberband' 'libarchive')
makedepends=('git' 'python2' 'boost' 'cppunit' 'doxygen' 'graphviz' 'itstool')
install=$pkgname.install
source=(${pkgname}-${pkgver}::"git://git.ardour.org/${pkgname}/${pkgname}.git#tag=${pkgver}")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# python2 fix
sed -i 's/python ${SRC}/python2 ${SRC}/' libs/pbd/wscript
}
build() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf configure --prefix=/usr \
--configdir=/etc \
--with-backends="jack,alsa,dummy" \
--libjack=weak \
--optimize \
--docs \
--cxx11 \
--no-phone-home \
--versioned \
--freedesktop \
--ptformat
python2 waf build $MAKEFLAGS
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf install --destdir="$pkgdir"
# install some freedesktop.org compatibility
install -Dm644 "build/gtk2_ardour/${pkgname}5.desktop" \
"$pkgdir/usr/share/applications/${pkgname}5.desktop"
# install mime type
install -Dm644 "build/gtk2_ardour/${pkgname}.xml" \
"$pkgdir/usr/share/mime/application/${pkgname}.xml"
# the upstream install icons to bundled place, we need it system-wide
for px in 16 22 32 48; do
install -dm755 $pkgdir/usr/share/icons/hicolor/${px}x${px}/mimetypes
ln -s $pkgdir/usr/share/${pkgname}5/icons/application-x-ardour_${px}px.png \
$pkgdir/usr/share/icons/hicolor/${px}x${px}/mimetypes/application-x-ardour.png
done
# the main icon
for px in 16 22 32 48 256 512; do
install -dm755 $pkgdir/usr/share/icons/hicolor/${px}x${px}/apps
ln -s $pkgdir/usr/share/${pkgname}5/resources/Ardour-icon_${px}px.png \
$pkgdir/usr/share/icons/hicolor/${px}x${px}/apps/ardour5.png
done
}
......@@ -17,5 +17,3 @@ MSG
post_upgrade() {
post_install
}
# vim:set ts=2 sw=2 et:
pkgname=ardour
_pkgname=Ardour3
pkgver=3.1
pkgrel=2
pkgdesc="Professional-grade digital audio workstation"
arch=('x86_64')
url="http://ardour.org/"
license=('GPL')
depends=('liblrdf' 'liblo' 'libsmf' 'lilv>=0.16.0'
'aubio' 'libgnomecanvasmm' 'suil>=0.6.12')
makedepends=('python2' 'boost' 'cppunit' 'doxygen' 'graphviz')
install=$pkgname.install
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2"
"$pkgname.desktop")
md5sums=('6291ee6e6519a801a6c7255eb005895f'
'316bd21ece5e2208a104fd09cac521af')
prepare() {
cd "$srcdir/$_pkgname-$pkgver"
# python2 fix
sed -i 's/python ${SRC}/python2 ${SRC}/' libs/pbd/wscript
}
build() {
cd "$srcdir/$_pkgname-$pkgver"
python2 waf configure --prefix=/extra/usr \
--configdir=/extra/etc \
--docs
python2 waf build $MAKEFLAGS
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python2 waf install --destdir="$pkgdir"
# install some freedesktop.org compatibility
install -Dm644 "$srcdir/$pkgname.desktop" \
"$pkgdir/extra/usr/share/applications/$pkgname.desktop"
}
[Desktop Entry]
Name=Ardour 3
Genericname=Multitrack hard disk recorder
Comment=Multitrack hard disk recorder
Exec=ardour3
Icon=/extra/usr/share/ardour3/icons/ardour_icon_48px.png
Terminal=false
Type=Application
X-MultipleArgs=false
Categories=GTK;Audio;AudioVideoEditing;AudioVideo;Video;
pkgname=atom
pkgver=1.38.2
pkgrel=1
pkgdesc='A hackable text editor for the 21st Century'
arch=('x86_64')
url='https://github.com/atom/atom'
license=('MIT' 'custom')
depends=('libxkbfile' 'gtk3' 'libxtst' 'libxss' 'alsa-lib' 'nss')
makedepends=('git' 'npm' 'libgnome-keyring' 'gconf' 'python2' 'libsecret')
optdepends=('ctags: symbol indexing support'
'git: Git and GitHub integration')
options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/atom/archive/v${pkgver}.tar.gz"
'fix-license-path.patch'
'fix-restart.patch')
sha256sums=('b78c83975d9626752e05b14a27e5ad1bba623e887082e1c6f056902fd3fa7207'
'67ecd71b08292218388205ee49e02d176a15bd0c3e74d30cb720b79c6946f4c9'
'a6fa960741823a52b2f82684285e26eb84ce54825dc7ed008fdaca974b60957e')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i "${srcdir}"/fix-license-path.patch
patch -Np1 -i "${srcdir}"/fix-restart.patch
# Workaround for Node 10
sed -e 's|"electron-link": "0.2.0"|"electron-link": "../../electron-link"|' \
-i script/package.json
cd ..
git clone https://github.com/atom/electron-link.git
cd electron-link
git checkout v0.2.0
# FIXME: won't build if manually fix npm warnings
# npm audit fix, remove package-lock to apply the fix
#sed -e 's/"leveldown": "^1.6.0"/"leveldown": "^2.0.1"/' \
# -e 's/"electron": "1.7.10"/"electron": "^2.0.4"/' \
# -e 's/"electron-mocha": "^3.3.0"/"electron-mocha": "^6.0.4"/' \
# -e 's/"mocha": "^3.2.0"/"mocha": "^5.2.0"/' -i package.json
#rm package-lock.json
sed -e 's/"leveldown": "^1.6.0"/"leveldown": "^2.0.1"/' -i package.json
npm install
npx babel src -d lib
cd node_modules/levelup
sed -e 's/"leveldown": "^1.1.0"/"leveldown": "^2.0.1"/' -i package.json
}
build() {
cd $pkgname-$pkgver
export PYTHON=/usr/bin/python2
export ATOM_RESOURCE_PATH="$srcdir/atom-$pkgver"
# If unset, ~/.atom/.node-gyp/.atom/.npm is used
export NPM_CONFIG_CACHE="${HOME}/.atom/.npm"
cd script
# FIXME: won't build if manually fix npm warnings
# npm audit fix
#sed -e 's/"babel-core": "5.8.38"/"babel-core": "^6.26.3"/' \
# -e 's/"coffeelint": "1.15.7"/"coffeelint": "^2.1.0"/' \
# -e 's/"electron-packager": "7.3.0"/"electron-packager": "^12.1.0"/' \
# -e 's/"npm": "5.3.0"/"npm": "^6.1.0"/' \
# -e 's/"webdriverio": "2.4.5"/"webdriverio": "^4.13.1"/' -i package.json
npm install
./build
}
package() {
cd $pkgname-$pkgver
install -d -m 755 "${pkgdir}"/usr/share/atom
cp -r out/atom-$pkgver-amd64/* "${pkgdir}"/usr/share/atom
msg "installing .desktop"
install -d -m 755 "${pkgdir}/usr/share/applications"
sed -e "s|<%= appName %>|Atom|" \
-e "s/<%= description %>/${pkgdesc}/" \
-e "s|<%= installDir %>|/usr|" \
-e "s|<%= appFileName %>|atom|" \
-e "s|<%= iconPath %>|atom|" \
resources/linux/atom.desktop.in > "${pkgdir}/usr/share/applications/atom.desktop"
msg "installing icons"
for size in 16 24 32 48 64 128 256 512 1024; do
install -D -m 644 resources/app-icons/stable/png/${size}.png \
"${pkgdir}"/usr/share/icons/hicolor/${size}x${size}/apps/atom.png
done
ln -sf ../../../share/icons/hicolor/1024x1024/apps/atom.png \
"${pkgdir}"/usr/share/atom/resources/atom.png
msg "installing atom.sh"
install -D -m 755 atom.sh "${pkgdir}/usr/bin/atom"
msg "installing license"
install -d -m 755 "${pkgdir}/usr/share/licenses/${pkgname}"
node -e "require('./script/lib/get-license-text')().then((licenseText) => require('fs').writeFileSync('${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md', licenseText))"
}
--- a/src/main-process/atom-application.js
+++ b/src/main-process/atom-application.js
@@ -413,7 +413,7 @@
this.openPathOnEvent('application:open-your-keymap', 'atom://.atom/keymap')
this.openPathOnEvent('application:open-your-snippets', 'atom://.atom/snippets')
this.openPathOnEvent('application:open-your-stylesheet', 'atom://.atom/stylesheet')
- this.openPathOnEvent('application:open-license', path.join(process.resourcesPath, 'LICENSE.md'))
+ this.openPathOnEvent('application:open-license', '/usr/share/licenses/atom/LICENSE.md')
this.configFile.onDidChange(settings => {
for (let window of this.getAllWindows()) {
--- a/src/workspace.js
+++ b/src/workspace.js
@@ -1105,7 +1105,7 @@
// Open Atom's license in the active pane.
openLicense () {
- return this.open(path.join(process.resourcesPath, 'LICENSE.md'))
+ return this.open('/usr/share/licenses/atom/LICENSE.md')
}
// Synchronously open the given URI in the active pane. **Only use this method
--- a/src/module-cache.coffee
+++ b/src/module-cache.coffee
@@ -189,7 +189,7 @@ resolveModulePath = (relativePath, parentModule) ->
return unless candidates?
for version, resolvedPath of candidates
- if Module._cache.hasOwnProperty(resolvedPath) or isCorePath(resolvedPath)
+ if Boolean(Module._cache[resolvedPath]) or isCorePath(resolvedPath)
return resolvedPath if satisfies(version, range)
return
--- a/src/main-process/atom-application.js
+++ b/src/main-process/atom-application.js
@@ -1339,7 +1339,7 @@
}
restart () {
- const args = []
+ const args = ['/usr/lib/atom/atom']
if (this.safeMode) args.push('--safe')
if (this.logFile != null) args.push(`--log-file=${this.logFile}`)
if (this.socketPath != null) args.push(`--socket-path=${this.socketPath}`)
pkgname=audacity
pkgver=2.0.5
pkgrel=4
pkgver=2.3.2
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('x86_64')
url="http://audacity.sourceforge.net/"
url="https://www.audacityteam.org/"
license=('GPL')
depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk' 'libsamplerate' 'lame'
'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils' 'redland'
'jack' 'soundtouch' 'ffmpeg-compat')
makedepends=('zip' 'python' 'pkgconfig')
options=('!makeflags')
install="${pkgname}.install"
source=("http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}.tar.xz")
sha256sums=('e287541dd017f523fd9a06d5140b8f72fe9a0450709de7c398baffa106db2b79')
depends=('libid3tag' 'libmad' 'libsoxr' 'lilv' 'portsmf' 'soundtouch' 'suil' 'twolame' 'vamp-plugin-sdk' 'wxgtk3')
makedepends=('cmake' 'ffmpeg')
optdepends=('ffmpeg: additional import/export capabilities')
source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz")
sha256sums=('cc477a71ff5571c72887a7a155365b07a1a50bcea1abf490a4de7b884376c731')
build() {
cd ${pkgname}-src-${pkgver}
WX_CONFIG=/usr/bin/wx-config \
PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \
./configure --prefix=/usr \
--enable-unicode
cd ${pkgname}-Audacity-${pkgver}
WX_CONFIG=wx-config-gtk3 ./configure --prefix=/usr \
--with-libsndfile="system" \
--with-ffmpeg="system" \
--with-expat="system" \
--with-lame="system" \
--with-libsoxr="system" \
--with-portaudio \
--with-portmidi \
--with-libflac \
--with-libid3tag \
--with-libsamplerate \
--with-sbsms \
--with-soundtouch \
--with-libtwolame \
--with-libvorbis \
--with-lv2
make
}
package() {
cd ${pkgname}-src-${pkgver}
cd ${pkgname}-Audacity-${pkgver}
make DESTDIR="${pkgdir}" install
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
/usr/bin/kbuildsycoca4 --global --noincremental &> /dev/null
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
# Maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/babl
pkgname=babl
pkgver=0.1.10
pkgrel=2
pkgver=0.1.66
pkgrel=1
pkgdesc="Dynamic, any to any, pixel format conversion library"
arch=('x86_64')
url="http://gegl.org/babl/"
url="https://gegl.org/babl/"
license=('LGPL3')
depends=('glibc' 'filesystem-extra')
options=('!libtool' '!makeflags')
source=("ftp://ftp.gimp.org/pub/babl/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('9e1542ab5c0b12ea3af076a9a2f02d79')
depends=('glibc')
source=("https://ftp.gimp.org/pub/babl/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('369dd89345489a3949e83d5ad63295029088230626f64a05e530761b176fa163')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/extra/usr
cd $pkgname-$pkgver
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd $srcdir/$pkgname-$pkgver
make check
}
package() {
cd $srcdir/$pkgname-$pkgver
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}
# Arch Maintainer: Muflone http://www.muflone.com/contacts/english/
pkgbase=bluegriffon-i18n
pkgname=()
pkgver=3.0.1
pkgrel=2
pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox"
arch=('any')
url="http://bluegriffon.org/"
license=('MPL' 'GPL' 'LGPL')
depends=('bluegriffon')
groups=('bluegriffon')
provides=('bluegriffon-i18n')
source=("http://bluegriffon.org/freshmeat/${pkgver}/bluegriffon-${pkgver}.Ubuntu16.04-${CARCH}.tar.bz2")
sha256sums=('eafd38c1f1fbec2a50cf7e3904246505704dfa0fe93beaf33f6984018d3b5243')
install="${pkgbase}.install"
_languages=(
'cs "Czech"'
'de "German"'
'es-ES "Spanish (España)"'
'fi "Finnish"'
'fr "French"'
'gl "Galego (España)"'
'he "Hebrew"'
'hu "Hungarian"'
'it "Italian"'
'ja "Japanese"'
'ko "Korean"'
'nl "Dutch"'
'pl "Polish"'
'ru "Russian"'
'sl "Slovenian"'
'sr "Russian"'
'sv-SE "Svenska"'
'zh-CN "Chinese Simplified"'
'zh-TW "Traditional Chinese"'
)
for _lang in "${_languages[@]}"
do
_locale="${_lang%% *}"
_pkgname="${pkgbase}-${_locale,,}"
pkgname+=("${_pkgname}")
eval "package_${_pkgname}() {
_package ${_lang}
}"
done
_package() {
_locale="$1"
_language="$2"
pkgdesc="${_language} language pack for Bluegriffon"
cd "bluegriffon/distribution/extensions"
install -m 755 -d "${pkgdir}/usr/lib/bluegriffon/distribution/extensions"
install -m 644 -t "${pkgdir}/usr/lib/bluegriffon/distribution/extensions" "langpack-${_locale}@bluegriffon.org.xpi"
}
post_install() {
echo "To apply the language pack you may need to create a new bluegriffon profile using: bluegriffon -P"
}
post_update() {
post_install
}
# ArchLinux Contributors
pkgname=bluegriffon
pkgver=1.7
pkgrel=1
pkgdesc='The next-generation Web Editor'
url="http://bluegriffon.org/"
pkgver=3.0.1
pkgrel=2
pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox"
arch=('x86_64')
url="http://bluegriffon.org/"
license=('MPL' 'GPL' 'LGPL')
depends=('libpng' 'libjpeg' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info' 'filesystem-extra' 'gtk2')
makedepends=('wget')
install='bluegriffon.install'
source=("http://bluegriffon.org/freshmeat/${pkgver}/bluegriffon-${pkgver}.Ubuntu13.04-x86_64.tar.bz2"
'bluegriffon.desktop'
'bluegriffon.install')
md5sums=('c4676b0794c4456aa1a5ccff5ca13c74'
'e532ce3a2163d91b11a19176dcf2dbe1'
'42d885a1665f32babc8045b2041949ea')
depends=('nss' 'dbus-glib' 'gtk2' 'gtk3' 'hunspell' 'hyphen' 'libxt')
optdepends=('bluegriffon-i18n: language packs for Bluegriffon')
groups=('bluegriffon')
source=("http://bluegriffon.org/freshmeat/${pkgver}/${pkgname}-${pkgver}.Ubuntu16.04-${CARCH}.tar.bz2"
"icon-16.png"::"https://github.com/therealglazou/${pkgname}/raw/${pkgver}/branding/default16.png"
"icon-22.png"::"https://github.com/therealglazou/${pkgname}/raw/${pkgver}/branding/default22.png"
"icon-24.png"::"https://github.com/therealglazou/${pkgname}/raw/${pkgver}/branding/default24.png"
"icon-32.png"::"https://github.com/therealglazou/${pkgname}/raw/${pkgver}/branding/default32.png"
"icon-48.png"::"https://github.com/therealglazou/${pkgname}/raw/${pkgver}/branding/default48.png"
"icon-128.png"::"https://github.com/therealglazou/${pkgname}/raw/${pkgver}/branding/mozicon128.png"
"icon-256.png"::"https://github.com/therealglazou/${pkgname}/raw/${pkgver}/branding/default256.png"
"${pkgname}.desktop")
sha256sums=('eafd38c1f1fbec2a50cf7e3904246505704dfa0fe93beaf33f6984018d3b5243'
'339b371abc23894084a8de27925ba688f760ab6b3b42b7a54ba338b1e8025793'
'2fcbe4e9631c749f290e4b3c3b177ad463c5dbdf992674499aeb5adbfeb8862a'
'497e5bde0da375b8a9a2d5f12d008e73d6b1758e712c70432661410b3bc6273c'
'c03d6e093d43c0bd6b8f25ac77ffae31d2306817b58c074971470186fe998f5a'
'0ea31be427b462612fde24f852bf6049a2db452320c066c93cfd73ea53524395'
'146b2e3979949e97e8d092a41275c27a895d11eff995eb6a453c6d79a6760480'
'8b19d0a8818b1a01dee68dfbda62f192c47ee9dcfd51d90f93c82fb64b40f4d0'
'882133b77840356985a81e496b4ddc443f8f33c068cfb7ef0858497820adcfff')
package() {
cd ${srcdir}
mkdir -p ${pkgdir}/extra/usr/{bin,lib,share/{applications,pixmaps}}
cp -R bluegriffon ${pkgdir}/extra/usr/lib/${pkgname}
install -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/extra/usr/share/applications/
install -m644 ${srcdir}/bluegriffon/chrome/icons/default/default48.png ${pkgdir}/extra/usr/share/pixmaps/${pkgname}-icon.png
prepare() {
cd "${pkgname}"
# Remove unused files
rm "precomplete" "removed-files"
# Use system wide dictionaries
rm -r "dictionaries" "hyphenation"
# Remove all language packs except english
mv "distribution/extensions/langpack-en-US@${pkgname}.org.xpi" "${srcdir}"
rm -r "distribution"
# Use system libraries
for _file in "libnspr4.so" "libplc4.so" "libplds4.so" "libfreeblpriv3.chk" \
"libfreeblpriv3.so" "libnss3.so" "libnssckbi.so" "libssl3.so" \
"libnssutil3.so" "libsmime3.so" "libsoftokn3.chk" "libsoftokn3.so"
do
rm "${_file}"
sed -i "/${_file}/d" "dependentlibs.list"
done
}
ln -sf /extra/usr/lib/bluegriffon/bluegriffon $pkgdir/extra/usr/bin/
package() {
# Install files
install -m 755 -d "${pkgdir}/usr/lib"
cp -LR "${pkgname}" "${pkgdir}/usr/lib"
# Install english language pack
install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/distribution/extensions"
install -m 644 -t "${pkgdir}/usr/lib/${pkgname}/distribution/extensions" "${srcdir}/langpack-en-US@${pkgname}.org.xpi"
# Install executable file
install -m 755 -d "${pkgdir}/usr/bin"
ln -sf /usr/lib/${pkgname}/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
# Install icons
for _icon in 16 32 48 128 256; do
install -m 644 -D "icon-${_icon}.png" "${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${pkgname}.png"
done
# Install desktop file
install -m 644 -D "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
# Use system wide dictionaries
ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/${pkgname}/dictionaries"
ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/${pkgname}/hyphenation"
}
[Desktop Entry]
Name=Bluegriffon
Comment=The next-generation Web Editor
Icon=bluegriffon-icon
Type=Application
Categories=Application;Development;
MimeType=text/html
Encoding=UTF-8
Exec=bluegriffon %u
Name=BlueGriffon
GenericName=Web Editor
GenericName[hu]=Webszerkesztő
X-GNOME-FullName=BlueGriffon Web Editor
X-GNOME-FullName[hu]=BlueGriffon webszerkesztő
Comment=Create Web Pages
Comment[es]=Crea páginas web
Comment[hu]=Weboldalak készítése
Comment[it]=Creare pagine Web
Categories=Development;WebDevelopment;
Exec=bluegriffon
Icon=bluegriffon
Terminal=false
MultipleArgs=false
StartupNotify=false
MimeType=text/html;application/xhtml+xml;
Type=Application
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
if [ "`vercmp $2 1.0pre1-2`" -lt 0 ]; then
echo "===================================================="
echo "|!! !!!|"
echo "|!! Due to important changes to the locales, !!!|"
echo "|!! you must delete your BlueGriffon's user !!!|"
echo "|!! profile before launching this new build : !!!|"
echo "|!! rm -R ~/.disruptive\ innovations\ sarl/ !!!|"
echo "|!! !!!|"
echo "===================================================="
echo ""
fi
}
This diff is collapsed.
diff -upr chromium-20.0.1132.57.orig/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h chromium-20.0.1132.57/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
--- chromium-20.0.1132.57.orig/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h 2012-07-10 10:48:31.000000000 +0300
+++ chromium-20.0.1132.57/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h 2012-07-11 23:44:11.000000000 +0300
@@ -243,14 +243,13 @@ struct kernel_rusage {
long ru_nivcsw;
};
-struct siginfo;
#if defined(__i386__) || defined(__arm__) || defined(__PPC__)
/* include/asm-{arm,i386,mips,ppc}/signal.h */
struct kernel_old_sigaction {
union {
void (*sa_handler_)(int);
- void (*sa_sigaction_)(int, struct siginfo *, void *);
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
};
unsigned long sa_mask;
unsigned long sa_flags;
@@ -287,13 +286,13 @@ struct kernel_sigaction {
unsigned long sa_flags;
union {
void (*sa_handler_)(int);
- void (*sa_sigaction_)(int, struct siginfo *, void *);
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
};
struct kernel_sigset_t sa_mask;
#else
union {
void (*sa_handler_)(int);
- void (*sa_sigaction_)(int, struct siginfo *, void *);
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
};
unsigned long sa_flags;
void (*sa_restorer)(void);
--- chromium-browser-26.0.1410.19/src/build/linux/system.gyp~ 2013-03-04 00:04:06.000000000 +0200
+++ chromium-browser-26.0.1410.19/src/build/linux/system.gyp 2013-03-04 13:45:31.822101677 +0200
@@ -494,7 +494,7 @@
'--name', 'LibSpeechdLoader',
'--output-h', '<(output_h)',
'--output-cc', '<(output_cc)',
- '--header', '<libspeechd.h>',
+ '--header', '<speech-dispatcher/libspeechd.h>',
'--link-directly=<(linux_link_libspeechd)',
'spd_open',
'spd_say',
--- native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp.orig 2014-05-20 23:59:56.000000000 +0300
+++ native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp 2014-05-21 00:00:28.000000000 +0300
@@ -96,6 +96,7 @@
# coming after the -fno-stack-protector we added above.
'-fstack-protector',
'-fstack-protector-all',
+ '-fstack-protector-strong',
'-fprofile-generate',
'-finstrument-functions',
'-funwind-tables',
--- third_party/skia/src/ports/SkFontHost_FreeType.cpp.orig 2019-07-19 11:08:34.770972665 +0000
+++ third_party/skia/src/ports/SkFontHost_FreeType.cpp 2019-07-19 11:08:44.274442065 +0000
@@ -128,9 +128,9 @@ public:
: fGetVarDesignCoordinates(nullptr)
, fGetVarAxisFlags(nullptr)
, fLibrary(nullptr)
- , fIsLCDSupported(false)
+ , fIsLCDSupported(true)
, fLightHintingIsYOnly(false)
- , fLCDExtra(0)
+ , fLCDExtra(2)
{
if (FT_New_Library(&gFTMemory, &fLibrary)) {
return;
diff --git a/build/linux/unbundle/icu.gn b/build/linux/unbundle/icu.gn
index 4450e40..9ca36dd 100644
--- a/build/linux/unbundle/icu.gn
+++ b/build/linux/unbundle/icu.gn
@@ -96,6 +96,7 @@ shim_headers("icui18n_shim") {
"unicode/fpositer.h",
"unicode/gender.h",
"unicode/gregocal.h",
+ "unicode/listformatter.h",
"unicode/measfmt.h",
"unicode/measunit.h",
"unicode/measure.h",
@@ -178,7 +179,6 @@ shim_headers("icuuc_shim") {
"unicode/icudataver.h",
"unicode/icuplug.h",
"unicode/idna.h",
- "unicode/listformatter.h",
"unicode/localpointer.h",
"unicode/locdspnm.h",
"unicode/locid.h",
diff --git a/third_party/blink/renderer/platform/text/character_property_data.h b/third_party/blink/renderer/platform/text/character_property_data.h
index 28fb6a9..bb4dbd7 100644
--- a/third_party/blink/renderer/platform/text/character_property_data.h
+++ b/third_party/blink/renderer/platform/text/character_property_data.h
@@ -244,10 +244,12 @@ static const UChar32 kIsHangulRanges[] = {
0xD7B0, 0xD7FF,
// Halfwidth Hangul Jamo
// https://www.unicode.org/charts/nameslist/c_FF00.html
- 0xFFA0, 0xFFDC,
+ 0xFFA0, 0xFFDB,
};
-static const UChar32 kIsHangulArray[] = {};
+static const UChar32 kIsHangulArray[] = {
+ 0xFFDC,
+};
#if !defined(USING_SYSTEM_ICU)
// Freezed trie tree, see character_property_data_generator.cc.
From e1bbdec720a333937bd1b990ae0f7ee97db0d3b0 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: Fri, 28 Jun 2019 15:56:23 +0000
Subject: [PATCH] update zlib
---
third_party/perfetto/gn/BUILD.gn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/third_party/perfetto/gn/BUILD.gn b/third_party/perfetto/gn/BUILD.gn
index c951f5f..297eee3 100644
--- a/third_party/perfetto/gn/BUILD.gn
+++ b/third_party/perfetto/gn/BUILD.gn
@@ -200,7 +200,7 @@ group("zlib") {
"//buildtools:zlib",
]
} else if (build_with_chromium) {
- public_configs = [ "//third_party/zlib:zlib_config" ]
+ public_configs = [ "//third_party/zlib:system_zlib" ]
public_deps = [
"//third_party/zlib",
]
--
2.21.0
diff -upr chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc chromium-71.0.3578.80/chrome/common/chrome_content_client.cc
--- chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc 2018-12-03 20:16:43.000000000 +0000
+++ chromium-71.0.3578.80/chrome/common/chrome_content_client.cc 2018-12-04 21:34:28.658206942 +0000
@@ -99,7 +99,7 @@
// Registers Widevine CDM if Widevine is enabled, the Widevine CDM is
// bundled and not a component. When the Widevine CDM is a component, it is
// registered in widevine_cdm_component_installer.cc.
-#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
+#if BUILDFLAG(ENABLE_WIDEVINE) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
#define REGISTER_BUNDLED_WIDEVINE_CDM
#include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
// TODO(crbug.com/663554): Needed for WIDEVINE_CDM_VERSION_STRING. Support
diff -upr chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h
--- chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-03 20:18:01.000000000 +0000
+++ chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-04 21:37:45.635374949 +0000
@@ -12,4 +12,6 @@
// - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available
// as a string, e.g., "1.0.123.456").
+#define WIDEVINE_CDM_VERSION_STRING "unknown"
+
#endif // WIDEVINE_CDM_VERSION_H_
# Default settings for chromium. This file is sourced by /usr/bin/chromium
# Options to pass to chromium
# flash-version updated dynamically with .install file
CHROMIUM_FLAGS="--ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=1.2.3.4"
\ No newline at end of file
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Chromium
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName=Web Browser
GenericName[ar]=متصفح الشبكة
GenericName[bg]=Уеб браузър
GenericName[ca]=Navegador web
GenericName[cs]=WWW prohlížeč
GenericName[da]=Browser
GenericName[de]=Web-Browser
GenericName[el]=Περιηγητής ιστού
GenericName[en_GB]=Web Browser
GenericName[es]=Navegador web
GenericName[et]=Veebibrauser
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[gu]=વેબ બ્રાઉઝર
GenericName[he]=דפדפן אינטרנט
GenericName[hi]=वेब ब्राउज़र
GenericName[hu]=Webböngésző
GenericName[it]=Browser Web
GenericName[ja]=ウェブブラウザ
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
GenericName[ko]=웹 브라우저
GenericName[lt]=Žiniatinklio naršyklė
GenericName[lv]=Tīmekļa pārlūks
GenericName[ml]=വെബ് ബ്രൌസര്‍
GenericName[mr]=वेब ब्राऊजर
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador da Internet
GenericName[ro]=Navigator de Internet
GenericName[ru]=Веб-браузер
GenericName[sl]=Spletni brskalnik
GenericName[sv]=Webbläsare
GenericName[ta]=இணைய உலாவி
GenericName[th]=เว็บเบราว์เซอร์
GenericName[tr]=Web Tarayıcı
GenericName[uk]=Навігатор Тенет
GenericName[zh_CN]=网页浏览器
GenericName[zh_HK]=網頁瀏覽器
GenericName[zh_TW]=網頁瀏覽器
# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
GenericName[bn]=ওয়েব ব্রাউজার
GenericName[fil]=Web Browser
GenericName[hr]=Web preglednik
GenericName[id]=Browser Web
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
GenericName[sk]=WWW prehliadač
GenericName[sr]=Интернет прегледник
GenericName[te]=మహాతల అన్వేషి
GenericName[vi]=Bộ duyệt Web
# Gnome and KDE 3 uses Comment.
Comment=Chromium web-browser bundle, including pdf, flash and gtalk plugin
Comment[de]=Chromium web-browser bundel, mit pdf, flash und gtalk plugin
Comment[en_GB]=Chromium web-browser bundle, including pdf, pepper-flash and gtalk plugin
Exec=chromium %U
Terminal=false
Icon=chromium
Type=Application
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;
[ -f etc/chromium-browser/default ] && _default='etc/chromium-browser/default'
[ -f etc/chromium/default ] && _default='etc/chromium/default'
flashver=14.0.0.125
instructions() {
/bin/cat << EOF
......@@ -16,30 +12,5 @@ EOF
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
post_upgrade
instructions
}
post_upgrade() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
/usr/bin/kbuildsycoca4 --global --noincremental &> /dev/null
if [[ $(cat "$_default") == *ppapi* ]]; then
sed -i "s/ppapi-flash-version=.*[0-9]/ppapi-flash-version=$flashver/g" "$_default"
else
sed -i '/CHROMIUM_FLAGS/s|"$| --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version='$flashver'"|' "$_default"
fi
}
post_remove() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
/usr/bin/kbuildsycoca4 --global --noincremental &> /dev/null
if [ -f "$_default" ]; then
sed -i 's| --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=1.*[0-999]||' "$_default"
else
: # do nothing
fi
}
#!/bin/bash
# Override command-line options
# Based on Gentoo's chromium package (and by extension, Debian's)
if [[ -f /etc/chromium/default ]]; then
. /etc/chromium/default
fi
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
# default CHROMIUM_FLAGS (from /etc/chromium/default)
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-$CHROMIUM_FLAGS}
export CHROME_WRAPPER=$(readlink -f "$0")
export CHROME_DESKTOP=chromium.desktop
exec /usr/lib/chromium/chromium $CHROMIUM_FLAGS "$@"