[26981] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25870 - in trunk/debathena/config: . plymouth-config plymouth-config/debathena plymouth-config/debian plymouth-config/debian/source

daemon@ATHENA.MIT.EDU (Thomas M Boning)
Thu Mar 28 16:20:51 2013

Date: Thu, 28 Mar 2013 16:20:45 -0400
From: Thomas M Boning <tboning@MIT.EDU>
Message-Id: <201303282020.r2SKKjcY005509@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: tboning
Date: 2013-03-28 16:20:44 -0400 (Thu, 28 Mar 2013)
New Revision: 25870

Added:
   trunk/debathena/config/plymouth-config/
   trunk/debathena/config/plymouth-config/debathena/
   trunk/debathena/config/plymouth-config/debathena/box.png
   trunk/debathena/config/plymouth-config/debathena/bullet.png
   trunk/debathena/config/plymouth-config/debathena/debathena.plymouth
   trunk/debathena/config/plymouth-config/debathena/debathena.png
   trunk/debathena/config/plymouth-config/debathena/debathena.script
   trunk/debathena/config/plymouth-config/debathena/debathena1.png
   trunk/debathena/config/plymouth-config/debathena/debathena2.png
   trunk/debathena/config/plymouth-config/debathena/debathena3.png
   trunk/debathena/config/plymouth-config/debathena/debathena4.png
   trunk/debathena/config/plymouth-config/debathena/debathena5.png
   trunk/debathena/config/plymouth-config/debathena/debathena6.png
   trunk/debathena/config/plymouth-config/debathena/debathena7.png
   trunk/debathena/config/plymouth-config/debathena/debathena8.png
   trunk/debathena/config/plymouth-config/debathena/entry.png
   trunk/debathena/config/plymouth-config/debathena/lock.png
   trunk/debathena/config/plymouth-config/debathena/logo.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0001.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0002.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0003.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0004.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0005.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0006.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0007.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0008.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0009.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0010.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0011.png
   trunk/debathena/config/plymouth-config/debathena/throbber-0012.png
   trunk/debathena/config/plymouth-config/debian/
   trunk/debathena/config/plymouth-config/debian/changelog
   trunk/debathena/config/plymouth-config/debian/compat
   trunk/debathena/config/plymouth-config/debian/control
   trunk/debathena/config/plymouth-config/debian/copyright
   trunk/debathena/config/plymouth-config/debian/install
   trunk/debathena/config/plymouth-config/debian/postinst
   trunk/debathena/config/plymouth-config/debian/prerm
   trunk/debathena/config/plymouth-config/debian/rules
   trunk/debathena/config/plymouth-config/debian/source/
   trunk/debathena/config/plymouth-config/debian/source/format
Log:
In plymouth-config:
  * Initial Release. (Trac: #145)


Added: trunk/debathena/config/plymouth-config/debathena/box.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/box.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/bullet.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/bullet.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena.plymouth
===================================================================
--- trunk/debathena/config/plymouth-config/debathena/debathena.plymouth	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debathena/debathena.plymouth	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1,8 @@
+[Plymouth Theme]
+Name=debathena
+Description=Debathena plymouth theme
+ModuleName=script
+
+[script]
+ImageDir=/lib/plymouth/themes/debathena
+ScriptFile=/lib/plymouth/themes/debathena/debathena.script
\ No newline at end of file

Added: trunk/debathena/config/plymouth-config/debathena/debathena.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena.script
===================================================================
--- trunk/debathena/config/plymouth-config/debathena/debathena.script	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debathena/debathena.script	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1,229 @@
+# This is an example plymouth plugin script
+
+Window.SetBackgroundTopColor(0.0, 0.00, 0.00);
+Window.SetBackgroundBottomColor(0.4, 0.0, 0.14);
+
+#--------------------------------------- Logo ------------------------------------
+owl.image = Image("debathena.png");
+owl[0].sprite = Sprite(owl.image);
+owl_blink_time = 60;
+
+logo.image = Image("logo.png");
+logo.sprite = Sprite(logo.image);
+logo.sprite.SetZ (0);
+logo.opacity_angle = 0;
+
+owlX = (Window.GetX() + Window.GetWidth()  / 2 - owl.image.GetWidth()  / 2);
+owlY = (Window.GetY() + Window.GetHeight() / 2 - (owl.image.GetHeight() + logo.image.GetHeight() ) / 2);
+owl[0].sprite.SetZ(-10);
+owl[0].sprite.SetX(owlX);
+owl[0].sprite.SetY(owlY);
+
+logo.sprite.SetX (Window.GetX() + Window.GetWidth()  / 2 - logo.image.GetWidth()  / 2);
+logo.sprite.SetY (Window.GetY() + Window.GetHeight() / 2 - (logo.image.GetHeight() + owl.image.GetHeight() ) / 2 + owl.image.GetHeight() );
+
+#----------------------------------------- Owl Blinking --------------------------------
+
+owl[1].image = Image("debathena1.png");
+owl[2].image = Image("debathena2.png"); 
+owl[3].image = Image("debathena3.png");
+owl[4].image = Image("debathena4.png");
+owl[5].image = Image("debathena5.png");
+owl[6].image = Image("debathena6.png");
+owl[7].image = Image("debathena7.png");
+owl[8].image = Image("debathena8.png");
+
+for (index = 1; index <= 8; index++) {
+     owl[index].sprite = Sprite(owl[index].image);
+     owl[index].sprite.SetZ(index);
+     owl[index].sprite.SetX(owlX);
+     owl[index].sprite.SetY(owlY);
+     owl[index].sprite.SetOpacity(0);
+}
+
+fun Owl_Blink (t) {
+    fun Owl_Blink_helper (index, time, lowerlim, upperlim) {
+    	if ((time < upperlim) * (time >= lowerlim)) {
+       	   owl[index].sprite.SetOpacity(1);
+    	}
+    	else {
+    	   owl[index].sprite.SetOpacity(0); 
+    	}
+    }
+    Owl_Blink_helper(8, t, -10, 3);
+    Owl_Blink_helper(0, t, 10, owl_blink_time + 2);
+    for (limit = 4; limit <=10; limit++) {
+       Owl_Blink_helper(11 - limit, t, limit-1, limit);
+    }
+}
+
+otime = 0;
+i = 1;
+spinTime = 0;
+fun refresh_callback ()
+  {
+   Owl_Blink(otime);
+   otime = otime + i;
+   if (otime > owl_blink_time)
+      i = -1;   
+   if (otime < 1)
+      i = 1;
+   spinTime++;
+   if (spinTime > 33) {
+      spinTime = spinTime - 33;
+   }
+   Spin(Math.Int(spinTime/3)+1);
+  }
+Plymouth.SetRefreshFunction (refresh_callback);
+#----------------------------------------- Spinner ---------------------------------
+spinner[1].image = Image("throbber-0001.png");
+spinner[2].image = Image("throbber-0002.png");
+spinner[3].image = Image("throbber-0003.png");
+spinner[4].image = Image("throbber-0004.png");
+spinner[5].image = Image("throbber-0005.png");
+spinner[6].image = Image("throbber-0006.png");
+spinner[7].image = Image("throbber-0007.png");
+spinner[8].image = Image("throbber-0008.png");
+spinner[9].image = Image("throbber-0009.png");
+spinner[10].image = Image("throbber-0010.png");
+spinner[11].image = Image("throbber-0011.png");
+spinner[12].image = Image("throbber-0012.png");
+
+spinnerX =  (Window.GetX() + Window.GetWidth()  / 2 - spinner[1].image.GetWidth()  / 2);
+spinnerY = (Window.GetY() + Window.GetHeight() / 2 + (logo.image.GetHeight() + owl.image.GetHeight() + spinner[1].image.GetHeight() ) / 2 );
+
+for (index = 1; index <= 12; index++) {
+   spinner[index].sprite = Sprite(spinner[index].image);
+   spinner[index].sprite.SetZ(0);
+   spinner[index].sprite.SetX(spinnerX);
+   spinner[index].sprite.SetY(spinnerY);
+   spinner[index].sprite.SetOpacity(1);
+}
+
+fun Spin (index) {
+    for (num = 1; num <=12; num++) {
+    	spinner[num].sprite.SetOpacity(0);
+    }
+    spinner[index].sprite.SetOpacity(1);
+}
+
+#----------------------------------------- Dialogue --------------------------------
+
+status = "normal";
+
+fun dialog_setup()
+  {
+    local.box;
+    local.lock;
+    local.entry;
+    
+    box.image = Image("box.png");
+    lock.image = Image("lock.png");
+    entry.image = Image("entry.png");
+    
+    box.sprite = Sprite(box.image);
+    box.x = Window.GetX() + Window.GetWidth()  / 2 - box.image.GetWidth ()/2;
+    box.y = Window.GetY() + Window.GetHeight() / 2 - box.image.GetHeight()/2;
+    box.z = 10000;
+    box.sprite.SetPosition(box.x, box.y, box.z);
+    
+    lock.sprite = Sprite(lock.image);
+    lock.x = box.x + box.image.GetWidth()/2 - (lock.image.GetWidth() + entry.image.GetWidth()) / 2;
+    lock.y = box.y + box.image.GetHeight()/2 - lock.image.GetHeight()/2;
+    lock.z = box.z + 1;
+    lock.sprite.SetPosition(lock.x, lock.y, lock.z);
+    
+    entry.sprite = Sprite(entry.image);
+    entry.x = lock.x + lock.image.GetWidth();
+    entry.y = box.y + box.image.GetHeight()/2 - entry.image.GetHeight()/2;
+    entry.z = box.z + 1;
+    entry.sprite.SetPosition(entry.x, entry.y, entry.z);
+    
+    global.dialog.box = box;
+    global.dialog.lock = lock;
+    global.dialog.entry = entry;
+    global.dialog.bullet_image = Image("bullet.png");
+    dialog_opacity (1);
+  }
+    
+fun dialog_opacity(opacity)
+  {
+    dialog.box.sprite.SetOpacity (opacity);
+    dialog.lock.sprite.SetOpacity (opacity);
+    dialog.entry.sprite.SetOpacity (opacity);
+    for (index = 0; dialog.bullet[index]; index++)
+      {
+        dialog.bullet[index].sprite.SetOpacity(opacity);
+      }
+  }
+
+fun display_normal_callback ()
+  {
+    global.status = "normal";
+    if (global.dialog)
+      dialog_opacity (0);
+  }
+
+fun display_password_callback (prompt, bullets)
+  {
+    global.status = "password";
+    if (!global.dialog)
+	dialog_setup();
+    else
+	dialog_opacity(1);
+    for (index = 0; dialog.bullet[index] || index < bullets; index++)
+      {
+        if (!dialog.bullet[index])
+          {
+            dialog.bullet[index].sprite = Sprite(dialog.bullet_image);
+            dialog.bullet[index].x = dialog.entry.x + index * dialog.bullet_image.GetWidth();
+            dialog.bullet[index].y = dialog.entry.y + dialog.entry.image.GetHeight() / 2 - dialog.bullet_image.GetHeight() / 2;
+            dialog.bullet[index].z = dialog.entry.z + 1;
+            dialog.bullet[index].sprite.SetPosition(dialog.bullet[index].x, dialog.bullet[index].y, dialog.bullet[index].z);
+          }
+        if (index < bullets)
+          dialog.bullet[index].sprite.SetOpacity(1);
+        else
+          dialog.bullet[index].sprite.SetOpacity(0);
+      }
+  }
+
+Plymouth.SetDisplayNormalFunction(display_normal_callback);
+Plymouth.SetDisplayPasswordFunction(display_password_callback);
+
+#----------------------------------------- Quit --------------------------------
+
+fun quit_callback ()
+{
+  logo.sprite.SetOpacity (1);
+}
+
+Plymouth.SetQuitFunction(quit_callback);
+
+#----------------------------------------- Message --------------------------------
+
+message_sprites = [];
+message_sprite_count = 0;
+message_sprite_y = 10;
+
+fun display_message_callback (text)
+{
+  my_image = Image.Text(text, 1, 1, 1);
+  message_sprites[message_sprite_count] = Sprite(my_image);
+  message_sprites[message_sprite_count].SetPosition(10, message_sprite_y, 10000);
+  message_sprites[message_sprite_count].text = text;
+  message_sprite_count++;
+  message_sprite_y += my_image.GetHeight();
+}
+
+fun hide_message_callback (text)
+{
+  for (i = 0; i < message_sprite_count; i++)
+    {
+      if (message_sprites[i].text == text)
+        message_sprites[i] = NULL;
+    }
+}
+
+Plymouth.SetDisplayMessageFunction (display_message_callback);
+Plymouth.SetHideMessageFunction (hide_message_callback);

Added: trunk/debathena/config/plymouth-config/debathena/debathena1.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena1.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena2.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena3.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena3.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena4.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena4.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena5.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena5.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena6.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena6.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena7.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena7.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/debathena8.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/debathena8.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/entry.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/entry.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/lock.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/lock.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/logo.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/logo.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0001.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0001.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0002.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0002.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0003.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0003.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0004.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0004.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0005.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0005.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0006.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0006.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0007.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0007.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0008.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0008.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0009.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0009.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0010.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0010.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0011.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0011.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debathena/throbber-0012.png
===================================================================
(Binary files differ)


Property changes on: trunk/debathena/config/plymouth-config/debathena/throbber-0012.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/debathena/config/plymouth-config/debian/changelog
===================================================================
--- trunk/debathena/config/plymouth-config/debian/changelog	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/changelog	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1,5 @@
+debathena-plymouth-config (1.0) unstable; urgency=low
+
+  * Initial Release. (Trac: #145)
+
+ -- Thomas M Boning <tboning@mit.edu>  Thu, 28 Mar 2013 15:28:41 -0400

Added: trunk/debathena/config/plymouth-config/debian/compat
===================================================================
--- trunk/debathena/config/plymouth-config/debian/compat	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/compat	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1 @@
+7

Added: trunk/debathena/config/plymouth-config/debian/control
===================================================================
--- trunk/debathena/config/plymouth-config/debian/control	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/control	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1,12 @@
+Source: debathena-plymouth-config
+Section: debathena-config/gnome
+Priority: extra
+Maintainer: Debathena Project <debathena@mit.edu>
+Build-Depends: debhelper (>= 7.0.0)
+Standards-Version: 3.9.2
+
+Package: debathena-plymouth-config
+Architecture: all
+Depends: ${misc:Depends}
+Description: Debathena plymouth theme.
+ This package installs a plymouth theme for debathena.

Added: trunk/debathena/config/plymouth-config/debian/copyright
===================================================================
--- trunk/debathena/config/plymouth-config/debian/copyright	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/copyright	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: 2013 Thomas M Boning <tboning@mit.edu>
+	   2013 Massachusetts Institute of Technology
+License: GPL-2.0+
+
+Files: debian/throbber*
+Copyright: Kristian Høgsberg <krh@redhat.com>
+	   Ray Strode <halfline@gmail.com>
+	   Peter Jones <pjones@redhat.com>
+License: GPL-2.0+
+
+License: GPL-2.0+
+ This package 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 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
\ No newline at end of file

Added: trunk/debathena/config/plymouth-config/debian/install
===================================================================
--- trunk/debathena/config/plymouth-config/debian/install	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/install	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1 @@
+debathena/ lib/plymouth/themes
\ No newline at end of file

Added: trunk/debathena/config/plymouth-config/debian/postinst
===================================================================
--- trunk/debathena/config/plymouth-config/debian/postinst	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/postinst	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1,41 @@
+#!/bin/sh
+# postinst script for debathena-plymouth-config
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+	update-alternatives --install /lib/plymouth/themes/default.plymouth \
+	    default.plymouth /lib/plymouth/themes/debathena/debathena.plymouth 100
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: trunk/debathena/config/plymouth-config/debian/prerm
===================================================================
--- trunk/debathena/config/plymouth-config/debian/prerm	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/prerm	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1,41 @@
+#!/bin/sh
+# prerm script for debathena-plymouth-config
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+	if update-alternatives --list default.plymouth | grep -qFx '/lib/plymouth/themes/debathena/debathena.plymouth'; then
+	    update-alternatives --remove default.plymouth /lib/plymouth/themes/debathena/debathena.plymouth
+	fi
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: trunk/debathena/config/plymouth-config/debian/rules
===================================================================
--- trunk/debathena/config/plymouth-config/debian/rules	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/rules	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ 


Property changes on: trunk/debathena/config/plymouth-config/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/debathena/config/plymouth-config/debian/source/format
===================================================================
--- trunk/debathena/config/plymouth-config/debian/source/format	                        (rev 0)
+++ trunk/debathena/config/plymouth-config/debian/source/format	2013-03-28 20:20:44 UTC (rev 25870)
@@ -0,0 +1 @@
+3.0 (native)


home help back first fref pref prev next nref lref last post