{"id":3170,"url":"https://patchwork.libcamera.org/api/1.1/covers/3170/?format=json","web_url":"https://patchwork.libcamera.org/cover/3170/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200318152427.13126-1-kgupta@es.iitr.ac.in>","date":"2020-03-18T15:24:22","name":"[libcamera-devel,v4,0/5] libcamera: determine IPA_PROXY_PATH at runtime","submitter":{"id":39,"url":"https://patchwork.libcamera.org/api/1.1/people/39/?format=json","name":"Kaaira Gupta","email":"kgupta@es.iitr.ac.in"},"mbox":"https://patchwork.libcamera.org/cover/3170/mbox/","series":[{"id":733,"url":"https://patchwork.libcamera.org/api/1.1/series/733/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=733","date":"2020-03-18T15:24:22","name":"libcamera: determine IPA_PROXY_PATH at runtime","version":4,"mbox":"https://patchwork.libcamera.org/series/733/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/3170/comments/","headers":{"Return-Path":"<kgupta@es.iitr.ac.in>","Received":["from mail-pf1-x441.google.com (mail-pf1-x441.google.com\n\t[IPv6:2607:f8b0:4864:20::441])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 793DD60418\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Mar 2020 16:24:58 +0100 (CET)","by mail-pf1-x441.google.com with SMTP id x2so13709362pfn.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Mar 2020 08:24:58 -0700 (PDT)","from kaaira-HP-Pavilion-Notebook ([103.113.213.153])\n\tby smtp.gmail.com with ESMTPSA id\n\tc16sm7017297pfn.86.2020.03.18.08.24.46\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 18 Mar 2020 08:24:55 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=l7nhN0LBk1iD5ElNikb2Qbxaq/Xtt6lAtYENrJPRB88=;\n\tb=NwVTI6C6kIdxVk+/5UaFqjkyC0QX2XGv15qHln5UaWsTtFe5FZ+QatrYMbSuzeHSpA\n\tnYCU9ZtaaVGpI89tbR9b55KYmW/PtwlXbJNQcsz4IFHn607PXAsoHBGmvbj+IIxJ8w9n\n\t9LRPKzaJGghLDQ1u6q1wYvFNhvYAQT2N4a7mKsmhhZQsrS5C3uYFeCvM5QEKFrgvF9vW\n\tJAHa6iS+VWkiLaCqFxhO39mf2GAC0H5Q4aNrtdc3sePHjoQuclp6cwD+OaIx9zKsrGkG\n\tKclytge4z38K3LdGqbINJYaoTgU9Kzl4R3bbPD9bzHJCi6bA0T6Asrfm+MzCm5Osp6OG\n\tp3OA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=l7nhN0LBk1iD5ElNikb2Qbxaq/Xtt6lAtYENrJPRB88=;\n\tb=CwP92bYjz51kjB/svId1/6Lg+opAgkPjQ3J95tpIZFEARJXss+lLDy3QfiPh4JlHWs\n\tA80qdR+yPJW24wlFIgEXiR34s+9VFuz4yaBpqiT3sBNDv6PeFWuC/Gl35WKEm7RtERZo\n\tV67/aAYOJ/B5g9QvvyQLWBqZ01NxK9oN8mJUWiYLu93kHuviZDgFGuieJRZ2QXsXuxwN\n\tJvTBaa5QW/bHbClnDhLj1iDZ6bFq1UpUg0Rt1GOC+H+Ko1h/kTKF5Zp8rrzGvGrH9kVx\n\taTokJ4bNqNyMbN4EYpF5OkEfnVAD5JvKuPc+zVApa96Zy36f/ygFzdXUoZgzLJ7/b/lw\n\tjh5Q==","X-Gm-Message-State":"ANhLgQ2ecM00/Bha4eVMb/K0YnE788DENCTgSTwj2qnvEjjLCoEi17xd\n\ttl+gfVZTk9BbIVEYw5/Y4r/uwQ==","X-Google-Smtp-Source":"ADFU+vuJsPMoGxRnQMtSYSve5V4QE5KqIdAa2VNWI0HQl9dXC8BWZBPUNvrMfBvW8KN6UIEaBvaIaw==","X-Received":"by 2002:a63:64d:: with SMTP id 74mr5190288pgg.423.1584545096157; \n\tWed, 18 Mar 2020 08:24:56 -0700 (PDT)","From":"Kaaira Gupta <kgupta@es.iitr.ac.in>","To":"Vaishali Thakkar <vthakkar@vaishalithakkar.in>,\n\tHelen Koike <helen.koike@collabora.com>,\n\tkieran.bingham@ideasonboard.com, libcamera-devel@lists.libcamera.org","Cc":"Kaaira Gupta <kgupta@es.iitr.ac.in>","Date":"Wed, 18 Mar 2020 20:54:22 +0530","Message-Id":"<20200318152427.13126-1-kgupta@es.iitr.ac.in>","X-Mailer":"git-send-email 2.17.1","Subject":"[libcamera-devel] [PATCH LIBCAMERA v4 0/5] libcamera: determine\n\tIPA_PROXY_PATH at runtime","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Wed, 18 Mar 2020 15:25:01 -0000"},"content":"This is a series of patches to determine IPA_PROXY_PATH at runtime,\nremoving hard-coded LIBCAMERA_IPA_PROXY_PATH from test.cpp and making\nisLibcamerainstalled() and libcameraPath() utils' functions.\n\nChanges since v3:\nRenumbered the patches to account for the squashing patch 3 and 5 in one\npatch.\n\nPatch 1: No Changes.\nPatch 2: No changes.\nPatch 3: Squashed patch 5 with this patch. Rearranged headers\nalphabetically and used imperative in \\brief statements. Changed\nLibcamera to libcamera and wrapped lines at 80 characters.\nPatch 4: Re-wrote the commit message as per reviews, changed 'proxy' to\n'proxy workers', corrected the proxy workers' path, wrapped lines at\n80 characters, and added a return std::string() while checking the\ncondition !libcameraInstalled.\nPatch 5: No changes (previously patch 6).\n\nChanges since v2:\nPatch 1: No changes.\nPatch 2: No changes.\nPatch 3: Declared functions in utils.h and declared _DYNAMIC extern\noutside namespace libcamera\nPatch 4: No changes.\nPatch 5: No changes.\nPatch 6: No changes.\n\nChanges since v1:\nRenumbered the patches to account for two additional patches as\ndescribed below.\n\nPatch 1: Fixed whitespace problems.\nPatch 2: Fixed whitespace problems.\nPatch 3: NEW PATCH: Adds isLibcamerainstalled() and libcameraPath()\nas global functions in utils module.\nPatch 4: Earlier patch 3: fixed styling issues and used helper functions\nof utils instead of defining own functions.\nPatch 5: NEW PATCH: Replace isLibcamerainstalled() and libcameraPath()\nby helper functions defined in utils in ipa_manager\nPatch 6: Earlier patch 4: Fixed odd tab in comment description.\n\nKaaira Gupta (5):\n  libcamera: ipa_proxy: use utils::split()\n  libcamera: ipa_proxy: rearrange proxies precedence\n  libcamera: utils: Move libcamera build path lookup to utis\n  libcamera: ipa_proxy: search for proxy in build tree\n  tests: remove IPA_PROXY_PATH environment variable\n\n src/libcamera/include/utils.h |  4 +++\n src/libcamera/ipa_manager.cpp | 36 ++-----------------------\n src/libcamera/ipa_proxy.cpp   | 45 ++++++++++++++++++++++----------\n src/libcamera/utils.cpp       | 49 +++++++++++++++++++++++++++++++++++\n test/libtest/test.cpp         |  4 ---\n 5 files changed, 86 insertions(+), 52 deletions(-)"}