[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Upload of kdepim - ripping out debconf



Hi!

Some days ago, I approached one of our mighty release managers for a "It
might be possible that we might accept this change" - and I at least got
a partial ack.

But before uploading and wasting bulidd resources on this, I would like
a ack to upload with these changes.

The debconf stuff used in kpilot (kde palm pilot program) is ancient and
should not be used. It configures devfs related to palm pilots and helps
palm pilot using programs with what device they should use.

Devfs is as far as I can see no longer used anywhere, at least in
debian, and kpilot has user interfaces to help with what devices to use.

We have recieved a couple of more debconf translations, but would prefer
to remove this debconf all together.

In the following, the output of interdiff -z | diffstat is shown - and a
the diff except the debian/po directory


Thanks in advance

/Sune



interdiff -z kdepim_3.5.5.dfsg.1*.diff.gz | diffstat
 debian/kpilot.config                       |    8 ---
 debian/kpilot.templates                    |   13 ----
 debian/po/POTFILES.in                      |    1
 debian/po/cs.po                            |   68 -------------------------
 debian/po/da.po                            |   61 -----------------------
 debian/po/de.po                            |   70 --------------------------
 debian/po/es.po                            |   76 -----------------------------
 debian/po/eu.po                            |   55 --------------------
 debian/po/fr.po                            |   69 --------------------------
 debian/po/gl.po                            |   69 --------------------------
 debian/po/it.po                            |   62 -----------------------
 debian/po/ja.po                            |   68 -------------------------
 debian/po/lt.po                            |   71 ---------------------------
 debian/po/nb.po                            |   63 ------------------------
 debian/po/nl.po                            |   70 --------------------------
 debian/po/pt_BR.po                         |   70 --------------------------
 debian/po/ro.po                            |   64 ------------------------
 debian/po/ru.po                            |   67 -------------------------
 debian/po/sv.po                            |   66 -------------------------
 debian/po/templates.pot                    |   62 -----------------------
 debian/po/vi.po                            |   61 -----------------------
 kdepim-3.5.5.dfsg.1/debian/changelog       |   17 ++++++
 kdepim-3.5.5.dfsg.1/debian/kpilot.postinst |   58 ++--------------------


diff -u kdepim-3.5.5.dfsg.1/debian/changelog kdepim-3.5.5.dfsg.1/debian/changelog
--- kdepim-3.5.5.dfsg.1/debian/changelog
+++ kdepim-3.5.5.dfsg.1/debian/changelog
@@ -1,3 +1,20 @@
+kdepim (4:3.5.5.dfsg.1-7) unstable; urgency=low
+
+  +++ Changes by Sune Vuorela
+  * The let-us-not-waste-translator-time-release
+    (Closes: #408022, #413626)
+  * Verbose changelog
+  * Only kpilot related things are touched.
+  * Remove debconf-stuff - it is really useless as it is used to add devfs
+    related configuration for palm pilots.
+    The feature from this debconfstuff - to choose what device to use - is
+    something that the kpilot user interface also offers in a much better way,
+    so removing debconf is better than trying to somehov adapt it to a
+    non-devfs world.
+  * This change has lived in experimental since January.
+
+ -- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>  Tue, 13 Mar 2007 22:08:41 +0100
+
 kdepim (4:3.5.5.dfsg.1-6) unstable; urgency=high

   +++ Changes by Josh Metzler:
diff -u kdepim-3.5.5.dfsg.1/debian/kpilot.postinst kdepim-3.5.5.dfsg.1/debian/kpilot.postinst
--- kdepim-3.5.5.dfsg.1/debian/kpilot.postinst
+++ kdepim-3.5.5.dfsg.1/debian/kpilot.postinst
@@ -25,62 +25,16 @@
 #     `abort-upgrade',
 #     `abort-remove' or `abort-deconfigure'.

+#to be kept until post-lenny
 devfs_cfg=/etc/devfs/conf.d/libpisock8

 case "$1" in
     configure|reconfigure)
-               # Source debconf library.
-               . /usr/share/debconf/confmodule
-
-               # which port?
-               db_get 'shared/pilot/port'
-
-               port="$RET"
-
-               # if port is not defined we don't do anything
-               if [ "$port" ]
-               then
-                       # if port is not set to None
-                       if [ "$port" != "None" ]
-                       then
-                               rm -f /dev/pilot
-                               #let us just guard this in case of udev
-                               if [ -e "$port" ]
-                               then
-                                       ln -s "$port" /dev/pilot
-                                       chmod -f 0666 /dev/"$port" || true
-                               fi
-
-                               # remove old devfs stuff (from before 0.11.3-5)
-                               if [ -f /etc/devfs/symlinks.d/pilot-link ]; then
-                                       rm /etc/devfs/symlinks.d/pilot-link
-                               fi
-                               if [ -f /etc/devfs/conf.d/pilot-link ]; then
-                                       rm /etc/devfs/conf.d/pilot-link
-                               fi
-
-                               if [ ! -d /etc/devfs/conf.d ]
-                               then
-                                       mkdir -p /etc/devfs/conf.d
-                               fi
-
-                               # convert ttyS? -> tts/? (devfs name)
-                               port_devfs=$(echo $port | sed -e 's/ttyS/tts\//')
-
-                               # convert ttyUSB? -> usb/tts/? (devfs name)
-                               port_devfs=$(echo $port | sed -e 's/ttyUSB/usb\/tts\//')
-
-                               echo "REGISTER  ^$port_devfs$ CFUNCTION GLOBAL symlink \$devname pilot" > $devfs_cfg
-                               echo "REGISTER  ^$port_devfs$   PERMISSIONS     root.root       0666" >> $devfs_cfg
-                               echo "UNREGISTER ^$port_devfs$ CFUNCTION GLOBAL unlink pilot" >> $devfs_cfg
-                       else
-                               # the admin chooses to manage the link himself
-                               rm -f /dev/pilot /etc/devfs/conf.d/libpisock8
-                       fi
-               fi
-
-               # ends debconf
-               db_stop
+       . /usr/share/debconf/confmodule
+       db_purge
+       db_stop
+       rm -f $devfs_cfg
+
     ;;

     abort-upgrade|abort-remove|abort-deconfigure)
reverted:
--- kdepim-3.5.5.dfsg.1/debian/kpilot.templates
+++ kdepim-3.5.5.dfsg.1.orig/debian/kpilot.templates
@@ -1,13 +0,0 @@
-Template: shared/pilot/port
-Type: select
-_choices: None, ttyS0, ttyS1, ttyS2, ttyS3, ircomm0, ttyUSB0, ttyUSB1
-_description: Which communication port to use with the Palm?
- A symbolic file /dev/pilot may be created to the port use to talk to the
- Palm.
- .
- ttyS? are the four serial ports, ircomm0 is the IrDA (infra red) port,
- ttyUSB? are the USB ports.
- .
- To ease the use of the Palm connected to the port its access rights will
- be lowered to allow access to any user.  If it is a security problem for
- you, select "None" and manage the link and its access rights yourself.
reverted:
--- kdepim-3.5.5.dfsg.1/debian/kpilot.config
+++ kdepim-3.5.5.dfsg.1.orig/debian/kpilot.config
@@ -1,8 +0,0 @@
-#!/bin/sh -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-db_input medium 'shared/pilot/port' || true
-db_go || true
-




Reply to: