Commit 67d238bf authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

xpdf: remove package



This package depends on openmotif, which has been removed.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 3bd68817
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -369,7 +369,6 @@ source "package/sylpheed/Config.in"
source "package/synergy/Config.in"
source "package/torsmo/Config.in"
source "package/x11vnc/Config.in"
source "package/xpdf/Config.in"
source "package/xstroke/Config.in"
source "package/xvkbd/Config.in"
endmenu

package/xpdf/Config.in

deleted100644 → 0
+0 −9
Original line number Diff line number Diff line
config BR2_PACKAGE_XPDF
	bool "xpdf"
	select BR2_PACKAGE_OPENMOTIF
	select BR2_PACKAGE_FREETYPE
	help
	  Xpdf is an open source viewer for Portable Document Format
	  (PDF) files.

	  ftp://ftp.foolabs.com/pub/xpdf

package/xpdf/xpdf-3.02pl1.patch

deleted100644 → 0
+0 −33
Original line number Diff line number Diff line
*** xpdf-3.02.orig/xpdf/Stream.cc	Tue Feb 27 14:05:52 2007
--- xpdf-3.02/xpdf/Stream.cc	Thu Jul 26 14:44:43 2007
***************
*** 410,424 ****
    ok = gFalse;
  
    nVals = width * nComps;
-   if (width <= 0 || nComps <= 0 || nBits <= 0 ||
-       nComps >= INT_MAX / nBits ||
-       width >= INT_MAX / nComps / nBits ||
-       nVals * nBits + 7 < 0) {
-     return;
-   }
    pixBytes = (nComps * nBits + 7) >> 3;
    rowBytes = ((nVals * nBits + 7) >> 3) + pixBytes;
!   if (rowBytes <= 0) {
      return;
    }
    predLine = (Guchar *)gmalloc(rowBytes);
--- 410,422 ----
    ok = gFalse;
  
    nVals = width * nComps;
    pixBytes = (nComps * nBits + 7) >> 3;
    rowBytes = ((nVals * nBits + 7) >> 3) + pixBytes;
!   if (width <= 0 || nComps <= 0 || nBits <= 0 ||
!       nComps > gfxColorMaxComps ||
!       nBits > 16 ||
!       width >= INT_MAX / nComps ||      // check for overflow in nVals 
!       nVals >= (INT_MAX - 7) / nBits) { // check for overflow in rowBytes
      return;
    }
    predLine = (Guchar *)gmalloc(rowBytes);

package/xpdf/xpdf-3.02pl2.patch

deleted100644 → 0
+0 −823

File deleted.

Preview size limit exceeded, changes collapsed.

package/xpdf/xpdf.mk

deleted100644 → 0
+0 −31
Original line number Diff line number Diff line
#############################################################
#
# xpdf
#
#############################################################
XPDF_VERSION = 3.02
XPDF_SOURCE = xpdf-$(XPDF_VERSION).tar.gz
XPDF_SITE = ftp://ftp.foolabs.com/pub/xpdf
XPDF_AUTORECONF = NO
XPDF_INSTALL_STAGING = NO
XPDF_INSTALL_TARGET = YES
XPDF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install

XPDF_CONF_OPT = --enable-multithreaded

ifeq ($(BR2_SOFT_FLOAT),y)
	XPDF_CONF_OPT += --enable-fixedpoint
endif

ifeq ($(BR2_PACKAGE_XORG7),y)
	XPDF_DEPENDENCIES += xserver_xorg-server openmotif
	XPDF_CONF_OPT += --with-Xm-library=$(STAGING_DIR)/usr/lib --with-Xm-includes=$(STAGING_DIR)/usr/include/Xm \
					--with-x --with-freetype2-includes=$(STAGING_DIR)/usr/include \
					--with-freetype2-library=$(STAGING_DIR)/usr/lib CFLAGS="-I$(STAGING_DIR)/usr/include/freetype2" \
					CXXFLAGS="-I$(STAGING_DIR)/usr/include/freetype2"
endif

XPDF_DEPENDENCIES = freetype

$(eval $(call AUTOTARGETS,package,xpdf))