diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-30 14:27:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-30 14:27:01 +0000 |
commit | 1d677d8a658dde35e3e2e51139a2cc6049d21e7f (patch) | |
tree | b945c6dfcd73702c460179cf2cd621bace234fa6 /unmaintained | |
parent | f13551eb8e5e5bc2353c78f7d37060a7ef7faa16 (diff) | |
download | aports-1d677d8a658dde35e3e2e51139a2cc6049d21e7f.tar.bz2 aports-1d677d8a658dde35e3e2e51139a2cc6049d21e7f.tar.xz |
main/gnome-control-center: moved to unmaintained
Diffstat (limited to 'unmaintained')
5 files changed, 123 insertions, 0 deletions
diff --git a/unmaintained/gnome-control-center/APKBUILD b/unmaintained/gnome-control-center/APKBUILD new file mode 100644 index 0000000000..750c6ac15d --- /dev/null +++ b/unmaintained/gnome-control-center/APKBUILD @@ -0,0 +1,76 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=gnome-control-center +pkgver=2.32.1 +pkgrel=6 +pkgdesc="GNOME configuration applets" +url="http://www.gnome.org" +arch="all" +license="GPL" +depends= +depends_dev="gtk+-dev + gconf-dev + libx11-dev + gnome-doc-utils + libgnome-dev + gnome-desktop-dev + libwnck-dev + librsvg-dev + libunique-dev + + gnome-menus-dev + gnome-settings-daemon-dev + metacity-dev + + libxcursor-dev + libxcomposite-dev + libxi-dev + libxau-dev + libxdmcp-dev + libxext-dev + libxcb-dev + + libgnomekbd-dev + libxklavier-dev" +makedepends="$depends_dev intltool gobject-introspection-dev desktop-file-utils" +install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade" +subpackages="$pkgname-lang" +source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 + link-gmodule.patch" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + update_config_sub || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-scrollkeeper \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + make DESTDIR="$pkgdir" install || return 1 + + rm -rf ${pkgdir}/usr/share/mime + find "$pkgdir" -name '*.la' -delete +} + +md5sums="b4e8ab5c7556ae07addbfcfb4fa2f761 gnome-control-center-2.32.1.tar.bz2 +ccbfe3d954cc7d0bb91ef081a51793ea link-gmodule.patch" diff --git a/unmaintained/gnome-control-center/gnome-control-center.post-install b/unmaintained/gnome-control-center/gnome-control-center.post-install new file mode 100644 index 0000000000..98f2aac0e9 --- /dev/null +++ b/unmaintained/gnome-control-center/gnome-control-center.post-install @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in control-center.schemas fontilus.schemas gnome-control-center.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/unmaintained/gnome-control-center/gnome-control-center.post-upgrade b/unmaintained/gnome-control-center/gnome-control-center.post-upgrade new file mode 100644 index 0000000000..98f2aac0e9 --- /dev/null +++ b/unmaintained/gnome-control-center/gnome-control-center.post-upgrade @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in control-center.schemas fontilus.schemas gnome-control-center.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/unmaintained/gnome-control-center/gnome-control-center.pre-deinstall b/unmaintained/gnome-control-center/gnome-control-center.pre-deinstall new file mode 100644 index 0000000000..9b03979ce7 --- /dev/null +++ b/unmaintained/gnome-control-center/gnome-control-center.pre-deinstall @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in control-center.schemas fontilus.schemas gnome-control-center.schemas; do + echo "Uninstalling GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/unmaintained/gnome-control-center/link-gmodule.patch b/unmaintained/gnome-control-center/link-gmodule.patch new file mode 100644 index 0000000000..9bf14ec961 --- /dev/null +++ b/unmaintained/gnome-control-center/link-gmodule.patch @@ -0,0 +1,26 @@ +diff --git a/capplets/appearance/Makefile.in b/capplets/appearance/Makefile.in +index 4b8df30..9c62c4f 100644 +--- a/capplets/appearance/Makefile.in ++++ b/capplets/appearance/Makefile.in +@@ -386,7 +386,7 @@ gnome_appearance_properties_LDADD = \ + $(top_builddir)/capplets/common/libcommon.la \ + $(GNOMECC_CAPPLETS_LIBS) \ + $(FONT_CAPPLET_LIBS) \ +- $(METACITY_LIBS) ++ $(METACITY_LIBS) -lgmodule-2.0 + + gnome_appearance_properties_LDFLAGS = -export-dynamic + gtkbuilderdir = $(pkgdatadir)/ui +diff --git a/capplets/common/Makefile.in b/capplets/common/Makefile.in +index 00e594a..5f1849a 100644 +--- a/capplets/common/Makefile.in ++++ b/capplets/common/Makefile.in +@@ -365,7 +365,7 @@ gnome_theme_test_SOURCES = \ + + gnome_theme_test_LDADD = \ + libcommon.la \ +- $(GNOMECC_CAPPLETS_LIBS) ++ $(GNOMECC_CAPPLETS_LIBS) -lgmodule-2.0 + + all: all-am + |