summaryrefslogtreecommitdiffstats
path: root/x11-libs/unity-greeter
diff options
context:
space:
mode:
authorArjan Bouter2011-11-15 08:50:54 +0100
committerArjan Bouter2011-11-15 08:50:54 +0100
commitae5ec623010e665ab8020382b0f61b7b45f6796f (patch)
tree6ad80ceae2f3398f95e91b58722f19bafc005e5b /x11-libs/unity-greeter
parent02d6625965ca2b75934b58ccb3b27a37fa7b4932 (diff)
unity-greeter: moved to x11-libs
Diffstat (limited to 'x11-libs/unity-greeter')
-rwxr-xr-xx11-libs/unity-greeter/CONFIGURE2
-rwxr-xr-xx11-libs/unity-greeter/DEPENDS7
-rwxr-xr-xx11-libs/unity-greeter/DETAILS13
-rw-r--r--x11-libs/unity-greeter/HISTORY3
-rwxr-xr-xx11-libs/unity-greeter/PRE_BUILD5
-rw-r--r--x11-libs/unity-greeter/grid.patch11
6 files changed, 41 insertions, 0 deletions
diff --git a/x11-libs/unity-greeter/CONFIGURE b/x11-libs/unity-greeter/CONFIGURE
new file mode 100755
index 0000000000..5b36af986d
--- /dev/null
+++ b/x11-libs/unity-greeter/CONFIGURE
@@ -0,0 +1,2 @@
+message 'unity-greeter renders a grid of white dots over the background.' &&
+config_query UNITY_GRID 'patch the source to remove the grid?' n
diff --git a/x11-libs/unity-greeter/DEPENDS b/x11-libs/unity-greeter/DEPENDS
new file mode 100755
index 0000000000..f0067afd69
--- /dev/null
+++ b/x11-libs/unity-greeter/DEPENDS
@@ -0,0 +1,7 @@
+depends gtk+3 &&
+depends lightdm &&
+depends libindicator &&
+optional_depends indicator-datetime '' '' 'for a time applet' &&
+optional_depends indicator-soundmenu '' '' 'for a sound applet' &&
+optional_depends indicator-power '' '' 'for a power applet' &&
+optional_depends indicator-session '' '' 'for a power applet'
diff --git a/x11-libs/unity-greeter/DETAILS b/x11-libs/unity-greeter/DETAILS
new file mode 100755
index 0000000000..2613359066
--- /dev/null
+++ b/x11-libs/unity-greeter/DETAILS
@@ -0,0 +1,13 @@
+ SPELL=unity-greeter
+ VERSION=0.1.1
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://launchpad.net/${SPELL}/trunk/${VERSION}/+download/${SOURCE}
+ SOURCE_HASH=sha512:f501bb769f37c936f74323c37fc3e0609221f1a2538f5e1b1b918261347c5dc5b5359fca42d521a197e18560c9ef97d3579ef82a2a8788aaad69178d63239e12
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://launchpad.net/unity-greeter"
+ LICENSE[0]=GPL
+ ENTERED=20111111
+ SHORT="Unity Greeter for LightDM"
+cat << EOF
+The greeter (login screen) application for Unity.
+EOF
diff --git a/x11-libs/unity-greeter/HISTORY b/x11-libs/unity-greeter/HISTORY
new file mode 100644
index 0000000000..ea38fb370e
--- /dev/null
+++ b/x11-libs/unity-greeter/HISTORY
@@ -0,0 +1,3 @@
+2011-11-11 Arjan Bouter <abouter@sourcemage.org>
+ * CONFIGURE, DEPENDS, DETAILS, PRE_BUILD, grid.patch: spell created
+
diff --git a/x11-libs/unity-greeter/PRE_BUILD b/x11-libs/unity-greeter/PRE_BUILD
new file mode 100755
index 0000000000..cadada65f6
--- /dev/null
+++ b/x11-libs/unity-greeter/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+if [[ "$UNITY_GRID" = 'y' ]]; then
+ cd "${SOURCE_DIRECTORY}/src" &&
+ patch < "${SCRIPT_DIRECTORY}/grid.patch"
+fi
diff --git a/x11-libs/unity-greeter/grid.patch b/x11-libs/unity-greeter/grid.patch
new file mode 100644
index 0000000000..048207a42d
--- /dev/null
+++ b/x11-libs/unity-greeter/grid.patch
@@ -0,0 +1,11 @@
+--- user-list.vala 2011-09-28 07:32:51.000000000 +0200
++++ user-list.vala-fixed 2011-11-12 00:34:32.217649083 +0100
+@@ -249,7 +249,7 @@
+
+ /* Draw overlay */
+ bc.set_source (overlay);
+- bc.rectangle (grid_size - 1, grid_size - 1, width - grid_size * 2 + 2, height - grid_size * 2 + 2);
++// bc.rectangle (grid_size - 1, grid_size - 1, width - grid_size * 2 + 2, height - grid_size * 2 + 2);
+ bc.fill ();
+
+ /* Draw logo */