Subversion issue in pkgbuild

Hello, im trying to build a package with this pkgbuild:
pkgname=gtk-webcore-jscore-svn
pkgver=117
pkgrel=2
pkgdesc="A javascript interpreter for gtk-webcore."
url="http://gtk-webcore.sourceforge.net/"
arch=(i686 x86_64)
license=('GPL')
depends=('gtk2')
makedepends=('subversion' 'autoconf' 'automake')
replaces=('osb-jscore-svn')
conflicts=('osb-jscore-svn')
source=()
md5sums=()
_svntrunk=https://gtk-webcore.svn.sourceforge.net/svnroot/gtk-webcore/trunk/javascriptcore/
_svnmod=javascriptcore
build() {
cd $startdir/src
svn co $_svntrunk --config-dir ./ $_svnmod
msg "SVN checkout done or server timeout"
msg "Starting make..."
# Install
cd $_svnmod/
sh autogen.sh
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
But versionpkg can't find this url: /svnroot/gtk-webcore/!svn/bc/126/trunk/javascriptcore
Which is not the right url, what is wrong?

Could you put yours pkgbuilds on aur ?

Similar Messages

  • ADF 11.1.1.6 with subversion issues

    HI
    We are using the Jdeveloper verion 11.1.1.6 and Vesion support for Subversion 11.1.6.38.61.92.
    Some times we are facing problems on Update and Checkout . some times both of them will not work .
    I want to know about the above issues occuring frequently due to the verisons(Jdev and subversion) missmatch ? or any additional configration missing ?
    Appriciate responses
    thanks in advance.

    Hi,
    *11g R1*
    Subversion 1.5, SVNKit 1.2      --> Certified
    Subversion 1.6 2 , SVNKit 1.3 2 --> Certified
    *11g R2*
    Subversion 1.6, SVNKit 1.3 --> Certified
    Frank

  • Subversion Issue in 11.1.2 - Candidates not showing up  losing changes

    Hi All:
    I would like to report an issue that we have found with JDeveloper 11.1.2 Subversion in which new files are not showing up in the Candidates folder unless a Refresh is done. This is hit or miss, as most files are showing up, but new ones don't seem to be. Therefore, when the Working Copy is submitted to subversion, these new files have not been submitted to subversion. If my PC crashed, or restarted due to power outage, etc. These files are also lost.
    Any subsequent check-outs of the Application are then missing these files.
    This was discovered when transferring our applications from an old PC to a new PC. Unless Refresh is pressed each and every time a new file is created, that file does not show up in Candidates, which then allows them to be moved to outgoing.
    The necessity of having to hit Refresh will ultimately be missed at times due to human error, and we are wondering if this is an unknown bug. Noticing that there is no version number beside an item in my project is the only clue that there is something wrong.
    I have screenshots of this occurring if anyone would like to see them.
    Thank you.
    Mary
    UofW

    Hi,
    would be good if you had a support contract to work with support on further analyzing and reproducing the problem. As hgood as OTN is to get in touch with JDeveloper and ADF users it cannot replace support in more complex cases that require to reproduce a situation
    Frank

  • Subversion issue with diagrams

    We are noticing a large numbers of issues when it comes to the subversion interface. Of course we are new to the product and may not be doing things correctly. In particular we notice that oftern times not all objects that are added to a diagram show up on another users model when one person commits and the other person updates. For example creating a transformation diagram some times the flows, and the transformation package will not show up in another users model. We got it to work by manually outside of the tool checking in the diagram.local and object.local files. The other users would have to revert those files so that they got a clean file from the repository. This seems hoky. Anyone have tips on how to effectively work with subversion and DFD diagrams?
    Thanks

    Here are the issues we have noticed with subversion integration:
    Subviews don't show up; My buddy creates a subview but when I update the subview does not show up in my list; It looks like the xml file is being synched but it doesn't show up in the tree view navigator.
    My buddy creats a new transformation process and it doesn't show up in my tree view navigator; When I get them to show up by using tortisesvn to update and synch up diagrams.local and objects.local then the flows don't synch up;
    I have had a couple of cases where I got to a merge dialog box say when we both have updated an entity ; I get a stack trace ; but then the change has not been applied but I also don't get the conflict showing up in the incoming changes window.
    Brady

  • [SOLVED] Unrelated Issue - AUR PKGBUILD updated, but not 'pkg'.tar.gz

    Hi all,
    I noticed that qbzr had become unmaintained and in fact wouldn't install via the AUR PKGBUILD file as the source download link had become obsolete.
    I took ownership of the package, then downloaded, updated, targz'd and submitted the new archive. However, it still doesn't seem to be quite right.
    If I download the PKGBUILD , I can now makepkg and then pacman -U without trouble. (v0.18)
    However, using yaourt - yaourt gets the version info etc from the PKGBUILD file I think, as it displays the intended version correctly (0.18). However it then downloads qbzr.tzr.gz, within which is the PKGBUILD file of version (0.16).
    I feel I must have missed something, but I can't figure out how when I submitted qbzr.tar.gz AUR was able to correctly extract the PKGBUILD file for display but not provide the correct qbzr.tar.gz
    Perhaps there is a lag in file propagation that I have been previously unaware of?
    Cheers
    Last edited by thread (2010-02-08 03:28:35)

    thread wrote:However it then downloads qbzr.tzr.gz, within which is the PKGBUILD file of version (0.16).
    there's nothing wrong with the tarball, so i'm not sure why you think it's not an issue/bug/problem/etc with yaourt..
    $ wget http://aur.archlinux.org/packages/qbzr/qbzr.tar.gz
    $ bsdtar xf qbzr.tar.gz
    $ grep ^pkgver= qbzr/PKGBUILD
    pkgver=0.18
    Last edited by tdy (2010-02-05 05:04:08)

  • [Solved] redeclipse 1.5

    Solved 2015-04-06
    All issues (for me at least) are now resolved; the AUR package can now be built, installed and run 'as-is' without any difficulties.
    Red Eclipse has been updated to 1.5. The redeclipse AUR package is flagged as out-of-date; pending maintainer action, I had an interest in getting this to work on my computer, and was able to do so after some trial-and-error.
    Update 2015-04-05: The redeclipse AUR package has been updated by the new maintainer (and upstream has tagged v1.5.1, so it is updated to that); however, I still had some issues with it locally, so have updated this thread to document them rather than clutter up the AUR comments.
    I note below the changes I made locally, for the benefit of anyone interested. It is likely that some of these should be reported upstream as well. Feedback on either of these points is most welcome!
    (1) Patch system-install.mk
    Created the file system-install.diff with the following contents (revised 2015-04-05 to match state of the file at upstream commit 38ba0f8 [2015-04-04 13:30 UTC]):
    --- src/system-install.mk 2015-04-03 06:00:37.000000000 +0000
    +++ src/system-install.mk 2015-04-04 13:30:00.000000000 +0000
    @@ -55,6 +55,7 @@
    system-install-client: client
    $(MKDIR) $(libexecdir)/$(appname)
    $(MKDIR) $(gamesbindir)
    + $(MKDIR) $(datadir)/$(appname)
    install -m755 $(appclient) $(libexecdir)/$(appname)/$(appname)
    install -m755 install/nix/$(appsrcname).am \
    $(gamesbindir)/$(appname)
    @@ -89,14 +90,17 @@
    g,@APPNAME@,\
    s,@APPNAME@,$(appname),g\n\
    w\n" | ed -s $(gamesbindir)/$(appname)-server
    - install -m644 ../config/version.cfg \
    - $(datadir)/$(appname)/version.cfg
    - ln -s $(patsubst $(DESTDIR)%,%,$(datadir))/$(appname)/version.cfg \
    - $(libexecdir)/$(appname)/version.cfg
    +
    +system-install-common:
    + $(MKDIR) $(libexecdir)/$(appname)
    + $(MKDIR) $(datadir)/$(appname)
    + cp -r ../config $(datadir)/$(appname)/config
    + ln -s $(patsubst $(DESTDIR)%,%,$(datadir))/$(appname)/config \
    + $(libexecdir)/$(appname)/config
    system-install-data:
    + $(MKDIR) $(datadir)/$(appname)
    cp -r ../data $(datadir)/$(appname)/data
    - rm -f $(datadir)/$(appname)/data/misc/largeandincharge.png
    system-install-docs: $(MANPAGES)
    $(MKDIR) $(mandir)/man6
    @@ -154,12 +158,15 @@
    gzip -9 -n -c < ../doc/man/cube2font.1 \
    > $(mandir)/man1/cube2font.1.gz
    -system-install: system-install-client system-install-server system-install-data system-install-docs system-install-menus
    +system-install: system-install-client system-install-server system-install-common system-install-data system-install-docs system-install-menus
    +
    +system-uninstall-common:
    + rm -rf $(datadir)/$(appname)/config
    + @rm -fv $(libexecdir)/$(appname)/config
    system-uninstall-client:
    @rm -fv $(libexecdir)/$(appname)/$(appname)
    @rm -fv $(libexecdir)/$(appname)/data
    - @rm -fv $(libexecdir)/$(appname)/version.cfg
    @rm -fv $(gamesbindir)/$(appname)
    system-uninstall-server:
    @@ -168,7 +175,6 @@
    system-uninstall-data:
    rm -rf $(datadir)/$(appname)/data
    - rm -fv $(datadir)/$(appname)/version.cfg
    system-uninstall-docs:
    @rm -rfv $(docdir)/$(appname)/examples
    @@ -185,7 +191,7 @@
    @rm -fv $(icondir)/128x128/apps/$(appname).png
    @rm -fv $(pixmapdir)/$(appname).xpm
    -system-uninstall: system-uninstall-client system-uninstall-server system-uninstall-data system-uninstall-docs system-uninstall-menus
    +system-uninstall: system-uninstall-client system-uninstall-server system-uninstall-common system-uninstall-data system-uninstall-docs system-uninstall-menus
    -@rmdir -v $(libexecdir)/$(appname)
    -@rmdir -v $(datadir)/$(appname)
    -@rmdir -v $(docdir)/$(appname)
    (2) Update PKGBUILD
    Updated the PKGBUILD to be equivalent to the following (revised 2015-04-05):
    pkgname="redeclipse"
    pkgver="1.5.1"
    pkgrel="1"
    pkgdesc="free, casual arena shooter"
    arch=("i686" "x86_64")
    url="http://redeclipse.net"
    license=("custom" "CC0" "CCPL:by" "CCPL:by-sa" "ZLIB" "MIT")
    makedepends=("ed")
    depends=("sdl_image" "libgl" "sdl_mixer" "hicolor-icon-theme" "glu")
    install="redeclipse.install"
    source=("base-${pkgver}.tar.gz::https://github.com/red-eclipse/base/archive/v${pkgver}.tar.gz"
    "data-${pkgver}.tar.gz::https://github.com/red-eclipse/data/archive/v${pkgver}.tar.gz"
    "system-install.diff")
    sha256sums=('2982c4337f4b344c6d77def6b2baec3a2b99b70a88752137475845f95c4d5193'
    'eba632f57b4fa76d6701950907231b354398883613da36c17dbc062c1758dd37'
    '226ab99b5a567cac7e8a941f864e990250522a44c64a31561ee3e4386360af7d')
    prepare() {
    cd "${srcdir}/base-${pkgver}"
    rmdir data
    mv "${srcdir}/data-${pkgver}" data
    build() {
    cd "${srcdir}/base-${pkgver}"
    make -C src/ client server
    package() {
    cd "${srcdir}/base-${pkgver}"
    patch src/system-install.mk ../../system-install.diff
    make -C src/ DESTDIR="${pkgdir}" prefix=/usr system-install
    install -Dm 0644 "${srcdir}/base-${pkgver}/doc/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
    install -Dm 0644 "${srcdir}/base-${pkgver}/doc/all-licenses.txt" "${pkgdir}/usr/share/licenses/${pkgname}/all-licenses.txt"
    You will need to update the "<!--redacted-->" part in the source array, since I'm not sure I got a suitable server in the rotation to add here. You can determine a more suitable one from the AUR package comments, or from upstream's download page; the md5sum is the one published by upstream.
    Update 2015-04-03: Resolved by the new maintainer using source archives straight from GitHub.
    (3) Compile, package, install and run successfully.
    All other files in the package remained untouched.
    The changes made above accomplish two things:
    Prevent the 'make system-install' command from failing, either due to a missing directory (the patch file), missing makedepend (it requires ed now), or not finding the "_linux" suffix that now appears on the binaries after compilation.
    Prevent Red Eclipse from erroring on launch with "could not find config directory"; the directory in question is included in the source, but is outside of the "src/" directory and is not installed/linked to by 'make system-install' directly for some reason.
    Update 2015-04-05: Most issues no longer occur per PKGBUILD and upstream updates.
    I hope this is useful to someone; as before, any feedback is welcome.
    Last edited by aexoxea (2015-05-13 13:35:39)

    My thanks to @carl.george for picking up maintainership of this package .
    Unfortunately, I still had some issues locally with the now-updated PKGBUILD, and have updated the original post to again reflect those changes made to get it working locally. I also wanted to illustrate the exact errors seen here that prompted these changes originally.
    I will of course live with it if no-one else sees these (i.e. if they turn out to be peculiarities of the setup here).
    (1) Without 'ed' as a makedepend...
    ('ed' is not part of either the 'base' or 'base-devel' groups.)
    <!--redacted-->
    Update 2015-04-04: No longer an issue per PKGBUILD update.
    (2) Without system-install.diff...
    (redeclipse builds and installs OK, but then exits immediately at launch.)
    % redeclipse
    could not find config directory
    [Exit code 1]
    (3) Without the APPCLIENT and APPSERVER parameters on the 'make system-install' line...
    <!--redacted-->
    Update 2015-04-05: No longer an issue per upstream changes.
    (4) Without copy and link of config directory...
    (redeclipse builds and installs OK, but then exits immediately at launch.)
    <!--redacted-->
    Update 2015-04-05: Now irrelevant as this is the subject of an upstream patch.
    Last edited by aexoxea (2015-04-05 15:03:47)

  • [Solved]"yaourt -Syua" no longer lists installed packages.....

    When I run:
    $ yaourt -Syu
    /usr/bin/pacman -Sy
    :: Synchronizing package databases...
    2012-01-17 12:12:20 (23.4 KB/s) - saved “/var/lib/pacman/sync/archlinuxfr.db.part” [28637/28637])
    $
    Then run:
    $yaourt -Syua
    :: Synchronizing package databases...
    2012-01-17 12:12:20 (23.4 KB/s) - saved “/var/lib/pacman/sync/archlinuxfr.db.part” [28637/28637])
    acpitool: Orphan
    clearlooksosx-icon-theme: Orphan
    xecjk: Orphan
    Foreign packages: \ 103 / 103
    $
    It no longer shows the installed packages list, just counting in one line "Foreign packages: \ 103 / 103" and exit without updating. Is this normal?
    Last edited by hooluupog (2012-01-18 04:25:06)

    mod action: Moving from Pacman & Package Upgrade Issues to AUR Issues, Discussion & PKGBUILD Requests.

  • BigDecimal.ZERO and String.contains()

    I have a weird problem. I have a program that uses both of the subject items. I ran into an subversion issue, so I deleted my src folder, then downloading everything from the repo again. After downloading, "BigDecimal.ZERO cannot be resolved" and "The method contains(String) is undefined for the type String". All of this worked before the wipe. Anyone know what's going on?
    Mike

    They were both introduced in JDK 1.5. Apparently you're using the wrong JDK version.

  • Any plans on bringing Dream Desktop packages to Arch

    I was doing some online surfing and ran across this project for KDE live wallpapers. They had a clip posted on youtube.
    http://www.youtube.com/watch?v=lHGovxtzfDs
    I see the dev has slackware packages no source code and its supposedly wrote for kde 4.9 
    http://www.santyago.pl/blog/read/2012/0 … sktop.html
    Anyone planning to porting over to Arch? Looks pretty bad ass imo. This would really set off my Arch desktop. As much as I like it, I wouldn't jump ship for it lol

    E17 has animated wallpapers.
    lorenzo111, if you really want this, make a PKGBUILD and upload it to AUR and share with us.
    If you can't make a PKGBUILD, make a request for one in AUR Issues, Discussion & PKGBUILD Requests.

  • "exists in filesystem" issue while making PKGBUILD for a python module

    This is the package. http://packages.python.org/vcs/usage/vc … n-commands
    Its already not in the AUR, so I decided of making the PKGBUILD http://sprunge.us/XVTA
    Now, when I try to install it, I get this error
    shadyabhi@archlinux /tmp $ sudo pacman -U python2-vcs-0.2.0-1-x86_64.pkg.tar.xz
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): python2-vcs-0.2.0-1 [0.11 MB]
    Total Download Size: 0.00 MB
    Total Installed Size: 1.27 MB
    Proceed with installation? [Y/n]
    (1/1) checking package integrity [################################################################] 100%
    (1/1) checking for file conflicts [################################################################] 100%
    error: failed to commit transaction (conflicting files)
    python2-vcs: /usr/lib/python2.7/site-packages/tests/__init__.py exists in filesystem
    python2-vcs: /usr/lib/python2.7/site-packages/tests/__init__.pyc exists in filesystem
    python2-vcs: /usr/lib/python2.7/site-packages/tests/__init__.pyo exists in filesystem
    shadyabhi@archlinux /tmp $
    Also, these files are owned by:
    shadyabhi@archlinux ~ $ pacman -Qo /usr/lib/python2.7/site-packages/tests/__init__.py
    /usr/lib/python2.7/site-packages/tests/__init__.py is owned by python-paste-deploy 1.3.4-1
    shadyabhi@archlinux ~ $
    So, what should be done?

    Added a note to the python packaging guidelines about not putting a directory named "tests" directly in "site-packages". Hope it helps avoiding this issue in the future.
    https://wiki.archlinux.org/index.php/Py … Guidelines

  • Issue with integrating subversion with Jdeveloper 11g (11.1.1.4)

    Hi.
    I have been trying to set-up subversion in Jdeveloper 11g (11.1.1.4) however i keep on getting a authenication error see below
    The Url i am using is https://[servername]/svnrepo/department-repo/Projects/Project1
    Testing read access for repository https://[servername]/svnrepo/department-repo/Projects/Project1...
    svn: authentication failed. Please check your username and password.
    svn: authentication failed. Please check your username and password.
    Access refused.
    I can access the svn repository via TortoiseSVN using the same credentials successfully.
    Does anyone know why entering in the same details in Jdev causing this issue and how i can overcome the problem?
    Thanks

    There have been a couple of issues with using tortoise and jdev together.
    Search the forum for "+tortoise +svn" and select 'LastYear' to get older results. I bet you find your problem.
    Timo

  • PKGBUILD for custom kernel issue

    Hi all,
    Last night I was putting together a PKGBUILD for a kernel I'd like to compile that has the ck patchset, grsecurity (latest testing), and had broadcom-wl on it already so I don't have to keep reinstalling it from AUR and doing depmod each time as it keeps making me have to find an ethernet cable. I used the kerne26 Arch PKGBUILD as a base and included parts of kernel-netbook for broadcom-wl, kernel26-grsecurity, and kernel26-ck and altered name variables and links etc so it all works and all sources are downloaded. I also got the two .patch files (semaphore and something else) from the kernel-netbook tarball to build the thing with, I don't know if it would work without them.
    However when I get into the build() a few patches are applied before I get messages about patches already applied or reversed, and then it says build failed because of an error, I can't tell which package is causing thins or why (it all goes by too fast, and the error says failed without reason, and the reversed patch messages are what is immediately previous to it). I have not yet gone all the way through the pkgbuild - especially towards the end, and I felt that the standard setup of init file system creation and such were ok, and if anything does need altering about it, I can deal with it once I get these first troubles solved.
    Below is my pkgbuild so far. Hopefully there are people out there who can aid me with this.
    Thanks,
    Ben.
    # Maintainer: Ben Ward <[email protected]>
    pkgbase="kernel26"
    # pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
    pkgname=kernel26-custom # Build kernel with a different name
    #Base kernel info
    _kernelname=${pkgname#kernel26}
    _basekernel=2.6.38
    pkgver=${_basekernel}.3
    pkgrel=1
    #ARCH patch info
    _archpatchver=1
    _archpatchname="patch-${pkgver}-${_archpatchver}-ARCH"
    #_archpatchname="patch-${pkgver}-1-ARCH"
    #grsecurity info
    _grsec=2.2.2
    _timestamp=201104182227
    #Broadcom-wl info
    _broadcom_ver=5.100.82.38
    _broadcom="hybrid-portsrc_x86_32-v${_broadcom_ver//./_}"
    #ck-patch info
    _ckpatchversion=3
    _ckpatchname="patch-${_basekernel}-ck${_ckpatchversion}"
    arch=(i686 x86_64)
    license=('GPL2')
    url="http://www.kernel.org"
    options=(!strip)
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2
    ftp://ftp.archlinux.org/other/kernel26/${_archpatchname}.bz2
    http://grsecurity.net/test/grsecurity-${_grsec}-${pkgver}-${_timestamp}.patch
    http://www.broadcom.com/docs/linux_sta/${_broadcom}.tar.gz
    http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/${_basekernel}/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2
    "semaphore.patch"
    "mutex-sema.patch"
    # the main kernel config files
    config config.x86_64
    # standard config files for mkinitcpio ramdisk
    kernel26.preset)
    md5sums=('7d471477bfa67546f902da62227fa976'
    'b3677121c4b5efcb8128c2000788d0aa'
    '5b14b6eb2cdcb074905d4974437c4df6'
    'a19024797f192fe21a468de80c101d8a'
    'c0074a1622c75916442e26763ddf47d0'
    '88d5b3e0622f8c48dad19ab9ac3c16f0'
    'aee89fe7f034aea2f2ca95322774c1b5'
    '21ce3f7967d7305064bf7eb60030ffea'
    'f66543886835ab8599b29cd0c48aa66d'
    'd866bcc06672fee17736bd5022f700fe'
    '25584700a0a679542929c4bed31433b6')
    build() {
    cd ${srcdir}/linux-$_basekernel
    # Apply kernel.org patch to basekernel
    msg "Checking basekernel is ip to date..."
    if [[ "${_basekernel}" != "${pkgver}" ]]; then
    msg "Patching source with upstream patch..."
    patch -Np1 -i "${srcdir}/patch-${pkgver}" || return 1
    fi
    # Add -ARCH patches
    # See http://projects.archlinux.org/linux-2.6-ARCH.git/
    msg "Patching Kernel with ARCH patches..."
    patch -Np1 -i ${srcdir}/${_archpatchname}
    # Add ck patch
    msg "Patching Kernel with ck patches..."
    patch -Np1 -i ${srcdir}/${_ckpatchname}
    # Add grsecurity patch
    msg "Patching kernel with grsecurity testing branch..."
    if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    cat ../config >./.config
    fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    #make menuconfig # CLI menu for configuration
    make nconfig # new CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make ${MAKEFLAGS} bzImage modules
    package_kernel26() {
    pkgdesc="The Linux Kernel and modules"
    groups=('base')
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.12-2' 'mkinitcpio>=0.6.8-2')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1' 'atl2' 'wlan-ng26' 'rt2500' 'nouveau-drm')
    install=kernel26.install
    optdepends=('crda: to set the correct wireless channels of your country')
    KARCH=x86
    cd ${srcdir}/linux-$_basekernel
    # get kernel version
    _kernver="$(make kernelrelease)"
    mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install
    cp System.map ${pkgdir}/boot/System.map26${_kernelname}
    cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
    # # add vmlinux
    install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i $startdir/kernel26.install
    sed \
    -e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
    -e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
    -i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
    # remove build and source links
    rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    # gzip -9 all modules to safe 100MB of space
    find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
    ##Section: Broadcom-wl
    msg "Compiling broadcom-wl module:"
    cd ${srcdir}/
    #patching broadcom as broadcom-wl package on AUR
    patch -p1 < license.patch
    patch -p1 < semaphore.patch
    patch -p1 < mutex-sema.patch
    make -C ${srcdir}/linux-$_basekernel M=`pwd`
    install -D -m 755 wl.ko ${pkgdir}/lib/modules/$_kernver/kernel/drivers/net/wireless/wl.ko
    package_kernel26-headers() {
    pkgdesc="Header files and scripts for building modules for kernel26"
    mkdir -p ${pkgdir}/lib/modules/${_kernver}
    cd ${pkgdir}/lib/modules/${_kernver}
    ln -sf ../../../usr/src/linux-${_kernver} build
    cd ${srcdir}/linux-$_basekernel
    install -D -m644 Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    ${pkgdir}/usr/src/linux-${_kernver}/.config
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
    for i in acpi asm-generic config generated linux math-emu media net pcmcia scsi sound trace video xen; do
    cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
    cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
    cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
    cp -a drivers/staging/usbvideo/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
    # add dm headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
    # add wireless headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    # add dvb headers
    # in reference to:
    # http://bugs.archlinux.org/task/20402
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb
    cp drivers/media/dvb/dvb-usb/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb/
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends
    cp drivers/media/dvb/frontends/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners
    cp drivers/media/common/tuners/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners/
    # add xfs and shmem for aufs building
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add headers vor virtualbox
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
    # add headers for broadcom wl
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
    # add headers for crypto modules
    # in reference to:
    # http://bugs.archlinux.org/task/22081
    cp -a include/crypto $pkgdir/usr/src/linux-${_kernver}/include/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
    done
    chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
    find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    # strip scripts directory
    find ${pkgdir}/usr/src/linux-${_kernver}/scripts -type f -perm -u+w 2>/dev/null | while read binary ; do
    case "$(file -bi "$binary")" in
    *application/x-sharedlib*) # Libraries (.so)
    /usr/bin/strip $STRIP_SHARED "$binary";;
    *application/x-archive*) # Libraries (.a)
    /usr/bin/strip $STRIP_STATIC "$binary";;
    *application/x-executable*) # Binaries
    /usr/bin/strip $STRIP_BINARIES "$binary";;
    esac
    done
    # remove unneeded architectures
    rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    package_kernel26-docs() {
    pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
    cd ${srcdir}/linux-$_basekernel
    mkdir -p $pkgdir/usr/src/linux-$_kernver
    mv Documentation $pkgdir/usr/src/linux-$_kernver
    find $pkgdir -type f -exec chmod 444 {} \;
    find $pkgdir -type d -exec chmod 755 {} \;
    # remove a file already in kernel26 package
    rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile
    I wonder if localyesconfig would take care of broadcom-wl for me...
    Last edited by Ben9250 (2011-04-20 00:12:44)

    Thank you. I guess trying the abs method wouldn't hurt. My main issue was configuration. I've only just skimmed the PKGBUILD so I'm not aware of how it handles it. I suppose I could write my own as described in the wiki as well. Thanks again.
    Edit: Further research has revealed to me that the kernel headers are merely there for when the full source tree isn't. Seeing as the full tree is present in my case, the headers are unnecessary. I may take graysky's advice though and use pacman to manage my kernel.
    Last edited by smithr.michael1997 (2011-03-31 02:17:29)

  • PKGBUILD issue - ${CARCH} doesn't work

    [ "${CARCH}" = "i686" ] && KARCH=i386
    [ "${CARCH}" = "x86_64" ] && KARCH=x86_64
    Just doesn't work. That's why KARCH is empty and there is no vmlinuz26 in pkg in the end. I can rewrite PKGBUILD or solve this issue another way but i'm interested where ${CARCH} is setted?
    PS
    Tried to google but it finds Connecticut Association of Residential Care Homes etc. )))
    PPS
    i used to build my kernel without ABS but it was some problems with nvidia drivers (there were wrong paths for modules directory).. and now i decided to use ABS to avoid any other problems

    So it was setted to "pentium4"
    that'll work for now but when makepkg is made port-friendly your CARCH will need to be set to one of the "supported" archs otherwise makepkg may not build your packages. this is the way it is in frugalware and while the arch devs like to do things themselves, it would be silly to rewrite such basic code to support multiple archs

  • How to solve a PKGBUILD dependency issue for the MinGW-w64 toolchain?

    Hi,
    I had the ambitious plan of creating PKGBUILDs to provide a fully functional and full-featured MinGW-w64 toolchain in Arch (starting with the AUR). For those of you not aware of MinGW-w64; it's a project that provides the more complete alternative for MinGW.org: they support a much larger set of the Win32 API and provide 64-bit support. In short: they allow you to use GCC for Windows 32 and 64-bit.
    The current list of packages is here: https://aur.archlinux.org/packages.php?SeB=m&K=rubenvb
    They work (roughly, for me, I'm working out the problems as people report them), but only if you build and install them manually.
    I would like to ask the help of the experts that reside here to resolve the issue that handy tools like yaourt and other AUR utilities cannot build/install these packages automagically, so that people are more easily persuaded to use my packages. The dependencies here are what functionally needs to be set, not per se what the current PKGBUILDs specify, due to numerous experiments and trial and error...)
    The build and install order needs to be strictly followed:
    1. build+install mingw-w64-headers-base (no makedepends)
    2. build+install mingw-w64-binutils (no makedepends)
    3. build+install mingw-w64-gcc-base (makedepends and depends: mingw-w64-binutils)
    4. build+install mingw-w64-crt (makedepends and depends: mingw-w64-gcc-base and mingw-w64-binutils)
    5. build mingw-w64-winpthreads (makedepends: mingw-w64-headers-base, mingw-w64-gcc-base and mingw-w64-binutils, conflicts mingw-w64-headers-base)
    6. build mingw-w64-headers (no makedepends, conflicts mingw-w64-headers-base)
    7. install mingw-w64-headers (replaces mingw-w64-headers-base)
    8. install mingw-w64-winpthreads
    9. build+install mingw-w64-gcc (replaces mingw-w64-gcc-base)
    I tried to enforce this as much as possible in the PLGBUILDs, but am unsure if everything is as it should be...
    The resulting binary packages that non-AUR-users
    (once mingw-w64 is in a binary repo) should install:
    - mingw-w64-headers
    - mingw-w64-crt
    - mingw-w64-winpthreads
    - mingw-w64-binutils
    - mingw-w64-gcc
    The issue is that winpthreads overwrites two dummy headers that have to be included in mingw-w64-headers-base, so I provide a mingw-w64-headers package omitting these two files, but unusable without mingw-w64-winpthreads. So winpthreads needs to be built when mingw-w64-headers-base is installed, and mingw-w64-headers cannot be installed before winpthreads is installed, due to these two headers (per architecture) being supplied by winpthreads in a complete form.
    I will try to tune the dependencies tonight, but any help or insight into the automation process is highly appreciated!
    Thanks,
    Ruben
    Last edited by rubenvb (2011-11-22 21:28:12)

    Interesting problem.
    While i don't use any aur helper, i think you can simplify your approach a bit.
    Here's how i would do it (changes in red) :
    1. build+install mingw-w64-headers-base (no makedepends)
    this package DOES NOT include the dummy headers
    1a. build + install mingw-w64-headers-extra-dummy (makedepends : mingw-w64-headers-base)
    this package will include ONLY the dummy headers
    2. build+install mingw-w64-binutils (no makedepends)
    3. build+install mingw-w64-gcc-base (makedepends and depends: mingw-w64-binutils)
    4. build+install mingw-w64-crt (makedepends and depends: mingw-w64-gcc-base and mingw-w64-binutils)
    5. build mingw-w64-winpthreads
    makedepends:
    mingw-w64-headers-base, mingw-w64-gcc-base and mingw-w64-binutils, mingw-w64-headers-extra-dummy
    conflicts with mingw-w64-headers-extra-dummy
    provides mingw-w64-headers-extra
    6. skipped
    7. skipped
    8. install mingw-w64-winpthreads
    9. build+install mingw-w64-gcc (replaces mingw-w64-gcc-base)
    makedepends : mingw-w64-headers-base, mingw-w64-headers-extra

  • [SOLVED] makepkg -s PKGBUILD issues

    Hey all, this is my second install of Arch.  I love it, but I am having some issues this time around that I did not have the first install.
    Here is the issue:
    Arch does not seem to recognize that I have installed dependencies when using makepkg.  For example, I want to install compiz-bzr.  I download the tarball and extract it to a folder.  I run:
    makepkg -s PKGBUILD
    and it tells me it cant resolve dependencies gmock.  When I install gmock via AUR the same way it installs fine, but when I go to install compiz-bzr again, the same message says cannot resolve dependencies gmock.
    if i run:
    pacman -Qs gmock
    nothing shows as being installed.  This does not just happen with compiz-bzr, it happens with anything I install via AUR.  I am sure I am missing something probably simple but for the life of me I cannot figure it out..
    please help!
    Last edited by Obrez (2014-03-14 04:03:51)

    man makepkg wrote:       -i, --install
               Install or upgrade the package after a successful build using
               pacman(8).
    edit: too slow   again
    Last edited by skunktrader (2014-03-14 03:59:18)

Maybe you are looking for