Auto Installation patch for OpenSUSE 11.4

Created by goutam kodu
Keywords:

patch for auto installation in OpenSUSE 11.4.

Please follow the below steps to do the same,

1. Please download the the latest HPLIP 3.11.3a release from http://hplipopensource.com/hplip-web/gethplip.html.
2. Run from terminal $sh hplip-3.11.3a.run.
3.When it ask for , Please choose the installation mode (a=automatic*, c=custom, q=quit) : press q to quit the installation. A source folder hplip-3.11.3a gets created in the same location where hplip-3.11.3a.run file is present.
4. Enter into the folder hplip-3.11.3a
5.Please open file "installer/distroes.dat" file in hplip-3.11.3a directory and apply the following diff patch content on the file.
=====================================================================================================
--- hplip-3.11.3a/installer/distros.dat 2011-03-25 11:33:14.000000000 +0530
+++ hplip-3.11.3a/installer/distros.dat 2011-04-08 14:30:55.519731004 +0530
@@ -111,7 +111,7 @@

 [suse]
 index=3
-versions=11.1,11.2,11.3
+versions=11.1,11.2,11.3,11.4
 display_name=SUSE Linux
 alt_names=
 display=1
@@ -478,6 +478,122 @@
 [suse:11.3:python-notify]
 packages=python-notify

+# ********************
+[suse:11.4]
+code_name=Celadon
+supported=1
+scan_supported=1
+fax_supported=1
+pcard_supported=1
+network_supported=1
+parallel_supported=1
+usb_supported=1
+packaged_version=3.11.3
+release_date=2011-10-03
+notes=Please be sure to disable the CD repositories in YaST and after installation you must log out and back in to become a member of the lp and sys group to enable printing.
+ppd_install=drv
+udev_mode_fix=1
+ppd_dir=/usr/share/cups/model/HP
+fix_ppd_symlink=0
+drv_dir=/usr/share/cups/drv/HP
+cups_path_with_bitness=1
+ui_toolkit=qt4
+native_cups=1
+add_user_to_group= -Gsys,lp
+open_mdns_port=/bin/bash ./init-suse-firewall
+pre_depend_cmd=su -c "zypper refresh"
+
+[suse:11.4:cups]
+packages=cups,cups-client
+
+[suse:11.4:cups-devel]
+packages=cups-devel,cupsddk
+
+[suse:11.4:gcc]
+packages=gcc-c++
+
+[suse:11.4:gs]
+packages=ghostscript-library
+
+[suse:11.4:libcrypto]
+packages=openssl
+
+[suse:11.4:libjpeg]
+packages=libjpeg-devel
+
+[suse:11.4:libnetsnmp-devel]
+packages=net-snmp-devel
+
+[suse:11.4:libpthread]
+packages=glibc
+
+[suse:11.4:libtool]
+packages=libtool,libgphoto2-devel
+
+[suse:11.4:libusb]
+packages=libusb-1_0-devel,libusb-1_0-0
+
+[suse:11.4:make]
+packages=make
+
+[suse:11.4:pil]
+packages=python-imaging
+
+[suse:11.4:ppdev]
+packages=
+commands=su -c "modprobe ppdev"
+
+[suse:11.4:pyqt]
+packages=python-qt
+
+[suse:11.4:pyqt4]
+packages=python-qt4
+
+[suse:11.4:pyqt4-dbus]
+packages=dbus-1-python-devel,dbus-1-python
+
+[suse:11.4:python-devel]
+packages=python-devel,python-xml
+
+[suse:11.4:python23]
+packages=python
+
+[suse:11.4:python2x]
+packages=python
+
+[suse:11.4:reportlab]
+packages=
+
+[suse:11.4:sane]
+packages=xsane
+
+[suse:11.4:sane-devel]
+packages=sane-backends-devel
+
+[suse:11.4:scanimage]
+packages=sane-backends
+
+[suse:11.4:xsane]
+packages=xsane
+
+[suse:11.4:cups-ddk]
+packages=cupsddk
+
+[suse:11.4:python-dbus]
+packages=dbus-1-python
+
+[suse:11.4:dbus]
+packages=dbus-1-devel,python-gobject2
+
+[suse:11.4:python-xml]
+packages=python-xml
+
+[suse:11.4:cups-image]
+packages=cups-devel
+
+[suse:11.4:python-notify]
+packages=python-notify
+
# ****************************************
 [redhat]
 index=6
=====================================================================================================
6.From hplip-3.11.3a directory launch ./install.py file to continue auto installation.

Thanks,
Goutam Korra Kodu