diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
commit | 3be02a9acbeb006d9a9e6136c54d91064cc7d80e (patch) | |
tree | ade247e1b6c47fbd7362273f59d3ae4f955587a7 /community-testing/google-gadgets | |
parent | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff) |
Mon May 2 00:29:22 UTC 2011
Diffstat (limited to 'community-testing/google-gadgets')
5 files changed, 0 insertions, 232 deletions
diff --git a/community-testing/google-gadgets/PKGBUILD b/community-testing/google-gadgets/PKGBUILD deleted file mode 100644 index 5e7d6c624..000000000 --- a/community-testing/google-gadgets/PKGBUILD +++ /dev/null @@ -1,158 +0,0 @@ -# $Id: PKGBUILD 44556 2011-04-08 21:04:15Z spupykin $ -# Maintainer: Ray Rashif <schiv@archlinux.org> - -pkgbase=google-gadgets -pkgname=('google-gadgets-common' 'google-gadgets-gtk' 'google-gadgets-qt') -_realname=$pkgbase-for-linux -_basedir="$startdir/pkg/base" -pkgver=0.11.2 -_sover=1.0 -_sobump=0.0.0 -pkgrel=4 -arch=('i686' 'x86_64') -url="http://code.google.com/p/google-gadgets-for-linux/" -license=('APACHE') -makedepends=('gstreamer0.10-base-plugins' 'libwebkit' - 'desktop-file-utils' 'xdg-utils' - 'librsvg' 'curl' 'libsoup-gnome' - 'qt' - 'networkmanager' - 'zip' 'flex') -options=('!libtool') -source=("http://google-gadgets-for-linux.googlecode.com/files/$_realname-$pkgver.tar.bz2" - "wifi-types.patch") -md5sums=('279305553bcbf74f3e3615f6abc36a5e' - 'f0df71c60a174e9d629db87b8bd9e102') - -build() { - cd "$srcdir/$_realname-$pkgver" - - # Building thrice is expensive; - # we move files around instead - # - # xulrunner 2.0 is incompatible; - # we build without smjs-script/browser-element - - patch -p1 <$srcdir/wifi-types.patch - ./configure --prefix=/usr \ - --disable-werror \ - --disable-update-desktop-database \ - --disable-update-mime-database \ - --with-oem-brand=Arch \ - --with-ssl-ca-file=/etc/ssl/certs/ca-certificates.crt \ - --with-browser-plugins-dir=/usr/lib/mozilla/plugins \ - --disable-gtkmoz-browser-element \ - --disable-smjs-script-runtime - make -} - -package_google-gadgets-common() { - pkgdesc="Desktop widgets from Google (common files)" - install=$pkgbase-common.install - depends=('hicolor-icon-theme' 'shared-mime-info') - optdepends=('google-gadgets-gtk: GTK+ (full) UI' - 'google-gadgets-qt: Qt (partial) UI') - - cd "$srcdir/$_realname-$pkgver" - - make -j1 DESTDIR="$pkgdir/" install - - # we need to remove stuff in this package - cp -a "$pkgdir" "$_basedir" - - # do not force any removal; we want to know in case files change - cd "$pkgdir/usr" - rm -r bin - rm -r share/applications - - cd "$pkgdir/usr/lib/$pkgbase" - - # gtk-related - #rm gtkmoz-browser-child - rm ../lib*gtk* - rm modules/gtk*.so - - # qt-related - rm ../lib*qt* - rm modules/qt*.so -} - -package_google-gadgets-gtk() { - pkgdesc="Desktop widgets from Google (full GTK+ front-end)" - groups=('google-gadgets') - install=$pkgbase.install - depends=('google-gadgets-common' - 'desktop-file-utils' 'xdg-utils' - 'gstreamer0.10-base-plugins' 'libwebkit' 'libsoup-gnome' - 'librsvg' 'curl') - optdepends=('networkmanager: desktop integration') - - # install the gtk binary - cd "$_basedir" - install -Dm755 "usr/bin/ggl-gtk" "$pkgdir/usr/bin/ggl-gtk" - - # gtk-only browser stuff - #install -Dm755 usr/lib/$pkgbase/gtkmoz-browser-child \ - # "$pkgdir/usr/lib/$pkgbase/gtkmoz-browser-child" - - # now the gtk libraries - mkdir -p "$pkgdir/usr/lib/$pkgbase/modules" - - install -m755 usr/lib/$pkgbase/modules/gtk*.so \ - "$pkgdir/usr/lib/$pkgbase/modules/" - - install -m755 usr/lib/lib*gtk* "$pkgdir/usr/lib" - - # fix permissions and symlinks - find "$pkgdir/usr/lib" -name *.a -exec chmod 644 {} \; - - ln -sf /usr/lib/libggadget-gtk-$_sover.so.$_sobump \ - "$pkgdir/usr/lib/libggadget-gtk-$_sover.so" - - ln -sf /usr/lib/libggadget-gtk-$_sover.so.$_sobump \ - "$pkgdir/usr/lib/libggadget-gtk-$_sover.so.0" - - # freedesktop.org for gtk - install -Dm644 usr/share/applications/ggl-gtk.desktop \ - "$pkgdir/usr/share/applications/ggl-gtk.desktop" - - install -m644 usr/share/applications/ggl-designer.desktop \ - "$pkgdir/usr/share/applications/" -} - -package_google-gadgets-qt() { - pkgdesc="Desktop widgets from Google (partial Qt front-end)" - groups=('google-gadgets') - install=$pkgbase.install - depends=('google-gadgets-common' 'qt' - 'desktop-file-utils' 'xdg-utils' - 'gstreamer0.10-base-plugins' 'libwebkit') - optdepends=('networkmanager: desktop integration') - - # install the qt binary - cd "$_basedir" - install -Dm755 usr/bin/ggl-qt "$pkgdir/usr/bin/ggl-qt" - - # the qt libraries - mkdir -p "$pkgdir/usr/lib/$pkgbase/modules" - - install -m755 usr/lib/$pkgbase/modules/qt*.so \ - "$pkgdir/usr/lib/$pkgbase/modules/" - - install -m755 usr/lib/lib*qt* "$pkgdir/usr/lib/" - - # fix permissions and symlinks - find "$pkgdir/usr/lib" -name *.a -exec chmod 644 {} \; - - ln -sf /usr/lib/libggadget-qt-$_sover.so.$_sobump \ - "$pkgdir/usr/lib/libggadget-qt-$_sover.so" - - ln -sf /usr/lib/libggadget-qt-$_sover.so.$_sobump \ - "$pkgdir/usr/lib/libggadget-qt-$_sover.so.0" - - # freedesktop.org for qt - install -Dm644 usr/share/applications/ggl-qt.desktop \ - "$pkgdir/usr/share/applications/ggl-qt.desktop" -} - -# vim:set ts=2 sw=2 et: diff --git a/community-testing/google-gadgets/google-gadgets-common.install b/community-testing/google-gadgets/google-gadgets-common.install deleted file mode 100644 index 210cbc869..000000000 --- a/community-testing/google-gadgets/google-gadgets-common.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - echo "==> Updating desktop database..." - gtk-update-icon-cache --quiet usr/share/icons/hicolor - update-mime-database usr/share/mime &> /dev/null -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - -# vim:set ts=2 sw=2 et: diff --git a/community-testing/google-gadgets/google-gadgets.changelog b/community-testing/google-gadgets/google-gadgets.changelog deleted file mode 100644 index 5b8f85a71..000000000 --- a/community-testing/google-gadgets/google-gadgets.changelog +++ /dev/null @@ -1,8 +0,0 @@ -25 Mar 2011 (GMT+8) Ray Rashif <schiv@archlinux.org> - - * 0.11.2-3: - xulrunner rebuild - - undepend on xulrunner (2.0 incompatible) - - disable smjs-script/browser-element - Cleaned up scriptlets (too many blank lines) - Added this changelog diff --git a/community-testing/google-gadgets/google-gadgets.install b/community-testing/google-gadgets/google-gadgets.install deleted file mode 100644 index fd88688fc..000000000 --- a/community-testing/google-gadgets/google-gadgets.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - echo "==> Updating desktop database..." - update-mime-database usr/share/mime &> /dev/null - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - -# vim:set ts=2 sw=2 et: diff --git a/community-testing/google-gadgets/wifi-types.patch b/community-testing/google-gadgets/wifi-types.patch deleted file mode 100644 index be9383a61..000000000 --- a/community-testing/google-gadgets/wifi-types.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -wbBur google-gadgets-for-linux-0.11.2/extensions/linux_system_framework/network.cc google-gadgets-for-linux-0.11.2.my/extensions/linux_system_framework/network.cc ---- google-gadgets-for-linux-0.11.2/extensions/linux_system_framework/network.cc 2009-03-15 04:12:42.000000000 +0000 -+++ google-gadgets-for-linux-0.11.2.my/extensions/linux_system_framework/network.cc 2011-04-08 20:57:16.000000000 +0000 -@@ -23,17 +23,9 @@ - namespace framework { - namespace linux_system { - --#ifdef NM_DEVICE_TYPE_WIFI - static const int kDeviceTypeWifi = NM_DEVICE_TYPE_WIFI; --#else --static const int kDeviceTypeWifi = DEVICE_TYPE_802_11_WIRELESS; --#endif - --#ifdef NM_DEVICE_TYPE_ETHERNET - static const int kDeviceTypeEthernet = NM_DEVICE_TYPE_ETHERNET; --#else --static const int kDeviceTypeEthernet = DEVICE_TYPE_802_3_ETHERNET; --#endif - - static const int kDeviceTypeUnknown = 0; - -diff -wbBur google-gadgets-for-linux-0.11.2/extensions/linux_system_framework/wireless.cc google-gadgets-for-linux-0.11.2.my/extensions/linux_system_framework/wireless.cc ---- google-gadgets-for-linux-0.11.2/extensions/linux_system_framework/wireless.cc 2009-12-28 10:39:53.000000000 +0000 -+++ google-gadgets-for-linux-0.11.2.my/extensions/linux_system_framework/wireless.cc 2011-04-08 20:57:39.000000000 +0000 -@@ -77,11 +77,7 @@ - - using namespace ggadget::dbus; - --#ifdef NM_DEVICE_TYPE_WIFI - static const int kDeviceTypeWifi = NM_DEVICE_TYPE_WIFI; --#else --static const int kDeviceTypeWifi = DEVICE_TYPE_802_11_WIRELESS; --#endif - - // Defined in nm 0.7 - static const int kDeviceStateActivated = 8; |