Package Details: xpp 1.5-8

Package Base: xpp
Description: X Printing Panel
Upstream URL: http://cups.sourceforge.net/xpp
Category: x11
Licenses: GPL2
Submitter: Allan
Maintainer: lowfatcomputing
Last Packager: None
Votes: 4
First Submitted: 2008-12-28 12:38
Last Updated: 2014-04-08 20:59

Dependencies (2)

Required by (0)

Sources

Latest Comments

Comment by olive

2014-04-14 07:21

Just a little question. What is the purpose of xpp-error-fixes.patch? It seems to compile and run fine without it.

Comment by lowfatcomputing

2014-04-08 21:01

Thanks @olive, I have updated the package with your tweaks.

Comment by olive

2014-03-29 08:24

I have seen you have made the suggested change. Instead of what I said it's best to put:

export CXXFLAGS="$CXXFLAGS -D_IPP_PRIVATE_STRUCTURES"
export CFLAGS="$CFLAGS -D_IPP_PRIVATE_STRUCTURES"

in order to keep the other flags (although this is not very important). The variable to unset is MAKEFLAGS (in caps) but it's best to put

options=('!makeflags')

just after the depends, so this is handled by the archlinux build system. Here is the updated script:

http://pastebin.com/E8A7NWUK

Comment by olive

2014-03-27 21:06

To build it add:

export CXXFLAGS=-D_IPP_PRIVATE_STRUCTURES
export CFLAGS="$CXXFLAGS"

before the ./configure in PKGBUILD. Also I had trouble with parallel compilation; unset makeflags.

Comment by lowfatcomputing

2012-11-08 21:36

There have been API changes in cups 1.6. I have gone through and updated one of the xpp source files so far, but I don't really have time to do this right now. I'll likely finish the rest of the source files this weekend.

Comment by muellner

2012-11-08 19:04

I get the following error:

cupshelper.cxx: In static member function ‘static ipp_t* CupsHelper::newIppRequest()’:
cupshelper.cxx:94:9: error: invalid use of incomplete type ‘ipp_t {aka struct _ipp_s}’

Comment by muellner

2012-11-08 18:57

@Raphi111: Change http://kent.dl.sourceforge.net to http://download.sourceforge.net in the PKGBUILD file.

Anonymous comment

2012-10-02 15:23

==> ERROR: Failure while downloading xpp-1.5.tar.gz
Aborting...

Sorry if I missed something

Comment by lowfatcomputing

2011-12-24 03:05

Thanks skeno. Package updated.

Anonymous comment

2011-12-18 18:43

Hi

I am new here.
I had to add some lines to build() in PKGINFO to make it compile (cups 1.5.0-1, fltk 1.3.0-2):

build() {
cd $srcdir/$pkgname-$pkgver
patch < ../../xpp-1.5.patch
patch < ../../fltk-1.3_fix.patch

# libcups 1.5.0 compatibility fix -- as in gtklp PKGINFO
sed -i "30i#include <cups/ppd.h>" $pkgname.h

# because of compile error: cupshelper.cxx:155:58: error: ‘sprintf’ was not declared in this scope
sed -i "38i#include <stdio.h>" cupshelper.cxx


./configure --prefix=/usr
make DESTDIR=$pkgdir/ install || return 1
}



Comment by lowfatcomputing

2011-07-08 17:00

Thank you olive. Package updated.

Comment by olive

2011-07-08 11:41

Does not compile anymore with fmltk 1-3. The following patch solves the issue:

https://bugs.gentoo.org/attachment.cgi?id=260351&action=edit


Comment by lowfatcomputing

2011-01-28 18:20

Thanks for the patch. Package updated.

Comment by olive

2011-01-28 17:38

xpp needs the following patches to be build with the new gcc. Could you modify the buildcript accordingly.

http://aur.pastebin.com/a4Nq4MW2