updates to build debian and ubuntu debs. make man page say what webpage will probably...
authorDana Jansens <danakj@orodu.net>
Wed, 16 May 2007 14:36:51 +0000 (14:36 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 16 May 2007 14:36:51 +0000 (14:36 +0000)
debian/control
doc/openbox.1.sgml
makedeb

index 68b6492..0a15a77 100644 (file)
@@ -7,12 +7,10 @@ Standards-Version: 3.7.2
 
 Package: openbox
 Architecture: i386
-Depends: libc6 (>= 2.5), libglib2.0-0, libxcursor1, libx11-6, libpango1.0-0, libice6, libsm6, libxext6, libxinerama1, libxml2, libstartup-notification0, libxft2
+Depends: libc6, libglib2.0-0, libxcursor1, libx11-6, libpango1.0-0, libice6, libsm6, libxext6, libxinerama1, libxml2, libstartup-notification0, libxft2
 Recommends: obconf, ttf-bitstream-vera
-Suggests: menu, x-display-manager, ksmserver | gnome-session
+Suggests: menu, x-display-manager, ksmserver | gnome-session, kdm | gdm
 Conflicts: menu (<< 2.1.12)
 Provides: x-window-manager
-Description: stuff
- long stuff
- .
- http://openbox.org/
+Description: A minimalistic, highly configurable, next generation window manager with extensive standards support.
+ http://icculus.org/openbox/
index 8743e75..6796f22 100644 (file)
@@ -30,8 +30,8 @@ manpage.1: manpage.sgml
   <refnamediv>
     <refname>&dhpackage;</refname>
 
-    <refpurpose>Next generation, highly configurable window manager
-      </refpurpose>
+    <refpurpose>A minimalistic, highly configurable, next generation window
+      manager with extensive standards support.</refpurpose>
   </refnamediv>
   <refsynopsisdiv>
     <cmdsynopsis>
@@ -50,9 +50,8 @@ manpage.1: manpage.sgml
   <refsect1>
     <title>DESCRIPTION</title>
 
-    <para>Openbox is a next generation, highly
-      configurable window manager. Openbox is compliant with the
-      latest window manager standards.</para>
+    <para>Openbox is minimalistic, highly configurable, next generation window
+      manager with extensive standards support.</para>
 
     <para>You can start Openbox in three ways:</para>
 
diff --git a/makedeb b/makedeb
index 9687ccd..ac5f6de 100755 (executable)
--- a/makedeb
+++ b/makedeb
@@ -1,10 +1,21 @@
 #!/bin/sh
 
+if test "$1" = "ubuntu"; then
+    APPEND="ubuntu1";
+else
+    if test "$1" = "debian"; then
+        APPEND="";
+    else
+        echo "Usage: makedeb [ubuntu|debian]";
+        exit 1;
+    fi
+fi
+
 # get the version from configure.ac
 VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1)
 
 echo
-echo "Building deb for openbox-$VERSION"
+echo "Building deb for openbox-$VERSION$APPEND"
 echo
 
 TIME="$(date '+%a, %d %B %Y %T %z')"
@@ -17,6 +28,6 @@ make distclean > /dev/null || rm -f config.status
 
 rm -f $OUT
 
-sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION!" $IN >$OUT && \
+sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION$APPEND!" $IN >$OUT && \
 fakeroot debian/rules binary && \
 make distclean > /dev/null