Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Commit

Permalink
Fix all namcap errors. Binary packages are now clean
Browse files Browse the repository at this point in the history
  • Loading branch information
CReimer committed Apr 29, 2014
1 parent 31528ce commit f9810f7
Show file tree
Hide file tree
Showing 26 changed files with 50 additions and 43 deletions.
2 changes: 1 addition & 1 deletion bamf/PKGBUILD
Expand Up @@ -11,7 +11,7 @@ pkgdesc="Removes the headache of applications matching into a simple DBus daemon
arch=('i686' 'x86_64')
url="https://launchpad.net/bamf"
license=('GPL')
depends=('libgtop' 'libwnck3' 'glib2')
depends=('libgtop' 'libwnck3' 'glib2' 'procps-ng')
makedepends=('gnome-common' 'gobject-introspection' 'gtk-doc' 'libxml2' 'libxslt' 'vala')
provides=('FEATURE-bamf-webapps' "libbamf3=${pkgver}" "bamfdaemon=${pkgver}")
replaces=('libbamf3' 'bamfdaemon')
Expand Down
2 changes: 1 addition & 1 deletion frame/PKGBUILD
Expand Up @@ -10,7 +10,7 @@ pkgdesc="Touch Frame Library"
arch=('i686' 'x86_64')
url="https://launchpad.net/frame"
license=('LGPL')
depends=('libxi')
depends=('gcc-libs' 'libxi')
makedepends=('asciidoc' 'xorg-server-devel')
groups=('unity')
options=('!emptydirs')
Expand Down
6 changes: 3 additions & 3 deletions gnome-control-center-ubuntu/PKGBUILD
Expand Up @@ -4,7 +4,7 @@

pkgname=gnome-control-center-ubuntu
_ppa_rel=0ubuntu1~trusty1
_ppa_ver=3.12.0
_ppa_ver=3.12.1
pkgver=3.12.1
pkgrel=1
pkgdesc="The Control Center for GNOME and Unity"
Expand All @@ -29,7 +29,7 @@ source=("http://download.gnome.org/sources/${pkgname%-*}/${pkgver%.*}/${pkgname%
'0001-Remove-overlay-scrollbar-from-GTK_MODULES.patch'
'0002-Reimplement-support-for-loading-external-panels.patch')
sha512sums=('35b765fc11182b0f7eec6bc31934f51ccbf01dde9f2e7deed6c84ca9811bd0a00783d75bd3fab7004fe41cc29740b6d6e0a7f3c6391a482eefcab0129d0278fe'
'44c56821b55746df8bfb6ca0aa303f63353f0350d23617d5f245d777c39c3e5989db41006dfffbaf131bb1b43a6c474075acff14f9ea5c10e34c4af9fb89bd97'
'b15ff578f1d00448d2cc756b296be9055ea6ec86c6cb64ce388adfe64831f521cb6ae5e58389c45061021819f10a693dd515eb775ec6188030d14bdbc144203f'
'5f2c2188b6f4e1d4999e031ba8638bac29ba6688f331ad8cfc6c3fe4c104eeebaf3a53cea5ecbd5cc7c925cfad3138a86b893f996df2ae035b61ebcdc6e862d1'
'0e205e82d74d47a15bb802bcac66328dd5cd69b8a4ac92420bdc6138dc124b1fec6757ee04cc9391e0d7e67360762bfbf6ee104a2b3a6736862c8ae016248e88')

Expand Down Expand Up @@ -97,7 +97,7 @@ package() {
make DESTDIR="${pkgdir}" install

# Fix a warning
chown 102:0 "${pkgdir}/usr/share/polkit-1/rules.d/"
# chown 102:0 "${pkgdir}/usr/share/polkit-1/rules.d/"
chmod 700 "${pkgdir}/usr/share/polkit-1/rules.d/"

# Ubuntu specific files
Expand Down
2 changes: 1 addition & 1 deletion gnome-screensaver-ubuntu/PKGBUILD
Expand Up @@ -11,7 +11,7 @@ arch=('i686' 'x86_64')
license=('GPL')
url="http://live.gnome.org/GnomeScreensaver"
backup=('etc/pam.d/gnome-screensaver')
depends=('dbus-glib' 'libgnomekbd' 'gnome-desktop' 'gsettings-desktop-schemas' 'libsystemd')
depends=('cairo' 'dbus-glib' 'libgnomekbd' 'gnome-desktop' 'gsettings-desktop-schemas' 'libsystemd')
makedepends=('pkgconfig' 'intltool' 'libxss' 'gnome-common')
provides=("gnome-screensaver=${pkgver}")
conflicts=('gnome-screensaver')
Expand Down
2 changes: 1 addition & 1 deletion gnome-session-ubuntu/PKGBUILD
Expand Up @@ -9,7 +9,7 @@ pkgrel=1
pkgdesc="The GNOME Session Handler"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
depends=('systemd' 'dconf' 'gsettings-desktop-schemas' 'gtk3' 'gnome-desktop' 'hicolor-icon-theme' 'json-glib' 'libgl' 'libsm' 'libxtst' 'dbus-glib' 'polkit-gnome')
depends=('systemd' 'dconf' 'gsettings-desktop-schemas' 'gtk3' 'gnome-desktop' 'mesa' 'hicolor-icon-theme' 'json-glib' 'libgl' 'libsm' 'libxtst' 'dbus-glib' 'polkit-gnome')
makedepends=('gnome-common' 'gtk-doc' 'intltool' 'mesa' 'xtrans')
groups=('gnome')
provides=("gnome-session=${pkgver}")
Expand Down
4 changes: 2 additions & 2 deletions gnome-settings-daemon-ubuntu/PKGBUILD
Expand Up @@ -4,7 +4,7 @@

pkgname=gnome-settings-daemon-ubuntu
_ppa_rel=0ubuntu1~trusty1
_ppa_ver=3.12.0.1
_ppa_ver=3.12.1
pkgver=3.12.1
pkgrel=1
pkgdesc="The GNOME Settings daemon with Ubuntu's patches"
Expand All @@ -22,7 +22,7 @@ source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname%-*}/3.12/${pkgname%-*}
"http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/pool/main/g/gnome-settings-daemon/gnome-settings-daemon_${_ppa_ver}-${_ppa_rel}.debian.tar.gz"
'0001-Do-not-hide-cursor.patch')
sha512sums=('496182d9e01e97f59465bc5b9b48881d4ec85aefd0d1c5018645d5524deb7fd01022efb32c3daa8cebaef12ecffb746ac1346072c3074949d6cde5f57cca00ae'
'1b2ee2e7db7fa5b06d83fb2a8d92e8ad7a551e91d50e25383f9bce1c0335478ac2c47504f3d065767596fb2a69bffaa22d4973fbf2ab121f937673b2adb7b170'
'1be09e6e215e6e316de345bc462069f6f0adcba1b02b8ad634b7050cc0d6062e2d6706d756703642f53a065f2e4fdcf9253bb6005287de03dccc42c2824b83a8'
'f0e4971759ea7553afb998d55124dff7450288d7079057911a61da1b9625272ce19b3dc8f0dbce9b3418e86aaf666954269ed42512e2d1ed37b8b4bf123725e2')

prepare() {
Expand Down
2 changes: 1 addition & 1 deletion gsettings-desktop-schemas-ubuntu/PKGBUILD
Expand Up @@ -12,7 +12,7 @@ pkgdesc="Shared GSettings schemas for the desktop"
arch=('any')
url="http://live.gnome.org/"
license=('GPL')
depends=('glib2')
depends=('dconf' 'glib2')
makedepends=('intltool' 'gobject-introspection')
provides=("${pkgname%-*}=${pkgver}")
conflicts=("${pkgname%-*}")
Expand Down
2 changes: 1 addition & 1 deletion gtk2-ubuntu/PKGBUILD
Expand Up @@ -10,7 +10,7 @@ pkgdesc="GTK+ is a multi-platform toolkit (v2)"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
license=('LGPL')
depends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'shared-mime-info' 'cairo' 'libcups' 'gtk-update-icon-cache')
depends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'shared-mime-info' 'cairo' 'libcups' 'gtk-update-icon-cache' 'python2')
makedepends=('pkg-config' 'gobject-introspection' 'gtk-doc')
provides=("gtk2=${pkgver}")
conflicts=('gtk2')
Expand Down
27 changes: 15 additions & 12 deletions gtk3-ubuntu/arch_gtk3.install
@@ -1,22 +1,25 @@
post_install() {
usr/bin/gtk-query-immodules-3.0 --update-cache
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
echo "If you want to use the global menus and you are not using Unity, you will need"
echo "to add the following to ~/.config/gtk-3.0/settings.ini"
echo
echo "********************************"
echo "[Settings]"
echo "gtk-shell-shows-menubar = 1"
echo "********************************"
/usr/bin/gtk-query-immodules-3.0 --update-cache
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
/usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
echo "If you want to use the global menus and you are not using Unity, you will need"
echo "to add the following to ~/.config/gtk-3.0/settings.ini"
echo
echo "********************************"
echo "[Settings]"
echo "gtk-shell-shows-menubar = 1"
echo "********************************"
}

post_upgrade() {
post_install
post_install
}

pre_remove() {
rm -f usr/lib/gtk-3.0/3.0.0/immodules.cache
rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
}

post_remove() {
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
/usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
4 changes: 2 additions & 2 deletions hud/PKGBUILD
Expand Up @@ -10,8 +10,8 @@ arch=('i686' 'x86_64')
url="https://launchpad.net/hud"
license=('GPL')
groups=('unity')
depends=('bamf' 'libdbusmenu-gtk3' 'sqlite')
makedepends=('cmake' 'dee-qt' 'gnome-common' 'gnome-doc-utils' 'gobject-introspection' 'gsettings-qt' 'gtk-doc' 'intltool' 'libcolumbus' 'libdbusmenu-qt5' 'qt5-base' 'python2-distribute' 'vala')
depends=('bamf' 'libdbusmenu-gtk3' 'sqlite' 'gsettings-qt' 'libcolumbus' 'libdbusmenu-qt5' 'dee-qt')
makedepends=('cmake' 'gnome-common' 'gnome-doc-utils' 'gobject-introspection' 'gtk-doc' 'intltool' 'qt5-base' 'python2-distribute' 'vala')
optdepends=('indicator-appmenu: HUD support')
install=hud.install
source=("https://launchpad.net/ubuntu/+archive/primary/+files/hud_${_actual_ver}${_extra_ver}.orig.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion indicator-session/PKGBUILD
Expand Up @@ -11,7 +11,7 @@ pkgdesc="Indicator showing session management, status and user switching"
arch=('i686' 'x86_64')
url="https://launchpad.net/indicator-session"
license=('GPL')
depends=('dconf')
depends=('hicolor-icon-theme' 'dconf')
makedepends=('cmake' 'intltool' 'python2')
optdepends=('lightdm: support for lightdm')
groups=('unity')
Expand Down
4 changes: 2 additions & 2 deletions libindicate/PKGBUILD
Expand Up @@ -66,7 +66,7 @@ package_libindicate() {

package_libindicate-gtk2() {
pkgdesc+=" (GTK+ 2 library)"
depends=("libindicate=${pkgver}" 'gtk2' 'python2-gobject2')
depends=('cairo' "libindicate=${pkgver}" 'gtk2' 'python2-gobject2')

cd "${srcdir}/${pkgbase}-${pkgver}/build-gtk2"

Expand All @@ -80,7 +80,7 @@ package_libindicate-gtk2() {

package_libindicate-gtk3(){
pkgdesc+=" (GTK+ 3 library)"
depends=("libindicate=${pkgver}" 'gtk3')
depends=('cairo' "libindicate=${pkgver}" 'gtk3')

cd "${srcdir}/${pkgbase}-${pkgver}/build-gtk3"

Expand Down
2 changes: 1 addition & 1 deletion libindicator/PKGBUILD
Expand Up @@ -40,7 +40,7 @@ build() {

package_libindicator() {
pkgdesc+=" (GTK+ 2 library)"
depends=('gtk2' 'glib2')
depends=('cairo' 'gtk2' 'glib2')

cd "${srcdir}/${pkgbase}-${_actual_ver}${_extra_ver}/build-gtk2"

Expand Down
2 changes: 1 addition & 1 deletion libtimezonemap/PKGBUILD
Expand Up @@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
url="https://launchpad.net/libtimezonemap"
license=('GPL')
groups=('unity')
depends=('gtk3' 'json-glib')
depends=('cairo' 'gtk3' 'json-glib')
makedepends=('gobject-introspection' 'intltool')
source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.tar.gz")
sha512sums=('25a72747e8a81d1afddad007599f188ee7435240e17f431f28f4fe2b6f4c777c9a999d5eeb8d66bde4c8f0a7495f3dae38f5f47fb1b82896a0602e779670ad87')
Expand Down
2 changes: 1 addition & 1 deletion libunity-misc/PKGBUILD
Expand Up @@ -11,7 +11,7 @@ pkgdesc="Misc. differently licensed stuff for Unity"
arch=('i686' 'x86_64')
url="https://launchpad.net/libunity-misc"
license=('LGPL')
depends=('gtk3')
depends=('cairo' 'gtk3')
makedepends=('gtk-doc')
groups=('unity')
source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_actual_ver}${_extra_ver}.orig.tar.gz"
Expand Down
1 change: 0 additions & 1 deletion lightdm-ubuntu/PKGBUILD
Expand Up @@ -31,7 +31,6 @@ options=('emptydirs')
backup=('etc/lightdm/keys.conf'
'etc/lightdm/lightdm.conf'
'etc/lightdm/lightdm-gtk-greeter.conf'
'etc/lightdm/lightdm-gtk-greeter-ubuntu.conf'
'etc/lightdm/users.conf')
install=lightdm.install
source=("https://launchpad.net/ubuntu/+archive/primary/+files/lightdm_${pkgver}-${_ubuntu_rel}.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion lightdm-unity-greeter/PKGBUILD
Expand Up @@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
url="https://launchpad.net/unity-greeter"
license=('GPL3' 'LGPL3')
groups=('unity-extra')
depends=('cantarell-fonts' 'gnome-doc-utils' 'ido' 'libindicator3' 'lightdm-ubuntu')
depends=('cantarell-fonts' 'gnome-doc-utils' 'ido' 'libindicator3' 'lightdm-ubuntu' 'gnome-desktop' 'libcanberra')
makedepends=('gnome-common' 'gnome-doc-utils' 'gnome-settings-daemon' 'imagemagick' 'intltool' 'librsvg' 'vala')
optdepends=("ubuntu-themes: Ubuntu's Ambiance and Radiance themes"
"ubuntu-wallpapers: Ubuntu's default wallpapers"
Expand Down
2 changes: 1 addition & 1 deletion nautilus-ubuntu/PKGBUILD
Expand Up @@ -87,7 +87,7 @@ package_nautilus-ubuntu() {

package_libnautilus-extension-ubuntu() {
pkgdesc="Library for extending the ${pkgdesc}"
depends=('gtk3')
depends=('cairo' 'gtk3')
provides=("libnautilus-extension=${pkgver}")
conflicts=('libnautilus-extension')

Expand Down
4 changes: 2 additions & 2 deletions overlay-scrollbar/PKGBUILD
Expand Up @@ -38,7 +38,7 @@ build() {

package_overlay-scrollbar() {
pkgdesc="Scrollbar overlayed widget"
depends=('liboverlay-scrollbar' 'liboverlay-scrollbar3')
depends=('dconf' 'liboverlay-scrollbar' 'liboverlay-scrollbar3')
install=overlay-scrollbar.install

cd "${srcdir}/${pkgbase}-${_actual_ver}${_extra_ver}/build-gtk3/"
Expand All @@ -55,7 +55,7 @@ package_overlay-scrollbar() {

package_liboverlay-scrollbar3() {
pkgdesc="Scrollbar overlayed widget - GTK 3 library"
depends=('gtk3')
depends=('cairo' 'gtk3')

cd "${srcdir}/${pkgbase}-${_actual_ver}${_extra_ver}/build-gtk3/"
make DESTDIR="${pkgdir}/" install
Expand Down
2 changes: 1 addition & 1 deletion qt4-ubuntu/PKGBUILD
Expand Up @@ -12,7 +12,7 @@ license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='A cross-platform application and UI framework'
depends=('libtiff' 'libpng' 'sqlite' 'ca-certificates' 'dbus'
'fontconfig' 'libgl' 'libxrandr' 'libxv' 'libxi' 'alsa-lib'
'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'libmng')
'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'libmng' 'mesa')
makedepends=('postgresql-libs' 'mariadb' 'unixodbc' 'cups' 'gtk2' 'libfbclient'
'mesa')
optdepends=('qtchooser: set the default Qt toolkit'
Expand Down
1 change: 1 addition & 0 deletions repo-make.conf
Expand Up @@ -3,6 +3,7 @@
# It allows to autobuild the package set on a dedicated (virtual) build machine

REPONAME=Unity-for-Arch
CHECKSCRIPT=./checkpkg

cairo-ubuntu
gtk2-ubuntu
Expand Down
4 changes: 2 additions & 2 deletions unity-control-center/PKGBUILD
Expand Up @@ -12,7 +12,7 @@ arch=('i686' 'x86_64')
groups=('unity')
url="https://launchpad.net/unity-control-center"
license=('GPL')
depends=('gnome-desktop' 'gnome-menus' 'gsettings-desktop-schemas' 'gtk3-ubuntu' 'gnome-settings-daemon' 'libtimezonemap')
depends=('libnotify' 'gnome-desktop' 'gnome-menus' 'gsettings-desktop-schemas' 'gtk3-ubuntu' 'gnome-settings-daemon' 'libtimezonemap')
makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'docbook-xsl' 'git')
options=('!emptydirs')
install=unity-control-center.install
Expand Down Expand Up @@ -111,7 +111,7 @@ package() {
make DESTDIR="${pkgdir}" install

# Fix a warning
chown 102:0 "${pkgdir}/usr/share/polkit-1/rules.d/"
# chown 102:0 "${pkgdir}/usr/share/polkit-1/rules.d/"
chmod 700 "${pkgdir}/usr/share/polkit-1/rules.d/"

# Use language packs
Expand Down
2 changes: 1 addition & 1 deletion unity-scopes/PKGBUILD
Expand Up @@ -43,7 +43,7 @@ url="https://launchpad.net/unity-scope-NAME"
license=('GPL' 'custom')
groups=('unity')

depends=('dee' 'glib2' 'libunity' 'python' 'python-gobject' 'unity-scope-home')
depends=('dee' 'glib2' 'libunity' 'python' 'python-gobject' 'unity-scope-home' 'hicolor-icon-theme')
# audacious, clementine, gmusicbrowser, guayadeque, musique
depends+=('python-dbus')
# calculator
Expand Down
5 changes: 4 additions & 1 deletion unity/PKGBUILD
Expand Up @@ -12,7 +12,7 @@ arch=('i686' 'x86_64')
url="https://launchpad.net/unity"
license=('GPL')
depends=('bamf' 'boost' 'cairo-ubuntu' 'compiz-ubuntu>=0.9.11' 'clutter-gtk' 'gjs' 'gnome-desktop' 'gnome-screensaver' 'gnome-session-ubuntu' 'hud' 'ido' 'libgnomeui' 'libindicator' 'libindicator3' 'libnotify' 'libunique' 'libunity' 'libunity-misc' 'libxfixes' 'nux>=4.0.6' 'unity-asset-pool' 'unity-scope-home' 'libxi' 'xpathselect' 'zeitgeist-ubuntu' 'lightdm-unity-greeter')
makedepends=('cmake' 'doxygen' 'intltool' 'patchutils' 'pkg-config' 'python2-distribute')
makedepends=('chrpath' 'cmake' 'doxygen' 'intltool' 'patchutils' 'pkg-config' 'python2-distribute')
groups=('unity')
provides=("unity-core=${_actual_ver}")
conflicts=('unity-core')
Expand Down Expand Up @@ -139,6 +139,9 @@ package() {

# Use language packs
rm -r "${pkgdir}/usr/share/locale/"

# Fix insecure rpath in libunityshell.so
chrpath --replace /usr/lib/compiz "$pkgdir/usr/lib/compiz/libunityshell.so"
}

# vim:set ts=2 sw=2 et:
1 change: 1 addition & 0 deletions xpathselect/PKGBUILD
Expand Up @@ -10,6 +10,7 @@ arch=('i686' 'x86_64')
url="https://launchpad.net/xpathselect"
license=('GPL')
groups=('unity')
depends=('gcc-libs')
makedepends=('boost' 'cmake')
source=("https://launchpad.net/ubuntu/+archive/primary/+files/xpathselect_${_actual_ver}${_extra_ver}.orig.tar.gz"
'0001_Disable_Tests.patch')
Expand Down
4 changes: 2 additions & 2 deletions zeitgeist-ubuntu/PKGBUILD
Expand Up @@ -11,8 +11,8 @@ pkgdesc="Service logging user activities and events"
arch=('i686' 'x86_64')
url="http://zeitgeist-project.com/"
license=('GPL2' 'LGPL2.1')
depends=('json-glib' 'telepathy-glib' 'gtk3')
makedepends=('intltool' 'gobject-introspection' 'vala' 'raptor' 'python2-rdflib' 'xapian-core')
depends=('json-glib' 'telepathy-glib' 'gtk3' 'xapian-core')
makedepends=('intltool' 'gobject-introspection' 'vala' 'raptor' 'python2-rdflib')
provides=('zeitgeist-datahub' "zeitgeist=${pkgver}")
conflicts=('zeitgeist-datahub' 'zeitgeist')
replaces=('zeitgeist-datahub')
Expand Down

0 comments on commit f9810f7

Please sign in to comment.