Advice/Review for PKGBUILD

Hi,
I'm in the process of creating my first package build. It's for this application: http://www.danielgm.net/cc/
# Maintainer: Johannes Sauer <joh.sauer(at)gmail(dot)com>
pkgname=cloudcompare-git
pkgver=2.5.0.r438.g8456e58
pkgrel=1
pkgdesc="CloudCompare is a 3D point cloud (and triangular mesh) processing software"
arch=('i686' 'x86_64')
url="http://www.danielgm.net/cc/"
license=('GPL2')
depends=('qt4' 'glu' 'mesa')
makedepends=('git' 'cmake')
optdepends=('pcl')
source=("git+https://github.com/cloudcompare/trunk")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/trunk"
git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
build() {
cd "$srcdir/trunk"
[[ -d build ]] && rm -r build
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_QPCL_PLUGIN_DOCUMENTATION=ON \
-DINSTALL_QPCL_PLUGIN=ON \
-DINSTALL_QSRA_PLUGIN=OFF \
-DINSTALL_QPOISSON_RECON_PLUGIN=OFF \
-DINSTALL_QHPR_PLUGIN=OFF \
-DINSTALL_QRANSAC_SD_PLUGIN=OFF \
-DINSTALL_QKINECT_PLUGIN=OFF \
-DINSTALL_QBLUR_PLUGIN=OFF \
-DINSTALL_QEDL_PLUGIN=OFF \
-DINSTALL_QPCV_PLUGIN=OFF \
-DINSTALL_QDUMMY_PLUGIN=OFF \
-DINSTALL_QSSAO_PLUGIN=OFF
make
package() {
cd "$srcdir/trunk/build"
make DESTDIR="$pkgdir/" install
It's building and I'm able to run the program. But I still have trouble with the paths. Nacmap says:
cloudcompare-git W: File (usr/ccViewer/) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/CloudCompare) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/shaders/) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/license.txt) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/history.txt) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/plugins/) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/plugins/libQPCL_PLUGIN.so) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/shaders/ColorRamp/) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/shaders/bilateral.vert) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/shaders/bilateral.frag) exists in a non-standard directory.
cloudcompare-git W: File (usr/CloudCompare/shaders/ColorRamp/color_ramp.frag) exists in a non-standard directory.
cloudcompare-git W: File (usr/ccViewer/ccViewer) exists in a non-standard directory.
cloudcompare-git W: File (usr/ccViewer/shaders/) exists in a non-standard directory.
cloudcompare-git W: File (usr/ccViewer/license.txt) exists in a non-standard directory.
cloudcompare-git W: File (usr/ccViewer/shaders/ColorRamp/) exists in a non-standard directory.
cloudcompare-git W: File (usr/ccViewer/shaders/ColorRamp/color_ramp.frag) exists in a non-standard directory.
cloudcompare-git W: Referenced library 'libCC_CORE_LIB.so' is an uninstalled dependency
cloudcompare-git W: Referenced library 'libQCC_DB_LIB.so' is an uninstalled dependency
cloudcompare-git E: ELF file ('usr/CloudCompare/CloudCompare') outside of a valid path.
cloudcompare-git E: ELF file ('usr/CloudCompare/plugins/libQPCL_PLUGIN.so') outside of a valid path.
cloudcompare-git E: ELF file ('usr/ccViewer/ccViewer') outside of a valid path.
cloudcompare-git W: Dependency pcl detected but optional (libraries ['usr/lib/libpcl_segmentation.so.1.7', 'usr/lib/libpcl_filters.so.1.7', 'usr/lib/libpcl_recognition.so.1.7', 'usr/lib/libpcl_search.so.1.7', 'usr/lib/libpcl_common.so.1.7', 'usr/lib/libpcl_io.so.1.7', 'usr/lib/libpcl_features.so.1.7'] needed in files ['usr/CloudCompare/plugins/libQPCL_PLUGIN.so'])
I guess I have to copy the files separately  to the right directories? Where can I find a nice description of this?
I only use the PCL plugin, but I included the options for other plugins in case somebody wants to use them. But I don't know what there dependencies are.
Thanks in advance!

Alright, now it's working fine. PKGBUILD:
# Maintainer: Johannes Sauer <joh.sauer(at)gmail(dot)com>
pkgname=cloudcompare-git
pkgver=2.5.0.r450.g7cb1649
pkgrel=1
pkgdesc="A 3D point cloud (and triangular mesh) processing software"
arch=('i686' 'x86_64')
url="http://www.danielgm.net/cc/"
license=('GPL2')
depends=('qt4' 'glu' 'mesa')
makedepends=('git' 'cmake')
optdepends=('pcl')
source=("git+https://github.com/cloudcompare/trunk")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/trunk"
git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
build() {
cd "$srcdir/trunk"
[[ -d build ]] && rm -r build
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt \
-DBUILD_QPCL_PLUGIN_DOCUMENTATION=ON \
-DINSTALL_QPCL_PLUGIN=ON \
-DINSTALL_QSRA_PLUGIN=OFF \
-DINSTALL_QPOISSON_RECON_PLUGIN=OFF \
-DINSTALL_QHPR_PLUGIN=OFF \
-DINSTALL_QRANSAC_SD_PLUGIN=OFF \
-DINSTALL_QKINECT_PLUGIN=OFF \
-DINSTALL_QBLUR_PLUGIN=OFF \
-DINSTALL_QEDL_PLUGIN=OFF \
-DINSTALL_QPCV_PLUGIN=OFF \
-DINSTALL_QDUMMY_PLUGIN=OFF \
-DINSTALL_QSSAO_PLUGIN=OFF
make
package() {
cd "$srcdir/trunk/build"
make DESTDIR="$pkgdir/" install
mkdir -p "${pkgdir}/usr/lib"
mv "${pkgdir}/opt/lib/"* "${pkgdir}/usr/lib"
rm -r "${pkgdir}/opt/lib/"
mkdir -p "${pkgdir}/usr/bin"
cd "$pkgdir/usr/bin"
ln -s "../../opt/ccViewer/ccViewer"
ln -s "../../opt/CloudCompare/CloudCompare"
namcap:
namcap cloudcompare-git-2.5.0.r450.g7cb1649-1-x86_64.pkg.tar.xz
cloudcompare-git E: ELF file ('opt/CloudCompare/CloudCompare') outside of a valid path.
cloudcompare-git E: ELF file ('opt/CloudCompare/plugins/libQPCL_PLUGIN.so') outside of a valid path.
cloudcompare-git E: ELF file ('opt/ccViewer/ccViewer') outside of a valid path.
cloudcompare-git W: Dependency pcl detected but optional (libraries ['usr/lib/libpcl_recognition.so.1.7', 'usr/lib/libpcl_io.so.1.7', 'usr/lib/libpcl_search.so.1.7', 'usr/lib/libpcl_common.so.1.7', 'usr/lib/libpcl_features.so.1.7', 'usr/lib/libpcl_filters.so.1.7', 'usr/lib/libpcl_segmentation.so.1.7'] needed in files ['opt/CloudCompare/plugins/libQPCL_PLUGIN.so'])
Now I can submit it?

Similar Messages

  • The battery for my macbook pro 13 says "service battery".  Now I want to get a replacement but the reviews for it are horrible! Does anybody have any suggestions?

    The battery for my macbook pro 13 says "service battery".  Now I want to get a replacement but the reviews for it are horrible! Does anybody have any suggestions? I don't want to spend 130 dollars on something I'm going to have to replace in less than a year (which is what normally I been reading)  I do design work and I take my mac everywhere.  Having to always look for a plug or having to be constantly plugged in doesn't sound ideal to me.  Please help me. what should I do???

    Why does it matter if it a scam????? I'll let you figure that out by yourself.  If I'm going to replace it, why should I be contempt with a battery that I have to replace within months (as stated by some people in the comments). The issue here is not if I should or not replace it OBVIOUSLY I'm going to have to before it starts going crazy.  The underlying issue is why is the replacement battery for a lack of better words " a bit crap."  It comes with a 3 month guarantee?? Is that a joke?!??!?! Some people complained it malfunction after only 8- 9 months? I'm sorry but as an Apple fan I think it's absolutely rubbish. I know there is no magic cure I'm just hoping someone shines the light on how crappy this replacement is.

  • I can't rate or write a review for app on the app store. It allows me to write out the review but does not diplay my review after sending it. Can anyone point me in the right direction to get answer as apply refuse to reply or solve my problem. Thanks

    I can't rate or write a review for app on the app store. It allows me to write out the review but does not diplay my review after sending it. Can anyone point me in the right direction to get answer as apply refuse to reply or solve my problem. Ps thanks apple for ur ignorance

    I have the same problem with another TeamLava app, Fashion Story.

  • Error Message When Leaving Review For Apps Downloaded Using a Different Country App Store

    DEVICES AND SOFTWARE:
    iPhone 6 Plus iOS 8.1.2, Macbook Air 11" 2013 OSX 10.10.2, iTunes 12.1.0.50
    DESCRIPTION:
    When attempting to leave a review for an App that has been previously downloaded or purchased using a different country store but on the same Apple ID - the user receives an error message. The issue stems from the App not being in the Purchase History of the presently associated country store as purchase history is country dependent rather than Apple ID dependent.
    STEPS:
    1. Login the App Store on iTunes or iOS Device using an Apple ID associated with a country.
    2. Download an App for the first time using said Apple ID.
    3. Change the country of said Apple ID.
    4. Attempt to leave a review of the previously downloaded app.
    EXPECTED RESULTS:
    A user should be able to leave a review to an App he/she has previously downloaded whilst the Apple ID is associated with a different country. The App Store button should show Downloaded after the country change and the App should continue to be displayed in the Purchase history. In other words the purchase history should not be country dependent but Apple ID dependent.
    ACTUAL RESULTS:
    User gets an error message indicating that the app needs to be downloaded or purchased first.
    NOTES:
    I have tried deleting my reviews from the original country store, and yet I am still not able to leave a review. Please make the purchase history dependent on the Apple ID rather than the Country Store. If this is not possible, provide a way for users to remove to delete the purchase history from the previous country store(s) - so these apps can appear on their current country store's purchase history. Thus they would be able to leave reviews for these apps.

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple. If you want to leave feedback for Apple : http://www.apple.com/feedback/itunesapp.html

  • HT201991 How does one write a review for an app?

    I would like to write a review for an app I bought from the App Store.
    "Locate the item that you would like to write a review for."
    Where? In the App Store via the internet (e.g. on my iMac), OR via the App Store button on my iPad Mini?
    "Click "Write a Review" in the Customer Reviews section."
    How? I could find no active link associated with the Customer Reviews section once I had located the item for which I wanted to write a review.
    So the question remains "How does one write a review for an app?" … and, so far as things stand, the instructions provided in the page <http://support.apple.com/kb/ht3928> are, as far as I can tell useless. Certainly, the Apple website and associated instructions have become, for this long-time user, more akin to Microsoft Windows in their impenetrable lack of intuitive, user-friendly ccharacter.
    Oh yeh. To add to my 'disgruntledness' … How come there is no iPad Mini option in the Product drop down below?
    Where is Steve Jobs when you need him?!

    I have been having this issue for months, now--at least 3-4.  I updated my credit card info on my account, thinking maybe that would do it, but NOPE--can't review a single thing I've ever purchased in iTunes--not from my iPhone 5, PC or iPad 2.  Ridiculous, at this point...just remove the ability to review at all, if this is how it's going to be. SO frustrating.

  • App Store showing "0 reviews" for apps

    Don't know if it's just me, but ever since a few days ago, the App Store seems to show "0 reviews" for every app I look at, no matter how many reviews there are. I am talking about when you select an app and are reading about it, just below the screenshot is a line that says "Reviews: xx reviews >" and you click on to actually see the reviews. For me, xx has been 0 for the past several days. Yet if I click on it, I see the (non-zero) reviews.

    i noticed that too on my ipod touch, i wonder whats going on?
    Message was edited by: blackbelt534

  • Cannot write review for app in App Store

    For some reason I cannot write a review for an app in App Store. I get:
    "We could not complete your Tunes Store request. An unknown error occured (5002). There was an error in the iTunes Store. Please try again later."

    same here, I questioned apple about it, but just got a runaround...
    "I'm sorry you ran into error 5002 when you tried to use write a comment on the iTunes Store. I can certainly appreciate your concern and I am delighted to assist you with this today.
    Roy, this error was caused by a temporary issue with the iTunes Store that should be resolved now. Please check the iTunes Store again. All features should be working well.
    If the problem persists, or if you have other questions or concerns, please don't hesitate to contact me again, Roy. I hope you continue to enjoy all the features that the iTunes Store has to offer. Have a great day!"

  • Advice No for Bank Transfer In ECC 6.0

    Hello Experts,
    I have a quick question. Is SAP able to generate the Unique Advice No in the ECC 6.0?
    If yes, can anyone please let me know where it is stored?
    All inputs are appreciated and rewrded......
    Thanks in advance......
    Thanks,
    Janga K.

    Hi Yu Chen,
    Thanks for replying.....
    So in ECC 6.0 system doesnt generate any Unique Advice No for each Pernr?
    If that is the case...... is there any other way that we can customize or generate our own Advice No?????
    Thanks,
    Janga K.
    Edited by: Janga k on Jun 4, 2010 10:38 PM

  • Since purchasing my iPhone 5 one year ago, I'm unable to leave reviews for any app

    I purchased my iPhone 5 one year ago. Since then I can't leave a review for any app. I contacted iTunes &amp; they said it was the particular app. However, it's every single app. I can't leave a review for any at all. What's up? Is there something that's turned off in my settings?

    I deleted the app multiple times, and restarted my phone, I even did a complete restore...nothing worked, UNTIL I changed my password once again...I had changed my password 3 times in an attempt to get it to work, and not until I changed it for the fourth time last night did the app finally accept my new credentials
    It was such a goofy bug, but I'm glad to be rid of it...thanks all!

  • How to rate and give review for the product in SharePoint Contoso demo site by the customer/user from publishing site?

    Hi,
    I am new to SharePoint, and am working on Contoso demo site.
    I want to know where to give star rating and review for the product in SharePoint Contoso demo site. Even after spending enough hours i didn't find solution for this problem. All the answers i got was changing the List/Library settings -> Rating settings,
    if i follow that, i get the rating column displayed in my catalog site. How can i bring it on my publishing site and let the customers give rating or review for the product from publishing site. Is there any OOTB feature in sharepoint or it shoul be customized.
    Thanks in advance. 
    Akshaya

    Are you using the Content Search Web Part?  Just tweaking that once the source library has had the rating column applied should work.  Have you tried this?
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Automating Shared Review for Reader using the Acrobat 9 SDK

    I am new to the Acrobat SDK as well as writing plug-ins.
    However, I have been tasked with implementing a "Shared Review" in Reader for collaborative proofing.  I understand how to do this using the "Send for Shared Review" wizard in Acrobat, however I need to automate this process.  The PDFs that will be proofed in a "Shared Review" session using Reader are generated from a hot folder process, so there is no physical end user to run the Acrobat 9 "Send for Shared Review" for every PDF.  I need to automate this process.
    I was told that the SDK would allow this, but at the same time I have read some posts that claim this can not be done in the SDK and LiveCycle is required.
    Can someone confirm that the SDK can enable a PDF for "Shared Review"?  If so, how is this done?
    If it can not be done, is the only option LiveCycle or can an Acrobat macro be written to simulate the "Send for Shared Review" wizard?
    Thanks in advance.

    Is it technically feasible?  Yes, but it is far from simple.
    Is it possible?  Probably not.
    In order for Reader to load a plug-in, that plug-in must contain a certificate provided to you by Adobe after completing the "RIKLA" process (Reader Integration Key License Agreement).  Part of this process is a team at Adobe reviewing the purpose of your plug-in to verify that it does not try to duplicate functionality available in Acrobat.  For this reason, I don't think your plug-in would be approved.  You should certainly submit a RIKLA application anyways just to make sure (you can do this before you start with any code so you're not wasting effort if it gets declined).
    You can find the RIKLA info here:
    http://www.adobe.com/devnet/reader/ikla.html

  • Why my full name appears when I write a review for an app?

    When I write a review for an app, my full name appears! I would like to use a pseudo but it seems that I can't!
    Does somebody have/had the same problem?

    I just wrote a review to see what happens.  The name under your review will be the same name as it appears in this forum.  Only way to change that is to create a new forum account with the name you would like to appear in the reviews.

  • Can't post reviews for some apps in app store

    Hello
    Several times I've wanted to post a review for an app I own and have on my iPhone (there's an "Open" box in the app description), but when I get finished writing the review and try to post it I get a message saying that I must own it in order to post a review.
    I read somewhere that it only works to post reviews if you don't select the number of stars until after you try to post it, but I've tried this and it doesn't help.
    Other times I can post reviews with no problems (for other apps). 
    Any suggestions?
    Thanks!

    Please, can someone help me?
    I'm not the only one having this problem:
    http://forums.toucharcade.com/showthread.php?t=4670
    http://getsatisfaction.com/apple/topics/itunes_application_store_lying
    Unfortunately, no answers there.

  • Why can't I see reviews for app updates on iPad 3rd gen since iOS 7 update?

    Why can't I see reviews for app updates on iPad 3rd gen since iOS 7 update?

    AAfter an hour with Apple chat, I figured out what to do on my own.  When the iPhone and iPad go to autolock, press home key and do not open- streaming will be on the screen and I turned it back on.  No more stops.

  • Adobe Captivate 5.5: Quiz Review for Correct and Uncorrect answers

    Hello,
    While making a quiz on Captivate 5.5, I couldn't set a review for correct and uncorrect answers. This in order to explain the correct answer.
    The review area only appears when the question is not answered. I would like to know how I can fix this or a simple trick to make text appear only when reviewing the question.
    Thanks!

    Hi and welcome to the forum,
    For Quizzes you can customize the immediate feedback by editing the Success/Failure captions. However for Review, if the user has given an incorrect answer the Text Caption has always the same content, it will indicate the given answer and the correct answer. Out of the box there is no possibility to adapt this Review message so that is more personalised for each question.
    If you do not mind some more work, I blogged about customising the Review messages. Feel free to have a look:
    Customise review messages
    Lilybiri

Maybe you are looking for

  • Dropdown list default value  in Visual Composer

    Hi all  , i have dropdown list in my Visual composer layout  i have values coming like 2001 to 2014 ,everything is fine . i need to display default value in the dropdown list should be curent year like 2009when i deploy the application by default the

  • Sent items option missing in settings

    Hi, I'm trying to help out a friend who has been having problems with their BT Yahoo email account that was compromise a few months back. They have gone through the suggested steps (http://bt.custhelp.com/app/answers/detail/a_id/394​11/) to ensure th

  • Which is better group by or for all entries in

    We have more than 11 Lac Records in AUFM table. I am working on a Report to find SO to Production Order to AUFM (for raw material). It's ALV OOP. Which code will give better result - For AUFM fetch with key AUFNR. GROUP BY matnr OR FOR ALL ENTRIES IN

  • ITunes doesn't open when using cached domain profile

    I have iTunes 10.5.2.11 installed on my Windows 7 machine. When I am connected (via a LAN) to the Active Directory domain, iTunes works fine, opens etc. However, when I login to the laptop at home using my cached domain profile, iTunes does not load,

  • Magma-box and DAQ PCI 6034E card

    I had installed a magma-box (64-bit 2 Slot Series) on my laptop. And I installed NI-DAQ 7.1. Than I had plug the PCI-6034E card in the magma-box. My laptop identify the PCI-6034E daq card in the Device Manager; but with a yellow exclamation point and