Archfonts: Archlinux fonts index from ABS/AUR.
Hi guys,
I needed a "squared" font for some artwork, and couldn't find any font previews for any of the fonts on Arch. So I made this script to generate an html index from the ttf-packages. You can check the code here:
Web: http://ternstor.github.com/archfonts
Github: http://github.com/ternstor/archfonts
Links to the html indexes:
AUR: html, gzip.
ABS, Community: html, gzip.
ABS, Extra: html, gzip.
Thanks to the aur-git project that made this possible .
Very nice! Perhaps you could sort the list by name? And link each page to the corresponding ABS/AUR page?
Similar Messages
-
Problems with ttf-mac-fonts package from AUR
Hello,
I've problems with generate package ttf-mac-fonts:
$ sudo yaourt -S aur/ttf-mac-fonts
A Macbuntu-10.04
A Macbuntu-10.04/install.sh
A Macbuntu-10.04/panel
A Macbuntu-10.04/panel/panel.entries
A Macbuntu-10.04/upgrade.sh
A Macbuntu-10.04/compiz
A Macbuntu-10.04/compiz/x64
A Macbuntu-10.04/compiz/x64/original
A Macbuntu-10.04/compiz/x64/original/libanimation.la
A Macbuntu-10.04/compiz/x64/original/libanimation.a
A Macbuntu-10.04/compiz/x64/original/libanimation.so
A Macbuntu-10.04/compiz/x64/original/animation.xml
A Macbuntu-10.04/compiz/x64/libanimation.a
A Macbuntu-10.04/compiz/x64/libanimation.so
A Macbuntu-10.04/compiz/x64/animation.xml
A Macbuntu-10.04/compiz/x32
A Macbuntu-10.04/compiz/x32/original
A Macbuntu-10.04/compiz/x32/original/libanimation.la
A Macbuntu-10.04/compiz/x32/original/libanimation.a
A Macbuntu-10.04/compiz/x32/original/libanimation.so
A Macbuntu-10.04/compiz/x32/original/animation.xml
A Macbuntu-10.04/compiz/x32/libanimation.a
A Macbuntu-10.04/compiz/x32/libanimation.so
A Macbuntu-10.04/compiz/x32/animation.xml
A Macbuntu-10.04/uninstall.sh
A Macbuntu-10.04/readme
Checked out revision 134.
install: cannot stat 'gbk/*.ttf': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build ttf-mac-fonts.
==> Restart building ttf-mac-fonts ? [y/N]
==> --------------------------------------
==>
How can I solve this problem?.
Regards.Crap - sorry, I typed too quick, the upstream source if fine. But as that PKGBUILD does some odd things, I missed the problem. The simplest (but far from best) fix is to change the lines in the package function to the following:
svn co https://macbuntu.svn.sourceforge.net/svnroot/macbuntu/Macbuntu/fonts/ ./
install -d $pkgdir/usr/share/fonts/{TTF,Type1}
install -m644 ./Macbuntu/fonts/gbk/*.ttf $pkgdir/usr/share/fonts/TTF
install -m644 ./Macbuntu/fonts/mac/*.ttf $pkgdir/usr/share/fonts/TTF
install -m644 ./Macbuntu/fonts/mac/*.pfb $pkgdir/usr/share/fonts/Type1
That is, add the proper paths to the install commands.
EDIT: or here is one that is at least a lot closer to the right way - though it's the first svn PKGBUILD I've worked on:
_svn=ttf-mac-fonts
pkgname=${_svn}-svn
pkgver=134
pkgrel=1
pkgdesc="Mac fonts including Lucida Grande, Apple Garamond and other fonts from Apple"
arch=('any')
url="http://www.apple.com/safari/"
license=('custom')
depends=()
makedepends=('subversion')
conflicts=('macfonts' 'ttf-mac-fonts-svn')
source=(
"${_svn}::svn+http://svn.code.sf.net/p/macbuntu/code/Macbuntu/fonts"
"http://images.apple.com/legal/sla/docs/SafariWindows.pdf"
sha256sums=(
'SKIP'
'd1c9697ea430a3ddad6548c7b9c961c4b06f9da5a5ba1f1007fe998b3354df4a'
install='ttf-mac-fonts.install'
pkgver() {
cd ${srcdir}/${_svn}
svnversion | tr -d [A-z]
package() {
cd ${srcdir}
install -d $pkgdir/usr/share/licenses/${_svn}
install -m644 SafariWindows.pdf $pkgdir/usr/share/licenses/${_svn}/
cd ${srcdir}/${_svn}
install -d $pkgdir/usr/share/fonts/{TTF,Type1}
install -m644 gbk/*.ttf $pkgdir/usr/share/fonts/TTF
install -m644 mac/*.ttf $pkgdir/usr/share/fonts/TTF
install -m644 mac/*.pfb $pkgdir/usr/share/fonts/Type1
Last edited by Trilby (2013-08-21 13:35:55) -
Trouble compiling games from ABS and AUR (solved)
Hi I hope someone can help me. Ive downloaded the tar.gz for drascula from ABS unzipped it and when I try to run makepkg -s I get the error that scummvm 0.12 not found in sync db. I installed the scummvm from ABS manually same error. I then saw it was version 0.11.1 so I uninstalled it and downloaded the correct version from sourceforge. I installed it with ./configure --prefix=/usr/local then make then install. It installed sucessfully as it runs fine but I still recieve the same error when running makepkg -s. What am I doing wrong?
Last edited by itsgregman (2008-09-24 16:12:04)Welcome to the forums.
Since you installed it manually, pacman doesn't know it's there. The best way to this would have been to edit the scummvm PKGBUILD then install it with pacman. Usually you just need to change the pkgver line to the new version and comment out the md5sums line.
It's always best to use packages in Arch. You'll forever be running into problems like this if you don't. -
Archlinux is a great disto & I use it for a long time.
Now I want to know if there is a standard tool like pacman about ABS/AUR.
I have tried yaourt and it works well.
Why archlinux not integrate abs/aur into pacman?
Or offer a simpler way that I can compile some key packages when install archlinux,for example, kernel26 with more security patches.
And it's hard to disguise what I installed from repo or abs.
And I find archlinux is too slim that I can't find some devel files. For example I have to grab glib-doc from aur, and recompile some packages from src manually to gain devel files.
Plus, can I restricted what to install,
I enable testing unable branch, I want to disable it temporarily when sync particular packageora wrote:Archlinux is a great disto & I use it for a long time.
Now I want to know if there is a standard tool like pacman about ABS/AUR.
I have tried yaourt and it works well.
Why archlinux not integrate abs/aur into pacman?
From http://wiki.archlinux.org/index.php/AUR_User_Guidelines
Users can share PKGBUILDs using the UNSUPPORTED area in the AUR. UNSUPPORTED does not contain any binary packages but allows users to upload PKGBUILDs that can be downloaded by others. A comments facility allows users to provide suggestions and feedback on improvements to the PKGBUILD contributor. A new flagging system allows TUs to mark pkgs as checked for malicious code. However, these PKGBUILDs are completely unofficial and have not been thoroughly vetted, so they should be used at your own risk.
Or offer a simpler way that I can compile some key packages when install archlinux,for example, kernel26 with more security patches.
What is wrong with abs + makepkg ?
And it's hard to disguise what I installed from repo or abs.
Try pacman -Qm. That will work for packages from aur, and packages from abs if you renamed them.
If you didnt rename them, but they have a different version, pacman -Su will warn you about it.
And I find archlinux is too slim that I can't find some devel files. For example I have to grab glib-doc from aur, and recompile some packages from src manually to gain devel files.
no idea what you mean here..
Plus, can I restricted what to install,
I enable testing unable branch, I want to disable it temporarily when sync particular package
packages in unstable repo have different names.
About testing repo, it's recommended to either use it totally, or not use it at all.
But well, you are always free to do what you want, you are on your own then -
Is there any way to make ABS download all PKGBUILD-s from AUR with package-name directory trees?
it would be niceNo, it is not possible through ABS. But this will do what you want:
http://wiki.archlinux.org/index.php/Aurscrape -
I am not able to install screen-git from the aur
So yeah, i cant install screen-git from the aur. Im using yaourt.
┌─[yamifrankc]──(~)
└─| % > aur -S screen-git
==> Resuming previous build
==> Downloading screen-git PKGBUILD from AUR...
tar: Record size = 13 blocks
==> Last 5 comments ordered by date (asc):
Comment by: dolby on Tue, 16 Jun 2009 15:02:25 +0000
GNU screen shouldnt depend on libelf. Package in extra now doesnt.
See http://bugs.archlinux.org/task/14700
Comment by: dolby on Tue, 16 Jun 2009 15:03:08 +0000
Oh yeah, gpm isnt a dependency either.
Comment by: nihathrael on Tue, 16 Jun 2009 16:23:56 +0000
Thanks for the pointers. Package updated.
Comment by: firecat53 on Tue, 16 Jun 2009 23:19:28 +0000
At least for x86_64, libelf seems to be a dependency. Throws an error about libelf.so.0 when starting screen if it's not installed.
Comment by: Ranguvar on Sun, 11 Oct 2009 04:00:10 +0000
The three lines at the end of the install scriplet are unnecessary now and can cause problems apparently, please remove :)
Also, I cannot confirm libelf dependency, both by using ldd and trying removing libelf, so it should be kept out.
First Submitted: Sun, 09 Nov 2008 15:43:42 +0000
screen-git 20090616-1 : GNU Screen from GIT repository. Provides vertical splitting.
( Unsupported package: Potentally dangerous ! )
==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==> ----------------------------------------------
==>n
==> screen-git dependencies:
- ncurses (already installed)
- shadow (already installed)
- git (already installed)
- automake (already installed)
- autoconf (already installed)
==> WARNING: This PKGBUILD contains install file that can be dangerous.
screen.install
==> Edit screen.install (highly recommended for security reasons) ? [Y/n] ("A" to abort)
==> ----------------------------------------------
==>y
Please add EDITOR to your environment variables
for example:
==> Edit PKGBUILD with:(replace gvim with your favorite editor)
==> Edit screen.install with:vim
==> WARNING: This PKGBUILD contains install file that can be dangerous.
screen.install
==> Edit screen.install (highly recommended for security reasons) ? [Y/n] ("A" to abort)
==> ----------------------------------------------
==>n
==> Continue the building of screen-git ? [Y/n]
==> ----------------------------------------------
==>y
==> Install or build missing dependencies for screen-git:
==> Building and installing package
mkdir: cannot create directory `/var/abs': Permission denied
==> WARNING: Unable to write in /var/abs/local/yaourtbuild/screen-git directory. Using /tmp directory
==> screen-git dependencies:
- ncurses (already installed)
- shadow (already installed)
- git (already installed)
- automake (already installed)
- autoconf (already installed)
==> Determining latest git revision...
-> Version found: 20091204
==> Making package: screen-git 20091204-1 i686 (Fri Dec 4 07:43:16 CST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found screen.pam in build dir
==> Validating source files with md5sums...
screen.pam ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
configure: WARNING: unrecognized options: --with-sys-screenrc
this is screen version 4.1.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gawk... gawk
checking for a BSD-compatible install... /bin/install -c
configure: checking for buggy tools...
- sh is 'GNU bash, version 4.0.35(2)-release (i686-pc-linux-gnu)'.
- sed is 'GNU sed version 4.2.1'.
checking if a system-wide socket dir should be used... yes
checking for the socket dir... (eff_uid ? "/tmp/uscreens" : "/tmp/screens")
configure: checking for MIPS...
configure: checking for Ultrix...
configure: checking for butterfly...
configure: checking for POSIX.1...
- you have a POSIX system
configure: checking for System V...
configure: checking for sequent/ptx...
configure: checking SVR4...
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
configure: checking for Solaris 2.x...
configure: checking BSD job jontrol...
- you have jobcontrol
configure: checking setresuid...
configure: checking setreuid...
configure: checking seteuid...
configure: checking select...
configure: checking fifos...
- your fifos are usable
configure: checking for broken fifo implementation...
- your implementation is ok
configure: checking sockets...
- your sockets are usable
configure: checking socket implementation...
- you are normal
- both sockets and fifos usable. let's take sockets.
configure: checking select return value...
- select is ok
configure: checking for tgetent...
configure: checking libcurses...
- you use the terminfo database
configure: checking ospeed...
configure: checking for /dev/ptc...
configure: checking for SVR4 ptys...
checking for getpt... yes
configure: checking for ptyranges...
configure: checking default tty permissions/group...
checking for write... /usr/bin/write
checking for xterm... /usr/bin/xterm
- pty mode: 0620, group: 0
configure: checking getutent...
configure: checking ut_host...
checking utempter.h usability... no
checking utempter.h presence... no
checking for utempter.h... no
configure: checking for libutil(s)...
configure: checking getloadavg...
assuming posix signal definition
configure: checking for crypt and sec libraries...
configure: checking crypt...
configure: checking IRIX sun library...
configure: checking syslog...
configure: checking wait union...
configure: checking for termio or termios...
configure: checking getspnam...
configure: checking getttyent...
configure: checking fdwalk...
configure: checking whether memcpy/memmove/bcopy handles overlapping arguments...
checking for long file names... yes
checking for vsprintf... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for setenv... checking for nl_langinfo(CODESET)... yes
checking for library containing gethostname... none required
checking for rename... yes
checking for fchmod... yes
checking for fchown... yes
checking for strerror... yes
checking for lstat... yes
checking for _exit... yes
checking for utimes... yes
checking for vsnprintf... yes
checking for getcwd... yes
checking for setlocale... yes
checking for strftime... yes
checking for PAM support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
configure: WARNING: unrecognized options: --with-sys-screenrc
Now please check the pathnames in the Makefile and in the user
configuration section in config.h.
Then type 'make' to make screen. Good luck.
CPP="gcc -E -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh
AWK=gawk CC="gcc -march=i686 -mtune=generic -O2 -pipe" srcdir=. sh ./comm.sh
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe screen.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe ansi.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe fileio.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe mark.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe misc.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe resize.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe socket.c
In file included from socket.c:51:
extern.h:159: error: conflicting types for 'execvpe'
/usr/include/unistd.h:585: note: previous declaration of 'execvpe' was here
make: *** [socket.o] Error 1
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build screen-git package
Vertical split is ftw! What can i do to build it?yeah, i also got that message.
for vertical split you can go for screen-vs package. this is screen with the vs patch.
http://aur.archlinux.org/packages.php?ID=6006 -
How to download a single file from abs cvs (community)?
As a little edit of soloport's ingenious script for downloading single packages/directories from ABS instead of downloading everything, this is absget.
#!/bin/bash
# Downloads a single package from CVS CURRENT (much like ABS)
# Requires one or two arguments, one which specifes the CVS path (e.g. kernels/kernel26)
# and the other who specifies the repository (defaults to "arch")
# Creates a local DIR, for example, where DIR=kernel26 in kernels/kernel26
if [ "$BASH_ARGC" ]; then
[ "$2" ] && REPOS="$2" || REPOS="arch"
export CVSROOT=:pserver:anonymous:[email protected]:/home/cvs-$REPOS
DIR="$1"
declare -a ARY
declare -i NUM
ARY=( `echo $DIR | sed 's/// /g'` )
NUM=${#ARY[*]}-1
PKG=${ARY[$NUM]}
echo DIR="$DIR", PKG="$PKG", REPOS="$REPOS"
[ "$REPOS" = "arch" ] && cvs -z3 co -r CURRENT -d $PKG arch/build/$DIR
[ "$REPOS" = "extra" ] && cvs -z3 co -r CURRENT -d $PKG extra/$DIR
[ "$REPOS" = "unstable" ] && cvs -z3 co -r CURRENT -d $PKG unstable/$DIR
rm CVS CVSROOT -R 2>/dev/null
exit 0
else
echo "not enough arguments"
exit 1
fi
As you maybe can see, it's missing a line for community. Whenever I try to test this method with the community dir (/home/cvs-community) I get this error:
$ export CVSROOT=:pserver:anonymous:[email protected]:/home/cvs-community
$ cvs -z3 co .
no such user anonymous in CVSROOT/passwd
cvs seems to authenticate in a different way than cvsup does, I've tried for hours to get this working (even with the help of wireshark), but with no luck. Can anyone help?byte wrote:This could be a hint: http://cvs.archlinux.org/cgi-bin/viewcv … vsroot=AUR (not "Community")
yes, but I don't know how to access it without using abs or viewcvs -
How to record with "guvcview" from the AUR.
http://wiki.archlinux.org/index.php/Web … uvcview.29
In the Archwiki on the webcam page, it suggests GTK UVC Viewer from the AUR. I don't quite like cheese for video recording. I was excited after I played with the resolution and framerate and such in guvcview for the first time. I then was ready to start recording a test video. However, I can't find how to start/stop recording once I've started guvcview. I would appreciate knowing how to record video in it.Hi! I just saw this image: http://screenshots.debian.net/screensho … _large.png
I seem to be missing the bottom row of buttons.
As I was typing this, I thought to stretch the window down... There they are! Sorry for bothering the forum with such a silly mistake. >.< -
[Solved] Intro to ABS/AUR
Hi,
I was going through an article about a new browser UBZL. When I went to the website, it was talking about ABS/PKGBUILDS etc. I went through ABS wiki http://wiki.archlinux.org/index.php/Beg … e_Appendix but it did not help much, does anyone have completely non-geeky decription of ABS/AUR/PKGBUILD.
I will be grateful for the simple explanation.
Cloud
Last edited by cloudstrife (2009-09-08 16:11:28)sand_man wrote:Basically, you should know that Arch repos contain binary packages. These packages are using using scripts called PKGBUILDs. The PKGBUILDs are parsed using an app called makepkg.
ABS is the name of the build system. AUR is an unofficial repo with user contributed PKGBUILDs (which you can compile yourself).
Now go back and read Shylock's post again.
So sand_man, ABS is just a system like pacman. In pacman, i download compiled packages and install whereas in ABS i use a PKGBUILD script to download source files and then install. Is it correct. If that is so, what about dependencies? does makepkg take care of dependencies, ie does PKGBUILD have the dependencies taken care?
Thanks a lot
Cloud -
In FontFactory's reference, "dvb.fontindex" has been brought in. For implementing of FontFactory, I just make a test program to parse the file "dvb.fontindex". The file's content is like this:
<?xml version="1.0"?>
<!DOCTYPE fontdirectory PUBLIC "-//DVB//DTD Font Directory 1.0//EN"
"http://www.dvb.org/mhp/dtd/fontdirectory-1-0.dtd">
<fontdirectory>
<font>
<name>ExampleFontName</name>
<fontformat>OTF</fontformat>
<filename>00000.otf</filename>
<style>BOLD</style>
</font>
</fontdirectory>But I got the following exception.
*** Nested Exception:
java.io.FileNotFoundException: http://www.dvb.org/mhp/dtd/fontdirectory-1-0.dtd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at net.n3.nanoxml.StdXMLReader.openStream(Unknown Source)
at net.n3.nanoxml.StdXMLParser.processDocType(Unknown Source)
at net.n3.nanoxml.StdXMLParser.processSpecialTag(Unknown Source)
at net.n3.nanoxml.StdXMLParser.scanSomeTag(Unknown Source)
at net.n3.nanoxml.StdXMLParser.scanData(Unknown Source)
at net.n3.nanoxml.StdXMLParser.parse(Unknown Source)From the message, it seems that error occured by "http://www.dvb.org/mhp/dtd/fontdirectory-1-0.dtd" 's unexistence.
Is the dtd file really deleted from MHP specification?
Appreciate for your help.Thanks for replying.
The problem has been resolved.
The problem occured during implementation of FonFactory.
When testint for font index file's parsing, the problem occured.
I override the StdXmlReader, add the publicID to it, then the problem had been resolved. -
[SOLVED] Unable to build package Intel-OpenCL-SDK from the AUR
Good morning,
I am having some issues in regards to building a package from the AUR: https://aur.archlinux.org/packages/intel-opencl-sdk/
If I understand correctly this is a 64 bit package, so I made sure that my processor has the LM flag. Also I have checked which kernel I am running:
>$ uname -m
x86_64
When I start building the package it comes up with an error saying:
==> ERROR: intel-opencl-sdk is not available for the 'i686' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('i686').
So I went in to the PKGBUILD and changed the line x86_64 to i686. This seemed to started the build, but it does stop working rather soon, giving me the following error:
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
strip:./opt/intel/opencl-sdk/libOclCpuBackEnd.so: File format not recognized
/usr/bin/fakeroot: line 181: 846 User defined signal 1 FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"
So I do not know where it is going wrong, although it also sounds that my install of Arch might be a bit dodgy as he does not want to build the package with the x86_64 setting ...
Could somebody shed some light on this matter?
Last edited by ruurdkrekt (2013-04-04 11:09:00)Scimmia wrote:No, it's going to need 64 bit versions of the libs it links to. If you want to use this package, you're going to have to reinstall all of your packages. Probably easiest to start from scratch, to be honest.
So is it possible to update the dependencies to 64bit and then build this package?
When I change /etc/pacman.conf to take x86_64 architecture packages:
Architecture = x86_64
And I change the flags of /etc/makepkg.conf to x86_64:
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
Then when I do pacman -S llvm then it will say:
error: failed to prepare transaction (package architecture is not valid)
:: package llvm-3.2-5-i686 does not have a valid architecture
However I did put everything to x86_64, so where does he get the i686 from? -
Can't install Cinnamon from the AUR
I can't install the latest CInnamon from the AUR on either my desktop PC (xorg-server 1.12, catalyst 12.6) or my laptop (xf86-video-intel, every single package up to date). I get the following error on both computers:
$ makepkg -csi
make[3]: Entering directory `/home/dennis/Hämtningar/cinnamon/src/linuxmint-Cinnamon-d421fd9/src'
CC libst_1_0_la-st-enum-types.lo
CC libst_1_0_la-st-marshal.lo
CCLD libst-1.0.la
CC libtray_la-na-marshal.lo
CCLD libtray.la
CC libcinnamon_la-cinnamon-marshal.lo
CC libcinnamon_la-cinnamon-enum-types.lo
CCLD libcinnamon.la
CCLD cinnamon-real
CCLD test-theme
CCLD run-js-test
GEN cinnamon-extension-tool
GEN cinnamon
GEN hotplug-sniffer/org.Cinnamon.HotplugSniffer.service
GISCAN Gvc-1.0.gir
gvc/gvc-mixer-control.h:49: Warning: Gvc: symbol='RECONNECT_DELAY': Unknown namespace for symbol 'RECONNECT_DELAY'
<unknown>:: Fatal: Gvc: warnings configured as fatal
<unknown>:: Fatal: Gvc: warnings configured as fatal
make[3]: *** [Gvc-1.0.gir] Error 1
make[3]: Leaving directory `/home/dennis/Hämtningar/cinnamon/src/linuxmint-Cinnamon-d421fd9/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dennis/Hämtningar/cinnamon/src/linuxmint-Cinnamon-d421fd9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dennis/Hämtningar/cinnamon/src/linuxmint-Cinnamon-d421fd9'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
What do I have to do to get it working?
Last edited by snufkin (2012-11-05 21:01:39)karol wrote:
1. Please use [ code ] tags when pasting code https://bbs.archlinux.org/help.php#bbcode
2. Please use English
==> FEL: Ett fel uppstod i build().
Avbryter...
is not English.
3. Please post in the appropriate section of the forum. I asked the moderators to move it to AUR issues: https://bbs.archlinux.org/viewforum.php?id=38
Sorry for posting in the wrong section.
However, since the only error message that is of any importance in English I didn't translate the localised "helpful user output" back to English since it'd probably not be the same as the original strings anyway. -
View packages that have moved from the AUR into official repositories
Is there any way to see packages that have been moved from the AUR to the official repositories in some sort of list? Ive looked through http://www.archlinux.org/packages/ and https://aur.archlinux.org/ with no luck.
jrussell wrote:Is there any way to see packages that have been moved from the AUR to the official repositories in some sort of list?
You can do an -Sl on all repos that interest you and output to a file. Then diff with a previous version of the file to see changes.
Also i recently opened a feature request about having a commits mailing list for all repositories:
https://bugs.archlinux.org/task/31562 which would make it easier to track all changes in the repos.
Last edited by dolby (2012-09-25 16:39:02) -
Lilypond from ABS doesn't compile: Py_InitModule
Hi there,
I'm trying to build lilypond from source, but it fails with this output:
/home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/scripts/build/out/help2man out/musicxml2ly > out/musicxml2ly.1
langdefs.py: warning: lilypond-doc gettext domain not found.
/home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/scripts/build/out/help2man out/lilysong > out/lilysong.1
Traceback (most recent call last):
File "out/midi2ly", line 54, in <module>
import midi
ImportError: /home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/python/out/midi.so: undefined symbol: Py_InitModule
/home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/scripts/build/out/help2man out/lilymidi > out/lilymidi.1
help2man: can't get `--help' info from out/midi2ly
make[1]: *** [out/midi2ly.1] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/scripts'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I see that Py_InitModule is obsolete in python3, but it should be defined in python2.7, which is what is used to run the ./configure script. I even redirected the symlink /usr/bin/python to /usr/bin/python2, but without success.
Do you know how to fix this?rekado wrote:.....
Do you know how to fix this?
Yes. Add "--disable-documentation" to the ./configure command in the PKGBUILD.
Explanation: Archlinux pkgbuilds often do not control the build options through the configuration section of the PKGBUILD but rely on a controlled chroot build environment and how the source package happens to build in that environment. In this case our systems all have perl installed so compiling in the "open" system allows the lilypond build scripts to try to build the documentation. The Arch dev who packaged lilypond compiled it in a special environment in which perl was not present (because it is not listed in the makedepends); without perl the lilypond build scripts skipped the documentation.
In my opinion the best practice is to make the enable/disable of options explicit in the PKGBUILD so that we can see what is being built or excluded by reading it, and so that we can actually compile packages from ABS using makepkg.
By the way, you'll also find that some Archlinux packages will not build if /usr/bin/python points to python3. The devs may be building those packages in a chroot in which python points to python2 (as it should). I build everything on my Arch system from source code and find it best to remove /usr/bin/python -- anything trying to run "python" on my system fails and I fix it to access python2 or python3. -
Okay I copied /var/abs/extra/multimedia/vlc to ~/installs/, then I ran makepkg and this is the end of the long output as it was compiling:
http://pastebin.ca/885102 (look at the end, and it's too many characters for post on forum)
What might be wrong ??
Last edited by colbert (2008-01-30 19:31:35)no, you need to first recompile 'ffmpeg' from abs with --disable-swscaler flag. Check the PKGBUILD, u will see it is enabled, replace with disable. compile and install it using pacman -U.
then u take the PKGBUILD and patch from the archive I posted above and use makepkg to re-compile a patched vlc version so u can watch avi videos again. install that with pacman -U
your ffmpeg PKGBUILD will look like this
# $Id: PKGBUILD,v 1.30 2007/12/05 02:47:18 paul Exp $
# Contributor: Tom Newsom <[email protected]>
# Maintainer: Paul Mattal <[email protected]>
pkgname=ffmpeg
pkgver=20071204
pkgrel=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=(i686 x86_64)
license=('LGPL')
depends=('lame' 'sdl' 'libvorbis' 'a52dec' 'faad2' 'faac' 'xvidcore' 'zlib' 'imlib2' 'x264>=20071201' 'libtheora')
source=(http://gerolde.archlinux.org/~paul/ffmpeg-$pkgver.tar.gz )
md5sums=('3d34e511d0466de6feabed85dddbb2a8')
url="http://ffmpeg.mplayerhq.hu/"
build() {
cd $startdir/src/$pkgname || return 1
# configure
./configure \
--prefix=/usr \
--enable-gpl \
--enable-libmp3lame \
--enable-libvorbis \
--enable-pp \
--enable-libfaac \
--enable-libfaad \
--enable-liba52 \
--enable-libxvid \
--enable-libx264 \
--enable-libtheora \
--disable-libamr-nb \
--enable-pp \
--enable-shared \
--enable-pthreads \
--enable-x11grab \
--disable-swscaler \
|| return 1
# build
make -j 2 || return 1
# install
mkdir -p $startdir/pkg/usr/{bin,include,lib} || return 1
make DESTDIR=$startdir/pkg install || return 1
Last edited by jacko (2008-01-30 20:51:41)
Maybe you are looking for
-
Hi All, I am trying to send a message using the above function modules .. however .. from the beginning of the second line onwards I can see a lot of "SPACES" (leading SPACES from the second line onwards). I am concatenating the fields from an intern
-
Can I slow down the rate of movement at end of a Ken Burns?
And can I bring up a still, then have the burns effect begin aftyer a second or so?
-
'All spots to process' Checked automatically. Please help
Hi, I recently sent a job to print which was supposed to have 1 spot colour. It came back from the printer 4-colour with no spot and when I ckecked the artwork 'All spots to process' was checked in the Ink Manager. I definitely did not check the box
-
MacBook Pro Software Update 1.1 keeps updating everyday...
The MacBook Pro Software Update 1.1 (keyboard update) keeps updating everyday even after successfully completing. Is this a known issue? thanks, graham
-
Help with contacts between iphone and address book
I am learning my way through the syncing activities and will say, as some other have, that it is a bit more complicated than I had hoped. I've had a mac for over 20 years and used the older mac.com, which I would sync with my computer. I did not rene