https://bugzilla.novell.com/show_bug.cgi?id=225146 ------- Comment #24 from dbolt.abiryy@davjam.org 2007-01-22 17:49 MST ------- Created an attachment (id=114298) --> (https://bugzilla.novell.com/attachment.cgi?id=114298&action=view) script to extract all files from packages and identify the images This is the script I used to locate and identify possibly infringing images. The only file it really relies upon is one created by using: rpm-rembrand -d | \ awk -F: '{print $3}' | \ sed -e "s/\./\\\./g" -e "s/\*/\.\*/g" >known.images.txt This is to convert the known images into a series of regex expressions. It uses rpm2cpio and cpio to extract the contents of each rpm. After that, file is used to identify all the images (grep " image data,"), with all the non-images deleted. The image filenames are compared against a list of previously checked images, and any that haven't been checked are deleted. The results are then resized using montage, with a text file containing the image filename, and I then used Konquerors icon view to quickly scan the images. If there are any that look as though they may infringe, I rename the corresponding text file and xview displays the image again. I then get to choose as to whether it's removal is optional, non-optional, or not required. Any optional or non-optional files are added to an "images.to.report.txt" file, the results of which have already been included in comment #20. By maintaining a list of already checked rpm files, as well as checked images, I was able to break the scanning as resume at will. -- 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, or are watching someone who is.