aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/gnome-panel
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-30 14:29:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-30 14:29:31 +0000
commitaa677e4f1c9bc61117f79f82ddcca2c67ecc4172 (patch)
treedbf320713ab352cda866bd351d3ff994449fea59 /unmaintained/gnome-panel
parent0aab2e23bfd07508725afa132fa6474262ff4b55 (diff)
downloadaports-aa677e4f1c9bc61117f79f82ddcca2c67ecc4172.tar.bz2
aports-aa677e4f1c9bc61117f79f82ddcca2c67ecc4172.tar.xz
main/gnome-pane: moved to unmaintained
Diffstat (limited to 'unmaintained/gnome-panel')
-rw-r--r--unmaintained/gnome-panel/APKBUILD66
-rw-r--r--unmaintained/gnome-panel/as-needed.patch24
-rw-r--r--unmaintained/gnome-panel/gnome-panel.post-install21
-rw-r--r--unmaintained/gnome-panel/gnome-panel.post-upgrade21
-rw-r--r--unmaintained/gnome-panel/gnome-panel.pre-deinstall21
-rw-r--r--unmaintained/gnome-panel/libm-underlinking.patch11
-rw-r--r--unmaintained/gnome-panel/link-gmodule.patch22
7 files changed, 186 insertions, 0 deletions
diff --git a/unmaintained/gnome-panel/APKBUILD b/unmaintained/gnome-panel/APKBUILD
new file mode 100644
index 0000000000..78d2cf104c
--- /dev/null
+++ b/unmaintained/gnome-panel/APKBUILD
@@ -0,0 +1,66 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=gnome-panel
+pkgver=2.32.1
+pkgrel=12
+pkgdesc="GNOME Panel"
+url="http://projects.gnome.org/gnome-panel"
+arch="all"
+license="GPL"
+depends=
+depends_dev="gtk+-dev
+ gconf-dev
+ libx11-dev
+ gnome-doc-utils
+ libgnome-dev
+ gnome-desktop-dev
+ gnome-menus-dev
+ libwnck-dev
+ librsvg-dev
+ libgweather-dev"
+makedepends="$depends_dev intltool gobject-introspection-dev"
+install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
+subpackages="$pkgname-dev $pkgname-lang"
+replaces_dev="$pkgname"
+source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+ as-needed.patch
+ libm-underlinking.patch
+ 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 "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="a228035e1f7026abf296b797f1f7d2f9 gnome-panel-2.32.1.tar.bz2
+42a7f2693e5f99ce3440bd53ebccbae0 as-needed.patch
+292372a7f264bb63ca9eb3c69a664ee1 libm-underlinking.patch
+399b61956a678c60e0f0d28eeca63aba link-gmodule.patch"
diff --git a/unmaintained/gnome-panel/as-needed.patch b/unmaintained/gnome-panel/as-needed.patch
new file mode 100644
index 0000000000..87e95e0104
--- /dev/null
+++ b/unmaintained/gnome-panel/as-needed.patch
@@ -0,0 +1,24 @@
+--- ./applets/notification_area/Makefile.in.orig
++++ ./applets/notification_area/Makefile.in
+@@ -403,17 +403,17 @@
+
+ NOTIFICATION_AREA_SOURCES = main.c
+ NOTIFICATION_AREA_LDADD = \
++ libtray.la \
+ ../../libpanel-applet/libpanel-applet-3.la \
+ $(X_LIBS) \
+ $(NOTIFICATION_AREA_LIBS) \
+- $(LIBPANEL_APPLET_LIBS) \
+- libtray.la
++ $(LIBPANEL_APPLET_LIBS)
+
+ testtray_SOURCES = testtray.c
+ testtray_LDADD = \
++ libtray.la \
+ $(X_LIBS) \
+- $(NOTIFICATION_AREA_LIBS) \
+- libtray.la
++ $(NOTIFICATION_AREA_LIBS)
+
+ @NOTIFICATION_AREA_INPROCESS_FALSE@APPLET_IN_PROCESS = false
+ @NOTIFICATION_AREA_INPROCESS_TRUE@APPLET_IN_PROCESS = true
diff --git a/unmaintained/gnome-panel/gnome-panel.post-install b/unmaintained/gnome-panel/gnome-panel.post-install
new file mode 100644
index 0000000000..06060f9059
--- /dev/null
+++ b/unmaintained/gnome-panel/gnome-panel.post-install
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+for i in \
+ clock.schemas \
+ fish.schemas \
+ panel-compatibility.schemas \
+ panel-general.schemas \
+ panel-global.schemas \
+ panel-object.schemas \
+ panel-toplevel.schemas \
+ window-list.schemas \
+ workspace-switcher.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
+
+GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
+echo "Installing GConf2 default entries to ${GCONF_CONFIG_SOURCE}"
+/usr/bin/gconftool-2 --config-source="${GCONF_CONFIG_SOURCE}" --direct --load /etc/gconf/schemas/panel-default-setup.entries >/dev/null
diff --git a/unmaintained/gnome-panel/gnome-panel.post-upgrade b/unmaintained/gnome-panel/gnome-panel.post-upgrade
new file mode 100644
index 0000000000..06060f9059
--- /dev/null
+++ b/unmaintained/gnome-panel/gnome-panel.post-upgrade
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+for i in \
+ clock.schemas \
+ fish.schemas \
+ panel-compatibility.schemas \
+ panel-general.schemas \
+ panel-global.schemas \
+ panel-object.schemas \
+ panel-toplevel.schemas \
+ window-list.schemas \
+ workspace-switcher.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
+
+GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
+echo "Installing GConf2 default entries to ${GCONF_CONFIG_SOURCE}"
+/usr/bin/gconftool-2 --config-source="${GCONF_CONFIG_SOURCE}" --direct --load /etc/gconf/schemas/panel-default-setup.entries >/dev/null
diff --git a/unmaintained/gnome-panel/gnome-panel.pre-deinstall b/unmaintained/gnome-panel/gnome-panel.pre-deinstall
new file mode 100644
index 0000000000..96aa7274d4
--- /dev/null
+++ b/unmaintained/gnome-panel/gnome-panel.pre-deinstall
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+for i in \
+ clock.schemas \
+ fish.schemas \
+ panel-compatibility.schemas \
+ panel-general.schemas \
+ panel-global.schemas \
+ panel-object.schemas \
+ panel-toplevel.schemas \
+ window-list.schemas \
+ workspace-switcher.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
+
+GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
+echo "Uninstalling GConf2 default entries from ${GCONF_CONFIG_SOURCE}"
+/usr/bin/gconftool-2 --config-source="${GCONF_CONFIG_SOURCE}" --direct --unload /etc/gconf/schemas/panel-default-setup.entries >/dev/null
diff --git a/unmaintained/gnome-panel/libm-underlinking.patch b/unmaintained/gnome-panel/libm-underlinking.patch
new file mode 100644
index 0000000000..9d56f0648a
--- /dev/null
+++ b/unmaintained/gnome-panel/libm-underlinking.patch
@@ -0,0 +1,11 @@
+--- ./gnome-panel/Makefile.in.orig
++++ ./gnome-panel/Makefile.in
+@@ -582,7 +582,7 @@
+ $(top_builddir)/gnome-panel/libpanel-util/libpanel-util.la \
+ $(PANEL_LIBS) \
+ $(XRANDR_LIBS) \
+- $(X_LIBS)
++ $(X_LIBS) -lm
+
+ gnome_panel_LDFLAGS = -export-dynamic
+ gnome_desktop_item_edit_SOURCES = \
diff --git a/unmaintained/gnome-panel/link-gmodule.patch b/unmaintained/gnome-panel/link-gmodule.patch
new file mode 100644
index 0000000000..a92791fa49
--- /dev/null
+++ b/unmaintained/gnome-panel/link-gmodule.patch
@@ -0,0 +1,22 @@
+diff --git a/gnome-panel/Makefile.in b/gnome-panel/Makefile.in
+index d2b72bb..27e624c 100644
+--- a/gnome-panel/Makefile.in
++++ b/gnome-panel/Makefile.in
+@@ -582,7 +582,7 @@ gnome_panel_LDADD = \
+ $(top_builddir)/gnome-panel/libpanel-util/libpanel-util.la \
+ $(PANEL_LIBS) \
+ $(XRANDR_LIBS) \
+- $(X_LIBS) -lm
++ $(X_LIBS) -lm -lgmodule-2.0
+
+ gnome_panel_LDFLAGS = -export-dynamic
+ gnome_desktop_item_edit_SOURCES = \
+@@ -612,7 +612,7 @@ panel_test_applets_CPPFLAGS = \
+ panel_test_applets_LDADD = \
+ $(top_builddir)/gnome-panel/libpanel-applet-private/libpanel-applet-private-mini.la \
+ $(top_builddir)/gnome-panel/libpanel-util/libpanel-util.la \
+- $(PANEL_LIBS)
++ $(PANEL_LIBS) -lgmodule-2.0
+
+ panel_test_applets_LDFLAGS = -export-dynamic
+ panel_enum_headers = \