[makepkg] Question about split packages handling in makepkg

Hello
One question came to my mind, while I was looking at the vlc PKGBUILD. Does splitting packages have to be done in such a non efficient way? I mean, why do we have to delete for example, a directory, once make install has been issued, only to copy the removed parts by hand in the next function? Wouldn't it be better to just specify something like per-package %files section (like in RPM .spec files)? Is this approach possible in Arch without ditching all the work up to now? If there was any discussion about that, I would love to take part in it. I am also looking forward to listening some critical comments.

Allan wrote:How is providing a list of files to include more efficient that providing a list not to include?
If it was only about providing a list of files to include/exclude, it would be ok. However, as far as I know, when Makefile has only one install target and we have to separate some files, we have to install all first, and then remove parts which don't fit into the main package just to copy them back in place in the next package-foo2() function. It's like doing the same work twice. Is that right? If so, it could be quite problematic to package bigger projects. I'm kind of speculating here, because I can't name any of the "big projects", but I'm quite sure there are some out there. I hope I made my point clearly now.

Similar Messages

  • A question about creating packages as local objects in ABAP

    Hi,
    I have a question about creating packages with SE80. Whenever I create a new package it is assigned a new transport request. After that, I can create new programs inside this package, and each time I can choose whether to assign the new program to a transport request or just save it as a local object (I often do this for test programs that I don't transport and I remove them once my tests have been done).
    What I would like to ask is that, is it possible to create a package (and not just programs inside a given package) as a local object? so that every new object created in this package will be considered as a local object?
    Thanks in advane,
    Kind Regards,
    Dariyoosh

    Thomas Zloch wrote:
    Please also check the F1 help for the package field e.g. in SE80, SAP standard is in range A-S and U-X, namespaces start with "/", so you should be save. I am using the T namespace for temporary stuff since a long time and did not have a problem so far.
    > Thomas
    >
    > P.S. this applies to the package name only, of course
    Thank you very much for this remark, I checked F1 help for the package field and in fact as you mentioned these ranges are for local objects.
    Once again, thank you very much for your help.
    Kind Regards,
    Dariyoosh

  • Question about split group by in IQ16 SP08.

    Dear all,
    I have a customer who encountered performance of "union all view".
    As per our analysis, IQ optimizer does't split the Group By.
    [Query]
    select "EDPS_CSN","count"()
      from "adwown"."vw_adw_dpy111n_01"
      group by "edps_csn"
    As far as I know, There are some restrictions on the situations and queries that benefit from the split GROUP BY.
    But this view meets all restrictions.
    Please refer to the below URL.
    [Impact on query performance of GROUP BY over a UNION ALL]
    - http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00169.1520/html/iqperf/iqperf35.htm
      So I would like to know the following questions.
      1) How to enforce the split the group by.
      2) Any changes about split group by in IQ16 SP08?
      I failed to attach the query pland becuase it's extension is html.
      Any comments or advice will be greatly apprecaited.
      ** Base Table Rows
        1) ADWOWN.TB_ADW_DPY119N : 23,259
        2) ADWOWN.TB_ADW_DPY111N : 398,017,348
        3) ADWOWN.TB_ADW_DPY117N : 16,160,487
    Thanks
    Gi-Sung Jang

    The big issue is that the GROUP BY is on the view, not on the base tables.  At the time of optimization, we don't know always know the data distribution of the GROUP BY key.  At least we don't know whether or not each table in the UNION ALL has overlapping data for that column.  Consequently, you have to retrieve all data first, sort/order it, then run the group by.
    There are caveats to this, as your link provides.  But what is missing from your post is the logic of the view.  Can you provide that?
    Mark

  • Question about optimizing packages int Makepkg.conf

    I edited my Makepkg.conf file so that it knows that I have a Intel Core 2 Duo. Do I need to rebuild any packages? How do I go about it if I do?

    Ranguvar wrote:
    SkonesMickLoud wrote:
    slughappy1 wrote:Isn't prescott the right config for an Intel Centrino Core 2 Duo? That's what the guide says. Although, I once tried to install Gentoo. I think I remember that someone told me that prescott is just the current form, and that for the core 2 duo it was going to change. Or something like that
    Prescott is for the i686 version, Nocona is for x86_64.
    Note that this is, I'm pretty sure, independent of what architecture your OS is running (32-bit vs 64-bit).
    Yeah.  What I meant was that if you're running i686 on your Core2Duo it's a Prescott.  If you're running x86_64, it's a Nocona.

  • Question about how ExifMeta handles multivalued tags

    Hi,
    I have tested the ExifMeta (Great work, just what I needed!) to read face recognition data written by Picasa to RegionName, RegionType etc. fields in jpg metadata. Everything seems to work fine if there is only one name in the field but Picasa writes several values separated with commas like this:
    RegionName     John Doe, Jill Doll
    RegionType     Face, Face
    etc.
    In that case, the corresponding fields remain completely empty. So is this convention of writing several values separated by commas "standard" way of doing this? Is there any way to fix this?
    Additionally, three Region category tags refuse to load giving the following error:
    "Not updating due to error getting property, id: XMPmwgrs_RegionAppliedToDimensionsUnit, from: nil, to: pixel, err-msg: Attempt to access property "XMPmwgrs_RegionAppliedToDimensionsUnit" not declared in com.robcole.lightroom.ExifMeta's Info.lua"
    This is minor problem but it would be nice to know how to handle this kind of error in the future. Do I need to declare these in the lua-code if I need them?
    Looking forward to replies,
    Mikko

    Mikko,
    In future, please direct exif-meta specific questions to the exif-meta forum, or me personally.
    But a quick answer: exif-meta doesn't (by default) parse ("interpret") text values, so commas shouldn't be handled differently than any other text.
    The best way to find out what's going on is to invoke exiftool from the command line and inspect the output.
    My hunch is there is a zero character in there representing end-of-string, which can cause problems for lua code (e.g. Lightroom).
    If you send me one of your files which includes the face data, I'll have a look.
    PS - No clue about the 3 region tags (might be worth trying it with the latest version of exiftool) - please send me a file for inspection - thanks.
    Rob

  • Question about controlling both handles or one at a time

    I am using a trial version of Illustrator CS5 on Windows 7. I know how to select an anchor or its handle(s). But I do not know why I sometimes am controlling both of an anchors handles when I move one of them, or when I am moving only one at a time.
    My question is: how to make it so I move both handles at the same time or how to make it so I am only moving one at a time?

    yes you can use the direct select tool plus alt (option keys) or the convert anchor point tool to adjust only one handle at a time and you use the direct select tool without the alt (option key) to adjust both at the same time but be aware that once you adjust one of the anchor points independent of the other then you have made a corner (angle) anchor point and just using the direct select tool will not bring back the control over the two anchor points.
    That means you have t use the convert anchor point to convert it back to a smooth anchor point, which will require you to adjust the path in a radial way that is both segments on both sides of that anchor point will move out of the position and follow a different form than it had before converting to a smooth anchor point.
    The way around this is to go to the control Panel and use the button to convert to smooth anchor point which will give you a more desired result nd you can use the convert to corner anchor point button as well as yet another way of converting
    So you should experiment so you understand the use of the direct select tool the pen tool the convert anchor point tool and the keyboard controls and the control panel.

  • Basic questions about the CM handling of Photoshop

    I have some basic questions how Potoshop handles colour management. Most probably this has been discussed many times before, but frankly, the manual is pretty poorly written on this subject. I do understand the principle of colour management pretty well, but am not sure whether I understand what Photoshop is doing. So could somebody please comment whether my reasoning is correct or not.
    Let's assume my monitor is calibrated and its profile loaded in OSX's monitor preference panel. Let's further assume I'm working strictly in RGB.
    Is the following correct:
    • When I open a picture which has an embedded profile, then Photoshop first calculates the "true" values from the embedded profile (whatever this means) and from this point the screen representation based on the profile which I defined in the system pref pane. So the screen representation remains always the same, regardless of the embedded profile (besides some possible conversion artefacts, especially on the edges of the colour space).
    • The same holds true in the opposite direction, so when I work on that picture on screen, then no matter which RGB space I pick as my working space, the result will always be exactly the same (except those aforementioned artefacts).
    • Hence it doesn't matter which RGB colour space I choose as my working space, it could be sRGB, Adobe RGB, "my own wild profile", whatever, the results are always the same. Of course the RGB values will differ, but this will be compensated by the embedded profile.
    • Yet the theoretically best working space is the colour space of my monitor, because this minimizes possible artefacts.
    • When I "convert" the picture from one profile into an other, then not only that new profile is assigned and embedded, but also the RGB values are recalculated accordingly, so that the result will remain the same. For example, I could first "convert" a picture from the camera space to my monitor space, then work on it, and finally "convert" it to sRGB before uploading it to a web site.
    • When I "assign" a new profile, then a new profile is simply assigned and embedded but the RGB values are not adjusted. So the RGB values remain the same, but because a different profile is embedded, the picture will actually be changed. Since Photoshop will recalculate the screen representation based on that new profile (and the monitor profile), I will see this change on the screen. (This action doesn't make much sense, except maybe to simulate the possible outcome on a system which misinterprets the profile, e.g. assumes sRGB.)
    • And finally, when I leave the picture untouched but change the monitor profile in the system pref pane, then of course the picture will not change, but its screen representation will change, because Photoshop uses that profile to calculate the screen representation. (This action makes even less sense, of course.)
    Have I understood? Then I have two final questions:
    • When I open a RGB file without any profile in it, what does Photoshop assume? How does it calculate the screen display?  What does it do if I "convert" such a picture or "assign" a profile?
    • If I select in the colour settings as working color space the monitor space, then the colour managment rule for RGB changes to "Colour management off" and can't be changed to a different value. I don't understand this.
    Thanks for your patience.

    • Yet the theoretically best working space is the colour space of my monitor, because this minimizes possible artefacts.
    No.
    (Edit: Any one screen usually has to be considered incidental, changing and transient and is not the target-medium, so it makes little sense to work based on its specific limitations.)
    • When I open a RGB file without any profile in it, what does Photoshop assume? How does it calculate the screen display? What does it do if I "convert" such a picture or "assign" a profile?
    If one opens an unprofiled file, Photoshop treats it as if it had the profile selected under RGB-Working-Space embedded and calculates display and conversion on that basis.
    (Edit: And that’s the danger of unprofiled files – they would look different if someone edited them who used a different Working Space.)
    Assigning such a file a profile is no different from assigning a profiled image a different profile – the RGB-values remain unchanged, the »key« for interpreting them changes and subsequently it will be displayed differently.

  • Question about some packages in arch

    Hello
    Where do I report/ask about packages in arch *like in AUR there is a comment section*
    The reason is because well the package (sdl) didn't had PulseAudio support so I was wondering where to report it and KTorrents didn't bring any plug-ins with the package (plus I can't compile it since there is a phonon error I don't get)
    sorry if this wasn't the section,
    Thanks

    alright, thanks fukawi2, wonder
    well, i'm compiling them alright, but not ABS *need to read the wiki*
    Last edited by akurashy (2009-08-16 15:30:33)

  • Question about renamed packages in APEX 2.2

    A simple question. If the packages in 2.2 have been renamed, do I need to expect any problems upgrading to that version. Some of the HTMLDB_UTIL functions and procedures are used in my application code. Or you just kept the old names as synonyms?
    Denes Kubicek

    Hi Denes,
    Just found this in the documentation:
    In release 2.2, Oracle Application Express APIs were renamed using the prefix APEX_. Note that API's using the previous prefix HTMLDB_ are still supported to provide backward compatibility. As a best practice, however, use the new API names for new applications unless you plan to run them in an earlier version of Oracle Application Express.
    So you should not have any problems.
    Regards Pete

  • Some Question About Multiple Packages

    Dear javadoc users,
    I'm a newcomer here.
    I have some packages which contain many source files.
    I want to load them all and make the help file in a single list.
    A list like
    java.net
    java.io ......
    Would anyone be kind enough to tell me how I can implement this?
    I search all the faq about this. But I can't get enough hints.
    Thanks.

    Have you tried looking at these examples:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#options
    -Doug

  • Question about the packages for OS Linux

    Hi all,
    this is little weird question but I could not find the answer on net so trying to get some out here:
    I need to have list of package requires for oracle (9.2.0.4 & 10.2.0.4) vesion for OS Linux
    I know it is old versions of oracle but app and management requires this soon!! please guide!!
    thanks

    Hi,
    Below note mentioned required packages
    Requirements For Installing Oracle10gR2 On RHEL 5/OEL 5 (x86_64) (Doc ID 421308.1)
    For oracle 9i, below packages are required
    $ rpm –q make-3.79.1
    $ rpm –q gcc-3.2.3-34
    $ rpm –q glibc-2.3.2-95.20
    $ rpm –q compat-db-4.0.14-5
    $ rpm –q compat-gcc-7.3-2.96.128
    $ rpm –q compat-gcc-c++-7.3-2.96.128
    $ rpm –q compat-libstdc++-7.3-2.96.128
    $ rpm –q compat-libstdc++-devel-7.3-2.96.128
    $ rpm –q openmotif21-2.1.30-8
    $ rpm –q setarch-1.3-1
    Kernel parameters
    Kernel
    Parameter     Setting To Get
    You Started     Purpose
    Shmmni     4096     Maximum number of shared memory segments
    Shmall     2097152     Maximum total shared memory (Kb)
    Shmmax     2147483648     Maximum size of a single shared memory segment
    Semmsl     250     Maximum number of semaphores per set
    Semmns     32000     Maximum number of semaphores
    Semopm     100     Maximum operations per semop call
    Semmni     128     Maximum number of semaphore sets
    file-max     65536     Maximum number of open files
    ip_local_port_range     1024 - 65000     Range of ports to use for client connections
    rmem_default     1048576     Default TCP/IP receive window
    rmem_max     1048576     Maximum TCP/IP receive window
    wmem_default     262144     Maximum TCP/IP send window
    wmem_max     262144     Maximum TCP/IP send window
    For more information kindly refer installation guide
    Thanks,
    Krishna

  • Questions about split ..trying to extract 2 levels of OUs from distinguishedname

    Hallo .. I'm still on a voyage of self-discovery to teach myself Powershell. Be kind. 
    I'd like to extract two levels of OU names from a computer object's distinguished name in AD for a report. I'm getting .distinguishedname from get-adcomputer.
    I have this:  
            CN=COMPUTERNAME,OU=OU2,OU=OU1,OU=NOTWANTED,OU=NOTTHISEITHER,DC=FOO,DC=BAR,DC=COM
    ...and I'd like to pull out: 
           OU1
           OU2
    I'd like each assigned to its own variable. Through messing around I've been able to get a little of what I want using split:
           $OU = ($blah.DistinguishedName -split ",*..=")[2,3]
    This gives me both OU1 and OU2, but I can't figure out how to separate *that* into two separate values which I can assign to $OU1 & $OU2. 
    Is split even the right choice, or would a regular expression be the way to go? I confess I don't really understand those yet. 
    Examples would be welcome.
    Thanks much. 
    LW
    Lanwench ** Do not fold, spindle or mutilate. Fill in the box completely and erase any stray marks. Use only a #2 pencil.

    Nyuk. That's what you get when the liberal-arts majors go into tech!
    Following your logic I figured out how to add $OU3 also. Goody.
    Is it permissible to ask one more followup question in here or will I be beaten soundly? I'll risk it...
    So, I can now see that although *most* of our servers have a consistent number of 'parent' OUs, some don't. Meaning, it could be one of the following...
    CN=COMPUTERNAME,OU=OU3,OU=OU2,OU=OU1,OU=NOTWANTED,OU=NOTTHISEITHER,DC=FOO,DC=BAR,DC=COM
    CN=COMPUTERNAME,OU=OU2,OU=OU1,OU=NOTWANTED,OU=NOTTHISEITHER,DC=FOO,DC=BAR,DC=COM
    CN=COMPUTERNAME,OU=OU1,OU=NOTWANTED,OU=NOTTHISEITHER,DC=FOO,DC=BAR,DC=COM
    ...and I want to see *only* the OUs that are under OU=NOTWANTED. Children, I guess. 
    I tried filtering - 
    $container3=[adsi]$container2.Parent | | where-object {$_ -notlike "OU=NOTWANTED" }
    and that didn't work at all. No error, but I'm seeing NOTWANTED as part of my output.
    What is one of the many things I am probably doing wrong? 
    Lanwench ** Do not fold, spindle or mutilate. Use only a #2 pencil. Fill in the box completely and erase any stray marks.

  • Question about xmonad package in the repos.

    When I
    sudo pacman -S xmonad
    it installs xmonad and ghc goodness. But one thing that has always bothered me is that I had to hunt down a default .xmonad/xmonad.hs config file for xmonad. Can anyone explain why the package doesn't come with a default configuration file?

    xmonad's "default config" is no config.  i believe the file you want is buried somewhere in /usr under a different name.  if you poke around xmonad.org you can find the path/name to that file but also a copy/pastable (albeit older) version of it.
    i think it's done this way b/c the tweaking method is different with xmonad.  it's not like editing /etc/xmonad.hs and putting it in ~, you actually /load/ the defaults into ~/.xmonad/xmonad.hs and then /override/ them with your changes.  this is done with a simple main function like this:
    main = do
    xmonad $ defaultConfig
    and whatever's between { } (explicit commands or calling of functions) is passed through the defaultConfig, picking up any settings not yet set, then fed to xmonad.
    so unlike other WMs where you copy a default config and edit it from there.  in xmonad, you load the default config into yours with $ defaultConfig and put your tweaks (and only your tweaks) in xmonad.hs.  bit of a change in thinking.
    /edit: yes Xyne, i second Ashren.  it's a wonderful WM and haskell's awesome.  my xmonad.hs is available in my sig if you want it, i'm fairly proud of it.
    Last edited by brisbin33 (2009-07-31 16:49:10)

  • Question about Business packages of self service

    Dear all,
        I have installed correctly EP and ERP 6.0 EHP 4, now I would like to deploy the business packages of ESS/MSS in order to test it, for what I understood, I need to download the following:
    BP ERP05 ESS 1.41
    BP ERP05 MSS 1.41
    SAP ESS 603
    SAP PCUI_GP 603
    SAP MSS 600
       The porblem is that for every one business package in the marketplace, there are like 10 SCA files to download, do I have to download them all or only the latest one?
    Thank you very much

    always match your backend suport pack level with frontend using this matrix, this way it will be compatible
    you need to ensure they are on correct levels! Please check below
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/HOWTOGETRIDOFSPSTACKMISMATCHISSUES
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=31476

  • Question about message Packaging

    Hi experts,
    I am trying to setup message packaging to specific scenarios, but I have a doubt, I heard I had to define a filter and a job in transaction SXMSFILTER, but I dont really get why,
    do you have any explanations ?
    Kind regards,
    Jamal

    Kindly Refer:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/704de8f8-5806-2a10-10b5-c7b0d918822f
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/sandbox/message%252bpackaging%252bfor%252bintegration%252bprocesses
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b54994-f569-2a10-ad8f-cf5c68a9447c
    /people/william.li/blog/2008/03/07/step-by-step-guide-in-processing-high-volume-messages-using-pi-71s-message-packaging
    Hope this might be of some help to you.

Maybe you are looking for

  • How to add Software Library Location in OEM 11g to facilitate patching.

    Hi, I'd like to use patching deployment to patch a gold copy oracle home, that is not being actively used. I'm tryingt to configure the deployment setup and on the screen where it says. Information You are adding a Software Library location for the f

  • O.T.  Useful Site To Bookmark For User Manuals

    The following site claims to have 1 million manuals available for free download. Good selection of 'recent' camera models. http://safemanuals.com/

  • Alarms: Misconfigured Network Device Detected

    Hi, We have 2 ISE (HA) and 2 WLC (primay Secondary) configured in our network. In ISE i am getting this error 12929 NAS sends RADIUS accounting update messages too frequently.  Please help!!!! :) Regards Jass

  • Billing based on Position Payer  (re-posted again)

    Hello, Let me explain my doubt. Our customer, the way of working, after creating sales order with documents flow, is modify de Payer at position level and later create again the Proforma billing, and the final billing. This crash with the standard wa

  • Experiencing Problem with Model Viewer

    Hello, When accessing the model viewer in the Visual Test and Repair POD we get a popup stating: Windows has blocked this software because it can't verify the publisher: Name: index.jsp Publisher: Unknown IE does download this add on by adjusting Act