Package: evas
Version: 0.9.9.061-1
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd
(This is not really a duplicate of #535768, which you could make
hurd-specific and PATH_MAX-centric, although some parts of the patch
are similar.)
Hi Albin et al.,
after having had a very quick look, it looks like the fb part heavily
depends on linux stuff (see ./src/modules/engines/fb/evas_fb.h), so I'd
like to propose dropping --enable-fb when not on Linux. The Architecture
list of the libevas-svn-02-engine-fb package also needs to be limited to
Linux architectures, and that should be fine. That also means you won't
have to maintain per-arch install files as proposed in #535768 (you
would anyway need to B-D on a specific version of debhelper to use that
feature; and that changed with 0.9.9.061 anyway).
Mraw,
KiBi.
diff -u evas-0.9.9.061/debian/rules evas-0.9.9.061/debian/rules
--- evas-0.9.9.061/debian/rules
+++ evas-0.9.9.061/debian/rules
@@ -21,10 +21,13 @@
arch_flags += --enable-pthreads
endif
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+ arch_flags += --enable-fb
+endif
+
DEB_CONFIGURE_EXTRA_FLAGS := --enable-strict \
--enable-fontconfig \
--enable-software-x11 \
- --enable-fb \
--enable-buffer \
--enable-gl-x11 \
--enable-xrender-x11 \
diff -u evas-0.9.9.061/debian/control evas-0.9.9.061/debian/control
--- evas-0.9.9.061/debian/control
+++ evas-0.9.9.061/debian/control
@@ -108,7 +108,7 @@
- Xrender/X11
Package: libevas-svn-02-engine-fb
-Architecture: any
+Architecture: alpha amd64 armel hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
Depends: ${shlibs:Depends}, ${misc:Depends}, libevas-svn-02-engines-core
Conflicts: libevas-0.9.9.050a-engines-extras
Replaces: libevas-engines-extras