* [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1
@ 2018-03-08 11:35 Olivier Schonken
2018-03-08 11:35 ` [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install Olivier Schonken
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Olivier Schonken @ 2018-03-08 11:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
---
package/cups-filters/cups-filters.hash | 2 +-
package/cups-filters/cups-filters.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/cups-filters/cups-filters.hash b/package/cups-filters/cups-filters.hash
index da9d31c998..043252803f 100644
--- a/package/cups-filters/cups-filters.hash
+++ b/package/cups-filters/cups-filters.hash
@@ -1,2 +1,2 @@
# Locally computed:
-sha256 95254d7950df4c74d293ed7dfa0b714f51cff329a82da74a4ac976d342bb35ab cups-filters-1.17.9.tar.gz
+sha256 f7b3853f9567e0213b4e1602bc670a626c3060e2a043e31b6dee21174d5469a5 cups-filters-1.20.1.tar.gz
diff --git a/package/cups-filters/cups-filters.mk b/package/cups-filters/cups-filters.mk
index 6d05aa7e31..fd21bff6d4 100644
--- a/package/cups-filters/cups-filters.mk
+++ b/package/cups-filters/cups-filters.mk
@@ -4,7 +4,7 @@
#
################################################################################
-CUPS_FILTERS_VERSION = 1.17.9
+CUPS_FILTERS_VERSION = 1.20.1
CUPS_FILTERS_SITE = http://openprinting.org/download/cups-filters
CUPS_FILTERS_LICENSE = GPL-2.0, GPL-2.0+, GPL-3.0, GPL-3.0+, LGPL-2, LGPL-2.1+, MIT, BSD-4-Clause
CUPS_FILTERS_LICENSE_FILES = COPYING
--
2.14.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install
2018-03-08 11:35 [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1 Olivier Schonken
@ 2018-03-08 11:35 ` Olivier Schonken
2018-03-09 22:30 ` Peter Korsgaard
2018-06-18 5:15 ` Peter Korsgaard
2018-03-09 22:30 ` [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1 Peter Korsgaard
2018-06-18 5:14 ` Peter Korsgaard
2 siblings, 2 replies; 6+ messages in thread
From: Olivier Schonken @ 2018-03-08 11:35 UTC (permalink / raw)
To: buildroot
On older build systems with old coreutils, using relative symbolic link
(ln -r) does not work, and causes failed builds. Workaround is to use
normal symbolic link with a relative path. e.g. ../../$(BINDIR)
This fix is dependent on bumping cups-filters version to 1.20.1 because
of autotools issue with Makefile.am changes.
Fixes:
http://autobuild.buildroot.net/results/77a6369f3530a2a6a055f7fd664f1ad424274d77
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
---
...ce-relative-linking-with-absolute-linking.patch | 46 ++++++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 package/cups-filters/0001-Replace-relative-linking-with-absolute-linking.patch
diff --git a/package/cups-filters/0001-Replace-relative-linking-with-absolute-linking.patch b/package/cups-filters/0001-Replace-relative-linking-with-absolute-linking.patch
new file mode 100644
index 0000000000..e4b35cda39
--- /dev/null
+++ b/package/cups-filters/0001-Replace-relative-linking-with-absolute-linking.patch
@@ -0,0 +1,46 @@
+From c26b4c3550557442890f2f790d4f8b61a3734c1f Mon Sep 17 00:00:00 2001
+From: Olivier Schonken <olivier.schonken@gmail.com>
+Date: Thu, 8 Mar 2018 12:32:23 +0200
+Subject: [PATCH] install: don't use ln -r
+
+Oldish enterprise-class distributions have too old versions of
+coreutils, with ln not supporting -r.
+
+So we fake it.
+
+ln -r would create minimalist relative paths, but they are not
+trivial to generate. Instead, we always create paths relative to the
+root, i.e.:
+
+ ln -s -r /usr/bin/foo /usr/sbin/foo
+
+would create: /usr/sbin/foo -> ../bin/foo
+while we do : /usr/sbin/foo -> ../../usr/bin/foo
+
+Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
+---
+ Makefile.am | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index d959227..b49914a 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -998,11 +998,11 @@ install-exec-hook:
+ $(INSTALL) -d -m 755 $(DESTDIR)$(pkgfilterdir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(pkgbackenddir)
+ if ENABLE_FOOMATIC
+- $(LN_S) -r -f $(DESTDIR)$(pkgfilterdir)/foomatic-rip $(DESTDIR)$(bindir)
++ $(LN_S) -f ../..$(pkgfilterdir)/foomatic-rip $(DESTDIR)$(bindir)
+ endif
+ if ENABLE_DRIVERLESS
+- $(LN_S) -r -f $(DESTDIR)$(pkgppdgendir)/driverless $(DESTDIR)$(bindir)
+- $(LN_S) -r -f $(DESTDIR)$(pkgppdgendir)/driverless $(DESTDIR)$(pkgbackenddir)
++ $(LN_S) -f ../..$(pkgppdgendir)/driverless $(DESTDIR)$(bindir)
++ $(LN_S) -f ../..$(pkgppdgendir)/driverless $(DESTDIR)$(pkgbackenddir)
+ endif
+ if ENABLE_BRAILLE
+ $(LN_S) -f imagetobrf $(DESTDIR)$(pkgfilterdir)/imagetoubrl
+--
+2.14.1
+
--
2.14.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1
2018-03-08 11:35 [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1 Olivier Schonken
2018-03-08 11:35 ` [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install Olivier Schonken
@ 2018-03-09 22:30 ` Peter Korsgaard
2018-06-18 5:14 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2018-03-09 22:30 UTC (permalink / raw)
To: buildroot
>>>>> "Olivier" == Olivier Schonken <olivier.schonken@gmail.com> writes:
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install
2018-03-08 11:35 ` [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install Olivier Schonken
@ 2018-03-09 22:30 ` Peter Korsgaard
2018-06-18 5:15 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2018-03-09 22:30 UTC (permalink / raw)
To: buildroot
>>>>> "Olivier" == Olivier Schonken <olivier.schonken@gmail.com> writes:
> On older build systems with old coreutils, using relative symbolic link
> (ln -r) does not work, and causes failed builds. Workaround is to use
> normal symbolic link with a relative path. e.g. ../../$(BINDIR)
> This fix is dependent on bumping cups-filters version to 1.20.1 because
> of autotools issue with Makefile.am changes.
> Fixes:
> http://autobuild.buildroot.net/results/77a6369f3530a2a6a055f7fd664f1ad424274d77
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1
2018-03-08 11:35 [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1 Olivier Schonken
2018-03-08 11:35 ` [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install Olivier Schonken
2018-03-09 22:30 ` [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1 Peter Korsgaard
@ 2018-06-18 5:14 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2018-06-18 5:14 UTC (permalink / raw)
To: buildroot
>>>>> "Olivier" == Olivier Schonken <olivier.schonken@gmail.com> writes:
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Committed to 2018.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install
2018-03-08 11:35 ` [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install Olivier Schonken
2018-03-09 22:30 ` Peter Korsgaard
@ 2018-06-18 5:15 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2018-06-18 5:15 UTC (permalink / raw)
To: buildroot
>>>>> "Olivier" == Olivier Schonken <olivier.schonken@gmail.com> writes:
> On older build systems with old coreutils, using relative symbolic link
> (ln -r) does not work, and causes failed builds. Workaround is to use
> normal symbolic link with a relative path. e.g. ../../$(BINDIR)
> This fix is dependent on bumping cups-filters version to 1.20.1 because
> of autotools issue with Makefile.am changes.
> Fixes:
> http://autobuild.buildroot.net/results/77a6369f3530a2a6a055f7fd664f1ad424274d77
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Committed to 2018.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-06-18 5:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08 11:35 [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1 Olivier Schonken
2018-03-08 11:35 ` [Buildroot] [PATCH 2/2] cups-filters: Add patch to remove relative symbolic link from install Olivier Schonken
2018-03-09 22:30 ` Peter Korsgaard
2018-06-18 5:15 ` Peter Korsgaard
2018-03-09 22:30 ` [Buildroot] [PATCH 1/2] cups-filters: bump to 1.20.1 Peter Korsgaard
2018-06-18 5:14 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.