Permalink
Browse files

[gmock,check,gtest] Removed: I do not run unit tests in the PKGBUILDs…

… and I do not have the programming expertise to do so
  • Loading branch information...
1 parent 548b55c commit fee7eaaf080d342c0eb700b41721cf57afbfaa93 @chenxiaolong committed Oct 31, 2012
Showing with 40 additions and 233 deletions.
  1. +38 −41 README
  2. +0 −9 bamf/PKGBUILD
  3. +0 −28 check/PKGBUILD
  4. +0 −20 check/check.install
  5. +0 −15 check/compare_versions.sh
  6. +0 −51 gmock/PKGBUILD
  7. +0 −15 gmock/compare_versions.sh
  8. +0 −37 gtest/PKGBUILD
  9. +0 −15 gtest/compare_versions.sh
  10. +1 −1 nux/PKGBUILD
  11. +1 −1 unity/PKGBUILD
View
@@ -26,47 +26,44 @@ Order to compile/install:
18: dconf-qt -> Qt bindings for DConf
19: sni-qt -> Turns Qt tray icons into appindicators
20: ido -> Widgets and objects used for indicators
-21: check -> Unit testing framework for C
-22: gsettings-desktop-schemas-ubuntu -> Shared GSettings schemas for the desktop
-23: gnome-settings-daemon-ubuntu -> Daemon handling the GNOME session settings
-24: gnome-session-ubuntu -> GNOME Session Manager
-25: gnome-control-center-ubuntu -> Utilities to configure the GNOME desktop
-26: gnome-screensaver-ubuntu -> Screensaver and screen locking for GNOME
-27: indicator-applet -> GNOME panel indicator applet
-28: indicator-application -> Takes menus and puts then in the panel
-29: indicator-appmenu -> An indicator to host the menus from apps
-30: indicator-datetime -> A very, very simple clock
-31: indicator-power -> Indicator to show battery information
-32: indicator-printers -> Indicator showing active print jobs
-33: indicator-session -> Indicator to manage session
-34: indicator-sound -> A unified sound menu
-35: notify-osd -> Semi-transparent notification agent
-36: network-manager-applet-ubuntu -> Network Manager applet with indicator support
-37: gnome-bluetooth-ubuntu -> Gnome bluetooth applet with indicator support
-38: gtest -> C++ testing utility based on xUnit
-39: gmock -> A library for writing C++ mock classes
-40: overlay-scrollbar * -> Overlay scrollbars for GTK 2 and GTK 3
-41: evemu -> Linux evdev event emulation
-42: frame -> Touch frame library
-43: fixesproto-ubuntu -> X11 Fixes extension wire protocol
-44: libxfixes-ubuntu -> X11 misc. 'fixes' extension library
-45: xorg-server-ubuntu -> Xorg X server
-46: grail -> Gesture recognition and instantiation lib.
-47: geis -> Implementation of the GEIS interface
-48: nux -> An OpenGL toolkit
-49: unity-asset-pool -> Design assets for Unity
-50: gnome-menus2 -> Gnome menu specifications
-51: nautilus-ubuntu -> File manager and graphics shell for GNOME
-52: python-oauthlib -> Python implementation of OAuth
-53: unity-lens-applications -> Unity applications lens
-54: unity-lens-files -> Unity files lens
-55: unity-lens-music -> Unity music lens
-56: unity-lens-photos -> Unity photo lens
-57: unity-lens-video -> Unity video lens
-58: unity-scope-video-remote -> Remove video search for Unity video lens
-59: unity-scope-gdocs -> Google Docs scope for Unity
-60: compiz-ubuntu -> Compiz compositing window manager
-61: unity -> A desktop experience designed for efficiency
+21: gsettings-desktop-schemas-ubuntu -> Shared GSettings schemas for the desktop
+22: gnome-settings-daemon-ubuntu -> Daemon handling the GNOME session settings
+23: gnome-session-ubuntu -> GNOME Session Manager
+24: gnome-control-center-ubuntu -> Utilities to configure the GNOME desktop
+25: gnome-screensaver-ubuntu -> Screensaver and screen locking for GNOME
+26: indicator-applet -> GNOME panel indicator applet
+27: indicator-application -> Takes menus and puts then in the panel
+28: indicator-appmenu -> An indicator to host the menus from apps
+29: indicator-datetime -> A very, very simple clock
+30: indicator-power -> Indicator to show battery information
+31: indicator-printers -> Indicator showing active print jobs
+32: indicator-session -> Indicator to manage session
+33: indicator-sound -> A unified sound menu
+34: notify-osd -> Semi-transparent notification agent
+35: network-manager-applet-ubuntu -> Network Manager applet with indicator support
+36: gnome-bluetooth-ubuntu -> Gnome bluetooth applet with indicator support
+37: overlay-scrollbar * -> Overlay scrollbars for GTK 2 and GTK 3
+38: evemu -> Linux evdev event emulation
+39: frame -> Touch frame library
+40: fixesproto-ubuntu -> X11 Fixes extension wire protocol
+41: libxfixes-ubuntu -> X11 misc. 'fixes' extension library
+42: xorg-server-ubuntu -> Xorg X server
+43: grail -> Gesture recognition and instantiation lib.
+44: geis -> Implementation of the GEIS interface
+45: nux -> An OpenGL toolkit
+46: unity-asset-pool -> Design assets for Unity
+47: gnome-menus2 -> Gnome menu specifications
+48: nautilus-ubuntu -> File manager and graphics shell for GNOME
+49: python-oauthlib -> Python implementation of OAuth
+50: unity-lens-applications -> Unity applications lens
+51: unity-lens-files -> Unity files lens
+52: unity-lens-music -> Unity music lens
+53: unity-lens-photos -> Unity photo lens
+54: unity-lens-video -> Unity video lens
+55: unity-scope-video-remote -> Remove video search for Unity video lens
+56: unity-scope-gdocs -> Google Docs scope for Unity
+57: compiz-ubuntu -> Compiz compositing window manager
+58: unity -> A desktop experience designed for efficiency
* Optional packages
- overlay-scrollbar => For GNOME/Unity users who want a space saving scrollbar
View
@@ -39,15 +39,6 @@ build() {
popd
}
-# Disable tests: they require Xorg to be running
-#check() {
-# cd "${srcdir}/${pkgbase}-${pkgver}/build-gtk2"
-# make check
-#
-# cd "${srcdir}/${pkgbase}-${pkgver}/build-gtk3"
-# make check
-#}
-
package_bamfdaemon() {
pkgdesc="Window matching library daemon"
depends=('dbus-glib' 'libwnck3' 'libgtop' 'libunity-webapps')
View
@@ -1,28 +0,0 @@
-# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
-# Original Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Jeremy Cowgar <jeremy@cowgar.com>
-
-pkgname=check
-pkgver=0.9.8
-pkgrel=100
-pkgdesc="A unit testing framework for C"
-arch=('i686' 'x86_64')
-url="http://check.sourceforge.net/"
-license=('LGPL')
-options=('!libtool')
-install=${pkgname}.install
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('a8ef659411c18f8af77006a51fe14741b990e7486c3e5c1e97cd2a100a603483ba9854c2f23bd9a5e834e133ca0dcc3ae15f41856339ab3b82a75ad769a872a2')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr
- make ${MAKEFLAGS}
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-}
View
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(check.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install ${1}
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
- done
-}
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-
-source "$(dirname ${0})/PKGBUILD"
-
-echo "Getting latest Ubuntu version..."
-UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/check' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
-
-echo "Getting latest upstream version..."
-UPSTREAM_VER=$(wget -q 'http://sourceforge.net/projects/check/files/check/' -O - | sed -n 's/.*Download check-\(.*\)\.tar\.gz (.*/\1/p')
-
-echo ""
-
-echo -e "PKGBUILD version: ${pkgver}"
-echo -e "Upstream version: ${UPSTREAM_VER}"
-echo -e "Ubuntu version: ${UBUNTU_VER[@]}"
View
@@ -1,51 +0,0 @@
-# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
-
-pkgname=gmock
-_ubuntu_rel=0ubuntu1
-pkgver=1.6.0.${_ubuntu_rel}
-pkgrel=100
-pkgdesc="Google Mock - A library for writing and using C++ mock classes"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/googlemock/"
-license=('BSD')
-depends=('python2' 'gtest')
-options=(!libtool)
-source=("http://googlemock.googlecode.com/files/${pkgname}-${pkgver%.*}.zip"
- "https://launchpad.net/ubuntu/+archive/primary/+files/google-mock_${pkgver%.*}-${_ubuntu_rel}.debian.tar.gz")
-sha512sums=('7adff00bb6ff81a6ffb704be71d0747636d69e24b4a8b709e1fb8c177a9a47f6dea8d14fde73034ebfb1529c291c7212a944ad92a34f88abdfe23c2d0b11b6f7'
- '6367905b0bd13a59500ab26c87eceeae6c3dc65ddfe597b382b9d0ff67d42b383173d924e4073fdeee47f6529966c9d8508016eb3ba5b379ba3d15c9ce20327c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver%.*}"
-
- # Apply Ubuntu patches
- for i in $(cat "${srcdir}/debian/patches/series" | grep -v '#'); do
- patch -Np1 -i "${srcdir}/debian/patches/${i}"
- done
-
- find -name \*.py -exec sed -i 's|\(#!.*bin.*python$\)|\12|g' {} \;
- ./configure --prefix=/usr --enable-external-gtest
- make ${MAKEFLAGS}
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver%.*}"
- make DESTDIR="${pkgdir}/" install
- mkdir -p "${pkgdir}/usr/share/licenses/gmock/"
- cp 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/"
- install -dm755 "${pkgdir}/usr/bin/"
- install -dm755 "${pkgdir}/usr/share/${pkgname}/"
- install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/"
- install -m755 "scripts/generator/gmock_gen.py" "${pkgdir}/usr/bin/"
- cp -r --preserve=mode,links "scripts/generator/cpp" "${pkgdir}/usr/share/${pkgname}/"
- for i in README CONTRIBUTORS; do
- install -m644 "${i}" "${pkgdir}/usr/share/doc/${pkgname}/"
- done
- for f in $(ls "${pkgdir}"/usr/bin/*.py); do
- mv "${f}" "$(echo ${f} | sed s/\.py//)"
- done
- rm -v "${pkgdir}"/usr/lib/libgtest*
- rm -rv "${pkgdir}"/usr/include/gtest*
-}
-
-# vim:set ts=2 sw=2 et:
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-
-source "$(dirname ${0})/PKGBUILD"
-
-echo "Getting latest Ubuntu version..."
-UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/google-mock' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
-
-echo "Getting latest upstream version..."
-UPSTREAM_VER=$(wget -q "https://code.google.com/p/googlemock/downloads/list" -O - | sed -n 's/.*gmock-\(.*\).zip.*/\1/p' | head -n 1)
-
-echo ""
-
-echo -e "PKGBUILD version: ${pkgver%.*} ${_ubuntu_rel}"
-echo -e "Upstream version: ${UPSTREAM_VER}"
-echo -e "Ubuntu version: ${UBUNTU_VER[@]}"
View
@@ -1,37 +0,0 @@
-# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
-# Original Maintainer: Alexandre Bique <bique.alexandre@gmail.com>
-# Contributor: Louis R. Marascio <lrm@fitnr.com>
-# Contributor: Cody Maloney <cmaloney@theoreticalchaos.com>
-
-pkgname=gtest
-pkgver=1.6.0
-pkgrel=101
-pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/googletest/"
-license=('BSD')
-options=('!libtool')
-depends=('gcc-libs' 'sh')
-makedepends=('python2' 'cmake')
-source=("http://googletest.googlecode.com/files/${pkgname}-${pkgver}.zip")
-sha512sums=('f4718dfbfa3339bb9449c3f14e5b44ae405ea7df64c10a0957a6300985b71c4642981d069a1382e27ae041a4e2873527a9e442aff978447e795a190f99fac115')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- rm -rvf build
- mkdir build
- cd build
- cmake -DBUILD_SHARED_LIBS=ON ..
- make ${MAKEFLAGS}
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -dm755 ${pkgdir}/usr/{lib,include/gtest/internal,share/licenses/${pkgname}}
- install -m755 build/libgtest{,_main}.so "${pkgdir}/usr/lib/"
- install -m644 include/gtest/*.h "${pkgdir}/usr/include/gtest/"
- install -m644 include/gtest/internal/*.h "${pkgdir}/usr/include/gtest/internal/"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}
-
-# vim:set ts=2 sw=2 et:
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-
-source "$(dirname ${0})/PKGBUILD"
-
-echo "Getting latest Ubuntu version..."
-UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/gtest' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
-
-echo "Getting latest upstream version..."
-UPSTREAM_VER=$(wget -q "https://code.google.com/p/googletest/downloads/list" -O - | sed -n 's/.*gtest-\(.*\).zip.*/\1/p' | head -n 1)
-
-echo ""
-
-echo -e "PKGBUILD version: ${pkgver}"
-echo -e "Upstream version: ${UPSTREAM_VER}"
-echo -e "Ubuntu version: ${UBUNTU_VER[@]}"
View
@@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
url="https://launchpad.net/nux"
license=('LGPL')
depends=('gdk-pixbuf2' 'glew' 'pango' 'libsigc++' 'libxcomposite' 'ibus' 'libxdamage' 'libxxf86vm' 'geis')
-makedepends=('boost' 'glproto' 'dri2proto' 'gtest' 'gmock' 'doxygen' 'graphviz')
+makedepends=('boost' 'glproto' 'dri2proto' 'doxygen' 'graphviz')
groups=('unity')
options=('!libtool' '!emptydirs')
View
@@ -17,7 +17,7 @@ arch=('i686' 'x86_64')
url="https://launchpad.net/unity"
license=('GPL')
depends=('bamf' 'boost' 'compiz-ubuntu>=0.9.8.4' 'clutter-gtk' 'gjs' 'gnome-desktop' 'gnome-session-ubuntu' 'libgnomeui' 'libindicator' 'libnotify' 'libunique' 'libunity' 'libunity-misc' 'nux' 'unity-asset-pool' 'vala' 'xorg-server>=1.12.0-100' 'libindicator3' 'libxfixes-ubuntu')
-makedepends=('cmake' 'intltool' 'pkg-config' 'doxygen' 'gmock' 'gtest' 'python2-distribute')
+makedepends=('cmake' 'intltool' 'pkg-config' 'doxygen' 'python2-distribute')
groups=('unity')
provides=("unity-core=${_actual_ver}")
conflicts=('unity-core')

0 comments on commit fee7eaa

Please sign in to comment.