Skip to contentSkip to conversation

package/libphidget: bump to version 1.24.20260127

PATCH In review Franciszek Stachura 2 participants 3 messages Apr 6 – Apr 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libphidget: bump to version 1.24.20260127

This is also a backward-incompatible upgrade from version 21 to 22 [1].

Version 21 was deprecated in 2020, it doesn't support latest phidget devices [2].

Version 22 is covered by BSD-3 instead of LGPL3 [3].

Release notes: https://www.phidgets.com/?view=changelog

[1]
https://www.phidgets.com/docs/Upgrading_Code_from_Phidget21_to_Phidget22
[2] https://www.phidgets.com/docs21/Main_Page
[3] https://www.phidgets.com/docs/Software_License

---
Note that I do not have any phidget devices, so I have not tested if this truly works.
As an alternative, I would propose removing this package from Buildroot. Version 21 was deprecated some time ago and the package has been causing the same errors in autobuild, almost daily, for more than a year already (see 2024-07-06).
The build issues seem to be caused by some change in either Java native interface headers or GCC warnings, although I didn't look into that too deep.

 package/libphidget/libphidget.hash | 4 ++--
 package/libphidget/libphidget.mk   | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
package/libphidget/libphidget.hash +2 -2
index 9789f78646..7c2f67af7f 100644
@@ -1,3 +1,3 @@
 # locally computed
-sha256  0e789912700228808519cf5c41e19f9b761da635c6bb676b147897936b23851f  libphidget_2.1.9.20190409.tar.gz
-sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
+sha256  b1682ffb4a9a7d4589ec24256cbd30af1342880914117d3e3f4814e70049238c  libphidget22-1.24.20260127.tar.gz
+sha256  7c1c42a1485cd44f9b8275931e645962b7af86c524c0b683ab9fba62e7e3ece5  COPYING
package/libphidget/libphidget.mk +4 -4
index f7d471f99a..f81080e1da 100644
@@ -4,13 +4,13 @@
 #
 ################################################################################
 
-LIBPHIDGET_VERSION = 2.1.9.20190409
-LIBPHIDGET_SOURCE = libphidget_$(LIBPHIDGET_VERSION).tar.gz
-LIBPHIDGET_SITE = https://www.phidgets.com/downloads/phidget21/libraries/linux/libphidget
+LIBPHIDGET_VERSION = 1.24.20260127
+LIBPHIDGET_SOURCE = libphidget22-$(LIBPHIDGET_VERSION).tar.gz
+LIBPHIDGET_SITE = https://www.phidgets.com/downloads/phidget22/libraries/linux/libphidget22
 LIBPHIDGET_DEPENDENCIES = libusb
 LIBPHIDGET_CONF_OPTS = --disable-ldconfig
 LIBPHIDGET_INSTALL_STAGING = YES
-LIBPHIDGET_LICENSE = LGPL-3.0
+LIBPHIDGET_LICENSE = BSD-3-Clause
 LIBPHIDGET_LICENSE_FILES = COPYING
 
 $(eval $(autotools-package))
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · Franciszek Stachura

This is also a backward-incompatible upgrade from version 21 to 22 [1].

Version 21 was deprecated in 2020, it doesn't support latest phidget devices [2].

Version 22 is covered by BSD-3 instead of LGPL3 [3].

Quoted 8 lines

Release notes: https://www.phidgets.com/?view=changelog

[1]
https://www.phidgets.com/docs/Upgrading_Code_from_Phidget21_to_Phidget22
[2] https://www.phidgets.com/docs21/Main_Page
[3] https://www.phidgets.com/docs/Software_License

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw

Hello Julien, All,

Quoted 1 line · Julien Olivain

Applied to master, thanks.

This patch has also been reviewed by Bernd Kuhls, who pointed out that it breaks phidgetwebservice. I have indeed forgotten to check if packages that depend on libphidget still build. Sorry for the confusion.

It looks like the review did not make it to the mailing list, or at least I don't see it on lore, so I don't know if you have seen it:

Quoted 16 lines · Bernd Kuhls

Hi Franciszek,

Am Mon, 6 Apr 2026 20:48:59 +0200 schrieb Franciszek Stachura:

Quoted 1 line

This is also a backward-incompatible upgrade from version 21 to 22 [1].

correct, building phidgetwebservice breaks with this bump:

configure: error: Missing libphidget21; make sure the Phidget21 library is installed.

Quoted 4 lines

As an alternative, I would propose removing this package from Buildroot. Version 21 was deprecated some time ago and the package has been causing the same errors in autobuild, almost daily, for more than a year already (see 2024-07-06).

Quoted 7 lines

I also tried sometime ago to fix the packages but stopped due to complexity and lack of interest.

@Jonathan: You are listed as maintainer for both packages. What is your opinion about it?

Regards, Bernd

Jonathan wrote the following in response:

Quoted 55 lines · Jonathan Ben Avraham

Hi Bernd, Franciszek,
After giving this further thought...

1. The current libphidget version in HEAD of the buildroot master is 2.1.9.20190409.

2. The current libphidget version at
https://www.phidgets.com/downloads/phidget22/libraries/linux/libphidget22/ is libphidget22-1.24.20260127.

3. Between the two versions listed above there were about 64 intervening releases on https://www.phidgets.com/downloads/phidget22/libraries/linux/
which indicates a significant level of activity (by at least one person ;-).

4. ArchLinux supports libphidget 2:1.17.20231004-1 - someone was interested, but not enough demand to continue support since the end of 2023.

5. AFAIK removing the current 2.1.9.20190409 from Buildroot will not break anyone's project/product.

6. https://www.phidgets.com/ appears to be an active company, although I am no longer involved in supporting their devices. This company is in the business of rapid prototyping and design of sensing and control devices. Their customers are probably mostly makers and students. The customer I worked for was using Phidget devices in test jigs to test consumer microwave ovens. This customer eventually sold their product portfolio to Miele and closed its local operations where I live.

There are currently 184 active products in the Phidgets catalog as of early 2026 [Gemini].

7. https://www.linkedin.com/company/phidgets-inc/ shows eight employees.

8. A history of the idea behind phidgets is available at
https://en.wikipedia.org/wiki/Phidget.

9. I wrote to [email protected] just now to ask if they think there is interest in Buildroot support.

In summary:

1, Through negligence I did not remove myself as maintainer for this project. I apologize to the community.

2. I recommend removing the current libphidgets and phidgetwebservice packages and not trying to update the packages without a maintainer.

3. I recommend conditioning re-adding updated versions of these packages on finding a maintainer:

- who can in good faith commit to fixing issues for at least two years
- who has the infrastructure to test fitness for use of these packages on a
Buildroot target system, not just fix build errors

Quoted 6 lines

I agree to reposting this email on Buildroot-related forums.

BR,

- yba

@Julien, @Bernd
What would be the best way to move forward in this case?
The previous version of libphidget does not build on sensible configs, so that's already suboptimal.
Would you like me to provide a patch that replaces phidgetwebservice with phidget22networkserver? As I pointed out, I cannot test it, so maybe attempting to bump libphidget was already a bad idea.
Should we wait for response from Phidgets?
Or maybe it would actually be better to just remove these packages?

Regards,
Franciszek Stachura
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot