Can an "or" type of conditional be used for depends() in PKGBUILD?

I maintain a few AUR packages and one of them has a dependancy on kernel headers. linux-headers is now a dependancy for this. No problem. Yet I personally use linux-ck quite a bit. It would be nice to define a condition where the depends requirement would be that at least one of the packages in a string would have to be met?
In my example: depends() would be defined as: linux-headers OR linux-ck-headers
Is this possible and simple?
Last edited by wdirksen (2013-07-09 16:33:07)

ANOKNUSA wrote:
falconindy wrote:
lolilolicon wrote:
The problem is solved for you by
provides=("linux-ck-headers=${pkgver}" "linux-headers=${pkgver}")
in the linux-ck-headers PKGBUILD
So you can just put linux-headers to depends=().
I think provides=() is intended to just solve this sort of situation.
Except that this is entirely wrong. linux-ck-headers cannot possibly provide linux-headers.
I always assumed what lollicon said:
➜ ~/ pacman -Si linux-ck-headers
Provides : linux-ck-headers=3.9.9 linux-headers=3.9.9 <----
The PKGBUILD might require graysky's [repo-ck] to be enabled in /etc/pacman.conf though.
For my educational benefit then, is it so that? . . .
I could setup depends without arguments, "depends()" in this case, because regardless of the type of ArchLinux based kernel, if it is packaged as stated above, the proper header package would natively be "pre-provided"?
I'm gonna uninstall some header packages and give this a go. This is fun.
Last edited by wdirksen (2013-07-11 09:19:16)

Similar Messages

  • What is 'condition type' in VKOA Transaction used for?

    Hi,
    Could you kindly explain.
    Would be better could explain in Busienss example.
    Thank you

    Hi,
    Condition type is used in the VKOA for account determintaion
    G/L account is determined by the condition type say KOFI is used for SD IN condition type KOFI we can set the Input parameter for the condition type it is basically the account determination process for example if a G/L account is to be determine Sales org./AcctAssgGr/AcctAsgnmt/Ord.reason/Acct key then we need to create the condition table for the same & that same conditio table is to assgined in the condition type.
    It is same like we maintain the condition records for the various condition types like Price Discount etc.
    I hope this will clear your doubt to some extent.
    regards,
    Pritam

  • What type of disc is used for backing up itunes

    What type of disc is used for backing up itunes?

    You can backup your itunes library to whatever medium you like ( cd/dvd/flash drive/external drive/etc)

  • Netscape cert type does not permit use for SSL server on Weblogic

    We have WLS 11g (11.1.1.5 SOA) on UNIX and we are trying to connect secured service (Using client certificate along with UserName and Password for Authentication ). I was able to test it using SOAP UI.
    But when I am testing the webservice I am facing listed error
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://abcd:1111/JWSs/V1/TermsWS at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at
    and domain log shows that
    Caused By: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: Netscape cert type does not permit use for SSL server
    Please help me to resolve listed issue.
    Can I use Netscape client certificate on WLS?
    Do I need to take any extra care while working with client cert?
    I appreciate your help.

    Netscape cert type does not permit use for SSL clientTry using another certificate. Your certificate can't be used as a web browser client certificate.

  • HT5622 We are a family of 4, each with their own apple device. Is it best for us to set up individual apple ID's for things like ITunes? If we do can the same e-mail address be used for all of them or do we need to create e-mails for the kids? Thank-you

    We are a family of 4, each with their own apple device. Is it best for us to set up individual apple ID's for things like ITunes? If we do can the same e-mail address be used for all of them or do we need to create e-mails for the kids?
    Thank-you

    1. Yes, it is.
    2. You may be able to use the same address by adding a plussed suffix to it, such as [email protected] If that doesn't work, create separate emails.
    (103279)

  • Transaction type 100 cannot be used for activity 'Acquisition from invoice'

    Hi
    My user got the error message : Transaction type 100 cannot be used for activity 'Acquisition from invoice receipt w/ affil. comp.'
    when post the invoice via MIRO t code for 98% of the total amount.
    The posting was is related to affiliated company, & by right it should pick transaction type 153 but it is pointing to 100.
    If user post 100% , no error.
    Please advice.

    Check any of the following notes:-
    =>  Note 972556 - MIRO: Incorrect movement type with affiliated companies
    =>  Note 1060719 - Error AAPO 176 for postings from Logistics without vendor
    thanks
    G. Lakshmipathi

  • I can not activate my iphone to be used for the first time, it is blocked. how do i unlock. can someone help me

    I can not activate my iphone to be used for the first time, it is blocked. how do i unlock. can someone help me

    dis the activation server is not available try again later or contact tech support.
    has no sim card installed more already tried with the sim card still not of.
    bought in china.

  • My apple-ID is blocked, and I can't access the e-mail I use for my apple-ID so I can't restore the account. What should I do?

    My apple-ID is blocked, and I can't access the e-mail I use for my apple-ID so I can't restore the account. What should I do?
    I can't remeber my security questions, and I can't ask for a new password because I can't log in to the email because it got hacked...

    Have you tried logging out of your account on your iPod by tapping on your id in Settings > iTunes & App Store and then logging back in to see if that 'refreshes' the account on it and if it then works ?

  • Can we calculate the breakdown time only using for notification?

    Hello,
    I want know can we calculate the breakdown time only using for notification?
    Regards,
    Ram Rathode

    hi
    The breakdown time is calculated based on notification malfunction date and time only
    regards
    thyagarajan

  • Can a "object reference" type from TestStand be used for Labview VIs

    I am creating a test sequence in Test Stand and I am looking to use a "object referrence" type stored in the globals of TestStand as an input to VIs that I will use later in TestStand.  The object can be from .NET or ActiveX.  I need to know if I can use a input that will support either type.

    Hi Mcfrenzy36,
    Object references can be used for LabVIEW. I have found an article that teaches how TestStand handles Activex object references. Here is the linkt o it:
    http://zone.ni.com/devzone/cda/tut/p/id/2984
    I hope that this helps.
    Regards,
    Perry S.
    Applications Engineer
    National Instruments

  • What device type need to be used for HP Laserjet 1020 printer in ECC 6.0 ??

    Dear Experts,
    In out system we already configured on output device details as follows
    Output Device Name         : FEPRINTER01
    Device Type   : HPLJ4 - HP Laserjet 4 Series PCL -5
    Device Class : Standard Printer
    Host Spool Access Method :   G: Front end print with control technologe
    Host Printer : __default
    For one of end user computer is connected with HP Laserjet 1020 model type printer.
    When this user is giving print out on to device  FEPRINTER01
    The spoll request is reaching OS spooler , when i open OS spooler folder - i can see request.
    it waits for a while - the queue vanish , printer do some noise - but no print out comes from the printer.
    Please do let me know what type of device i have to use for this model in this situation
    Thanks in Advance
    Regards

    Hi SRINIVAS 
    I am using this configuration:
    Device Type: SAPWIN :Rel.4.x/SAPIpd 4.09+ ONLY!
    Device Class: Standard Printer
    Access Method: F: Printing on Front End Computer
    Host Printer: __DEFAULT
    Please reward points if helpful
    Regards
    Edited by: Eydar Del Angel on Feb 6, 2008 12:49 PM

  • Can macbook pro 13 inch software be used for macbook pro 15 inch

    I have a macbook pro 15 inch that is running Leopard and i would like to upgrade to snow leopard. I also have a macbook pro 13 inch that came with the Snow leopard software CD can that CD with the OS be used with the 15 inch even though on the OSinstilation CD it reads "Macbook Pro 13 inch OS X 10.6"?

    No.
    You need the retail version of Snow Leopard.

  • HT2693 I can not open iTunes which I have used for many years it just does not open anymore

    I can no longer open iTunes on my computer which I have used for many years what must I do?

    I still have no answer to my question

  • Can a time machine backup also be used for archive storage?

    Can the same time machine backup drive also be used for archive storage from another Macbook?

    The way TimeMachine works you can guarantee that anything on your computer now will be backed up and archival copies kept. But there are two caveats. First, TimeMachine trims backups. For 24 hours they are hourly (approximately). Then the most current will be trimmed and a week worth of daily backups will be kept. Then the week will be trimmed to the most current version and the weekly backups will be kept until the drive is too full. At that point the oldest weekly update(s) will be erased to make room for the next hourly backup. When trimming occurs, files that were backed up but are no longer on your computer will be trimmed. This is the second caveat.
    Since this trimming is automatic rather than under your control TimeMachine isn't a good archival backup system. Two programs that I can recommend that do have true archival ability are CarbonCopyCloner and ChronoSync. Both allow you to decide what gets archived and how many archival periods to allow.

  • Lion won't install can't select hard drive that is used for time machine backups

    I installed Lion, agreed to the eula but both drives are greyed out. My Macintosh HD - ( this dirve is used for time machine backups) and my external drive (this drive does not use the GUID Partition Table scheme...). Though I don't use time machine, I tried turning it on and selecting the external drive with no luck. I'm stuck - any ideas?

    "Backups.backupdb" if the file in Time Machine.  As the discussion says, you have to find that file and trash it.  Try spotlight to locate it.  If that does not work, down load OmniDiskSweeper from the Internet (free) and go through an organized search to find "Backups.backupdb".  If that takes too long or is too tedious, then if you have everything backed up, erase the HDD and start from square one.
    Ciao.

Maybe you are looking for

  • ICloud is messing with my phone and now iStore says my card doesn't work.

    Okay. Where do I begin. I feel like a crazy person, Anyway. So all of this started when I got my MacBook Pro. I had just got a new e-mail so of course I want to update my iCloud account with the new e-mail and a new password. Seems easy enough but NO

  • New imac VS. 4 year old G5???

    Hello. I currently have a single processor 1.8ghz Power Mac G5. It is about 4 years old and running a little funny lately (im sure nothing yet another install and restore cant fix). I was looking at the specifications for the new imacs and noticed th

  • Program help will be very appreciated

    Hey, I am now in my first semester of java programming and I constructed this program (listed below), but when I went to hand in this assignment my professor stated that I was missing some key parts of the program and that I did not successfully answ

  • 2 questions on what's wrong and how to fix them

    I have been using sueface rt for quite some time now and recently, I've started facing issues with some areas and have been unable to find answers anywhere. hoping that someone will be able to help me with my problems as it is getting pretty irritati

  • [LVC bug] Crash when changing the position of a wire terminal in the icon tab

    Hi, in the attached VI, if I go to the icon tab and try to move the terminal "xa2" up, the GUI crashes. LVC version 1.0.0.50009 Nicola Attachments: do_generate_waveform.gvi ‏112 KB