You are not logged in.

#1 2010-03-25 16:10:19

dgippner-j
Member
From: Jena, Germany
Registered: 2010-03-21
Posts: 6
Website

problem with PKGBUILD for gregorio

Dear all,

I've got a problem creating an PKGBUILD for gregorio (a tool for typesetting gregorian chant scores with LaTeX). My PKGBUILD won't install the TeX-files and fonts and creates an error during makepkg:

error: can't write in /usr/share/texmf/

The source uses several Makefiles and a python script for installing the fonts. Do I have to adapt these for the use for a PKGBUILD or is there another problem behind this?

Thanks for all help in advance! I don't know exactly what's going wrong for this is my first PKGBUILD.

David

EDIT: Sorry to have forgotten the PKGBUILD: here it is: http://aur.pastebin.com/raw.php?i=Rdbp804s

Last edited by dgippner-j (2010-03-25 21:48:50)


(...) IT IS NOT YET MIDNIGHT? 'I shouldn't think it's more than a quarter past eleven.' THEN WE HAVE THREE-QUARTERS OF AN HOUR. 'How can you be sure?' BECAUSE OF DRAMA, MISS FLITWORTH.. THE KIND OF DEATH WHO POSES AGAINST THE SKYLINE AND GETS LIT UP BY LIGHTNING FLASHES, said Bill Door, disapprovingly, DOESN'T TURN UP AT FIVE-AND-TWENTY PAST ELEVEN IF HE CAN POSSIBLY TURN UP AT MIDNIGHT.

Offline

#2 2010-03-26 06:40:03

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: problem with PKGBUILD for gregorio

Seems the build process does not know the DESTDIR variable in the make install step. Or the pyrhon-script is the culprit.

BTW, updmap would setup the fonts only for the user root. You may want to use updmap-sys. Messages like "Don't forget to run updmap as non-root user before using gregorio. Have fun!" should go to the install file.

Offline

#3 2010-03-26 06:55:21

dgippner-j
Member
From: Jena, Germany
Registered: 2010-03-21
Posts: 6
Website

Re: problem with PKGBUILD for gregorio

Thanks for these hints! I think I'll have to do the installing for myself, because the python script hardcodes some tex directories. Where do I have to put the .install-File? Same directory as PKGBUILD?


(...) IT IS NOT YET MIDNIGHT? 'I shouldn't think it's more than a quarter past eleven.' THEN WE HAVE THREE-QUARTERS OF AN HOUR. 'How can you be sure?' BECAUSE OF DRAMA, MISS FLITWORTH.. THE KIND OF DEATH WHO POSES AGAINST THE SKYLINE AND GETS LIT UP BY LIGHTNING FLASHES, said Bill Door, disapprovingly, DOESN'T TURN UP AT FIVE-AND-TWENTY PAST ELEVEN IF HE CAN POSSIBLY TURN UP AT MIDNIGHT.

Offline

#4 2010-03-26 15:57:39

dgippner-j
Member
From: Jena, Germany
Registered: 2010-03-21
Posts: 6
Website

Re: problem with PKGBUILD for gregorio

Seems I've managed it finally, the results can be seen

here for PKGBUILD: http://pastebin.com/20SHBFv5
and here for gregorio.install: http://pastebin.com/dYC6jSbK

Is this solution viable and ok for an Archlinux package?

Thanks for your hints!
David


(...) IT IS NOT YET MIDNIGHT? 'I shouldn't think it's more than a quarter past eleven.' THEN WE HAVE THREE-QUARTERS OF AN HOUR. 'How can you be sure?' BECAUSE OF DRAMA, MISS FLITWORTH.. THE KIND OF DEATH WHO POSES AGAINST THE SKYLINE AND GETS LIT UP BY LIGHTNING FLASHES, said Bill Door, disapprovingly, DOESN'T TURN UP AT FIVE-AND-TWENTY PAST ELEVEN IF HE CAN POSSIBLY TURN UP AT MIDNIGHT.

Offline

Board footer

Powered by FluxBB