Monday, December 30, 2013

[nslu2-linux] added ASUSTOR Optware target

 

Good day,    I recently bought an ASUSTOR NAS and was missing Optware. So I got the  optware building system and added asustor-i686 and asustor-x86_64 targets.    I put it on github since that's the fastest way for me to 'backup' it  (https://github.com/boretom/optware). Now I'd like to see if there's a  way to get it added to the official repository. Right now the IPKs (1208  for i686|1151 for x86_64) can be found on optware.kupper.org for the two  targets. Although only the x86_64 packages are referred to in the  Optware package for ASUSTOR. For the i686 NAS I refer to the i686g25 target.    The ASUSTOR NAS toolchain uses GCC 4.6.3/glibc-2.13 and I did compile it  Ubuntu 12.04. To make it compile I had to patch quite a few packages  (~80) and update (~25) some others. Some seem related to GCC > 4.2 and  some because of 64-bit packages build.    So, since I guess there's no chance that a nobody gets 80 patches  approved which were build with a non-standard build-system I'd like to  know what the next steps would be.    * I realise now that you use Ubuntu 10.10 - silly me thought he might  find the infos on the website. Would it help if I try to compile on  Ubuntu 10.10 and see which patches were necessary?    * Is it correct that no other target uses a GCC > 4.2? I don't have much  knowledge of programming and gcc versions. But searching the internet  for fixes of the compiling problems I got it seems that there were  changes in GCC > 4.2 which made it necessary to add some headers. Like  limits.h and stdlib.h to some packages.      Have a good day and a good start into a brand new year!  Thomas  

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
.

__,_._,___

Re: [nslu2-linux] More recent build of hplip?

 



2013/12/30 Alex Potapenko <opotapenko@gmail.com>
Craig,

Thank you for your "--enable-libusb01_build" tip, it does configure with libusb01 fine, no need for libusb1 here. However, your makefile is missing some important stuff. The reason I do so much patching after running configure script is to make sure that instead of standard "/usr", "/etc", "/var" locations all settings and files are installed and later at run time properly addressed to under "/opt". I grepped through python scripts, c++/c sources and Makefile to find which files need to be patched for this, and how. I'm guessing that network backend issue Peter had may be related to patching Makefile.am only and then reconfiguring.

According to config.log, net-snmp is properly recognized as usable by the configure script. My best guess about Peter's problems is, however vague it is, that something is just looking for something else in a wrong place.



And no, I haven't acquired a developer certificate yet


2013/12/30 Craig Noble <ipsen200@yahoo.com>
 

Alex,

Peter tried my hplip package earlier and reported an issue with the network backend. Can you confirm that your build has configured with "--enable-network-build", it should be default, but if it can't find net-snmp in the staging dir then it'll silently drop it from the build.

Add net-snmp to the depends and net-snmp-stage to the configure section to make sure it'll build cleanly from scratch.

Cheers,
Craig.


On Sunday, December 29, 2013 5:32 PM, Alex Potapenko <opotapenko@gmail.com> wrote:
 
Hello Paul,

Sorry for the sane-related comments. I used libusb.mk as a basis for writing libusb1.mk, and replaced the header comments containing libusb package versions history with the usual stuff, like the one in template.mk. Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little earlier. Just forgot to replace all occurrences



Peter,

I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can give them a go if you want to:


Hope it works





--
Best regards,
Alex Potapenko



--
Best regards,
Alex Potapenko

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (11)
Recent Activity:
.

__,_._,___

Re: [nslu2-linux] More recent build of hplip?

 

Craig,

Thank you for your "--enable-libusb01_build" tip, it does configure with libusb01 fine, no need for libusb1 here. However, your makefile is missing some important stuff. The reason I do so much patching after running configure script is to make sure that instead of standard "/usr", "/etc", "/var" locations all settings and files are installed and later at run time properly addressed to under "/opt". I grepped through python scripts, c++/c sources and Makefile to find which files need to be patched for this, and how. I'm guessing that network backend issue Peter had may be related to patching Makefile.am only and then reconfiguring.

According to config.log, net-snmp is properly recognized as usable by the configure script. My best guess about Peter's problems is, however vague it is, that something is just looking for something else in a wrong place.



And no, I haven't acquired a developer certificate yet


2013/12/30 Craig Noble <ipsen200@yahoo.com>
 

Alex,

Peter tried my hplip package earlier and reported an issue with the network backend. Can you confirm that your build has configured with "--enable-network-build", it should be default, but if it can't find net-snmp in the staging dir then it'll silently drop it from the build.

Add net-snmp to the depends and net-snmp-stage to the configure section to make sure it'll build cleanly from scratch.

Cheers,
Craig.


On Sunday, December 29, 2013 5:32 PM, Alex Potapenko <opotapenko@gmail.com> wrote:
 
Hello Paul,

Sorry for the sane-related comments. I used libusb.mk as a basis for writing libusb1.mk, and replaced the header comments containing libusb package versions history with the usual stuff, like the one in template.mk. Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little earlier. Just forgot to replace all occurrences



Peter,

I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can give them a go if you want to:


Hope it works





--
Best regards,
Alex Potapenko

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (10)
Recent Activity:
.

__,_._,___

Sunday, December 29, 2013

Re: [nslu2-linux] More recent build of hplip?

 

Alex,

Peter tried my hplip package earlier and reported an issue with the network backend. Can you confirm that your build has configured with "--enable-network-build", it should be default, but if it can't find net-snmp in the staging dir then it'll silently drop it from the build.

Add net-snmp to the depends and net-snmp-stage to the configure section to make sure it'll build cleanly from scratch.

Cheers,
Craig.


On Sunday, December 29, 2013 5:32 PM, Alex Potapenko <opotapenko@gmail.com> wrote:
 
Hello Paul,

Sorry for the sane-related comments. I used libusb.mk as a basis for writing libusb1.mk, and replaced the header comments containing libusb package versions history with the usual stuff, like the one in template.mk. Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little earlier. Just forgot to replace all occurrences



Peter,

I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can give them a go if you want to:


Hope it works


__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (9)
Recent Activity:
.

__,_._,___

Re: [nslu2-linux] More recent build of hplip? [1 Attachment]

 
[Attachment(s) from Craig Noble included below]

Alex,

While libusb1 is a great addition, it's not needed to build the most recent hplip.

You can use the configure option "--enable-libusb01_build".

Makefile attached.

Also, did you find out who to get a key from? I have several patches for broken download links.

Cheers,
Craig.


On Sunday, December 29, 2013 5:46 PM, Alex Potapenko <opotapenko@gmail.com> wrote:
 
[Attachment(s) from Alex Potapenko included below]
I also made another mistake: a trailing slash in the LIBUSB1_SITE variable value, leading to a double slash in the address passed on to wget and an HTTP 404 error as a result.

That being sad, here's the fixed version


2013/12/29 Alex Potapenko <opotapenko@gmail.com>
Hello Paul,

Sorry for the sane-related comments. I used libusb.mk as a basis for writing libusb1.mk, and replaced the header comments containing libusb package versions history with the usual stuff, like the one in template.mk. Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little earlier. Just forgot to replace all occurrences



Peter,

I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can give them a go if you want to:


Hope it works



--
Best regards,
Alex Potapenko


__._,_.___

Attachment(s) from Craig Noble

1 of 1 File(s)

Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (8)
Recent Activity:
.

__,_._,___

Re: [nslu2-linux] More recent build of hplip? [1 Attachment]

 
[Attachment(s) from Alex Potapenko included below]

I also made another mistake: a trailing slash in the LIBUSB1_SITE variable value, leading to a double slash in the address passed on to wget and an HTTP 404 error as a result.

That being sad, here's the fixed version


2013/12/29 Alex Potapenko <opotapenko@gmail.com>
Hello Paul,

Sorry for the sane-related comments. I used libusb.mk as a basis for writing libusb1.mk, and replaced the header comments containing libusb package versions history with the usual stuff, like the one in template.mk. Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little earlier. Just forgot to replace all occurrences



Peter,

I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can give them a go if you want to:


Hope it works



--
Best regards,
Alex Potapenko

__._,_.___

Attachment(s) from Alex Potapenko

1 of 1 File(s)

Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (7)
Recent Activity:
.

__,_._,___

Re: [nslu2-linux] More recent build of hplip?

 

Hello Paul,

Sorry for the sane-related comments. I used libusb.mk as a basis for writing libusb1.mk, and replaced the header comments containing libusb package versions history with the usual stuff, like the one in template.mk. Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little earlier. Just forgot to replace all occurrences



Peter,

I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can give them a go if you want to:


Hope it works

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (6)
Recent Activity:
.

__,_._,___

Re: [nslu2-linux] More recent build of hplip?

 

Hello,

On Sun, 29 Dec 2013 16:06:52 +0200
Alex Potapenko <opotapenko@gmail.com> wrote:

> I've managed to upgrade hplip to the latest version. I can't test it,
> but it builds fine and *might* work ok. See hplip makefile attached,
> together with it's additional dependency libusb1. You can build them
> yourself *or *tell me which syno feed you're using and trust me to do
> it for you. Anyway, it would be nice if you could test it.

libusb1 is on its own a very worthy addition - there's currently only
libusb 0.1 package is Optware, which none of contemporary software
uses. I hope to try it over holidays. One quick comment is that
libusb1.mk contains superfluous (and potentially confusing) comments
(referencing SANE, etc.)

>
>
> 2013/12/28 <peter.verthez@skynet.be>
>
> >
> >
> > Hi,
> >
> > Would it be possible to provide a more recent build of hplip?
> >
> > The currently available build is 3.11.3a-1, and with that I could
> > successfully scan from my laptop with my HP PSC printer connected
> > to my Synology NAS. However, I had to replace that printer due to
> > a malfunction, and now I have an HP PhotoSmart 5520, which is only
> > supported from hplip 3.12.6 (latest version is 3.13.11).
> >
> > I tried simply copying over the models.dat file from the
> > installation on my laptop, but it's apparently not as easy as
> > that. GIMP on my laptop then finds the scanner, but the scanning
> > dialog complains about invalid field values.
> >
> > So I guess I really need a complete update of the hplip package.
> > The currently available package is 2.5 years old, so I suppose it's
> > due for an update...
> >
> > Thanks in advance,
> > Peter.
> >
> >
>
>
>
> --
> Best regards,
> Alex Potapenko

--
Best regards,
Paul mailto:pmiscml@gmail.com

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)
Recent Activity:
.

__,_._,___

Re: [nslu2-linux] More recent build of hplip? [2 Attachments]

 
[Attachment(s) from Alex Potapenko included below]

I've managed to upgrade hplip to the latest version. I can't test it, but it builds fine and might work ok. See hplip makefile attached, together with it's additional dependency libusb1. You can build them yourself or tell me which syno feed you're using and trust me to do it for you. Anyway, it would be nice if you could test it.


2013/12/28 <peter.verthez@skynet.be>
 

Hi,

Would it be possible to provide a more recent build of hplip?  

The currently available build is 3.11.3a-1, and with that I could successfully scan from my laptop with my HP PSC printer connected to my Synology NAS.   However, I had to replace that printer due to a malfunction, and now I have an HP PhotoSmart 5520, which is only supported from hplip 3.12.6 (latest version is 3.13.11).  

I tried simply copying over the models.dat file from the installation on my laptop, but it's apparently not as easy as that.  GIMP on my laptop then finds the scanner, but the scanning dialog complains about invalid field values.  

So I guess I really need a complete update of the hplip package.  The currently available package is 2.5 years old, so I suppose it's due for an update...

Thanks in advance,
Peter.




--
Best regards,
Alex Potapenko

__._,_.___

Attachment(s) from Alex Potapenko

2 of 2 File(s)

Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)
Recent Activity:
.

__,_._,___

[nslu2-linux] Re: More recent build of hplip?

 

On 29-12-13 04:39, ipsen200 wrote:
> Which Synology NAS do you have?

It's a Synology DS112 running DSM 4.2.

When running ipkg update, it gets its updates from
http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/Packages.gz

Cheers,
Peter.

>
> Cheers,
> Craig.
>
> --- In nslu2-linux@yahoogroups.com, <peter.verthez@...> wrote:
>> Hi,
>>
>> Would it be possible to provide a more recent build of hplip?
>>
>> The currently available build is 3.11.3a-1, and with that I could successfully scan from my laptop with my HP PSC printer connected to my Synology NAS. However, I had to replace that printer due to a malfunction, and now I have an HP PhotoSmart 5520, which is only supported from hplip 3.12.6 (latest version is 3.13.11).
>>
>> I tried simply copying over the models.dat file from the installation on my laptop, but it's apparently not as easy as that. GIMP on my laptop then finds the scanner, but the scanning dialog complains about invalid field values.
>>
>> So I guess I really need a complete update of the hplip package. The currently available package is 2.5 years old, so I suppose it's due for an update...
>>
>> Thanks in advance,
>> Peter.
>>
>

--
===================================================================
Peter Verthez Software engineer
Email: mailto:Peter.Verthez@skynet.be
WWW: http://www.peterverthez.net
PGP key: on homepage (see above) or http://www.keyserver.net
===================================================================

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)
Recent Activity:
.

__,_._,___

Saturday, December 28, 2013

[nslu2-linux] Expired optware developer certificate

 

Hi,

I haven't been contributing to optware lately, since my old wd mybookworld nas died few years ago, and my new synology nas actually does what I need without (nearly) any tinkery.

I was thinking I could update optware boost package to a recent version, since the one in the repos is rather outdated, but couldn't do so, since my ssl certificate is expired.

Does anyone know whom I should contact on this? I used to write Brian in such cases, but, sadly, Brian had to retire from being the feed maintainer.

P.S. Happy winter holidays to everyone!

P.P.S. The nickname's alllexx

--
Best regards,
Alex Potapenko

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
.

__,_._,___