You are not logged in.
I tried using the PKGBUILD in AUR to build the latest release of Amaya but I wasn't successful. Can someone please make me a PKGBUILD.
Thnx
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
I'm taking a look at it now... I'll see what I can do.
edit: Holy crap that's a gigantic source tarball.
Offline
hey Cerebral, what up? Is it that big? Well hope you can whip something up. I've got a confession. I wouldn't have tried the new ati package in testing had you not giving the OK. I guess you are our willing ATI guinea pig. Kudos.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
*lol* Yeah, the full-sources tarball is HUGEMONGUS... its got sources for Mesa, wxgtk, and other stuff.
I'm trying to make a package that actually uses the wxgtk library package already available in the repo instead of building it on its own.
Offline
Hm. After a lot of playing around, I think the existing package in the AUR ought to work fine. The problem you're having is because you're using Xorg 7 and it expects Xorg 6.8.
Make sure you have the imake package from testing installed before you try to build it, then update the version number and give it a shot.
... hold on, I just had to make a small change to one of the source files. Give me a bit to make up a patch or something.
argh, now I'm getting some crazy pango error:
/home/travis/pkg/amaya/src/Amaya/WX/wxWidgets_RELEASE/lib/libwx_gtk2u_core-2.6.a(corelib_window.o): In function `wxWindow::GtkGetPangoX11Context()':
window.cpp:(.text+0x16c1): undefined reference to `pango_x_get_context'
Gr! Give me a bit and I'll try to figure this out.
Offline
...oops okay waiting ...
==edit==
Good luck. fingers crossed.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
Okay... I think I've got everything sorted out. I'm making the package from scratch, and if it works, I'll post the modified PKGBUILD and the .patch file here.
ARG, one small mistake in the PKGBUILD that didn't make itself known until after the compile.. well, it compiles right, but it didn't install right. I think I have it fixed, but now I have to wait through this massive compile process again before I can be sure.
Offline
Thanks man you're my hero
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
Hm... forums went away for a while. Anywho, this seems to work for me. Make sure you use the depends= and makedepends= for the version of Xorg you're using.
PKGBUILD
# Contributor: Dalius <dagis@takas.lt>
pkgname=amaya
pkgver=9.4
pkgrel=1
pkgdesc="W3C's Editor/Browser"
url="http://www.w3.org/Amaya/"
groups=
provides=
#XORG 6 DEPENDS LINES:
depends=('gtk2' 'x-server' 'pango')
makedepends=()
#XORG 7 DEPENDS LINES:
#depends=('gtk2' 'libxxf86vm' 'libxext' 'libx11' 'libxinerama' 'pango')
#makedepends=('imake')
conflicts=()
replaces=()
backup=()
install=()
source=(http://www.w3.org/Amaya/Distribution/$pkgname-fullsrc-$pkgver.tgz AmayaSubPanel.patch)
md5sums=('7035c3322d214fa155ae490e872e0764' 'ad0540a5450feee888957a4bf4f6646f')
build() {
# Apply patch to AmayaSubPanel.h
cd $startdir/src/Amaya/thotlib/internals/h
patch -p0 AmayaSubPanel.h $startdir/src/AmayaSubPanel.patch
# Set up WX dir and configure to build with wx
cd $startdir/src/Amaya
mkdir WX
cd WX
../configure --prefix=/usr/share --with-wx || return 1
# Add PangoX library to WX_LIBRARIES since it's needed
sed -ie "/^WX_LIBRARIES/ s/-lpango-1.0 /-lpango-1.0 -lpangox-1.0 /g" Options.orig
# Build Amaya
make || return 1
# Install to /usr/share
install -d -m755 $startdir/pkg/usr/share $startdir/pkg/usr/bin
make prefix=$startdir/pkg/usr/share install || return 1
# Create symlinks to binaries
rm -r $startdir/pkg/usr/share/bin
cd $startdir/pkg/usr/bin
ln -sf /usr/share/Amaya-9.4/wx/bin/amaya amaya
}
AmayaSubPanel.patch
*** AmayaSubPanel.h.old 2006-02-19 13:20:21.000000000 -0500
--- AmayaSubPanel.h 2006-02-19 12:52:23.000000000 -0500
***************
*** 10,15 ****
--- 10,16 ----
class AmayaFloatingPanel;
class AmayaNormalWindow;
+ class AmayaSubPanelManager;
/*
* Description: - AmayaSubPanel contains a sub-panel (xhtml, ...)
Offline
And Xorg 7 switched over to Current like 30 minutes ago, so some fixes might be needed soon. :shock:
Offline
And Xorg 7 switched over to Current like 30 minutes ago, so some fixes might be needed soon. :shock:
o rly? omg!
*lol* Yes... I can see this wreaking utter HAVOC on many packages currently in the AUR and [community]....
Offline
I just tired and this is what i get
==> Starting build()...
patching file AmayaSubPanel.h
Hunk #1 FAILED at 10.
1 out of 1 hunk FAILED -- saving rejects to file AmayaSubPanel.h.rej
It goes on to compile but buils fails after a while.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
I just tired and this is what i get
It goes on to compile but buils fails after a while.
That's odd. I just tried patching it three or four times and it worked fine. Are you sure you have the patch exactly as it is pasted? No extra newlines before or after or anything like that?
I made a slight change to the PKGBUILD, see if that helps.
Offline
Well i tried several times and i get the same error message with the patching. I use xorg7 btw. thanks.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
allrighty, try grabbing the exact patch file I use from here: http://www.student.cs.uwaterloo.ca/~tjwillar/arch
See if that helps.
Offline
Patch from your site was ok but now i have this error:
g++: ../redland/raptor/.libs/libraptor.a: No such file or directory
make[1]: *** [../bin/amaya] Error 1
make[1]: Leaving directory `/home/napoleon/LocalPackages/amaya/src/Amaya/WX/amaya'
make: *** [amaya_prog] Error 2
. Thanks
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
... crap. I don't really have the time to work on it today (midterm tonight, must study)
The build worked fine for me. I'll see if I can set aside some time tomorrow to mess around with it.
Offline
Patch from your site was ok but now i have this error:
g++: ../redland/raptor/.libs/libraptor.a: No such file or directory make[1]: *** [../bin/amaya] Error 1 make[1]: Leaving directory `/home/napoleon/LocalPackages/amaya/src/Amaya/WX/amaya' make: *** [amaya_prog] Error 2
. Thanks
Do you have raptor installed?
$ pacman -Qo /usr/lib/libraptor.a
/usr/lib/libraptor.a is owned by raptor 1.4.7-2
Offline
Yes i have it installed. Thats why i'm confused. :?
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
Snowman: amaya builds its OWN raptor, mesa, wxgtk, and possibly other components, then links statically against the built libraries.
Offline
Snowman: amaya builds its OWN raptor, mesa, wxgtk, and possibly other components, then links statically against the built libraries.
I see. I should've read the 1st page of the thread before posting.
Offline
Hey Cerebral, I hope your exams went well. I know you aced it . Cheers.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
Hey, if anyone else wants to start with the PKGBUILD I've put here and try to figure this out, go ahead. I won't be able to work on it today, or probbly not even for the next week due to midterms. SO much stuff to do. Sorry, napoleon.
Offline
Hey thanks and i wish you all the best in your exams
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline