[Solved] How to include examples for an AUR package

Hi,
I read the wiki pages how to create packages for the AUR,
but I am not sure how to include examples which should be placed
in /usr/share/doc/<package>/examples/ after the package was installed.
Should all files be mentioned in the "sources" variable of the PKGBUILD
or is it better to copy them via the .install file?
Last edited by fana (2012-01-22 17:38:41)

fana wrote:Ah, I see. So a good way would be just providing a tarball with all the examples and add that tarball to the source array
Yup, I don't see how are these are examples different [1] from the other files.
[1] Well, apart from stuff like https://bugs.archlinux.org/task/25998 ;P

Similar Messages

  • (SOLVED) How do I remove dependencies of AUR packages?

    I rather not use sudo and thereof I issue a 'makepkg' instead of a 'makepkg -s' and install dependencies manually. I wonder though what happens when I issue a 'pacman -Rns' to remove an AUR package. Pacman doesn't seem to remove the dependencies. Do I need to issue a 'makepkg -s' in order to automagically remove dependencies with 'pacman -Rns'? What about AUR packages that have other AUR packages as dependency and therefor cannot be installed with 'makepkg -s'?
    Last edited by Kasumi_Ninja (2010-01-03 13:39:51)

    I haven't fully thought this through but I would like --asdeps to take an argument that specifies 'to what'. 
    For example: wicd has an optional dependency for notifcation-daemon, which I want.  I would like to be able to
    pacman -S --asdeps='wicd' notification-daemon
    This would then modify wicd to depend on notification-daemon.  This isn't perfect since it is an optional and not a real dependency.  The only real problem I can think of is if I want to remove notification-daemon.  However pacman should see 'notification-daemon' listed under dependencies AND optional-dependencies, so it could give a warning and an option to go ahead anyway.  If it goes ahead, pacman reverts wicd to nolonger depend notification-daemon.  I feel like it should be pretty easy to add this to pacman.
    I feel like something like yaourt would be responsible for asking if I want to install optional dependencies.  So when I install something with yaourt it asks me about each optional dependency and if I want it. 
    Just my two cents.

  • Scenario : How to include scales for delivery schedule

    Hello,
    1.How to include scales for delivery schedule
    Example u2013 I have a total SA for 10000 EA for Rs 10 EA
                  i.     When SA line And GR  is for 0-100 system should take  Rs 10 EA
                 ii.     When SA line and GR is for 101-1000 System should Rs 9.50 EA
                 iii.     When SA line and GR is for 1001-5000 system should take Rs 9.00 EA.
    How to do ?
    Regards
    sapman man

    Hi,
    This you have to maintain in Scheduling agrement document itself.
    In scheduleing agreement (ME31L)--> Pricing Condition Icon.  if you select this there you can find the scales assignemnt in headel leavel icon. (F2).
    If assgin this will fllow in delivery schedule line.
    SAM

  • How to include scales for delivery schedule.

    Hello,
    How to include scales for delivery schedule.
    a.       Example u2013 I have a total SA for 10000 EA for Rs 10 EA
                                                                   i.      When SA line And GR  is for 0-100 system should take  Rs 10 EA
                                                                 ii.      When SA line and GR is for 101-1000 System should Rs 9.50 EA
                                                                iii.      When SA line and GR is for 1001-5000 system should take Rs 9.00 EA.
    Normaly SA will calculate Scales based on target qty, not delivery schedule qty?
    Regards
    sapman man

    Hello SAPman man ,
    Please read SAP Note 401941. This could be helpful depending on what Release you are running.
    SAP Note 401941 -  Incorrect price at time of GR
    I hope this information has been helpful for you.
    Best Regards,
    Frank

  • How to include contextMenu for whole swf

    Hi everybody,
         Let me know How to include contextMenu for whole swf?

    I have a similar problem.
    Stand alone my Sprites custom context menu always works. I can instantiate it using code, and nest it 'n' levels deep.
    When I add it to my main application, a default context menu is shown.   The main application is very complex - as it's a design application similar to Balsamiq Mockups - so every individual widget has a stand alone test harness.   This has been working very well as a way of coping with the size and complexity of the main application. But the context menu thing just doesn't work in the main application, and from the documentation I've seen nothing that suggests I should have had any problems including else wher.
    Please, please if anyone knows why in some scenarios a context menu stops working and the default context menu is shown instead then please share as I'm at the point of tearing my hair out on this....

  • [SOLVED] Any guidelines for changing AUR package name?

    I have TTWM in the AUR, and I'm changing the name to Alopex.
    I can revise the PKGBUILD to change the name, and put ttwm-git in the "replaces" and/or "conflicts" array, but when I submit this to the AUR will there then be two AUR packages?
    There is no need for the ttwm-git package to remain in the aur as they will be identical - it's just a name change.  I don't want to needlessly clutter the AUR, so if there are any guidelines or best practices for renaming AUR packages, let me know.
    Last edited by Trilby (2013-04-20 11:12:07)

    If the wiki is unclear, please edit it https://wiki.archlinux.org/index.php/AUR#Other_requests
    Package merging has been implemented, users still have to resubmit a package under a new name and may request merging of the old version's comments and votes on the mailing list.

  • [yaourt] Keep sources/build files only for specific AUR packages

    Hi,
    By default, packages are build in BUILDDIR=/tmp/makepkg, which itself usually is a virtual dir in RAM. I generally like this behaviour, so I don't wanna change the BUILDDIR variable to point to a dir on the harddisk, but for a few packages I'd welcome the sources/build dir to be kept, e.g. for *-git packages to reduce build time on consecutive updates. Is there a neat Arch-way to tell the makepkg system to use a different dir (i.e., one on the harddisk) for specific packages? It'd be even greater to be able to use wildcards as well, so I could just enable this option for all *-git packages.
    And as I said, I generally like the idea of building in RAM so the trick to just let BUILDDIR point to a dir on my hdd and put a command in some shutdown-script to delete all but the directories ending in -git wouldn't be perfect
    Cheers
    Last edited by epinephrine (2013-01-27 16:25:17)

    Oh you're right in that BUILDDIR isn't set by default. I use yaourt for building AUR packages, so this is a yaourt related question, oops. I'll ask in the appropriate forum...
    Some packages are only available as git packages, and that for a good reason. Some git repository maintainers follow the good working principle to always have their master branch stable and deployable and do development and testing in respective branches to keep master clean. E.g. I maintain 2 git packages on the AUR, and there are no other "stable" options, also as git makes sense for these packages.
    And sometimes you just need a more up2date version

  • [Solved] how to patch source file from AUR for gcc46 ?

    In a topic from yesterday, I was seeking help to get AUR package 'insight' installed, but so far no luck, since there seems to be a bug in the source that won't work with the gcc47 compiler.  I'm posting this new topic, since the subject has changed a bit - I'm now trying to compile gcc46 because another user had success with that version in compiling the 'insight' package, and I need to patch the gcc46 source to get it to compile.
    I'm looking for help to fix the problem myself, or if anyone wants to create a new PKGBUILD to handle the problem, that would be nice too
    Originally, I thought I would try to install gcc42 from AUR and use that to run makepkg on the 'insight' app, since one user had success with this version of gcc.  Both gcc42 and gcc46 give me the same errors with an 'unwind' file, and I couldn't get either to compile (errors about unwind.h or linux-unwind.h).
    I found a post with a link to a patch (for gcc46), but I have no idea where to apply or how to apply this patch.  I think I'm supposed to apply it to this file, but again, I'm not sure how to apply a patch:
    /home/briphi/builds/gcc46/src/gcc-4.6.3/gcc/unwind-dw2.c
    , but this c file has includes to other "unwind" header files.  Here is a link to the unwind-dw2.c file at my dropbox folder, if anyone needs to see this file without downloading/compiling gcc46: http://dl.dropbox.com/u/8169867/unwind-dw2.c
    Sticking with gcc46 for the moment (since I found the patch for this version)...
    The post with the link to the patch to gcc46 is here: https://bbs.archlinux.org/viewtopic.php … 0#p1229880
    The patch at pastebin.com is here: http://pastebin.com/VkgE27Pd and looks like this:
    --- a/gcc/config/i386/linux-unwind.h 2011-01-03 20:52:22.000000000 +0000
    +++ b/gcc/config/i386/linux-unwind.h 2012-07-06 12:23:51.562859470 +0100
    @@ -133,9 +133,9 @@
    struct rt_sigframe {
    int sig;
    - struct siginfo *pinfo;
    + siginfo_t *pinfo;
    void *puc;
    - struct siginfo info;
    + siginfo_t info;
    struct ucontext uc;
    } *rt_ = context->cfa;
    /* The void * cast is necessary to avoid an aliasing warning.
    The package that I'm actually trying to install is 'insight', here: https://aur.archlinux.org/packages/insight/
    My error when compiling (running makepkg -s on gcc46) looks like this:
    /home/briphi/builds/gcc46/src/gcc-build/./gcc/xgcc -B/home/briphi/builds/gcc46/src/gcc-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -g -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. -I../.././gcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/. -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../include -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS
    In file included from /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/unwind-dw2.c:333:0:
    /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’:
    /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h:138:17: error: field ‘info’ has incomplete type
    make[3]: *** [unwind-dw2.o] Error 1
    make[3]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build/i686-pc-linux-gnu/libgcc'
    make[2]: *** [all-stage1-target-libgcc] Error 2
    make[2]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build'
    make[1]: *** [stage1-bubble] Error 2
    make[1]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by stringchopper (2013-02-15 08:29:39)

    Lone_Wolf wrote:
    @ stringchopper
    The file(s) that need patching are mentioned in the patch, so you don't have to know yourself where they are.
    patch files like these are usually applied from the directory where you build stuff.
    On your system that is probably this folder :   /home/briphi/builds/gcc46/src/gcc-4.6.3/
    for details about the command used to apply the patch, t0m5k1's link above should help.
    Thanks Lone_Wolf for the help.  I'm suffering from information overload at the moment, so (@t0m5k1) even though I found the same results that you found through google, they weren't explicit enough.

  • [SOLVED] How to set the packager name for an AUR package?

    Hi,
       I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
    E.g. when you request info about some package
        $ pacman -Qi somepkg
    there is a line
        Packager: Unknown Packager
    that specifies the packager.
    How do I set this "Packager" info so that any user installing my package will see what I want?
    Last edited by lisztinf (2014-04-13 13:39:43)

    Thanks for the answer.
    I guess that when I run
       $ makepkg
    in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
    However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
    If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?

  • [SOLVED]How to include a .Changelog file in a package?

    I want to include a .Changelog file in a package I'm building. But in the wiki, it only mentions that it could exist, and not how to include it.
    Someone knows how to do it?
    Last edited by mcsilva (2010-02-21 14:39:05)

    just put a file named `ChangeLog` in the same directory as PKGBUILD and makepkg
    Edit: wonder It did take me a minute to validate my assumption.
    Last edited by lolilolicon (2010-02-21 12:46:24)

  • How to include events for LO

    Hi,
    Is there a way to include events for standard LO data sources ?
    There are a list of events that are available for 2LIS_02_ITM and it records all the delta changes as per the events.For 2LIS_02_SCN there is only one event available which triggers only when a purchase order is saved or changed. But since there is no event available for GRn and Invoice reciept for this content no changes are recorded when a GR is done for a Purchase order.
    I wish to include events for 2LIS_02_SCN same as 2LIS_02_ITM, is there a way to do so ? Thanks.

    Hi,
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    LOGISTIC COCKPIT DELTA MECHANISM - Episode two: V3 Update, when some problems can occur...
    LOGISTIC COCKPIT DELTA MECHANISM - Episode three: the new update methods
    LOGISTIC COCKPIT - WHEN YOU NEED MORE - First option: enhance it !
    LOGISTIC COCKPIT: a new deal overshadowed by the old-fashioned LIS ?
    differences between LIS & LO
    lis and los
    LIS &LO
    Drawbacks of LIS  compare to LO
    Difference between various queues
    difference b/w lo&lis
    Business Content and other extractors : difference?
    Also go through this link to know the procedure step by step
    http://www.sap-img.com/business/lo-cockpit-step-by-step.htm
    Use LO job control /LBWE to schedule V3 jobs.
    LO-JOB CONTROL
    job controls
    LO-JOB CONTROL
    Delta Job Control
    LO Cookpit: when to set Job Control?
    Regarding Job Control in LBWE for Dueued Delta
    Job control
    job control
    Job Control
    Job control
    job control
    LBWQ and RSA7
    question on LBWQ and RSA7
    RSA7 Delta queues
    RSA7 Delta queues
    full update
    For advantage of LO over LIS, go through this thread
    Lo extraction

  • Customized license for an AUR package

    Hello community,
    yesterday I stumbled upon a very cool LaTeX package for creating commutative diagrams. I found it very useful and thus wanted to create an AUR package for it, but unfortunately it has a somewhat unusual license. Here it is:
    %% COPYRIGHT NOTICE: %
    %% This package may be copied and used freely for any academic %
    %% (not commercial or military) purpose, on condition that it %
    %% is not altered in any way, and that an acknowledgement is %
    %% included in any published work making substantial use of it. %
    %% IT IS SUPPLIED "AS IS", WITHOUT WARRANTY, EXPRESS OR IMPLIED. %
    %% If you are doing something where mistakes cost money (or where %
    %% success brings financial profit) then you must use commercial %
    %% software, not this package. In any case, please remember to %
    %% keep several backup copies of all files, and check everything %
    %% visually before sending final copy to the publishers. %
    %% You may use this package as a (substantial) aid to writing an %
    %% academic research or text book on condition that %
    %% (i) you contact me at a suitable time to ensure that you have %
    %% an up-to-date version (and any infelicities can be fixed), %
    %% (ii) you send me a copy of the book when it's published. %
    Also the source code is mostly kind of closed (you might take a look at http://www.paultaylor.eu/diagrams/diagrams.sty ). I contacted the author and asked whether it would be possible to change the license to some similar but more common license. Unfortunately it seems that the code needs much clean up before it can be published and the author doesn't have the time and resources to take care of it. Thus a closed license similar to the current license would be needed.
    So I'd like to ask whether there is a common license similar to the above and if not, whether I can still create an AUR package for it (and what license I should use in this case).
    Thanks,
    PhotonX
    Last edited by PhotonX (2012-07-06 08:42:42)

    I don't know if it is commonly used for software/code, but I don't think a creative commons license requires source distribution while an "Attribution + Noncommercial + NoDerivatives (by-nc-nd)" creative commons license seems to provide the restrictions the author is aiming for.  This would allow for the use of a clear and established license.
    Note: I just found a CC FAQ that advises against using it for software.  Though the reason seems to be that the license does not make any specific mention of source/object code thus it is not an open source license.  However, if one want's a closed license, that may do it ... it's at least worth considering.
    It also may be worth considering whether the code in this project uses previously GPL'ed code/tools which I'm pretty sure it would.  If that's the case then I believe it must also be GPL.  ("I beleive" = don't take my word on this ... but this should be looked into).
    EDIT: come to think of it, no actual "software" is being distributed as there is no compiled version of this.  What is being distributed is a document.  It is a style document with instructions that are interpreted by other software.  That other software could be, but need not be, a GPL'ed latex compiler.  It could be any sort of markup compiler that can work with latex-like instructions.  Anyhow, the point is what is to be protected is not a resulting program, but the text contents of the sty document itself.  Thefore a simpler document copyright would be more fitting than a software license, wouldn't it?  So, I would recommend a creative commons variant.  This allows others to use his sty document while (optionally) requiring attribution, disallowing modification of the sty document, and disallowing commercial use.
    EDIT2: following from the above, with a comparison - this is like distrubuting campaigns or other plugins for the GPL'ed game Battle for Wesnoth.  The artwork can be, and often is, under a more restrictive copyright of the author/creator.  A sty document seems more like the artwork and added levels of Wesnoth than additional software.
    EDIT3: another comparison would be distributed CSS styles.  These are (if anything) under document copyright not software license.
    Last edited by Trilby (2012-07-06 14:29:51)

  • Missing Code from How Tou0085Display All Comments for a Planng Package

    Hi,
       There is a how to paper "How To…Display All Comments for a Planng Package" come out recently, but I notice that the code part is missing in the appendix section,Please fix that.

    Dear All,
    I have two questions:
    1) For the first IFRAME Version I got the same error Message as described above. Is there a solution for that available. Has somebody worked out how to use the first Version of the IFRAME coding?
    2) In case of the second alternative I simply get nothing to see in the IFRAME when starting the WEB Interface. Did someone faced the same problem and how was this solved.
    Thank you for every hint and help.
    Kind Regards Marco Beckers
    Message was edited by: Marco Beckers
    To 1) I still get the message. Any help is appriciated.
    To 2) The problem can be fixed if you choose cell selection for the document type.
    Another point: Under the I Frame I ccan not add any further web components. Does somebody have the same problem? How can this be resolved?
    Thanks and Regards Marco Beckers

  • Systemd gurus-want include x.service in AUR packages. proof read plz

    I don't use systemd myself, but I want to expand the functionality of my AUR packages by including a x.service file for them.  Attached are the proposed ones which need someone with systemd experience to proof read and comment.
    Monitorix
    [Unit]
    Description=A lightweight system monitoring tool that uses rrd databases.
    Wants=local-fs.target
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    ExecStart=/etc/rc.d/monitorix start
    ExecStop=/etc/rc.d/monitorix stop
    [Install]
    WantedBy=multi-user.target
    Monitorix-sync-daemon
    [Unit]
    Description=Symlinks and syncs monitorix databases to RAM thus reducing HDD/SDD calls and speeding-up monitorix.
    Wants=local-fs.target
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    ExecStart=/etc/rc.d/msd start
    ExecStop=/etc/rc.d/msd stop
    [Install]
    WantedBy=multi-user.target

    Dheart wrote:...
    Someone should add this to "READ BEFORE POSTING"
    This is not Ubuntu forum. You shouldn't EVER post such howto on the forum, we have a wiki for that reason. That thing you've written should go the wiki and then post a topic at wiki discussions and ask for opinion.
    Please, don't do that again, just contribute to the wiki.
    Yes, I'm quite aware that the wiki exists. The reason I'm writing it here is that the GUI frontends will probably come quite soon, and overall this is an early version. I don't see a reason to contribute this to the wiki when it will probably be unneeded and out-of-date relatively soon.

  • How to Include JRE with our Setup Package

    please help me,
    i have created one swing application.i successfully created setup.exe using installsheild 11.It is working in my machine.when i run this in another machine .it is not working.iam using some external jar also in the appln.i put that jars into the jre/lib/ext in destination machine's directory then it works.
    i want to include JRE with my setup package(first the setup should find whether the jre is installed or not ,if not it must insall JRE and put my external jar files into jre/lib/ext directory in destination machine then only my appln should insall).please give me a solution for this

    What?!! It isn't considered legal to access a
    root-level class from a higher level package?Well it's not now because your code won't compile, but
    prior to 1.4 you could. I think the JLS has been
    updated to say you can't import from the unnamed
    namespace.Hmm! I must have missed that bit (not that I read it in any great detail, anyway!). I suppose it forces you to use packages, which is a good thing, IMHO.
    What I was wondering about was, is the directory structure of classes strictly necessary, given that a class contains information on its package anyway? I know some IDEs don't require the source files to be in the right directory - they will check on the package statement, and locate the class file accordingly - but is it absolutely necessary for class files to be located according to their directory structure? I know the JLS says they have to be, but could the JLS be relaxed on this point, without breaking anything?
    RObin

Maybe you are looking for

  • How to put the alv output into the spool request?

    Hi guys, How to put the alv output into the spool request? Thanks!

  • Bug: updating a view with a CLOB column results in ORA-01461

    Here is a database script to create a table and a view: CREATE TABLE TEST_CLOB(ID NUMBER, TEXT CLOB); CREATE OR REPLACE VIEW VTEST_CLOB AS SELECT ID, TEXT FROM     SELECT ID, TEXT     FROM TEST_CLOB     WHERE ID IN (SELECT 1 FROM DUAL) The following

  • Need Help: Identifying RBAC Job Roles

    Hi, My company has developed a solution that helps the deployment of RBAC in Enterprise User Administation systems, i.e., the kind of software that would allow you to centally control, and automate the provisioning of privileges to users across the e

  • IPad screen unresponsive with boxes around icons????

    OK so I was browsing some photos in my iPad (Current Gen) on the 500px photo app. The app became unresponsive and was missing buttoms normally there, so I clicked the home button and got to the home screen. Once I did this, I was unable to scroll bet

  • Adobe CS5 Photoshop Resources

    Hi, where are the CS5 Adobe Photoshop articles like these for CS4? OPTIMIZE PHOTOSHOP CS4 PERFORMANCE (updated for CS5) http://kb2.adobe.com/cps/404/kb404440.html CS4 SUPPORTED VIDEO CARDS http://kb2.adobe.com/cps/405/kb405711.html OPEN GL FEATURES a