From owner-freebsd-ports@freebsd.org Thu Sep 22 13:44:26 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79254BE596B for ; Thu, 22 Sep 2016 13:44:26 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5A7136CF for ; Thu, 22 Sep 2016 13:44:26 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 56615BE596A; Thu, 22 Sep 2016 13:44:26 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5602DBE5969 for ; Thu, 22 Sep 2016 13:44:26 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB2F96CD for ; Thu, 22 Sep 2016 13:44:25 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id l132so149307627wmf.1 for ; Thu, 22 Sep 2016 06:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=JIujdOI2V9gM5wKIJ1NJJJLboRhz0NTys10hHvfpCDE=; b=kbAIO8C+k4bZOqJdjUjjuy0H42jXefHLdFWmsYCIQSxlVBZisrTuWv44S0v8xjatlb jqgarj1p3jX0zU6AG1aVbYwCg3eU0F3hZUGclKcKPlQUlzSaLVaFd3zXqiGa2kmlDGl3 VI1mzBAyKtBgvdiJdTr8HxQDzVX3uEc7fOzQwwQRp44zr/z4Wbx/wtUmdwD5oSEK7KVO 1cKeF9rnKf4AzAzpC1bTdPfbSZEOjHLjRbSFcf+oXOs8zs7tVWbCFlwZ3c4Z7kAvArsP mzPLITX0S5j5Fw61Q+TFgdy5kf/U7+Wvv5MrFsBfETYebVK0qAz0lEzsemMW23nkWLz+ okqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JIujdOI2V9gM5wKIJ1NJJJLboRhz0NTys10hHvfpCDE=; b=NxK5QIsKRgs+lZpndEa2I/OKIwIw0PIzpbUxFFqV78BN7Itjtoy7dleJimOhl6Pj8O h7OCo33y2CLcjnlxrzsOaw35XGPISCqHZKtrPp1akEcqsaAnv2t0vTQLwWxQoHyF+1iR cXTRg4ugesvavIXFbmSHyhWeYrVg2jcE4edEV4hxsIpFNDTfmosVe4dpaXL1YKwZUZ06 usIhAjpPfm3duDT/KbyedXpWt/X99FunCq8tqZOK9d58OodAk0wyTbuVdp9WVO8dO+1b xHS70jzwIDsZ+4oq8jrn3ykhLEk+L5rQS8a6BH6o8ohYPdRxuetj6Q5J5Zfnvd/kqDb5 1ZRw== X-Gm-Message-State: AE9vXwPiIeILqixW7DckpqgTHljtCiHthyi3inChckXr9a6nqoj5wqRQur+dJoNW9GYgLrMKqKJSnckOwJV95A== X-Received: by 10.28.193.130 with SMTP id r124mr7774246wmf.90.1474551864317; Thu, 22 Sep 2016 06:44:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.148.131 with HTTP; Thu, 22 Sep 2016 06:44:23 -0700 (PDT) From: Michael Zhilin Date: Thu, 22 Sep 2016 16:44:23 +0300 Message-ID: Subject: [eclipse plugins] proposal of layout To: Jimmy Kelley , ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2016 13:44:26 -0000 Hi, Hope you're doing well! I've tried to make ports for few Eclipse plugins: https://github.com/Cka3o4Huk/fbsd-ports-addons/commit/56d4fdc19fd915dacc049b52e8cbf0b94b696c96 Before I've used installation via update sites, i.e. via Eclipse mechanism. But I've found few disadvantages of such approach: - it results in mess of plugins in .eclipse/org.eclipse.../plugins folder. - lack of native support for CDT. CDT doesn't provide FreeBSD support by default, so it requires additional OSGi fragments to bring FreeBSD support. Such fragments can be easily added to ports. As result, I've made bit of work to prepare ports. Here is brief description of porting approach: - NO_BUILD: port downloads ready plugins & features from update sites - dropins: no surprise, port installs downloaded files into share/eclipse//eclipse/{features,plugins} - dependencies: port also downloads/installs dependencies not present in ports (like emf or birt) in share/eclipse//eclipse folder. - distinfo: plugins & features are downloaded separately, file by file. So it results in huge list of files in distinfo. - new plugins: to port new plugin, I start clean Eclipse instance and install plugin in question via update site. Then fill variables PLUGINS/FEATURES/DEPS of Makefile accorging to ~/.eclipse/org.eclipse../{features,plugins} folders. I would like to hear your thoughts about it. May be it's waste of time and best way to install Eclipse plugins is still to use update site. Thank you in advance! P.S. CDT fragments to bring FreeBSD support is in testing now, I'll realize them soon.