[arch-commits] Commit in lightdm-gtk2-greeter/repos (8 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Fri Feb 14 18:30:58 UTC 2014
Date: Friday, February 14, 2014 @ 19:30:58
Author: alucryd
Revision: 105741
archrelease: copy trunk to community-i686, community-x86_64
Added:
lightdm-gtk2-greeter/repos/community-i686/PKGBUILD
(from rev 105740, lightdm-gtk2-greeter/trunk/PKGBUILD)
lightdm-gtk2-greeter/repos/community-i686/lightdm-gtk-greeter.install
(from rev 105740, lightdm-gtk2-greeter/trunk/lightdm-gtk-greeter.install)
lightdm-gtk2-greeter/repos/community-x86_64/PKGBUILD
(from rev 105740, lightdm-gtk2-greeter/trunk/PKGBUILD)
lightdm-gtk2-greeter/repos/community-x86_64/lightdm-gtk-greeter.install
(from rev 105740, lightdm-gtk2-greeter/trunk/lightdm-gtk-greeter.install)
Deleted:
lightdm-gtk2-greeter/repos/community-i686/PKGBUILD
lightdm-gtk2-greeter/repos/community-i686/fix-null-username.patch
lightdm-gtk2-greeter/repos/community-x86_64/PKGBUILD
lightdm-gtk2-greeter/repos/community-x86_64/fix-null-username.patch
----------------------------------------------+
/PKGBUILD | 70 +++++++++++++++++++++
community-i686/PKGBUILD | 42 ------------
community-i686/fix-null-username.patch | 83 -------------------------
community-i686/lightdm-gtk-greeter.install | 13 +++
community-x86_64/PKGBUILD | 42 ------------
community-x86_64/fix-null-username.patch | 83 -------------------------
community-x86_64/lightdm-gtk-greeter.install | 13 +++
7 files changed, 96 insertions(+), 250 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-02-14 18:30:39 UTC (rev 105740)
+++ community-i686/PKGBUILD 2014-02-14 18:30:58 UTC (rev 105741)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Padfoot <padfoot at exemail.com.au>
-
-pkgname=lightdm-gtk2-greeter
-pkgver=1.6.1
-pkgrel=2
-epoch=1
-pkgdesc="GTK+ greeter for LightDM"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/lightdm-gtk-greeter"
-license=('GPL3' 'LGPL3')
-depends=('gtk2' 'lightdm')
-makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'intltool')
-provides=("${pkgname/2/}")
-conflicts=("${pkgname/2/3}")
-backup=('etc/lightdm/lightdm-gtk-greeter.conf')
-source=("https://launchpad.net/${pkgname/2/}/1.6/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz"
- 'fix-null-username.patch')
-sha256sums=('1f0286ab093d50151f0efc46496aef3f8ed8c7306bbc81807a3fdcbcb2a468d9'
- '27e1ec5f73f963ea5fbc69d4b380dbfa47a4066b35fa1a00341203568d9aa64d')
-
-prepare() {
- cd ${pkgname/2/}-${pkgver}
-
- patch -Np0 -i ../fix-null-username.patch
-}
-
-build() {
- cd ${pkgname/2/}-${pkgver}
-
- ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
- make
-}
-
-package() {
- cd ${pkgname/2/}-${pkgver}
-
- make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: lightdm-gtk2-greeter/repos/community-i686/PKGBUILD (from rev 105740, lightdm-gtk2-greeter/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-02-14 18:30:58 UTC (rev 105741)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Padfoot <padfoot at exemail.com.au>
+
+pkgname=lightdm-gtk2-greeter
+pkgver=1.8.1
+pkgrel=1
+epoch=1
+pkgdesc='GTK+ greeter for LightDM'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/lightdm-gtk-greeter'
+license=('GPL3' 'LGPL3')
+depends=('gtk2' 'lightdm')
+makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'intltool')
+provides=("${pkgname/2/}")
+conflicts=("${pkgname/2/3}")
+backup=('etc/lightdm/lightdm-gtk-greeter.conf')
+install="${pkgname/2/}.install"
+source=("https://launchpad.net/${pkgname/2/}/${pkgver%.?}/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz")
+sha256sums=('dac5ce9ac54a6b3c1ef9f9cc056f13f01352c2a897c5bed11e52505132610bab')
+
+build() {
+ cd ${pkgname/2/}-${pkgver}
+
+ ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
+ make
+}
+
+package() {
+ cd ${pkgname/2/}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-i686/fix-null-username.patch
===================================================================
--- community-i686/fix-null-username.patch 2014-02-14 18:30:39 UTC (rev 105740)
+++ community-i686/fix-null-username.patch 2014-02-14 18:30:58 UTC (rev 105741)
@@ -1,83 +0,0 @@
-=== modified file 'src/lightdm-gtk-greeter.c'
---- src/lightdm-gtk-greeter.c 2014-01-07 11:02:12 +0000
-+++ src/lightdm-gtk-greeter.c 2014-01-08 00:21:56 +0000
-@@ -333,7 +333,7 @@
- gchar *s;
- gboolean matched;
- s = g_strdup(g_object_get_data (G_OBJECT (menu_iter->data), "session-key"));
-- matched = strcmp (s, session) == 0;
-+ matched = g_strcmp0 (s, session) == 0;
- g_free (s);
- if (matched)
- {
-@@ -402,7 +402,7 @@
- gchar *s;
- gboolean matched;
- s = g_strdup(g_object_get_data (G_OBJECT (menu_iter->data), "language-code"));
-- matched = strcmp (s, language) == 0;
-+ matched = g_strcmp0 (s, language) == 0;
- g_free (s);
- if (matched)
- {
-@@ -423,7 +423,7 @@
- static void
- set_message_label (const gchar *text)
- {
-- gtk_widget_set_visible (GTK_WIDGET (info_bar), strcmp (text, "") != 0);
-+ gtk_widget_set_visible (GTK_WIDGET (info_bar), g_strcmp0 (text, "") != 0);
- gtk_label_set_text (message_label, text);
- }
-
-@@ -633,13 +633,13 @@
- }
- g_free (data);
-
-- if (strcmp (username, "*other") == 0)
-+ if (g_strcmp0 (username, "*other") == 0)
- {
- gtk_widget_show (GTK_WIDGET (username_entry));
- gtk_widget_show (GTK_WIDGET (cancel_button));
- lightdm_greeter_authenticate (greeter, NULL);
- }
-- else if (strcmp (username, "*guest") == 0)
-+ else if (g_strcmp0 (username, "*guest") == 0)
- {
- lightdm_greeter_authenticate_as_guest (greeter);
- }
-@@ -689,7 +689,7 @@
- gchar *user;
-
- gtk_tree_model_get (GTK_TREE_MODEL (model), &iter, 0, &user, -1);
-- other = (strcmp (user, "*other") == 0);
-+ other = (g_strcmp0 (user, "*other") == 0);
- g_free (user);
- }
-
-@@ -964,7 +964,7 @@
-
- gtk_tree_model_get (GTK_TREE_MODEL (model), &iter, 0, &user, -1);
-
-- if (strcmp (user, "*other") == 0)
-+ if (g_strcmp0 (user, "*other") == 0)
- {
- gtk_widget_show (GTK_WIDGET (username_entry));
- gtk_widget_show (GTK_WIDGET (cancel_button));
-@@ -1463,7 +1463,7 @@
- do
- {
- gtk_tree_model_get (model, &iter, 0, &name, -1);
-- matched = strcmp (name, selected_user) == 0;
-+ matched = g_strcmp0 (name, selected_user) == 0;
- g_free (name);
- if (matched)
- {
-@@ -1954,7 +1954,7 @@
- g_object_set (gtk_settings_get_default (), "gtk-xft-dpi", (int) (1024 * atof (value)), NULL);
- value = g_key_file_get_value (config, "greeter", "xft-antialias", NULL);
- if (value)
-- g_object_set (gtk_settings_get_default (), "gtk-xft-antialias", strcmp (value, "true") == 0, NULL);
-+ g_object_set (gtk_settings_get_default (), "gtk-xft-antialias", g_strcmp0 (value, "true") == 0, NULL);
- g_free (value);
- value = g_key_file_get_value (config, "greeter", "xft-hintstyle", NULL);
- if (value)
-
Copied: lightdm-gtk2-greeter/repos/community-i686/lightdm-gtk-greeter.install (from rev 105740, lightdm-gtk2-greeter/trunk/lightdm-gtk-greeter.install)
===================================================================
--- community-i686/lightdm-gtk-greeter.install (rev 0)
+++ community-i686/lightdm-gtk-greeter.install 2014-02-14 18:30:58 UTC (rev 105741)
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_update() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-02-14 18:30:39 UTC (rev 105740)
+++ community-x86_64/PKGBUILD 2014-02-14 18:30:58 UTC (rev 105741)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Padfoot <padfoot at exemail.com.au>
-
-pkgname=lightdm-gtk2-greeter
-pkgver=1.6.1
-pkgrel=2
-epoch=1
-pkgdesc="GTK+ greeter for LightDM"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/lightdm-gtk-greeter"
-license=('GPL3' 'LGPL3')
-depends=('gtk2' 'lightdm')
-makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'intltool')
-provides=("${pkgname/2/}")
-conflicts=("${pkgname/2/3}")
-backup=('etc/lightdm/lightdm-gtk-greeter.conf')
-source=("https://launchpad.net/${pkgname/2/}/1.6/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz"
- 'fix-null-username.patch')
-sha256sums=('1f0286ab093d50151f0efc46496aef3f8ed8c7306bbc81807a3fdcbcb2a468d9'
- '27e1ec5f73f963ea5fbc69d4b380dbfa47a4066b35fa1a00341203568d9aa64d')
-
-prepare() {
- cd ${pkgname/2/}-${pkgver}
-
- patch -Np0 -i ../fix-null-username.patch
-}
-
-build() {
- cd ${pkgname/2/}-${pkgver}
-
- ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
- make
-}
-
-package() {
- cd ${pkgname/2/}-${pkgver}
-
- make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: lightdm-gtk2-greeter/repos/community-x86_64/PKGBUILD (from rev 105740, lightdm-gtk2-greeter/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-02-14 18:30:58 UTC (rev 105741)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Padfoot <padfoot at exemail.com.au>
+
+pkgname=lightdm-gtk2-greeter
+pkgver=1.8.1
+pkgrel=1
+epoch=1
+pkgdesc='GTK+ greeter for LightDM'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/lightdm-gtk-greeter'
+license=('GPL3' 'LGPL3')
+depends=('gtk2' 'lightdm')
+makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'intltool')
+provides=("${pkgname/2/}")
+conflicts=("${pkgname/2/3}")
+backup=('etc/lightdm/lightdm-gtk-greeter.conf')
+install="${pkgname/2/}.install"
+source=("https://launchpad.net/${pkgname/2/}/${pkgver%.?}/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz")
+sha256sums=('dac5ce9ac54a6b3c1ef9f9cc056f13f01352c2a897c5bed11e52505132610bab')
+
+build() {
+ cd ${pkgname/2/}-${pkgver}
+
+ ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
+ make
+}
+
+package() {
+ cd ${pkgname/2/}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-x86_64/fix-null-username.patch
===================================================================
--- community-x86_64/fix-null-username.patch 2014-02-14 18:30:39 UTC (rev 105740)
+++ community-x86_64/fix-null-username.patch 2014-02-14 18:30:58 UTC (rev 105741)
@@ -1,83 +0,0 @@
-=== modified file 'src/lightdm-gtk-greeter.c'
---- src/lightdm-gtk-greeter.c 2014-01-07 11:02:12 +0000
-+++ src/lightdm-gtk-greeter.c 2014-01-08 00:21:56 +0000
-@@ -333,7 +333,7 @@
- gchar *s;
- gboolean matched;
- s = g_strdup(g_object_get_data (G_OBJECT (menu_iter->data), "session-key"));
-- matched = strcmp (s, session) == 0;
-+ matched = g_strcmp0 (s, session) == 0;
- g_free (s);
- if (matched)
- {
-@@ -402,7 +402,7 @@
- gchar *s;
- gboolean matched;
- s = g_strdup(g_object_get_data (G_OBJECT (menu_iter->data), "language-code"));
-- matched = strcmp (s, language) == 0;
-+ matched = g_strcmp0 (s, language) == 0;
- g_free (s);
- if (matched)
- {
-@@ -423,7 +423,7 @@
- static void
- set_message_label (const gchar *text)
- {
-- gtk_widget_set_visible (GTK_WIDGET (info_bar), strcmp (text, "") != 0);
-+ gtk_widget_set_visible (GTK_WIDGET (info_bar), g_strcmp0 (text, "") != 0);
- gtk_label_set_text (message_label, text);
- }
-
-@@ -633,13 +633,13 @@
- }
- g_free (data);
-
-- if (strcmp (username, "*other") == 0)
-+ if (g_strcmp0 (username, "*other") == 0)
- {
- gtk_widget_show (GTK_WIDGET (username_entry));
- gtk_widget_show (GTK_WIDGET (cancel_button));
- lightdm_greeter_authenticate (greeter, NULL);
- }
-- else if (strcmp (username, "*guest") == 0)
-+ else if (g_strcmp0 (username, "*guest") == 0)
- {
- lightdm_greeter_authenticate_as_guest (greeter);
- }
-@@ -689,7 +689,7 @@
- gchar *user;
-
- gtk_tree_model_get (GTK_TREE_MODEL (model), &iter, 0, &user, -1);
-- other = (strcmp (user, "*other") == 0);
-+ other = (g_strcmp0 (user, "*other") == 0);
- g_free (user);
- }
-
-@@ -964,7 +964,7 @@
-
- gtk_tree_model_get (GTK_TREE_MODEL (model), &iter, 0, &user, -1);
-
-- if (strcmp (user, "*other") == 0)
-+ if (g_strcmp0 (user, "*other") == 0)
- {
- gtk_widget_show (GTK_WIDGET (username_entry));
- gtk_widget_show (GTK_WIDGET (cancel_button));
-@@ -1463,7 +1463,7 @@
- do
- {
- gtk_tree_model_get (model, &iter, 0, &name, -1);
-- matched = strcmp (name, selected_user) == 0;
-+ matched = g_strcmp0 (name, selected_user) == 0;
- g_free (name);
- if (matched)
- {
-@@ -1954,7 +1954,7 @@
- g_object_set (gtk_settings_get_default (), "gtk-xft-dpi", (int) (1024 * atof (value)), NULL);
- value = g_key_file_get_value (config, "greeter", "xft-antialias", NULL);
- if (value)
-- g_object_set (gtk_settings_get_default (), "gtk-xft-antialias", strcmp (value, "true") == 0, NULL);
-+ g_object_set (gtk_settings_get_default (), "gtk-xft-antialias", g_strcmp0 (value, "true") == 0, NULL);
- g_free (value);
- value = g_key_file_get_value (config, "greeter", "xft-hintstyle", NULL);
- if (value)
-
Copied: lightdm-gtk2-greeter/repos/community-x86_64/lightdm-gtk-greeter.install (from rev 105740, lightdm-gtk2-greeter/trunk/lightdm-gtk-greeter.install)
===================================================================
--- community-x86_64/lightdm-gtk-greeter.install (rev 0)
+++ community-x86_64/lightdm-gtk-greeter.install 2014-02-14 18:30:58 UTC (rev 105741)
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_update() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list