Skip to contentSkip to conversation

package/wiringpi: remove

PATCH New Yann E. MORIN 2 participants 2 messages May 24, 2020 – May 25, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/wiringpi: remove

The author has completely ripped off the git tree, so the sources are no longer available, with that message:
"Please look for alternatives for wiringPi"

And indeed there is a better alternative, using the kernel GPIO subsystem and drivers.

Note that queezelite looses that functionality now, but upstream squeezelite has done changes to do without wiringpi (hint for an upgrade?).

Cc Peter Seiderer <[email protected]>
Cc Hiroshi Kawashima <[email protected]>
---
 Config.in.legacy                              |   8 ++
 DEVELOPERS                                    |   1 -
 package/Config.in                             |   1 -
 package/squeezelite/squeezelite.mk            |   5 -
 .../0001-Adjust-for-buildroot-build.patch     | 131 ------------------
 ...erial-fix-compile-for-missing-baud-d.patch |  47 -------
 package/wiringpi/Config.in                    |  13 --
 package/wiringpi/wiringpi.hash                |   3 -
 package/wiringpi/wiringpi.mk                  |  32 -----
 9 files changed, 8 insertions(+), 233 deletions(-)
 delete mode 100644 package/wiringpi/0001-Adjust-for-buildroot-build.patch
 delete mode 100644 package/wiringpi/0002-wiringPi-wiringSerial-fix-compile-for-missing-baud-d.patch
 delete mode 100644 package/wiringpi/Config.in
 delete mode 100644 package/wiringpi/wiringpi.hash
 delete mode 100644 package/wiringpi/wiringpi.mk
Config.in.legacy +8 -0
index 9e2040a46c..3f273ad8c0 100644
@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2020.05"
 
+config BR2_PACKAGE_WIRINGPI
+	bool "wiringpi package removed"
+	select BR2_LEGACY
+	help
+	  The author of wiringpir has deprecated the package, and completely
+	  removed the git tree that was serving the sources, with this message:
+	      Please look for alternatives for wiringPi
+
 config BR2_PACKAGE_PYTHON_PYCRYPTO
 	bool "python-pycrypto package removed"
 	select BR2_LEGACY
DEVELOPERS +0 -1
index d1426f6227..99f47c3a37 100644
@@ -2058,7 +2058,6 @@ F:	package/postgresql/
 F:	package/qt5/
 F:	package/quotatool/
 F:	package/racehound/
-F:	package/wiringpi/
 
 N:	Peter Thompson <[email protected]>
 F:	package/sdl2_gfx/
package/Config.in +0 -1
index 2871cabfcc..85d7326361 100644
@@ -1522,7 +1522,6 @@ menu "Hardware handling"
 	source "package/pcsc-lite/Config.in"
 	source "package/tslib/Config.in"
 	source "package/urg/Config.in"
-	source "package/wiringpi/Config.in"
 endmenu
 
 menu "Javascript"
package/squeezelite/squeezelite.mk +0 -5
index 2ed3d8b769..b0347c4df9 100644
@@ -40,11 +40,6 @@ ifeq ($(BR2_PACKAGE_SQUEEZELITE_VISEXPORT),y)
 SQUEEZELITE_MAKE_OPTS += -DVISEXPORT
 endif
 
-ifeq ($(BR2_PACKAGE_WIRINGPI),y)
-SQUEEZELITE_DEPENDENCIES += wiringpi
-SQUEEZELITE_MAKE_OPTS += -DRPI
-endif
-
 define SQUEEZELITE_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
 		OPTS="$(SQUEEZELITE_MAKE_OPTS)" -C $(@D) all
package/wiringpi/0001-Adjust-for-buildroot-build.patch deleted +0 -131

131 lines not on this page · raw message

package/wiringpi/0002-wiringPi-wiringSerial-fix-compile-for-missing-baud-d.patch deleted +0 -47

47 lines not on this page · raw message

package/wiringpi/Config.in deleted +0 -13
deleted file mode 100644
index 92f5dc6539..0000000000
@@ -1,13 +0,0 @@
-config BR2_PACKAGE_WIRINGPI
-	bool "wiringpi"
-	depends on !BR2_STATIC_LIBS
-	depends on BR2_USE_MMU # fork()
-	depends on BR2_TOOLCHAIN_HAS_THREADS
-	help
-	  wiringPi libraries (and gpio command)
-
-	  http://wiringpi.com/
-
-comment "wiringpi needs a toolchain w/ threads, dynamic library"
-	depends on BR2_USE_MMU
-	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
package/wiringpi/wiringpi.hash deleted +0 -3
deleted file mode 100644
index 83885e4b6d..0000000000
@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  2455fc97d2b60ed169675dccbaabf55e1958c3c2499b246c96edfc8b036e9073  wiringpi-2.46.tar.gz
-sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  COPYING.LESSER
package/wiringpi/wiringpi.mk deleted +0 -32
deleted file mode 100644
index 0c3774917c..0000000000
@@ -1,32 +0,0 @@
-################################################################################
-#
-# wiringpi
-#
-################################################################################
-
-WIRINGPI_VERSION = 2.46
-WIRINGPI_SITE = git://git.drogon.net/wiringPi
-
-WIRINGPI_LICENSE = LGPL-3.0+
-WIRINGPI_LICENSE_FILES = COPYING.LESSER
-WIRINGPI_INSTALL_STAGING = YES
-
-define WIRINGPI_BUILD_CMDS
-	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/wiringPi all
-	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/devLib all
-	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/gpio all
-endef
-
-define WIRINGPI_INSTALL_STAGING_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/wiringPi install DESTDIR=$(STAGING_DIR) PREFIX=/usr LDCONFIG=true
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/devLib install DESTDIR=$(STAGING_DIR) PREFIX=/usr LDCONFIG=true
-endef
-
-define WIRINGPI_INSTALL_TARGET_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/wiringPi install DESTDIR=$(TARGET_DIR) PREFIX=/usr LDCONFIG=true
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/devLib install DESTDIR=$(TARGET_DIR) PREFIX=/usr LDCONFIG=true
-	$(INSTALL) -D -m 0755 $(@D)/gpio/gpio $(TARGET_DIR)/usr/bin/gpio
-	$(INSTALL) -D -m 0755 $(@D)/gpio/pintest $(TARGET_DIR)/usr/bin/pintest
-endef
-
-$(eval $(generic-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/wiringpi: remove

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

The author has completely ripped off the git tree, so the sources are no longer available, with that message:
"Please look for alternatives for wiringPi"

And indeed there is a better alternative, using the kernel GPIO subsystem and drivers.

Quoted 7 lines

Note that queezelite looses that functionality now, but upstream squeezelite has done changes to do without wiringpi (hint for an upgrade?).

Cc Peter Seiderer <[email protected]>
Cc Hiroshi Kawashima <[email protected]>

check-package complained about the line length of Config.in.legacy entry. Committed after fixing that up, thanks.

Signature · 1 line
Bye, Peter Korsgaard