Git package

the package git in the official repositories is giving this error when I install.
:: File /var/cache/pacman/pkg/git-1.8.4.2-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
It first checks every server and gives a 404 error.
Is this the right place to post? please respond soon, this sounds either to me like a major problem, or i've done something stupid
Thanks for the help
Last edited by Corky98 (2013-12-07 18:34:22)

What command did you run?
Please update your system, the current git version is 1.8.5.1-1 https://www.archlinux.org/packages/?name=git
Edit: Make sure your mirrorlist is up to date.
Last edited by karol (2013-12-07 18:39:14)

Similar Messages

  • Verifying GPG signatures of commits in *-git packages

    Hi, I'm wondering if there's a way to have makepkg check the GPG signature present on git commits.
    I am not talking about checking tag signatures; this is for *-git packages, which build from the HEAD revision of the repository. If all commits in that repository are signed (using 'git commit -S'), then the signature can be checked before building the package.
    I have already hacked together a PKGBUILD that does this, but it's not exactly pretty. I'm wondering if there's a better way to do this, as there does seem to be some built-in GPG signature checking on regular files (triggered whenever one of the source files ends in '.asc' apparently, which is why I had to rename the key file in that PKGBUILD). It seems to be confused when used against git sources, however.
    Last edited by WindPower (2013-07-10 22:42:44)

    falconindy wrote:Why do you even want this? The repo itself ensures integrity.
    git does pretty well at integrity, in that every git commit has a hash which is unique to the commit and which is tamper-proof in the sense that it is not computationally possible to come up with a commit that has the same hash but with a different diff attached to it. As the commit hash also covers the hash of the preceeding commit in the tree, a single commit hash is enough to guarantee the integrity of the entire source tree. However, this provides just that: integrity. It provides no authentication whatsoever. The 'git://' protocol also provides no encryption or authentication (unlike for example 'git+https://'). Therefore, there is no way to know if a repository cloned over the 'git://' protocol really is the same as what it should be, without a secure (i.e. authenticated) way of knowing what the true hash of the latest commit is. That is where signed tags and commits come in; all that is needed is to sign the hash of the latest commit, and the PKGBUILD can check if the signature matches said hash. If so, then the entire history of the repository (up to the signed commit) can be considered to be as trustworthy as the GPG key itself is.
    tl;dr: git is pretty smart, but it does not provide any authentication guarantee. Signature verification solves this problem.
    HalosGhost wrote:Conceptually speaking, however, this hypothetical gpgkeys=() array wouldn't list keys to be matched to the source file; instead, it would list keys with which it would be acceptable for the git repo to be signed. So, you could have multiple keys that only pertain to one source file. I would imagine it would work so that instead of putting 'SKIP' for the checksum array value of the given source repo, you would put something like 'GPG[0:2]', and then that source file would be checked for integrity using the first three keys listed in the gpgkeys array.
    That would be pretty damn cool.
    Last edited by WindPower (2013-07-11 03:13:53)

  • Easiest way to update -git packages?

    Hello!
    I have installed the Dolphin emulator from dolphin-emu-git with yaourt -S and I have noticed that by running yaourt -Syua, it doesn't update Dolphin, even though there is a never version available.
    Do I always have to re-install -git packages with yaourt -S to get the latest version? If so, is there any way for me to get noticed when there is a new version out? Or do I have to manually have to check now and then?
    Thanks!

    --devel will rebuild VCS packages.
    As far as notification, every upstream commit is an update. You can set something up to get notifications there.
    Last edited by Scimmia (2015-05-18 15:40:12)

  • -git packages

    Is there an inheret difference between '-git' and non-git packages?
    I've read the archwiki written on it, but failed to sufficiently encompass its precise or logical relevance to makepkg~ing PKGBUILDS, as it is described as a version control manager.
    I should make mention of the fact that I have never created an installable pkg.tar.gz '-git package' before.

    edward.taylor89 wrote:Spelling correction for the first line: 'inherent'
    There's an edit button.

  • [solved] How to source a specific commit in a Git package?

    Hi there,
    I wonder whether it is possible to use a certain Git commit in the source array of a package.
    Example:
    freshplayerplugin-git
    For debugging purposes I would like to use the commit
    8ff0bd0282205802c482c7d47f216feb0d3394a9
    I tried the following in the source array and it successfully built the package:
    source=('git://github.com/i-rinat/freshplayerplugin.git#commit=8ff0bd0282205802c482c7d47f216feb0d3394a9')
    However, I have no idea how to detect whether it actually built from the specific commit or just skipped the #commit appending.
    Does anyone know how to source a specific commit?
    Thanks ahead!
    Last edited by orschiro (2014-07-17 11:21:17)

    Correct syntax for Git repository as a source would be:
    source=('git+https://<repo-url>#[commit|tag|branch]=<ref>')
    To verify it's building correct tree, and moreover to keep sane when dealing with multiple trees I like following pkgver (check https://wiki.archlinux.org/index.php/VC … Guidelines):
    pkgver() {
    cd "$srcdir/<repo-name>"
    printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    producing something like:
    <package-name-git>-r4.34e558d-1-any.pkg.tar.xz
    Also just going to fetched Git tree and checking out what's there is an option (look for makepkg branch), for example:
    $ git show-ref
    34e558d2ef8b2cae212da3ab3f74513a99f9ee1b refs/heads/makepkg
    86350ab5a3a209de4339ef04d75d27c7bd399746 refs/heads/master
    86350ab5a3a209de4339ef04d75d27c7bd399746 refs/remotes/origin/HEAD
    86350ab5a3a209de4339ef04d75d27c7bd399746 refs/remotes/origin/master
    Last edited by mkoskar (2014-07-17 09:13:11)

  • [SOLVED] Can't build 'crystalhd-git' package

    Hi
    I've bought  Broadcom  BCM70012 Video Decoder [Crystal HD] today. I'm trying to compile driver for this device. I need to compile two packages.
    1. libcrystalhd-git
    2. crystalhd-git
    Libcrytstalhd-git compiles just fine, no errors. But I can't build the driver crystalhd-git . Here is the output :
    make -C /lib/modules/2.6.39-ARCH/build SUBDIRS=/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux modules
    make[1]: Wejście do katalogu `/usr/src/linux-2.6.39-ARCH'
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c: In function ‘crystalhd_hw_post_tx’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c:719:21: warning: variable ‘high_addr’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c:719:11: warning: variable ‘low_addr’ set but not used [-Wunused-but-set-variable]
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function ‘crystalhd_flea_init_dram’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:42: warning: variable ‘sd_1_row_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:26: warning: variable ‘sd_1_bank_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:11: warning: variable ‘sd_1_col_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function ‘crystalhd_flea_set_power_state’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:847:12: warning: variable ‘sts’ set but not used [-Wunused-but-set-variable]
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function ‘crystalhd_flea_ddr_pll_config’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:152:5: error: implicit declaration of function ‘msleep_interruptible’ [-Werror=implicit-function-declaration]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function ‘crystalhd_flea_ddr_ctrl_init’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:324:10: warning: variable ‘DQ_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:323:10: warning: variable ‘CTL_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:322:10: warning: variable ‘DM_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:320:10: warning: variable ‘DQ_WIDTH’ set but not used [-Wunused-but-set-variable]
    cc1: some warnings being treated as errors
    make[2]: *** [/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o] Błąd 1
    make[1]: *** [_module_/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux] Błąd 2
    make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.39-ARCH'
    make: *** [all] Błąd 2
    ==> BŁĄD: Wystąpił błąd w build().
    Przerywam...
    ==> ERROR: Makepkg was unable to build .
    ==> Restart building crystalhd-git ? [y/N]
    ==> --------------------------------------
    ==>
    Last edited by lgolebio (2011-06-29 06:01:46)

    Try replacing `sed -i 's/'-Werror'/''/g' Makefile` with `sed -i 's/-Werror/-Wno-error=implicit-function-declaration/g' Makefile` in the PKGBUILD. This won't fix the warning but the package should build.

  • Feedback on tasky-git package

    Hello,
    I haven't packaged for a while and noticed that with pacman 4.1 many things changed. Thus I would like to get your feedback on my PKGBUILD for a Google Tasks cli client called tasky. It uses a Github repository and requires python2 which is why I used sed to replace the shebang. Is that the correct way to go?
    _pkgname=tasky
    pkgname=${_pkgname}-git
    pkgver=27
    pkgrel=1
    pkgdesc="A command-line desktop client for Google Tasks."
    arch=('any')
    url="https://github.com/connermcd/tasky"
    license=('GPL')
    depends=('python2' 'python2-google-api-python-client')
    makedepends=('git')
    provides=("${_pkgname}")
    source=('git://github.com/connermcd/tasky.git')
    md5sums=('SKIP')
    pkgver() {
    cd "$_pkgname"
    # Use the tag of the last commit
    local ver="$(git describe --long)"
    printf "%s" "${ver//-/.}"
    package() {
    cd "$_pkgname"
    # fixing shebang to python2
    sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" "$srcdir/$_pkgname/src/tasky.py"
    # copying binaries
    install -D -m755 "$srcdir/$_pkgname/src/tasky.py" "${pkgdir}/usr/bin/tasky"
    install -D -m755 "$srcdir/$_pkgname/src/keys.py" "${pkgdir}/usr/bin/keys"
    # copying readme information
    install -D -m644 "$srcdir/$_pkgname/README.md" "$pkgdir/usr/share/doc/$pkgname/README"
    # vim:set ts=2 sw=2 et:
    Thank you!

    For now I just put keys.py back into /usr/bin. However, I am not sure if this is the correct way since keys.py is just a module that tasky.py needs to import.
    EDIT:
    Here is the final PKGBUILD for now:
    https://aur.archlinux.org/packages/tasky-git/
    _gitname=tasky
    pkgname=${_gitname}-git
    pkgver=27
    pkgrel=1
    pkgdesc="A command-line desktop client for Google Tasks."
    arch=('any')
    url="https://github.com/connermcd/tasky"
    license=('GPL')
    depends=('python2>=2.7' 'python2-google-api-python-client')
    makedepends=('git')
    provides=("$_gitname")
    source=('git://github.com/connermcd/tasky.git')
    md5sums=('SKIP')
    pkgver() {
    cd "$srcdir/$_gitname"
    # Use the tag of the last commit
    local ver="$(git describe --long)"
    printf "%s" "${ver//-/.}"
    prepare() {
    cd "$srcdir/$_gitname"
    # Fixing shebang to python2
    sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" "${srcdir}/${_gitname}/src/tasky.py"
    # Adjusting tasky_dir to $HOME/.tasky
    sed -i -e "s|import os.path|import os|" "${srcdir}/${_gitname}/src/tasky.py"
    sed -i -e "s|os.path.dirname(os.path.realpath(__file__))|os.environ['HOME'] + '/.${_gitname}'|" "${srcdir}/${_gitname}/src/tasky.py"
    # writing keys.txt to $HOME/.tasky
    sed -i -e '1i\import os' "${srcdir}/${_gitname}/src/keys.py"
    sed -i -e "s|'keys.txt'|os.environ['HOME'] + '/.${_gitname}/keys.txt'|" "${srcdir}/${_gitname}/src/keys.py"
    package() {
    cd "$srcdir/$_gitname"
    # create user directory
    install -dm755 "${HOME}/.${_gitname}/"
    # copying binaries and libaries
    install -D -m755 "${srcdir}/${_gitname}/src/tasky.py" "${pkgdir}/usr/bin/${_gitname}"
    install -D -m644 "${srcdir}/${_gitname}/src/keys.py" "${pkgdir}/usr/bin/keys.py"
    # copying readme information
    install -D -m644 "${srcdir}/${_gitname}/README.md" "${pkgdir}/usr/share/doc/${_gitname}/README"
    # vim:set ts=2 sw=2 et:
    Last edited by orschiro (2013-09-23 14:36:59)

  • [Contribution] JRuby-git package

    Hey all,
    I'm going to be using JRuby pretty heavily over the next few months and since the SVN package in AUR is out of date, I decided to make one for their git repo on Github. Since this is the very first package I made I wanted to link to the PKGBUILD before I upload it to AUR. So here it is. I had help from MrElendig and Icarus-c on IRC, so I don't think there are any glaring mistakes. I'll upload to AUR in a day or two if I don't get any negative comments.
    Thanks everyone,
    Basu

    What command did you run?
    Please update your system, the current git version is 1.8.5.1-1 https://www.archlinux.org/packages/?name=git
    Edit: Make sure your mirrorlist is up to date.
    Last edited by karol (2013-12-07 18:39:14)

  • Freeplane-git package

    Hello freeplane users
    I made a git version of freeplane. It is available here:
    https://github.com/inglor/pkgbuild/tree … eplane-git
    and on AUR.
    I would appreciate some testing.
    Thanks,
    Leonidas

    What command did you run?
    Please update your system, the current git version is 1.8.5.1-1 https://www.archlinux.org/packages/?name=git
    Edit: Make sure your mirrorlist is up to date.
    Last edited by karol (2013-12-07 18:39:14)

  • Failed to retrieve git package from all mirrors [Solved]

    Hi there. I'm having trouble installing git. Everything else I've installed has been fine (and I have installed other things while this problem persists)
    $ sudo pacman -S git
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): perl-error-0.17018-1 git-1.7.12-1
    Total Download Size: 2.66 MiB
    Total Installed Size: 17.00 MiB
    Proceed with installation? [Y/n]
    :: Retrieving packages from extra...
    error: failed retrieving file 'git-1.7.12-1-x86_64.pkg.tar.xz' from mirror.aarnet.edu.au : The requested URL returned error: 404 Not Found
    I leave pacman running through all the other mirrors, and it just cannot find the file on any of them.
    When I look at http://mirror.aarnet.edu.au/pub/archlin … os/x86_64/ I see that there is git-1.7.12.1-1-x86_64.pkg.tar.xz which is named differently to the target pacman is looking for (git-1.7.12-1-x86_64.pkg.tar.xz)
    I'm new to arch and pacman. Where could this inconsistency be coming from, and how would I go about resolving it?
    EDIT: Just found the -y option in the pacman man page. Solved!
    Last edited by oadams (2012-09-23 07:26:37)

    I used the following process to clean up these warnings on my DPs:
    Setup content validation checks for each of my affected DPs to run every morning (previously only set to weekends). I did this so when I made a change I could validate whether or not it worked the following day. It would be great if there was a way to force
    these checks manually but I haven't found a method yet.
    After the content validation check completed I filtered through the smsdpmon.log on each affected DP. This revealed the package ID that was causing the issue.
    In my environment the package in question was not needed so I deleted it. If it is required I suspect re-distributing it would work as well.
    At this stage the problem was still not fully resolved for me. Even though I had deleted the package WMI was still inaccurate. I used this script to scrub WMI on all affected DPs and it picked up the problematic package ID:
    http://gallery.technet.microsoft.com/Powershell-script-to-fix-81dc4e69
    My content validation checks are now passing and the warnings are being cleared. YEAH!
    As a final note - After running the PS script Nickolaj posted I ran started seeing dozens of error checks on my packages (Distribution Manager failed to process package "Laptop Drivers" (package ID = XYZ00123).) After doing some research
    I found I was prone to this issue:
    Failed to start DP health monitoring task. In my case the suspect file was called "Microsoft". I moved it to another location and the errors cleared immediately.
    Hope this info is helpful to others!

  • Problem installing compiz-fusion-git package

    When running pacman -Sy compiz-fusion-git i get the following errors,
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    /usr/lib/compiz/lib3d.so exists in both 'compiz-fusion-plugins-3d-git' and 'compiz-fusion-plugins-unsupported-git'
    /usr/share/compiz/3d.xml exists in both 'compiz-fusion-plugins-3d-git' and 'compiz-fusion-plugins-unsupported-git'
    /usr/lib/compiz/libatlantis.so exists in both 'compiz-fusion-plugins-atlantis-git' and 'compiz-fusion-plugins-unsupported-git'
    /usr/share/compiz/atlantis.xml exists in both 'compiz-fusion-plugins-atlantis-git' and 'compiz-fusion-plugins-unsupported-git'
    errors occurred, no packages were upgraded.
    I am using the http://arch.nesl247.org/compiz-fusion/i686 server.
    Solutions?
    Last edited by Tigertailz (2007-09-27 08:18:36)

    Tigertailz,can you enable compiz-fusion according to WIKI? I did just as you have done(didnt install unsupported plugin)~
    # Fusion-icon give me following output
    [andywxy@uspirit ~]$ fusion-icon
    * Detected Session: gnome
    * Searching for installed applications...
    Backend : gconf
    Integration : true
    Profile : default
    Adding plugin decoration (decoration)
    Initializing decoration options...done
    * No GLX_EXT_texture_from_pixmap with direct rendering context
    ... nor with indirect rendering, this isn't going to work!
    Traceback (most recent call last):
    File "/usr/bin/fusion-icon", line 57, in <module>
    from FusionIcon.interface import choose_interface
    File "/usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 23, in <module>
    import start
    File "/usr/lib/python2.5/site-packages/FusionIcon/start.py", line 64, in <module>
    env.set()
    File "/usr/lib/python2.5/site-packages/FusionIcon/environment.py", line 140, in set
    if not self.Xgl and self.glx_vendor == 'NVIDIA Corporation':
    AttributeError: Environment instance has no attribute 'glx_vendor'
    If I try the command wiki suggest to use for a "non-direct " video card:
    LIBGL_ALWAYS_INDIRECT=1 compiz --replace ccp &
    Everything seems frozing but cursor gives me its display indicates that it's only the windows display problem ,it is not really froze, but... why?
    My video card is Intel 900 (910GML, 915GM). I have installed the xf86-video-intel from testing repos., along with following packages as WIKI indicateing:
    [andywxy@uspirit ~]$ pacman -Q | grep "\-git"
    ccsm-git 20070926-1
    compiz-bcop-git 20070926-1
    compiz-fusion-plugins-3d-git 20070918-1
    compiz-fusion-plugins-atlantis-git 20070918-1
    compiz-fusion-plugins-extra-git 20070926-1
    compiz-fusion-plugins-main-git 20070926-1
    compiz-git 20070926-1
    compizconfig-backend-gconf-git 20070926-1
    compizconfig-python-git 20070926-1
    emerald-git 20070926-1
    emerald-themes-git 20070926-1
    fusion-icon-git 20070926-1
    libcompizconfig-git 20070926-1
    Here is my xorg.conf
    # File generated by xorgconfig.
    # Copyright 2004 The X.Org Foundation
    # Permission is hereby granted, free of charge, to any person obtaining a
    # copy of this software and associated documentation files (the "Software"),
    # to deal in the Software without restriction, including without limitation
    # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    # and/or sell copies of the Software, and to permit persons to whom the
    # Software is furnished to do so, subject to the following conditions:
    # The above copyright notice and this permission notice shall be included in
    # all copies or substantial portions of the Software.
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
    # The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
    # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    # SOFTWARE.
    # Except as contained in this notice, the name of The X.Org Foundation shall
    # not be used in advertising or otherwise to promote the sale, use or other
    # dealings in this Software without prior written authorization from
    # The X.Org Foundation.
    # Refer to the xorg.conf(5) man page for details about the format of
    # this file.
    # Module section -- this section is used to specify
    # which dynamically loadable modules to load.
    Section "Module"
    # This loads the DBE extension module.
    # Load "dbe" # Double buffer extension
    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    SubSection "extmod"
    Option "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection
    # This loads the font modules
    # Load "type1"
    Load "freetype"
    # Load "xtt"
    # This loads the GLX module
    Load "glx"
    # This loads the DRI module
    Load "dri"
    EndSection
    # Files section. This allows default font and rgb paths to be set
    Section "Files"
    # The location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.
    # RgbPath "/usr/share/X11/rgb"
    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/yahei"
    # FontPath "/usr/share/fonts/TTF"
    # FontPath "/usr/share/fonts/Type1"
    # FontPath "/usr/lib/X11/fonts/local/"
    # FontPath "/usr/lib/X11/fonts/misc/"
    # FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
    # FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
    # FontPath "/usr/lib/X11/fonts/Speedo/"
    # FontPath "/usr/lib/X11/fonts/Type1/"
    # FontPath "/usr/lib/X11/fonts/TrueType/"
    # FontPath "/usr/lib/X11/fonts/freefont/"
    # FontPath "/usr/lib/X11/fonts/75dpi/"
    # FontPath "/usr/lib/X11/fonts/100dpi/"
    # The module search path. The default path is shown here.
    # ModulePath "/usr/lib/modules"
    EndSection
    # Server flags section.
    Section "ServerFlags"
    # Uncomment this to cause a core dump at the spot where a signal is
    # received. This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    # Option "NoTrapSignals"
    # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
    # (where n is 1 through 12). This allows clients to receive these key
    # events.
    # Option "DontVTSwitch"
    # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    # Option "DontZap"
    # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
    # sequences. This allows clients to receive these key events.
    # Option "Dont Zoom"
    # Uncomment this to disable tuning with the xvidtune client. With
    # it the client can still run and fetch card and monitor attributes,
    # but it will not be allowed to change them. If it tries it will
    # receive a protocol error.
    # Option "DisableVidModeExtension"
    # Uncomment this to enable the use of a non-local xvidtune client.
    # Option "AllowNonLocalXvidtune"
    # Uncomment this to disable dynamically modifying the input device
    # (mouse and keyboard) settings.
    # Option "DisableModInDev"
    # Uncomment this to enable the use of a non-local client to
    # change the keyboard or mouse settings (currently only xset).
    # Option "AllowNonLocalModInDev"
    EndSection
    # Input devices
    # Core keyboard's InputDevice section
    Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "AutoRepeat" "500 30"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Option "Xleds" "1 2 3"
    # Option "LeftAlt" "Meta"
    # Option "RightAlt" "ModeShift"
    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a non-U.S.
    # keyboard, you will probably want to use:
    # Option "XkbModel" "pc105"
    # If you have a US Microsoft Natural keyboard, you can use:
    # Option "XkbModel" "microsoft"
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    # Option "XkbLayout" "de"
    # or:
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    # Option "XkbOptions" "ctrl:swapcaps"
    # These are the default XKB settings for Xorg
    # Option "XkbRules" "xorg"
    # Option "XkbModel" "pc105"
    # Option "XkbLayout" "us"
    # Option "XkbVariant" ""
    # Option "XkbOptions" ""
    # Option "XkbDisable"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection
    # Core Pointer's InputDevice section
    Section "InputDevice"
    # Identifier and driver
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "Auto" # Auto detect
    Option "Device" "/dev/input/mice"
    # Mouse-speed setting for PS/2 mouse.
    # Option "Resolution" "256"
    # Baudrate and SampleRate are only for some Logitech mice. In
    # almost every case these lines should be omitted.
    # Option "BaudRate" "9600"
    # Option "SampleRate" "150"
    # Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
    # horizontal wheel to buttons 6 & 7. Change if your mouse has more than
    # 3 buttons and you need to map the wheel to different button ids to avoid
    # conflicts.
    Option "ZAxisMapping" "4 5 6 7"
    # Emulate3Buttons is an option for 2-button mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
    Option "Emulate3Buttons"
    # Option "Emulate3Timeout" "50"
    # ChordMiddle is an option for some 3-button Logitech mice
    # Option "ChordMiddle"
    EndSection
    # Other input device sections
    # this is optional and is required only if you
    # are using extended input devices. This is for example only. Refer
    # to the xorg.conf man page for a description of the options.
    # Section "InputDevice"
    # Identifier "Mouse2"
    # Driver "mouse"
    # Option "Protocol" "MouseMan"
    # Option "Device" "/dev/mouse2"
    # EndSection
    # Section "InputDevice"
    # Identifier "spaceball"
    # Driver "magellan"
    # Option "Device" "/dev/cua0"
    # EndSection
    # Section "InputDevice"
    # Identifier "spaceball2"
    # Driver "spaceorb"
    # Option "Device" "/dev/cua0"
    # EndSection
    # Section "InputDevice"
    # Identifier "touchscreen0"
    # Driver "microtouch"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "1412"
    # Option "MaxX" "15184"
    # Option "MinY" "15372"
    # Option "MaxY" "1230"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    # Section "InputDevice"
    # Identifier "touchscreen1"
    # Driver "elo2300"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "231"
    # Option "MaxX" "3868"
    # Option "MinY" "3858"
    # Option "MaxY" "272"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonThreshold" "17"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    # Monitor section
    # Any number of monitor sections may be present
    Section "Monitor"
    Identifier "Generic Monitor"
    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    HorizSync 31.5 - 82.0
    # HorizSync 30-64 # multisync
    # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
    # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
    # VertRefresh is in Hz unless units are specified.
    # VertRefresh may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    VertRefresh 50-100
    EndSection
    # Graphics device section
    # Any number of graphics device sections may be present
    # Standard VGA Device:
    Section "Device"
    Identifier "Standard VGA"
    VendorName "Unknown"
    BoardName "Unknown"
    Option "XAANoOffscreenPixmaps" "true"
    Option "DRI" "true"
    # The chipset line is optional in most cases. It can be used to override
    # the driver's chipset detection, and should not normally be specified.
    # Chipset "generic"
    # The Driver line must be present. When using run-time loadable driver
    # modules, this line instructs the server to load the specified driver
    # module. Even when not using loadable driver modules, this line
    # indicates which driver should interpret the information in this section.
    # Driver "vga"
    Driver "intel"
    # The BusID line is used to specify which of possibly multiple devices
    # this section is intended for. When this line isn't present, a device
    # section can only match up with the primary video device. For PCI
    # devices a line like the following could be used. This line should not
    # normally be included unless there is more than one video device
    # intalled.
    # BusID "PCI:0:10:0"
    # VideoRam 256
    # Clocks 25.2 28.3
    EndSection
    # Device configured by xorgconfig:
    Section "Device"
    Identifier "Intel GMA950"
    Driver "intel"
    Option "XAANoOffscreenPixmaps" "true"
    Option "DRI" "true"
    #VideoRam 131072
    # Insert Clocks lines here if appropriate
    EndSection
    # Screen sections
    # Any number of screen sections may be present. Each describes
    # the configuration of a single screen. A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    Section "Screen"
    Identifier "Screen 1"
    Device "Intel GMA950"
    Monitor "Generic Monitor"
    DefaultDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    EndSection
    # ServerLayout sections.
    # Any number of ServerLayout sections may be present. Each describes
    # the way multiple screens are organised. A specific ServerLayout
    # section may be specified from the X server command line with the
    # "-layout" option. In the absence of this, the first section is used.
    # When now ServerLayout section is present, the first Screen section
    # is used alone.
    Section "ServerLayout"
    # The Identifier line must be present
    Identifier "Simple Layout"
    Option "AIGLX" "true"
    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens. The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen. In this example, screen 2 is located to the
    # right of screen 1.
    Screen "Screen 1"
    # Each InputDevice line specifies an InputDevice section name and
    # optionally some options to specify the way the device is to be
    # used. Those options include "CorePointer", "CoreKeyboard" and
    # "SendCoreEvents".
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    Anybody can help? Many thanks!
    andywxy
    Last edited by andywxy (2007-09-28 03:32:17)

  • Updating AUR *-git packages via packer

    I'm currently installing oh-my-zsh, but I wonder whether it's better to do so manually or via the AUR. I want to be sure I get updates at a reasonable pace — how are packages like oh-my-zsh-git in the AUR handled when using packer? If the sources on Github are updated and I do an upgrade via packer, does it automatically rebuild those packages, or does it only do so when the version number in the PKGBUILD is modified?

    You can use makepkg for 'manual' updating. PKGBUILDs that have code like this
    pkgver() {
    cd 'cower'
    git describe | sed 's/-/./g'
    will update themselves i.e. if the upstream git repo has new code, you will get e.g. pkgver=11.4.gd5ba9ab instead of 10.2.g86f6b53-1 https://aur.archlinux.org/packages/cower-git/

  • [solved] makepkg -o and GIT-package

    makepkg -o / --nobuild
    This command downloads and extracts files only.
    But in case of a PKGBUILD which clones the src from a GIT-repository the behavior is different (it downloads nothing).
    Do you think I should write a bugreport? Or is there another command I don't know?
    Last edited by Radioactiveman (2011-09-12 20:23:12)

    I think that that's behaving as expected, all of the -git PKGBUILDs I've seen pull the source from git inside the build() function which means it would take a change to makepkg and a rewrite of all the PKGBUILDs which pull from any kind of VCS for it to be possible to do what you want.

  • Yaourt: all git packages from AUR give me an error

    what could be the problem here? it worked before
    ==> Connecting to GIT server....
    Cloning into 'emesene'...
    fatal: unable to connect to github.com:
    github.com[0: 207.97.227.239]:
    Last edited by capoeira (2012-11-20 12:08:54)

    WorMzy wrote:It's working fine here. Just built pkgfile-git without problems.
    strange, why the hack isn't it working here?
    only way is editing the PCKGBUILD

  • [Suggestion] About git,svn package

    I recently want to use git pacakge to get 3d enable on my machine, but I found that it is hard to change git package to the normal one even if normal one updates.
    So I hope PKGBUILD can make package version like this way: [offical version].git[git verseion]
    like mesa-git:
    mesa-7.7.git20100118
    so when mesa is updated to 7.8, we can also change it to the offical version with a simple yaourt -Syu.
    This can be done like following:
    pkgbase="mesa-git"
    pkgname=('mesa' 'libgl' 'ati-dri')
    pkgver=20100119
    _realver=7.7
    pkgrel=1
    arch=(i686 x86_64)
    depends=('libx11>=1.2' 'libxt' 'gcc-libs>=4.3.3' 'libdrm>=2.4.12')
    makedepends=('glproto' 'pkgconfig' 'libdrm>=2.4.12' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libx11>=1.2.2' 'libxt' 'gcc-libs' 'dri2proto')
    url="http://mesa3d.sourceforge.net"
    license=('custom')
    options=(!makeflags)
    source=(ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2
    mesa-7.1-link-shared.patch
    LICENSE)
    export gitver=$pkgver
    _gitroot="http://anongit.freedesktop.org/git/mesa/mesa.git"
    _gitname="mesa"
    build() {
    msg "Connecting to git.freedesktop.org GIT server...."
    if [ -d ${srcdir}/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    if [[ -d ${srcdir}/${_gitname}-build ]]; then
    msg "Cleaning the previous build directory..."
    rm -rf ${srcdir}/${_gitname}-build
    fi
    cp -pR ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
    cd ${srcdir}/${_gitname}-build
    msg "Starting configure..."
    msg "Applying patches..."
    # patch -Np1 -i "${startdir}/mesa-7.1-link-shared.patch" || return 1
    ./autogen.sh --prefix=/usr \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-dri-drivers=swrast,radeon,r200,r300,r600 \
    --enable-gallium \
    --enable-gallium-radeon \
    --disable-gallium-intel \
    --with-state-trackers=dri,egl \
    --enable-glx-tls \
    --with-driver=dri \
    --enable-xcb \
    --disable-glut || return 1
    make || return 1
    cd "${srcdir}/gl-manpages-1.0.1"
    ./configure --prefix=/usr || return 1
    make || return 1
    package_mesa() {
    pkgver="${_realver}.git$gitver"
    depends=('libgl' 'libx11>=1.2.2' 'libxt' 'gcc-libs>=4.4.1' 'dri2proto=2.2' 'libdrm>=2.4.15')
    pkgdesc="Mesa 3-D graphics libraries and include files"
    cd "${srcdir}/${_gitname}-build" || return 1
    make DESTDIR="${pkgdir}" install || return 1
    install -m755 -d "${pkgdir}/usr/bin"
    install -m755 progs/xdemos/glx{gears,info} "${pkgdir}/usr/bin/" || return 1
    rm -f "${pkgdir}/usr/lib/libGL.so"*
    rm -rf "${pkgdir}/usr/lib/xorg"
    rm -f "${pkgdir}/usr/include/GL/glew.h"
    rm -f "${pkgdir}/usr/include/GL/glxew.h"
    rm -f "${pkgdir}/usr/include/GL/wglew.h"
    rm -f "${pkgdir}/usr/include/GL/glut.h"
    cd "${srcdir}/gl-manpages-1.0.1" || return 1
    make DESTDIR="${pkgdir}" install || return 1
    install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
    install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/" || return 1
    package_libgl() {
    pkgver="${_realver}.git$gitver"
    depends=('libdrm>=2.4.15' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1')
    pkgdesc="Mesa 3-D graphics library and DRI software rasterizer"
    cd "${srcdir}/${_gitname}-build" || return 1
    install -m755 -d "${pkgdir}/usr/lib" || return 1
    install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
    bin/minstall lib/libGL.so* "${pkgdir}/usr/lib/" || return 1
    cd src/mesa/drivers/dri
    make -C swrast DESTDIR="${pkgdir}" install || return 1
    # install -m755 libdricore.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
    ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" || return 1
    install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
    install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/" || return 1
    package_ati-dri() {
    pkgver="${_realver}.git$gitver"
    depends=("libgl=${pkgver}")
    pkgdesc="Mesa DRI drivers for AMD/ATI Radeon"
    conflicts=('xf86-video-ati<6.9.0-6')
    cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
    make -C radeon DESTDIR="${pkgdir}" install || return 1
    make -C r200 DESTDIR="${pkgdir}" install || return 1
    make -C r300 DESTDIR="${pkgdir}" install || return 1
    make -C r600 DESTDIR="${pkgdir}" install || return 1
    cd "${srcdir}/${_gitname}-build/src/gallium/winsys/drm/radeon/egl"
    make DESTDIR="${pkgdir}" install || return 1
    md5sums=('6ae05158e678f4594343f32c2ca50515'
    'd892b4fbc37fadc0e07debcd4bdfa109'
    '7ba429de367a2b3d273d2230cc705771')
    As you can see, gitver is set to be pkgver and for each package, its pkgver is set to "${_realver}.git$gitver", so we can also get the feature from makepkg ver update, and make packages of simple git version .
    we will get libgl-7.7.git20100119-1-i686.pkg.tar.gz mesa-7.7.git20100119-1-i686.pkg.tar.gz ati-dir-7.7.git20100119-1-i686.pkg.tar.gz from the pkgbuild before.
    And for a package don't need split, a dumb pacakage must be added in pkgname, like following one:
    pkgbase=libdrm-git
    pkgname=("libdrm" "dumb")
    pkgver=20100119
    _realver=2.4.17
    pkgrel=1
    pkgdesc="Userspace interface to kernel DRM services"
    arch=('i686' 'x86_64')
    depends=('glibc')
    options=('!libtool')
    url="http://dri.freedesktop.org/"
    license=('custom')
    replaces=('libdrm>=2.4.12')
    groups=('xorg')
    source=(no-pthread-stubs.patch)
    md5sums=()
    export gitver=$pkgver
    _gitroot="http://anongit.freedesktop.org/git/mesa/drm.git"
    _gitname="drm"
    build() {
    msg "Connecting to git.freedesktop.org GIT server...."
    if [ -d $srcdir/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    if [[ -d ${srcdir}/${_gitname}-build ]]; then
    msg "Cleaning the previous build directory..."
    rm -rf ${srcdir}/${_gitname}-build
    fi
    git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
    cd ${srcdir}/${_gitname}-build
    cd $srcdir/$_gitname-build
    patch -Np1 -i "${srcdir}/no-pthread-stubs.patch" || return 1
    sh autogen.sh --prefix=/usr \
    --enable-nouveau-experimental-api \
    --enable-radeon-experimental-api \
    --enable-udev || return 1
    make || return 1
    package_libdrm()
    pkgver=${_realver}.git${gitver}
    cd ${srcdir}/${_gitname}-build
    make DESTDIR=${pkgdir} install || return 1
    package_dumb()
    echo a
    md5sums=('9b5ec3bbebe86921e2057694c42f65b8')

    I recently want to use git pacakge to get 3d enable on my machine, but I found that it is hard to change git package to the normal one even if normal one updates.
    So I hope PKGBUILD can make package version like this way: [offical version].git[git verseion]
    like mesa-git:
    mesa-7.7.git20100118
    so when mesa is updated to 7.8, we can also change it to the offical version with a simple yaourt -Syu.
    This can be done like following:
    pkgbase="mesa-git"
    pkgname=('mesa' 'libgl' 'ati-dri')
    pkgver=20100119
    _realver=7.7
    pkgrel=1
    arch=(i686 x86_64)
    depends=('libx11>=1.2' 'libxt' 'gcc-libs>=4.3.3' 'libdrm>=2.4.12')
    makedepends=('glproto' 'pkgconfig' 'libdrm>=2.4.12' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libx11>=1.2.2' 'libxt' 'gcc-libs' 'dri2proto')
    url="http://mesa3d.sourceforge.net"
    license=('custom')
    options=(!makeflags)
    source=(ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2
    mesa-7.1-link-shared.patch
    LICENSE)
    export gitver=$pkgver
    _gitroot="http://anongit.freedesktop.org/git/mesa/mesa.git"
    _gitname="mesa"
    build() {
    msg "Connecting to git.freedesktop.org GIT server...."
    if [ -d ${srcdir}/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    if [[ -d ${srcdir}/${_gitname}-build ]]; then
    msg "Cleaning the previous build directory..."
    rm -rf ${srcdir}/${_gitname}-build
    fi
    cp -pR ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
    cd ${srcdir}/${_gitname}-build
    msg "Starting configure..."
    msg "Applying patches..."
    # patch -Np1 -i "${startdir}/mesa-7.1-link-shared.patch" || return 1
    ./autogen.sh --prefix=/usr \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-dri-drivers=swrast,radeon,r200,r300,r600 \
    --enable-gallium \
    --enable-gallium-radeon \
    --disable-gallium-intel \
    --with-state-trackers=dri,egl \
    --enable-glx-tls \
    --with-driver=dri \
    --enable-xcb \
    --disable-glut || return 1
    make || return 1
    cd "${srcdir}/gl-manpages-1.0.1"
    ./configure --prefix=/usr || return 1
    make || return 1
    package_mesa() {
    pkgver="${_realver}.git$gitver"
    depends=('libgl' 'libx11>=1.2.2' 'libxt' 'gcc-libs>=4.4.1' 'dri2proto=2.2' 'libdrm>=2.4.15')
    pkgdesc="Mesa 3-D graphics libraries and include files"
    cd "${srcdir}/${_gitname}-build" || return 1
    make DESTDIR="${pkgdir}" install || return 1
    install -m755 -d "${pkgdir}/usr/bin"
    install -m755 progs/xdemos/glx{gears,info} "${pkgdir}/usr/bin/" || return 1
    rm -f "${pkgdir}/usr/lib/libGL.so"*
    rm -rf "${pkgdir}/usr/lib/xorg"
    rm -f "${pkgdir}/usr/include/GL/glew.h"
    rm -f "${pkgdir}/usr/include/GL/glxew.h"
    rm -f "${pkgdir}/usr/include/GL/wglew.h"
    rm -f "${pkgdir}/usr/include/GL/glut.h"
    cd "${srcdir}/gl-manpages-1.0.1" || return 1
    make DESTDIR="${pkgdir}" install || return 1
    install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
    install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/" || return 1
    package_libgl() {
    pkgver="${_realver}.git$gitver"
    depends=('libdrm>=2.4.15' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1')
    pkgdesc="Mesa 3-D graphics library and DRI software rasterizer"
    cd "${srcdir}/${_gitname}-build" || return 1
    install -m755 -d "${pkgdir}/usr/lib" || return 1
    install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
    bin/minstall lib/libGL.so* "${pkgdir}/usr/lib/" || return 1
    cd src/mesa/drivers/dri
    make -C swrast DESTDIR="${pkgdir}" install || return 1
    # install -m755 libdricore.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
    ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" || return 1
    install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
    install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/" || return 1
    package_ati-dri() {
    pkgver="${_realver}.git$gitver"
    depends=("libgl=${pkgver}")
    pkgdesc="Mesa DRI drivers for AMD/ATI Radeon"
    conflicts=('xf86-video-ati<6.9.0-6')
    cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
    make -C radeon DESTDIR="${pkgdir}" install || return 1
    make -C r200 DESTDIR="${pkgdir}" install || return 1
    make -C r300 DESTDIR="${pkgdir}" install || return 1
    make -C r600 DESTDIR="${pkgdir}" install || return 1
    cd "${srcdir}/${_gitname}-build/src/gallium/winsys/drm/radeon/egl"
    make DESTDIR="${pkgdir}" install || return 1
    md5sums=('6ae05158e678f4594343f32c2ca50515'
    'd892b4fbc37fadc0e07debcd4bdfa109'
    '7ba429de367a2b3d273d2230cc705771')
    As you can see, gitver is set to be pkgver and for each package, its pkgver is set to "${_realver}.git$gitver", so we can also get the feature from makepkg ver update, and make packages of simple git version .
    we will get libgl-7.7.git20100119-1-i686.pkg.tar.gz mesa-7.7.git20100119-1-i686.pkg.tar.gz ati-dir-7.7.git20100119-1-i686.pkg.tar.gz from the pkgbuild before.
    And for a package don't need split, a dumb pacakage must be added in pkgname, like following one:
    pkgbase=libdrm-git
    pkgname=("libdrm" "dumb")
    pkgver=20100119
    _realver=2.4.17
    pkgrel=1
    pkgdesc="Userspace interface to kernel DRM services"
    arch=('i686' 'x86_64')
    depends=('glibc')
    options=('!libtool')
    url="http://dri.freedesktop.org/"
    license=('custom')
    replaces=('libdrm>=2.4.12')
    groups=('xorg')
    source=(no-pthread-stubs.patch)
    md5sums=()
    export gitver=$pkgver
    _gitroot="http://anongit.freedesktop.org/git/mesa/drm.git"
    _gitname="drm"
    build() {
    msg "Connecting to git.freedesktop.org GIT server...."
    if [ -d $srcdir/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    if [[ -d ${srcdir}/${_gitname}-build ]]; then
    msg "Cleaning the previous build directory..."
    rm -rf ${srcdir}/${_gitname}-build
    fi
    git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
    cd ${srcdir}/${_gitname}-build
    cd $srcdir/$_gitname-build
    patch -Np1 -i "${srcdir}/no-pthread-stubs.patch" || return 1
    sh autogen.sh --prefix=/usr \
    --enable-nouveau-experimental-api \
    --enable-radeon-experimental-api \
    --enable-udev || return 1
    make || return 1
    package_libdrm()
    pkgver=${_realver}.git${gitver}
    cd ${srcdir}/${_gitname}-build
    make DESTDIR=${pkgdir} install || return 1
    package_dumb()
    echo a
    md5sums=('9b5ec3bbebe86921e2057694c42f65b8')

Maybe you are looking for

  • I miss the old Homesite

    I'm in a bit of a delima. I have used an old version of Homesite for some time now. It was the version that would allow the three views; edit, preview, and the editable WUSIWYG screen. As I'm sure all of you know, this version will no longer work wit

  • Data coming beyond the box(table) in scripts.

    hi abapers,                I am doing modifications for a script. The issue is, the first and last pages are reasonably ok. but the problem is in the middle pages. the data in these pages is messing up. its coming beyond (down) the box (table). cld a

  • N900 crashes upon booting.

    Short & quick. Updated to the update that was out a few days ago (20.x.x.x etc. pr 1.3 i think people refer to it as) N900 boots...past nokia logo, past dots screen then it get to the homescreen where it only loads the top left status bar BUT with no

  • [SOLVED] Once screen goes blank there's no turning back

    Hello. If I let the screensaver to blank my screen, I can't wake it up. The screen doesn't turn off, it just stays blank. I tried pressing Ctrl + Alt + Backspace, changing to a console with Ctrl + Alt + F1, F2, etc but nothing. I have to power off th

  • Pricing Engine call having performance issues

    Hello All, Morning need some help with this ,, we are having performance issues with the QP Pricing Engine call using seeded API : qp_preq_grp.price_request We are having Pricing Context setup and have about 20 pricing attributes defined/setup with d