[Bug 298878] New: create default SANE FDI file
https://bugzilla.novell.com/show_bug.cgi?id=298878 Summary: create default SANE FDI file Product: openSUSE 10.3 Version: Alpha 7 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: meissner@novell.com ReportedBy: meissner@novell.com QAContact: qa@suse.de CC: lnussel@novell.com, jsmeix@novell.com Found By: --- create a default SANE FDI for use with resmgr. sane-backends now even includes a list of USB ids in a udev ruleset, we can reuse that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298878#c1 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |meissner@novell.com --- Comment #1 from Johannes Meixner <jsmeix@novell.com> 2007-08-09 23:55:20 MST --- I do not understand the reason behind your request. Currently /usr/share/sane/create_hal_global_fdi_for_scanners creates /etc/hal/fdi/policy/10osvendor/70-scanner.fdi during package installation via RPM post install script. Isn't this o.k.? If not, could you explain why not and what you propose to solve which problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298878#c2 --- Comment #2 from Johannes Meixner <jsmeix@novell.com> 2007-08-09 23:57:40 MST --- Currently I cannot remember why I create it via RPM post install script and not during RPM build-time, there must have been a special reason, hmmm... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298878#c3 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|meissner@novell.com | --- Comment #3 from Marcus Meissner <meissner@novell.com> 2007-08-10 01:02:30 MST --- Assignee: Marcus Meissner <meissner@novell.com> This bug was mostly a reminder for me to check up on it. I had not expected USB IDs in the rules files under /policy/. I guess the reason you do it in a %post section is due to potentially add-on desc files. Also the included UDEV FDI file has some more ids: $ grep idProduct /etc/udev/rules.d/55-libsane.rules|wc -l 580 $ grep product_id //etc/hal/fdi/policy/10osvendor/70-scanner.fdi|wc -l 533 $ There should really be a static file in the RPM and you could catch other ids into seperate rules file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298878#c4 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement Status|NEW |ASSIGNED --- Comment #4 from Johannes Meixner <jsmeix@novell.com> 2007-08-10 01:42:57 MST --- I know about the inconsistencies of USB IDs in both files. Th reason is that the UDEV rule was derived from a recent SANE CVS version while the generated HAL fdi file is based upon the SANE description files in the RPM sources. I change it into the following enhancement requests: 1. Make USB IDs consistent in both files. Use the union set of USB IDs from both files. 2. Provide the HAL fdi file as static RPM source file. Because of 1. it might become too complicated to generate it for 10.3 during build time. Only if it is relatively easy to be generated, I will generate it otherwise I will postpone it for after 10.3 where usually all the udev/HAL/resmgr machinery changes again ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298878 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com AssignedTo|meissner@novell.com |jsmeix@novell.com Status|ASSIGNED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298878#c5 --- Comment #5 from Johannes Meixner <jsmeix@novell.com> 2007-08-10 01:55:07 MST --- I think I found the reason why it is done via post install: For the update of the sane package (now renamed to sane-backends) from Suse Linux 10.0 to 10.1 I used a big post install script to deal with the changes in the udev/HAL/resmgr machinery, see /work/SRC/old-versions/10.1/SLE/all/sane/sane.spec and I guess this is the only reason why it is still done via post install. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298878 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298878#c6 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Johannes Meixner <jsmeix@novell.com> 2007-08-14 08:15:27 MST --- Replaced create_hal_global_fdi_for_scanners by create_hal_global_fdi_from_libsane.rules which creates the global HAL 70-scanner.fdi file during build-time from the libsane.rules file and submitted sane-backends to STABLE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com