Just a little question. What is the purpose of xpp-error-fixes.patch? It seems to compile and run fine without it.
Search Criteria
Package Details: xpp 1.5-8
Package Actions
| Package Base: | xpp |
|---|---|
| Description: | X Printing Panel |
| Upstream URL: | http://cups.sourceforge.net/xpp |
| Category: | x11 |
| Licenses: | |
| Submitter: | Allan |
| Maintainer: | lowfatcomputing |
| Last Packager: | None |
| Votes: | 4 |
| First Submitted: | 2008-12-28 12:38 |
| Last Updated: | 2014-04-08 20:59 |
Required by (0)
Sources
- fltk-1.3_fix.patch
- http://download.sourceforge.net/cups/xpp-1.5.tar.gz
- xpp-1.5.patch
- xpp-error-fixes.patch
Latest Comments
Comment by olive
Comment by lowfatcomputing
Thanks @olive, I have updated the package with your tweaks.
Comment by olive
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
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
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
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
@Raphi111: Change http://kent.dl.sourceforge.net to http://download.sourceforge.net in the PKGBUILD file.
Anonymous comment
==> ERROR: Failure while downloading xpp-1.5.tar.gz
Aborting...
Sorry if I missed something
Comment by lowfatcomputing
Thanks skeno. Package updated.
Anonymous comment
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
Thank you olive. Package updated.
Comment by olive
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
Thanks for the patch. Package updated.
Comment by olive
xpp needs the following patches to be build with the new gcc. Could you modify the buildcript accordingly.
http://aur.pastebin.com/a4Nq4MW2