From patchwork Wed Jun 18 01:21:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Frost X-Patchwork-Id: 361233 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 88358140099 for ; Wed, 18 Jun 2014 11:23:23 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C2CD5200FF; Wed, 18 Jun 2014 01:23:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zljeoO-HLKDf; Wed, 18 Jun 2014 01:23:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4A24E2112C; Wed, 18 Jun 2014 01:23:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 20CF21BF991 for ; Wed, 18 Jun 2014 01:23:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1A2F28AF01 for ; Wed, 18 Jun 2014 01:23:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aLdhVg+JXIzz for ; Wed, 18 Jun 2014 01:23:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 546DE8AEFD for ; Wed, 18 Jun 2014 01:23:17 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id ey11so139064pad.26 for ; Tue, 17 Jun 2014 18:23:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=rDZl4Uv13VykRRg4KqcEWB3jlZ8FdPt3MhA3EqiUMcA=; b=vlA7Ch4ZBD4xaOSpNY3ZOwxS+obClnGGFgH1tODI3CVSwHtqb3HHwwLV3cht3yZSMa yWyUlK17hEA/1RycHD+0ugABNLa81EjFZjN6l5Cwous+6r4qKkQf8jHUwlMO5IMnBsL0 1VdX/Qj/OPMf34JTcuAu+ov9hR/k+Ps/Va2+tuRMWPvTRLzao3nXAdiPGzSm2ejijJ9o 0oxtQYdI7IIIYwWPNERBor7/66Ea6yFmyEFwo32qZ3Zz41ap4FLv58BvJdTnOyvwCy56 tkGtshpvv0L4KYEvUCxjeX45ro81bBPrd1We9eBxuXp6NmlweO/N60VpJsMqSMepknG7 MgrQ== X-Received: by 10.66.66.166 with SMTP id g6mr36059572pat.108.1403054596964; Tue, 17 Jun 2014 18:23:16 -0700 (PDT) Received: from [192.168.10.142] ([114.205.88.46]) by mx.google.com with ESMTPSA id oz7sm393504pbc.41.2014.06.17.18.23.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Jun 2014 18:23:16 -0700 (PDT) Message-ID: <53A0E9AF.1020604@gmail.com> Date: Wed, 18 Jun 2014 10:21:51 +0900 From: William Frost User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: buildroot@busybox.net References: <1403049919-3275-1-git-send-email-tsmrnd0@gmail.com> In-Reply-To: <1403049919-3275-1-git-send-email-tsmrnd0@gmail.com> X-Forwarded-Message-Id: <1403049919-3275-1-git-send-email-tsmrnd0@gmail.com> Subject: [Buildroot] [Patch v3] dcmtk: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Sorry for the delay but I'm still having problems with git send-email. This is quite new to me. I test: git send-email --to tsmrnd0@gmail.com *.patch and I'm able to receive the email. but when I git send-email --to buildroot@busybox.net *.patch I don't see my email on the mailling list, but it is on the sent email. I'm really sorry for using thunderbird again. Best regard, William -------- Original Message -------- Subject: [Buildroot][Patch v3] dcmtk: new package Date: Wed, 18 Jun 2014 09:05:19 +0900 From: William Frost To: buildroot@busybox.net CC: William Frost [PATCH] Changes v2 -> v3: (suggested by Thomas De Schampheleire): - removed version selection option, only stable release is used - added an empty new line between the comment header and the first variable definition - fixed license file reference - reduced and cleaning DCMTK_CFLAGS and DCMTK_CXXFLAGS declarations - removed DCMTK_INSTALL_STAGING_OPT and DCMTK_INSTALL_TARGET_OPT - unconditionally use --with-zlib - removed duplicated build commands Signed-off-by: William Frost --- package/Config.in | 1 + package/dcmtk/Config.in | 12 ++++++++++++ package/dcmtk/dcmtk.mk | 23 +++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 package/dcmtk/Config.in create mode 100644 package/dcmtk/dcmtk.mk diff --git a/package/Config.in b/package/Config.in index 07fd166..b88c0b0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -568,6 +568,7 @@ endmenu menu "Graphics" source "package/atk/Config.in" source "package/cairo/Config.in" +source "package/dcmtk/Config.in" source "package/fltk/Config.in" source "package/fontconfig/Config.in" source "package/freetype/Config.in" diff --git a/package/dcmtk/Config.in b/package/dcmtk/Config.in new file mode 100644 index 0000000..0800c72 --- /dev/null +++ b/package/dcmtk/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_DCMTK + bool "dcmtk" + help + DCMTK is a collection of libraries and applications implementing + large parts the DICOM standard. It includes software for examining, + constructing and converting DICOM image files, handling offline + media, sending and receiving images over a network connection, as + well as demonstrative image storage and worklist servers. DCMTK is + is written in a mixture of ANSI C and C++. It comes in complete + source code and is made available as "open source" software. + + http://dicom.offis.de/dcmtk.php.en \ No newline at end of file diff --git a/package/dcmtk/dcmtk.mk b/package/dcmtk/dcmtk.mk new file mode 100644 index 0000000..ae2c265 --- /dev/null +++ b/package/dcmtk/dcmtk.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# dcmtk +# +################################################################################ + +DCMTK_VERSION = $(call qstrip,"3.6.0") +DCMTK_SITE = http://dicom.offis.de/download/dcmtk/dcmtk360 + +DCMTK_LICENSE = BSD +DCMTK_LICENSE_FILES = COPYRIGHT +DCMTK_INSTALL_STAGING = YES + +DCMTK_CFLAGS = $(TARGET_CFLAGS) -O -Wall +DCMTK_CXXFLAGS = $(TARGET_CXXFLAGS) -O -Wall +DCMTK_CONF_OPT = \ + --disable-rpath --with-zlib \ + ac_cv_my_c_rightshift_unsigned=no + +DCMTK_CONF_ENV = ARFLAGS=cru +DCMTK_MAKE_OPT = DESTDIR=$(STAGING_DIR) install-lib + +$(eval $(autotools-package))