From: Ray Strode Date: Tue, 20 May 2008 15:27:30 +0000 (-0400) Subject: rename rhgb-client to plymouth X-Git-Tag: 0.1.0~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c13aba661eeac269ff28daa6c3259afb2ce69bf1;p=thirdparty%2Fplymouth.git rename rhgb-client to plymouth We'll keep a compat symlink in place until init scripts are moved over --- diff --git a/configure.ac b/configure.ac index 71c6fb1d..d1d8bf58 100644 --- a/configure.ac +++ b/configure.ac @@ -49,10 +49,10 @@ AC_OUTPUT([Makefile src/splash-plugins/text/Makefile src/splash-plugins/details/Makefile src/Makefile - src/rhgb-client/Makefile + src/client/Makefile src/tests/Makefile src/libply/tests/Makefile - src/rhgb-client/tests/Makefile + src/client/tests/Makefile src/splash-plugins/tests/Makefile scripts/Makefile ]) diff --git a/scripts/plymouth-update-initrd b/scripts/plymouth-update-initrd index 01e1b699..bb3343aa 100755 --- a/scripts/plymouth-update-initrd +++ b/scripts/plymouth-update-initrd @@ -31,7 +31,7 @@ TMPDIR="$(mktemp -d $PWD/initrd.XXXXXXXXXX)" (cd $TMPDIR zcat $INITRD | cpio --quiet -Hnewc -i --make-directories sed -i -e 's@^#!\(.*\)@#!/bin/plymouthd \1\n@' init - #sed -i -e 's@setquiet@&\n/bin/rhgb-client --ask-for-password@' init + #sed -i -e 's@setquiet@&\n/bin/plymouth --ask-for-password@' init (cd $LIBDIR DEPS=$(get_lib_deps ${LIBEXECDIR}/plymouth/plymouth ${LIBDIR}/plymouth/fedora-fade-in.so ${LIBDIR}/plymouth/text.so ${LIBDIR}/plymouth/details.so) for dep in $DEPS; do @@ -42,7 +42,7 @@ TMPDIR="$(mktemp -d $PWD/initrd.XXXXXXXXXX)" /sbin/ldconfig -n .${LIBDIR} install -m755 ${LIBEXECDIR}/plymouth/plymouthd bin - install -m755 ${BINDIR}/rhgb-client bin + install -m755 ${BINDIR}/plymouth bin mkdir -p ${TMPDIR}$DATADIR/plymouth diff --git a/src/Makefile.am b/src/Makefile.am index bfdd1c1b..3211fdce 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = libply . splash-plugins rhgb-client tests +SUBDIRS = libply . splash-plugins client tests INCLUDES = -I$(top_srcdir) \ -I$(srcdir)/libply \ -I$(srcdir) diff --git a/src/client/Makefile.am b/src/client/Makefile.am new file mode 100644 index 00000000..a0f20ee1 --- /dev/null +++ b/src/client/Makefile.am @@ -0,0 +1,22 @@ +INCLUDES = -I$(top_srcdir) \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/libply \ + -I$(srcdir) +plymouthdir = $(bindir) +plymouth_PROGRAMS = plymouth + +plymouth_CFLAGS = $(PLYMOUTH_CFLAGS) -DPLYMOUTH_PLUGIN_PATH=\"$(prefix)/\$${LIB}/plymouth/\" +plymouth_LDADD = $(PLYMOUTH_LIBS) ../libply/libply.la +plymouth_SOURCES = \ + $(srcdir)/../ply-boot-protocol.h \ + $(srcdir)/ply-boot-client.h \ + $(srcdir)/ply-boot-client.c \ + $(srcdir)/plymouth.c + +install-data-hook: + (cd $(DESTDIR)$(plymouthdir); ln -s plymouth rhgb-client) + +uninstall-hook: + rm -f $(DESTDIR)$(plymouthdir)/rhgb-client + +MAINTAINERCLEANFILES = Makefile.in diff --git a/src/rhgb-client/ply-boot-client.c b/src/client/ply-boot-client.c similarity index 100% rename from src/rhgb-client/ply-boot-client.c rename to src/client/ply-boot-client.c diff --git a/src/rhgb-client/ply-boot-client.h b/src/client/ply-boot-client.h similarity index 100% rename from src/rhgb-client/ply-boot-client.h rename to src/client/ply-boot-client.h diff --git a/src/rhgb-client/rhgb-client.c b/src/client/plymouth.c similarity index 100% rename from src/rhgb-client/rhgb-client.c rename to src/client/plymouth.c diff --git a/src/rhgb-client/tests/Makefile.am b/src/client/tests/Makefile.am similarity index 100% rename from src/rhgb-client/tests/Makefile.am rename to src/client/tests/Makefile.am diff --git a/src/rhgb-client/tests/ply-boot-client-test.am b/src/client/tests/ply-boot-client-test.am similarity index 100% rename from src/rhgb-client/tests/ply-boot-client-test.am rename to src/client/tests/ply-boot-client-test.am diff --git a/src/rhgb-client/Makefile.am b/src/rhgb-client/Makefile.am deleted file mode 100644 index 8cad7df5..00000000 --- a/src/rhgb-client/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -INCLUDES = -I$(top_srcdir) \ - -I$(top_srcdir)/src \ - -I$(top_srcdir)/src/libply \ - -I$(srcdir) -rhgb_clientdir = $(bindir) -rhgb_client_PROGRAMS = rhgb-client - -rhgb_client_CFLAGS = $(PLYMOUTH_CFLAGS) -DPLYMOUTH_PLUGIN_PATH=\"$(prefix)/\$${LIB}/plymouth/\" -rhgb_client_LDADD = $(PLYMOUTH_LIBS) ../libply/libply.la -rhgb_client_SOURCES = \ - $(srcdir)/../ply-boot-protocol.h \ - $(srcdir)/ply-boot-client.h \ - $(srcdir)/ply-boot-client.c \ - $(srcdir)/rhgb-client.c - -MAINTAINERCLEANFILES = Makefile.in