Commit Graph

18 Commits

Author SHA1 Message Date
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Michal Vasilek 85fbf6cf4d
hplip: add a patch to respect CFLAGS
* fixes build with PIE

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-03 10:47:38 +02:00
Rosen Penev 1f7d8f2c40 hplip: update to 3.21.6
Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-15 18:31:40 -07:00
Luiz Angelo Daros de Luca 2014f1fd0b hplip: bump to 3.21.2
Patches refreshed:
* 010-libusb_fix.patch
* 020-remove_cups_dep_on_scan.patch
* 060-fix-uclibc.patch renamed to 060-fix-glibc.patch

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2021-02-22 23:28:44 -03:00
Rosen Penev da62d7b7a0
hplip: move back to compiling with libusb
Some change in base broke compilation with libusb and this package.
From looking at it more carefully, it turns out that the libusb patch
needs to be updated so that host paths are not used.

libusb-compat also depends on libusb, which increases the overall
installed size.

Refreshed patches with make package/hplip/refresh .

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 14:43:43 -08:00
Rosen Penev a815ab1efc
hplip: use libusb-compat
Some change to base broke compilation. From looking at the CFLAGS,
hplip tries to use the host libusb.

libusb-compat seems to work properly. So use that.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 01:38:15 -08:00
Luiz Angelo Daros de Luca baf4b136fa hplip: bump to 3.20.9
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2020-11-22 02:32:00 -03:00
Luiz Angelo Daros de Luca 794c950b32 sane-backends: run (xinetd) saned as non-root
saned requires write access scanner USB bus for its process and
to usblp/bind in order to rebind multifunctional printers back
to usblp (for printing with p910nd).

A hotplug script monitor new USB devices for scanners. Scanners
are detected by searching /usr/share/sane/<vendor>-<backend>.usbid
for the device product_id.

The package saned creates user saned:scanners. Access is granted to
group scanners.

The default xinetd conf was updated to run as saned:scanner.

sane-daemon pkg now has a postinst trigger that runs udevtrigger for
granting perms where there are connected scanners during installation.

Existing hotplug scripts from hplip were removed. They were mostly
useless.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-12-21 20:44:56 -03:00
Luiz Angelo Daros de Luca 9c901e1bd1 hplip: bump to 3.19.12
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-12-21 20:44:06 -03:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Luiz Angelo Daros de Luca fdeb5f8171 hplip: bump to 3.19.6
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-08-19 01:20:41 -03:00
Luiz Angelo Daros de Luca f6b6fed942 hplip: python is not needed for build
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-06-25 04:24:24 -03:00
Luiz Angelo Daros de Luca fedc5cf5a4 hplip: bump to 3.19.3
040-fix_bool.patch: fixed upstream
060-fix-uclibc.patch: workaround for uclibc build (arc_arc700)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-04-30 00:42:49 -03:00
Luiz Angelo Daros de Luca 0bb89bfe38 hplip: update to 3.18.12
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-12-09 22:59:29 -02:00
Luiz Angelo Daros de Luca e39273533d hplip: bump to 3.18.10
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-11-06 19:03:33 -02:00
Rosen Penev f1633f3b2b hplip: Update to 3.18.9
Added patch to fix some glibc-isms.

Added PKG_BUILD_PARALLEL for faster compilation.

Rearranged slightly for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-09 16:20:32 -07:00
Luiz Angelo Daros de Luca e5d3422df7 hplip: import from oldpackage and update to 3.18.6
hplip was split into subpackages:

* hplip-common: generic files
* hplip-sane:   sane backend
  - patched to remove cups deps used only for network scanners
* hplip-cups:   cups driver (currently disabled)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-06-28 02:09:50 -03:00