]> git.pld-linux.org Git - packages/hplip.git/commitdiff
- rel 2; patch binary plugin for 64bit, too
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 30 Nov 2011 19:07:40 +0000 (19:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    hplip-binary-fixup.patch -> 1.3
    hplip.spec -> 1.93

hplip-binary-fixup.patch
hplip.spec

index 9525efb1a0cc29f1dc0964cd8ce2d76d8ece06e5..331d1924b5d71f2d2affe66022a832dae4835f69 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN hplip-3.11.10.org/base/pkit.py hplip-3.11.10/base/pkit.py
---- hplip-3.11.10.org/base/pkit.py     2011-10-02 05:06:15.000000000 +0200
-+++ hplip-3.11.10/base/pkit.py 2011-11-30 19:12:09.944970086 +0100
+--- hplip-3.11.10/base/pkit.py.org     2011-11-30 20:01:59.640469386 +0100
++++ hplip-3.11.10/base/pkit.py 2011-11-30 20:06:43.216664960 +0100
 @@ -30,6 +30,11 @@
  import shutil
  import stat
@@ -13,7 +12,7 @@ diff -urN hplip-3.11.10.org/base/pkit.py hplip-3.11.10/base/pkit.py
  # Local
  from base.logger import *
  from base.g import *
-@@ -318,7 +323,28 @@
+@@ -318,7 +323,31 @@
              log.debug("shutdown: %s" % str(e))
              return False
  
@@ -23,8 +22,11 @@ diff -urN hplip-3.11.10.org/base/pkit.py hplip-3.11.10/base/pkit.py
 +        # file, md5sum, replace content at address with specified byte
 +        patches = { 'lj-x86_32.so' : { 'md5': '30bdf8c844508a53d80362f9eba670c5',
 +                                       # https://bugs.launchpad.net/hplip/+bug/666780
-+                                       'replace' : [ (0xA068, 0x10) ]
-+                } }
++                                       'replace' : [ (0xA068, 0x10) ] },
++                    'lj-x86_64.so' : { 'md5': '28e1b2cde011cbbcd4b5c85c1866c893',
++                                       # https://bugs.launchpad.net/hplip/+bug/666780
++                                       'replace' : [ (0xD0D0, 0x10) ] }
++                  }
 +        if f in patches:
 +            d = open(f, 'rb').read()
 +            m = md5()
@@ -43,7 +45,7 @@ diff -urN hplip-3.11.10.org/base/pkit.py hplip-3.11.10/base/pkit.py
  
  def copyPluginFiles(src_dir):
      os.chdir(src_dir)
-@@ -411,6 +437,11 @@
+@@ -411,6 +440,11 @@
              continue
  
          else:
index 99664b1e7691ce72e69cb14b4a2bbe60ba9525e6..47feb72b97841fb6681d379dce7cd9174794f375 100644 (file)
@@ -11,7 +11,7 @@ Summary:      Hewlett-Packard Linux Imaging and Printing suite - printing and scannin
 Summary(pl.UTF-8):     Narzędzia Hewlett-Packard Linux Imaging and Printing - drukowanie i skanowanie przy użyciu urządzeń HP
 Name:          hplip
 Version:       3.11.10
-Release:       1.2
+Release:       2
 License:       BSD (hpijs), MIT (low-level scanning and printing code), GPL v2 (the rest)
 Group:         Applications/System
 Source0:       http://downloads.sourceforge.net/hplip/%{name}-%{version}.tar.gz
This page took 0.099731 seconds and 4 git commands to generate.