* [Buildroot] [PATCH] sg3-utils new package.
@ 2012-12-17 20:35 Marek Belisko
2012-12-17 23:10 ` Arnout Vandecappelle
2012-12-18 8:48 ` Thomas Petazzoni
0 siblings, 2 replies; 8+ messages in thread
From: Marek Belisko @ 2012-12-17 20:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
package/Config.in | 1 +
package/sg3_utils/Config.in | 7 +++++++
package/sg3_utils/sg3_utils.mk | 10 ++++++++++
3 files changed, 18 insertions(+)
create mode 100644 package/sg3_utils/Config.in
create mode 100644 package/sg3_utils/sg3_utils.mk
diff --git a/package/Config.in b/package/Config.in
index d6af55d..269b3ff 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -253,6 +253,7 @@ source "package/rng-tools/Config.in"
source "package/sane-backends/Config.in"
source "package/sdparm/Config.in"
source "package/setserial/Config.in"
+source "package/sg3_utils/Config.in"
source "package/smartmontools/Config.in"
source "package/snowball-hdmiservice/Config.in"
source "package/sredird/Config.in"
diff --git a/package/sg3_utils/Config.in b/package/sg3_utils/Config.in
new file mode 100644
index 0000000..1d2ab2a
--- /dev/null
+++ b/package/sg3_utils/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_SG3_UTILS
+ bool "sg3_utils"
+ help
+ sg3_utils is a package of utilities that send SCSI commands to the
+ given <scsi_device> via a SCSI pass through.
+
+ http://sg.danny.cz/sg/
diff --git a/package/sg3_utils/sg3_utils.mk b/package/sg3_utils/sg3_utils.mk
new file mode 100644
index 0000000..2eba3d3
--- /dev/null
+++ b/package/sg3_utils/sg3_utils.mk
@@ -0,0 +1,10 @@
+#############################################################
+#
+# sg3_utils
+#
+#############################################################
+SG3_UTILS_VERSION = 1.34
+SG3_UTILS_SITE = http://sg.danny.cz/sg/p/
+SG3_UTILS_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] sg3-utils new package.
2012-12-17 20:35 [Buildroot] [PATCH] sg3-utils new package Marek Belisko
@ 2012-12-17 23:10 ` Arnout Vandecappelle
2012-12-18 8:48 ` Thomas Petazzoni
1 sibling, 0 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2012-12-17 23:10 UTC (permalink / raw)
To: buildroot
On 17/12/12 21:35, Marek Belisko wrote:
> Signed-off-by: Marek Belisko<marek.belisko@open-nandra.com>
[snip]
> diff --git a/package/sg3_utils/Config.in b/package/sg3_utils/Config.in
> new file mode 100644
> index 0000000..1d2ab2a
> --- /dev/null
> +++ b/package/sg3_utils/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_SG3_UTILS
> + bool "sg3_utils"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
(actually only sgp_dd needs threads so that could be patched out in the
Makefile).
Not sure about IPv6.
Otherwise, looks good.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] sg3-utils new package.
2012-12-17 20:35 [Buildroot] [PATCH] sg3-utils new package Marek Belisko
2012-12-17 23:10 ` Arnout Vandecappelle
@ 2012-12-18 8:48 ` Thomas Petazzoni
2012-12-18 8:52 ` Belisko Marek
1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2012-12-18 8:48 UTC (permalink / raw)
To: buildroot
Dear Marek Belisko,
On Mon, 17 Dec 2012 21:35:46 +0100, Marek Belisko wrote:
> +SG3_UTILS_INSTALL_STAGING = YES
Hum, why is this needed? Does sg3_utils installs some libraries or
headers that are useful for other packages?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] sg3-utils new package.
2012-12-18 8:48 ` Thomas Petazzoni
@ 2012-12-18 8:52 ` Belisko Marek
2012-12-18 9:03 ` Thomas Petazzoni
0 siblings, 1 reply; 8+ messages in thread
From: Belisko Marek @ 2012-12-18 8:52 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Tue, Dec 18, 2012 at 9:48 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Marek Belisko,
>
> On Mon, 17 Dec 2012 21:35:46 +0100, Marek Belisko wrote:
>
>> +SG3_UTILS_INSTALL_STAGING = YES
>
> Hum, why is this needed? Does sg3_utils installs some libraries or
> headers that are useful for other packages?
I'm working on adding udisks to buildroot and udisks have dependency on
sg3-utils library so this is the reason why installing to staging.
I've read somewhere on ML you was working also on udisks package.
Was it successful?
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
Cheers,
mbe
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] sg3-utils new package.
2012-12-18 8:52 ` Belisko Marek
@ 2012-12-18 9:03 ` Thomas Petazzoni
2012-12-19 22:11 ` Belisko Marek
0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2012-12-18 9:03 UTC (permalink / raw)
To: buildroot
Dear Belisko Marek,
On Tue, 18 Dec 2012 09:52:41 +0100, Belisko Marek wrote:
> > Hum, why is this needed? Does sg3_utils installs some libraries or
> > headers that are useful for other packages?
> I'm working on adding udisks to buildroot and udisks have dependency on
> sg3-utils library so this is the reason why installing to staging.
Ok. A comment just before the _INSTALL_STAGING line would be useful,
then, because for a "utils" package, we don't necessarily expect to
have a library in it.
> I've read somewhere on ML you was working also on udisks package.
> Was it successful?
It was a looong time ago. I think I managed to get udisks to build, but
I hadn't had the time to do some real testing with it: I was first
doing some testing of polkit, which is a dependency of udisks.
I've put online the 3 patches I had done at that time (note that they
are old: they still use the old AUTOTARGETS macro name), see:
http://free-electrons.com/~thomas/pub/udisks-buildroot/
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] sg3-utils new package.
2012-12-18 9:03 ` Thomas Petazzoni
@ 2012-12-19 22:11 ` Belisko Marek
2012-12-19 22:36 ` Thomas Petazzoni
0 siblings, 1 reply; 8+ messages in thread
From: Belisko Marek @ 2012-12-19 22:11 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Tue, Dec 18, 2012 at 10:03 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Belisko Marek,
>
> On Tue, 18 Dec 2012 09:52:41 +0100, Belisko Marek wrote:
>
>> > Hum, why is this needed? Does sg3_utils installs some libraries or
>> > headers that are useful for other packages?
>> I'm working on adding udisks to buildroot and udisks have dependency on
>> sg3-utils library so this is the reason why installing to staging.
>
> Ok. A comment just before the _INSTALL_STAGING line would be useful,
> then, because for a "utils" package, we don't necessarily expect to
> have a library in it.
>
>> I've read somewhere on ML you was working also on udisks package.
>> Was it successful?
>
> It was a looong time ago. I think I managed to get udisks to build, but
> I hadn't had the time to do some real testing with it: I was first
> doing some testing of polkit, which is a dependency of udisks.
>
> I've put online the 3 patches I had done at that time (note that they
> are old: they still use the old AUTOTARGETS macro name), see:
> http://free-electrons.com/~thomas/pub/udisks-buildroot/
Thanks for patches. I made small update and I can compile polkit without
problems but I have still problems with udisks.
Basically udisks have only autogen.sh script and I was trying to use:
UDISKS_AUTORECONF = YES macro.
With this change it fails during autoreconfiguring:
configure.ac:13: the top level
configure.ac:225: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:1204: IT_PROG_INTLTOOL is expanded from...
configure.ac:225: the top level
configure:14234: error: possibly undefined macro: AM_NLS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Am I missing some dependency?
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
Thanks,
marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] sg3-utils new package.
2012-12-19 22:11 ` Belisko Marek
@ 2012-12-19 22:36 ` Thomas Petazzoni
2012-12-20 10:58 ` Belisko Marek
0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2012-12-19 22:36 UTC (permalink / raw)
To: buildroot
Dear Belisko Marek,
On Wed, 19 Dec 2012 23:11:31 +0100, Belisko Marek wrote:
> configure.ac:13: the top level
> configure.ac:225: warning: AM_NLS is m4_require'd but not m4_defun'd
> aclocal.m4:1204: IT_PROG_INTLTOOL is expanded from...
> configure.ac:225: the top level
> configure:14234: error: possibly undefined macro: AM_NLS
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
>
> Am I missing some dependency?
I guess this macro is installed by gettext, but not sure.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] sg3-utils new package.
2012-12-19 22:36 ` Thomas Petazzoni
@ 2012-12-20 10:58 ` Belisko Marek
0 siblings, 0 replies; 8+ messages in thread
From: Belisko Marek @ 2012-12-20 10:58 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Wed, Dec 19, 2012 at 11:36 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Belisko Marek,
>
> On Wed, 19 Dec 2012 23:11:31 +0100, Belisko Marek wrote:
>
>> configure.ac:13: the top level
>> configure.ac:225: warning: AM_NLS is m4_require'd but not m4_defun'd
>> aclocal.m4:1204: IT_PROG_INTLTOOL is expanded from...
>> configure.ac:225: the top level
>> configure:14234: error: possibly undefined macro: AM_NLS
>> If this token and others are legitimate, please use m4_pattern_allow.
>> See the Autoconf documentation.
>>
>> Am I missing some dependency?
>
> I guess this macro is installed by gettext, but not sure.
Hmm it was my mistake somehow. I proceed forward but now have troubles
in configuration phase:
checking for LIBPARTED... yes
checking for DEVMAPPER... no
configure: error: Package requirements (devmapper >= 1.02) were not met:
I choose BR2_PACKAGE_LVM2 and aso add dependency to lvm2 but error still exists.
I was looking to stagin directory and libdevmapper is is /usr/lib. Not
sure why it pkg-config cannot
find. Ideas?
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
Thanks in advance,
Marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-12-20 10:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-17 20:35 [Buildroot] [PATCH] sg3-utils new package Marek Belisko
2012-12-17 23:10 ` Arnout Vandecappelle
2012-12-18 8:48 ` Thomas Petazzoni
2012-12-18 8:52 ` Belisko Marek
2012-12-18 9:03 ` Thomas Petazzoni
2012-12-19 22:11 ` Belisko Marek
2012-12-19 22:36 ` Thomas Petazzoni
2012-12-20 10:58 ` Belisko Marek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox