summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-05-04 23:17:27 +0000
committerroot <root@miranda.amd64.dev.gentoo.org>2009-05-04 23:17:27 +0000
commit5b51d7e13dd76f68848fea308ee5822260bcf206 (patch)
tree8e7574338c6ae92e39dcfca8a0caafd1bb283b3f /gpe-base/gpe-login
parent[profile] Mask gpe-xsession/xserver-common. (diff)
downloadgpe-5b51d7e13dd76f68848fea308ee5822260bcf206.tar.gz
gpe-5b51d7e13dd76f68848fea308ee5822260bcf206.tar.bz2
gpe-5b51d7e13dd76f68848fea308ee5822260bcf206.zip
[gpe-base/gpe-login] Import for patching.
Diffstat (limited to 'gpe-base/gpe-login')
-rw-r--r--gpe-base/gpe-login/ChangeLog18
-rw-r--r--gpe-base/gpe-login/Manifest10
-rw-r--r--gpe-base/gpe-login/files/gentoo-badge2.pngbin0 -> 1055 bytes
-rw-r--r--gpe-base/gpe-login/files/gpe-login-0.95-gentoologo.patch36
-rw-r--r--gpe-base/gpe-login/files/gpe-login.geometry-gentoo2
-rw-r--r--gpe-base/gpe-login/files/gpe-login.setup-gentoo4
-rw-r--r--gpe-base/gpe-login/files/locale.default-gentoo1
-rw-r--r--gpe-base/gpe-login/gpe-login-0.95-r1.ebuild61
-rw-r--r--gpe-base/gpe-login/gpe-login-0.95.ebuild47
-rw-r--r--gpe-base/gpe-login/metadata.xml8
10 files changed, 187 insertions, 0 deletions
diff --git a/gpe-base/gpe-login/ChangeLog b/gpe-base/gpe-login/ChangeLog
new file mode 100644
index 0000000..1e26d8b
--- /dev/null
+++ b/gpe-base/gpe-login/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for gpe-base/gpe-login
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-login/ChangeLog,v 1.2 2009/04/07 15:28:41 miknix Exp $
+
+*gpe-login-0.95-r1 (07 Apr 2009)
+
+ 07 Apr 2009; <miknix@gentoo.org> +files/gpe-login-0.95-gentoologo.patch,
+ +files/gentoo-badge2.png, +gpe-login-0.95-r1.ebuild:
+ Patch gpe-login to show a beauty gentoo logo.
+ Also fix incorrect deps on DEPEND.
+
+*gpe-login-0.95 (15 Mar 2009)
+
+ 15 Mar 2009; <miknix@gentoo.org> +files/gpe-login.geometry-gentoo,
+ +files/gpe-login.setup-gentoo, +files/locale.default-gentoo,
+ +metadata.xml, +gpe-login-0.95.ebuild:
+ Import gpe-base/gpe-login from the GPE overlay
+
diff --git a/gpe-base/gpe-login/Manifest b/gpe-base/gpe-login/Manifest
new file mode 100644
index 0000000..cfe22d3
--- /dev/null
+++ b/gpe-base/gpe-login/Manifest
@@ -0,0 +1,10 @@
+AUX gentoo-badge2.png 1055 RMD160 5f4536675572a05b896feef9c48dfd895eab897d SHA1 d064c8d97c9f3fb553eee6b16f85c915cbfd2848 SHA256 02e17bb52931a765318ba850ae39fd6c4eef74c3a3817d87ecbe79480744a791
+AUX gpe-login-0.95-gentoologo.patch 1229 RMD160 5fbd2bd64d7049810731a9fc5e8d789f3662da71 SHA1 a495bc0ff74376d61222a23364b08052ccf0d650 SHA256 091b67db8ea3f5b571ca5c7620c4bd718e5c76683085c894ade38f5b7b4a84ab
+AUX gpe-login.geometry-gentoo 69 RMD160 ebc6eef1e0d2366d095d64fd2a5d5a1d3820e992 SHA1 e30e13292b76bd21db645b54754d1be49def8c75 SHA256 4f7c92abb8b5f49008e0134e6dbf218885cf0d9dae5f3f205e504c8a77d7e688
+AUX gpe-login.setup-gentoo 54 RMD160 3ad56121a4bee94da29239d75dfef362af0a28fe SHA1 9fb9284670b3b792c01516cdd3485134212754f4 SHA256 364a92fa09baf846c676d19a02c996f7aa7a8c4032aeb4254addc0c32da71cd1
+AUX locale.default-gentoo 45 RMD160 ed8e5272a36a7de7e9fcbccb8b8e210a44d45d12 SHA1 0a5e46321bd5a53ff9a09b914f0aa742b80ab561 SHA256 6cecdcb10f69896afaaae5cd84c4077409f93ac54d561e137b935a965f6000b9
+DIST gpe-login-0.95.tar.bz2 160704 RMD160 a1beb20125c44f6423d22a8b700233ae89d3a92e SHA1 8f689fd43322cc266a17b93e60e2c7635d933983 SHA256 8bea38af14c98354b1ee023475315ae3ba462d33b136a73cde9d83303b659d84
+EBUILD gpe-login-0.95-r1.ebuild 1668 RMD160 0b25a9df7a6fc2eaf02da4758d35b92ab86d9b53 SHA1 ac3c53f6e2ed43a5df8fe45008a5a04c2c560f80 SHA256 28a33e2c5f21b6bb7f6dffe3940c802a373b0ac8449557409066ea9cb838d092
+EBUILD gpe-login-0.95.ebuild 1305 RMD160 3e245863a7f399dc0550a7f487f942c8f3e6aee7 SHA1 e62e09747e23ce0d07e541dacfe769706eb30921 SHA256 1d62c3506a8f45402fd0bd35c421718e5761d445a7a5ec7bce84a8250bdd3ff0
+MISC ChangeLog 713 RMD160 8831274cc8ae331b3bf164f8d909f1edcb452540 SHA1 9ecb2e42cdfb2f3ceba0658b457383a5cb09f3de SHA256 29a83fc33ce430a9f817bb0db9d100a5176405ec04024162d30f726360d67f9a
+MISC metadata.xml 215 RMD160 fedcb3b558152736b025a43fba9b0f72b26cab0a SHA1 7cdcbeff68c19a0ecc3bcb46b2bd094ee69cd48d SHA256 b80ac51746e7677bc32591254e54b62c49f2c6cc134fe2a29247958ba9a58a5f
diff --git a/gpe-base/gpe-login/files/gentoo-badge2.png b/gpe-base/gpe-login/files/gentoo-badge2.png
new file mode 100644
index 0000000..07ae247
--- /dev/null
+++ b/gpe-base/gpe-login/files/gentoo-badge2.png
Binary files differ
diff --git a/gpe-base/gpe-login/files/gpe-login-0.95-gentoologo.patch b/gpe-base/gpe-login/files/gpe-login-0.95-gentoologo.patch
new file mode 100644
index 0000000..88fb281
--- /dev/null
+++ b/gpe-base/gpe-login/files/gpe-login-0.95-gentoologo.patch
@@ -0,0 +1,36 @@
+--- gpe-login.c 2008-08-13 19:08:28.000000000 +0100
++++ /home/miknix/Community/gpe-login.c 2009-04-07 14:16:16.000000000 +0100
+@@ -1,6 +1,9 @@
+ /*
+ * Copyright (C) 2002, 2003, 2005 Philip Blundell <philb@gnu.org>
+ *
++ * Add gentoo logo widget
++ * Copyright (C) 2009, Angelo Arrifano <miknix@gentoo.org>
++ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+@@ -1584,6 +1587,8 @@ main (int argc, char *argv[])
+ FILE *cfp;
+ GdkCursor *cursor;
+ GtkWidget *socket_frame;
++ GtkWidget *logo;
++
+
+ /* gchar *gpe_catindent = gpe_get_catindent (); */
+ /* guint gpe_catspacing = gpe_get_catspacing (); */
+@@ -2042,6 +2047,14 @@ main (int argc, char *argv[])
+ gtk_socket_steal (GTK_SOCKET (socket), xkbd_xid);
+ }
+
++ /* Show up a beauty gentoo powered logo */
++#define GENTOO_LOGO_DIR "/usr/share/pixmaps/gpe-login-gentoo.png"
++ if (! access(GENTOO_LOGO_DIR, R_OK)) {
++ logo = gtk_image_new_from_file(GENTOO_LOGO_DIR);
++ gtk_box_pack_end (GTK_BOX (vbox2), logo, FALSE, FALSE, 0);
++ gtk_widget_show(logo);
++ }
++
+ gtk_main ();
+
+ cleanup_children ();
diff --git a/gpe-base/gpe-login/files/gpe-login.geometry-gentoo b/gpe-base/gpe-login/files/gpe-login.geometry-gentoo
new file mode 100644
index 0000000..1cbf9d9
--- /dev/null
+++ b/gpe-base/gpe-login/files/gpe-login.geometry-gentoo
@@ -0,0 +1,2 @@
+#240x320+0+0
+#Uncomment line above to set the geometry for gpe-login
diff --git a/gpe-base/gpe-login/files/gpe-login.setup-gentoo b/gpe-base/gpe-login/files/gpe-login.setup-gentoo
new file mode 100644
index 0000000..a84e476
--- /dev/null
+++ b/gpe-base/gpe-login/files/gpe-login.setup-gentoo
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Dummy gpe-login.setup
+
+PATH=/usr/bin:/bin
diff --git a/gpe-base/gpe-login/files/locale.default-gentoo b/gpe-base/gpe-login/files/locale.default-gentoo
new file mode 100644
index 0000000..1e1d4e0
--- /dev/null
+++ b/gpe-base/gpe-login/files/locale.default-gentoo
@@ -0,0 +1 @@
+# Set your default locale for gpe-login here
diff --git a/gpe-base/gpe-login/gpe-login-0.95-r1.ebuild b/gpe-base/gpe-login/gpe-login-0.95-r1.ebuild
new file mode 100644
index 0000000..fb78076
--- /dev/null
+++ b/gpe-base/gpe-login/gpe-login-0.95-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-login/gpe-login-0.95-r1.ebuild,v 1.1 2009/04/07 15:28:41 miknix Exp $
+
+GPE_TARBALL_SUFFIX="bz2"
+inherit gpe eutils
+
+DESCRIPTION="The GPE user login screen"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm ~amd64 ~x86"
+IUSE="branding"
+
+DEPEND="${DEPEND}
+ >=gpe-base/libgpewidget-0.102"
+RDEPEND="${RDEPEND}
+ ${DEPEND}
+ x11-misc/xkbd
+ gpe-utils/gpe-ownerinfo"
+
+src_unpack() {
+ gpe_src_unpack "$@"
+
+ # Patch login to show up a beaty gentoo logo (if found)
+ # solar says conditional patching is bad
+ epatch "${FILESDIR}/gpe-login-0.95-gentoologo.patch"
+
+ # Use our gentooish gpe-login.setup instead
+ cp "${FILESDIR}/gpe-login.setup-gentoo" gpe-login.setup \
+ || die "Cannot replace gpe-login.setup"
+ chmod 0755 gpe-login.setup \
+ || die "Cannot chmod gpe-login.setup"
+ # This file is device specific, dont install it
+ sed -i -e 's;gpe-login.keylaunchrc;;' Makefile.in \
+ || die "Sed failed"
+}
+
+src_install() {
+ gpe_src_install "$@"
+
+ insinto /etc/X11/
+ newins "${FILESDIR}/gpe-login.geometry-gentoo" gpe-login.geometry
+ insinto /etc/gpe/
+ newins "${FILESDIR}/locale.default-gentoo" locale.default
+
+ # Install the gentoo logo into pixmaps, see above
+ if use branding; then
+ insinto /usr/share/pixmaps/
+ newins "${FILESDIR}/gentoo-badge2.png" gpe-login-gentoo.png
+ fi
+}
+
+pkg_postinst() {
+ einfo "Have a look on the following files to fine tune"
+ einfo "your brand new login manager:"
+ einfo "/etc/X11/gpe-login.setup"
+ einfo "/etc/X11/gpe-login.geometry"
+ einfo "/etc/gpe/gpe-login.conf"
+ einfo "/etc/gpe/locale.default"
+}
diff --git a/gpe-base/gpe-login/gpe-login-0.95.ebuild b/gpe-base/gpe-login/gpe-login-0.95.ebuild
new file mode 100644
index 0000000..03d5dc3
--- /dev/null
+++ b/gpe-base/gpe-login/gpe-login-0.95.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-login/gpe-login-0.95.ebuild,v 1.1 2009/03/15 21:00:44 miknix Exp $
+
+GPE_TARBALL_SUFFIX="bz2"
+inherit gpe
+
+DESCRIPTION="The GPE user login screen"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm ~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=gpe-base/libgpewidget-0.102 gpe-utils/gpe-ownerinfo x11-libs/gtk+ x11-misc/xkbd"
+DEPEND=""
+
+src_unpack() {
+ gpe_src_unpack "$@"
+
+ # Use our gentooish gpe-login.setup instead
+ cp "${FILESDIR}/gpe-login.setup-gentoo" gpe-login.setup \
+ || die "Cannot replace gpe-login.setup"
+ chmod 0755 gpe-login.setup \
+ || die "Cannot chmod gpe-login.setup"
+ # This file is device specific, dont install it
+ sed -i -e 's;gpe-login.keylaunchrc;;' Makefile.in \
+ || die "Sed failed"
+}
+
+src_install() {
+ gpe_src_install "$@"
+
+ insinto /etc/X11/
+ newins "${FILESDIR}/gpe-login.geometry-gentoo" gpe-login.geometry
+ insinto /etc/gpe/
+ newins "${FILESDIR}/locale.default-gentoo" locale.default
+}
+
+pkg_postinst() {
+ einfo "Have a look on the following files to fine tune"
+ einfo "your brand new login manager:"
+ einfo "/etc/X11/gpe-login.setup"
+ einfo "/etc/X11/gpe-login.geometry"
+ einfo "/etc/gpe/gpe-login.conf"
+ einfo "/etc/gpe/locale.default"
+}
diff --git a/gpe-base/gpe-login/metadata.xml b/gpe-base/gpe-login/metadata.xml
new file mode 100644
index 0000000..b77d40b
--- /dev/null
+++ b/gpe-base/gpe-login/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gpe</herd>
+<maintainer>
+ <email>gpe@gentoo.org</email>
+</maintainer>
+</pkgmetadata>