From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- packages/gputty/gputty/conf.patch | 26 -------------------------- packages/gputty/gputty/gputty | 4 ---- packages/gputty/gputty_0.9.8.bb | 27 --------------------------- 3 files changed, 57 deletions(-) delete mode 100644 packages/gputty/gputty/conf.patch delete mode 100644 packages/gputty/gputty/gputty delete mode 100644 packages/gputty/gputty_0.9.8.bb (limited to 'packages/gputty') diff --git a/packages/gputty/gputty/conf.patch b/packages/gputty/gputty/conf.patch deleted file mode 100644 index deb4548092..0000000000 --- a/packages/gputty/gputty/conf.patch +++ /dev/null @@ -1,26 +0,0 @@ -# Added support to store the configuration in the user home directory -# Released under the original terms of the package -# Submitted ustream 12/03/04 - ---- gputty-0.9.7/src/gputty.c 2004-06-28 06:23:36.000000000 -0700 -+++ gputty-0.9.7.new/src/gputty.c 2004-07-12 13:32:41.632259216 -0700 -@@ -424,8 +424,18 @@ - (void*)gtk_entry_get_text(GTK_ENTRY(g->hn_eusername))); - if(g->config == NULL) - fprintf(stderr, "%s", "gputty: not saving configuration\n"); -- else if(config_save(g->config, ".gputty") != 0) -+ else { -+ char filename[64]; -+ -+ if (getenv("HOME")) -+ snprintf(filename, sizeof(filename) - 1, -+ "%s/.gputty\n", getenv("HOME")); -+ else -+ strncpy(filename, ".gputty", sizeof(filename) - 1); -+ -+ if(config_save(g->config, filename) != 0) - fprintf(stderr, "%s", "gputty: an error occured while saving configuration\n"); -+ } - gtk_main_quit(); - } - diff --git a/packages/gputty/gputty/gputty b/packages/gputty/gputty/gputty deleted file mode 100644 index 4ba531ecd3..0000000000 --- a/packages/gputty/gputty/gputty +++ /dev/null @@ -1,4 +0,0 @@ -ssh=ssh -xterm=x-terminal-emulator -hostname= -username= diff --git a/packages/gputty/gputty_0.9.8.bb b/packages/gputty/gputty_0.9.8.bb deleted file mode 100644 index 5e1ed06357..0000000000 --- a/packages/gputty/gputty_0.9.8.bb +++ /dev/null @@ -1,27 +0,0 @@ -# OE build file -# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -DESCRIPTION = "GPuTTY is a PuTTY clone using the Gnome environment" -HOMEPAGE = "http://www.defora.org/index.php?page=gputty" -LICENSE = "GPL" -SECTION = "network" -PR = "r0" - -SRC_URI = "http://people.defora.org/~khorben/projects/gputty/gputty-${PV}.tar.gz \ - file://gputty" - -do_compile() { - oe_runmake -C src -} - -do_install() { - install -d ${D}${bindir} - oe_runmake -C src BINDIR="${bindir}" DESTDIR="${D}" install - install -d ${D}${sysconfdir}/ - install -m 0644 ${WORKDIR}/gputty ${D}${sysconfdir}/ -} - -# Save the configuration file in the package -FILES_${PN} += " /etc/gputty" - -- cgit v1.2.3