Hello community, here is the log from the commit of package blueproximity for openSUSE:Factory checked in at Tue Aug 3 02:03:04 CEST 2010. -------- New Changes file: --- /dev/null 2010-05-08 11:31:08.000000000 +0200 +++ /mounts/work_src_done/STABLE/blueproximity/blueproximity.changes 2010-08-02 12:17:19.000000000 +0200 @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Sat Jul 24 15:10:53 UTC 2010 - dimstar@opensuse.org + +- Do not use a self-packaged .desktop, but rather use the upstream + provided one. +- Install the upstream provided icon (.xpm). + +------------------------------------------------------------------- +Tue Jul 20 22:55:26 GMT 2010 - rdb@ccb.ac.uk + +- replaced fedorization patch with suseization patch + +------------------------------------------------------------------- +Tue Jul 20 22:13:26 GMT 2010 - rdb@ccb.ac.uk + +- initial checkin of blueproximity calling whatdependson for head-i586 New: ---- blueproximity-1.2.5.tar.bz2 blueproximity-fix-bash-script.diff blueproximity-python-ConfigObj.patch blueproximity-suseization.diff blueproximity.changes blueproximity.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blueproximity.spec ++++++ # # spec file for package blueproximity (Version 1.2.5) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: blueproximity Version: 1.2.5 Release: 1 License: GPLv2 Summary: Detects you via your bluetooth devices and locks/unlocks the screen Url: http://blueproximity.sourceforge.net/ Group: Hardware/Mobile Source0: http://downloads.sourceforge.net/blueproximity/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM blueproximity-suseization.diff rdb@ccb.ac.uk-- Patches for openSUSE Patch0: blueproximity-suseization.diff # PATCH-FIX-UPSTREAM blueproximity-fix-bash-script.diff ncorrare@redhat.com -- Fixes app launch when running from bash scripts Patch1: blueproximity-fix-bash-script.diff # PATCH-FIX-UPSTREAM blueproximity-python-ConfigObj.patch rjsteffan@fedoraproject.org -- Patch for python ConfigObj changes Patch2: blueproximity-python-ConfigObj.patch BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: update-desktop-files # Required due to Patch2 Requires: python-configobj >= 4.7.0 # Requires: pybluez, pygtk2-libglade Requires: python-gtk >= 2.17 Requires: python-pybluez, BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Add security to your desktop by automatically locking and unlocking the screen when you and your phone leave/enter the desk. Think of a proximity detector for your mobile phone via bluetooth. %prep %setup -q -n %{name}-%{version}.orig %patch0 -p0 %patch1 -p0 %patch2 -p0 %build %install # Create Directory Structure install -d %{buildroot}%{_datadir}/%{name}/ install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_datadir}/pixmaps/ install -d %{buildroot}%{_datadir}/%{name}/pixmaps/ install -d %{buildroot}%{_mandir}/man1/ # Install Files install -p -m 0755 start_proximity.sh %{buildroot}%{_bindir}/%{name} install -p -m 0755 proximity.py %{buildroot}%{_datadir}/%{name}/ install -p -m 0644 proximity.glade %{buildroot}%{_datadir}/%{name}/ install -p -m 0644 doc/blueproximity.1 %{buildroot}%{_mandir}/man1/ # Install Languages for i in $(ls LANG/); do install -d %{buildroot}%{_datadir}/locale/$i/LC_MESSAGES/ install -p -m 0644 LANG/$i/LC_MESSAGES/* %{buildroot}%{_datadir}/locale/$i/LC_MESSAGES/ done # Install Images for i in $(ls *.svg); do install -p -m 0644 $i %{buildroot}%{_datadir}/%{name}/pixmaps/ done # Link in SVG pushd %{buildroot}%{_datadir} ln -s ../%{name}/pixmaps/%{name}_base.svg pixmaps/ popd # Install Menu Item install -D -m 0644 addons/%{name}.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm %suse_update_desktop_file -i -r -N "BlueProximity" -G "Bluetooth Security Lock" %{name} GNOME GTK Settings HardwareSettings # Find Languages %find_lang %{name} %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc ChangeLog COPYING README doc/manual* %{_datadir}/%{name} %{_bindir}/%{name} %{_mandir}/man1/blueproximity* %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}_base.svg %{_datadir}/pixmaps/blueproximity.xpm %changelog ++++++ blueproximity-fix-bash-script.diff ++++++ --- start_proximity.sh 2008-02-10 20:42:31.000000000 -0200 +++ script 2008-02-14 19:36:08.000000000 -0200 @@ -1,5 +1,5 @@ #!/bin/bash PRG="$0" -P=`dirname $PRG` +P="/usr/share/blueproximity/" cd $P python proximity.py ++++++ blueproximity-python-ConfigObj.patch ++++++ --- proximity.py.orig 2010-06-06 17:22:25.454729310 -0600 +++ proximity.py 2010-06-06 17:23:04.963753212 -0600 @@ -1257,7 +1257,7 @@ if filename.endswith('.conf'): try: # add every valid .conf file to the array of configs - config = ConfigObj(os.path.join(conf_dir,filename),{'create_empty':False,'file_error':True,'configspec':conf_specs}) + config = ConfigObj(os.path.join(conf_dir,filename),**{'create_empty':False,'file_error':True,'configspec':conf_specs}) # first validate it config.validate(vdt, copy=True) # rewrite it in a secure manner @@ -1271,7 +1271,7 @@ # no previous configuration could be found so let's create a new one if new_config: - config = ConfigObj(os.path.join(conf_dir, _('standard') + '.conf'),{'create_empty':True,'file_error':False,'configspec':conf_specs}) + config = ConfigObj(os.path.join(conf_dir, _('standard') + '.conf'),**{'create_empty':True,'file_error':False,'configspec':conf_specs}) # next line fixes a problem with creating empty strings in default values for configobj config['device_mac'] = '' config.validate(vdt, copy=True) ++++++ blueproximity-suseization.diff ++++++ --- proximity.py 2008-02-14 12:57:16.000000000 -0200 +++ blueproximity-1.py 2008-02-14 23:00:14.000000000 -0200 @@ -25,8 +25,8 @@ ## This value gives us the base directory for language files and icons. # Set this value to './' for svn version # or to '/usr/share/blueproximity/' for packaged version -dist_path = './' - +dist_path = '/usr/share/blueproximity/' +pixmaps_path = 'pixmaps/' # system includes import os @@ -42,7 +42,7 @@ import gettext #Get the local directory since we are not installing anything -local_path = dist_path + 'LANG/' +local_path = '/usr/share/locale/' # Init the list of languages to support langs = [] #Check the default locale @@ -81,8 +81,8 @@ except: print _("The program cannot import the module gobject.") print _("Please make sure the GObject bindings for python are installed.") - print _("e.g. with Ubuntu Linux, type") - print _(" sudo apt-get install python-gobject") + print _("e.g. with openSUSE, type as root") + print _("zypper install python-gobject2") sys.exit(1) try: from configobj import ConfigObj @@ -90,8 +90,8 @@ except: print _("The program cannot import the module ConfigObj or Validator.") print _("Please make sure the ConfigObject package for python is installed.") - print _("e.g. with Ubuntu Linux, type") - print _(" sudo apt-get install python-configobj") + print _("e.g. with openSUSE, type as root") + print _("zypper install python-configobj") sys.exit(1) IMPORT_BT=0 try: @@ -112,8 +112,8 @@ if (IMPORT_BT!=2): print _("The program cannot import the module bluetooth.") print _("Please make sure the bluetooth bindings for python as well as bluez are installed.") - print _("e.g. with Ubuntu Linux, type") - print _(" sudo apt-get install python-bluez") + print _("e.g. with openSUSE, type as root") + print _("zypper install python-pybluez") sys.exit(1) try: import pygtk @@ -122,16 +122,16 @@ except: print _("The program cannot import the module pygtk.") print _("Please make sure the GTK2 bindings for python are installed.") - print _("e.g. with Ubuntu Linux, type") - print _(" sudo apt-get install python-gtk2") + print _("e.g. with openSUSE, type as root") + print _("zypper install python-gtk") sys.exit(1) try: import gtk.glade except: print _("The program cannot import the module glade.") print _("Please make sure the Glade2 bindings for python are installed.") - print _("e.g. with Ubuntu Linux, type") - print _(" sudo apt-get install python-glade2") + print _("e.g. with openSUSE type as root") + print _("zypper install pygtk2-libglade") sys.exit(1) @@ -157,15 +157,15 @@ ## The icon used at normal operation and in the info dialog. -icon_base = 'blueproximity_base.svg' +icon_base = pixmaps_path + 'blueproximity_base.svg' ## The icon used at distances greater than the unlock distance. -icon_att = 'blueproximity_attention.svg' +icon_att = pixmaps_path + 'blueproximity_attention.svg' ## The icon used if no proximity is detected. -icon_away = 'blueproximity_nocon.svg' +icon_away = pixmaps_path + 'blueproximity_nocon.svg' ## The icon used during connection processes and with connection errors. -icon_con = 'blueproximity_error.svg' +icon_con = pixmaps_path + 'blueproximity_error.svg' ## The icon shown if we are in pause mode. -icon_pause = 'blueproximity_pause.svg' +icon_pause = pixmaps_path + 'blueproximity_pause.svg' ## This class represents the main configuration window and ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org