[Pkg-bitcoin-commits] [SCM] bfgminer packaging branch, master, updated. 6f302072b62d5f2033941a35be1718c486a6910d

Dmitry Smirnov onlyjob at member.fsf.org
Wed May 29 02:12:47 UTC 2013


The following commit has been merged in the master branch:
commit 6f302072b62d5f2033941a35be1718c486a6910d
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Wed May 29 12:07:54 2013 +1000

    corrections as per review by Luke Dashjr -- thanks:
    
    - There should be no build-depends for OpenCL: BFGMiner includes the official
    headers from Khronos, and uses dlopen to avoid any link-time library
    dependency.
    - The ADL SDK (commented in rules) is not needed or used at all for BFGMiner;
    instead, it includes minimal statement-of-fact headers (at least in the US
    jurisdiction, not eligible for copyright) I wrote to replace the non-free
    dependency. As the ADL library itself (linked with dlopen) is part of the OS
    when available, it should fall within the GPL's exception for that.
    
    http://lists.alioth.debian.org/pipermail/pkg-bitcoin-devel/Week-of-Mon-20130520/000191.html

diff --git a/debian/control b/debian/control
index abc203c..778542d 100644
--- a/debian/control
+++ b/debian/control
@@ -10,9 +10,6 @@ Build-Depends: debhelper (>= 9), dh-autoreconf, help2man
  ,libncurses5-dev
  ,libudev-dev [!kfreebsd-any]
  ,libusb-1.0-0-dev
-# ,amd-opencl-dev | opencl-dev
-# ,nvidia-opencl-dev | opencl-dev
- ,ocl-icd-opencl-dev | opencl-dev
  ,pkg-config
  ,yasm
 Standards-Version: 3.9.4
@@ -23,7 +20,6 @@ Vcs-Git: git://anonscm.debian.org/pkg-bitcoin/bfgminer.git
 Package: bfgminer
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: ocl-icd-libopencl1, opencl-icd
 Description: multi-threaded multi-pool GPU, FPGA and ASIC bitcoin miner
  Bitcoin miner software with multi-threaded multi-pool GPU, FPGA and ASIC
  mining support.
diff --git a/debian/rules b/debian/rules
index 15f79b9..88930ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,11 +10,6 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	#./autogen.sh
-	#wget -O ADL_SDK/adl.zip http://download2-developer.amd.com/amd/GPU/zip/ADL_SDK_4.0.zip;
-	#unzip ADL_SDK/adl.zip include/* -d ADL_SDK/;
-	#mv ADL_SDK/include/* ADL_SDK/;
-	#rm -rf ADL_SDK/adl.zip ADL_SDK/include/;
 	## Can't enable "--enable-ztex" as ztex licensed under GPL-2 while most files are GPL-3+
 	dh_auto_configure -- --bindir=/usr/lib/bfgminer \
                              --enable-avalon \

-- 
bfgminer packaging



More information about the Pkg-bitcoin-commits mailing list