* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2018-09-13 17:19 Michał Górny
0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2018-09-13 17:19 UTC (permalink / raw
To: gentoo-commits
commit: c6880019d5b32d439391bbd26120141a30a7aa59
Author: David Hallas <david <AT> davidhallas <DOT> dk>
AuthorDate: Wed Aug 8 19:32:49 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 13 17:18:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6880019
dev-cpp/sourcetrail: New package
Sourcetrail is a cross-platform source explorer for C/C++ and Java code.
It makes it easy to navigate a codebase in an intuitive way.
Closes: https://bugs.gentoo.org/663036
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9513
dev-cpp/sourcetrail/Manifest | 1 +
dev-cpp/sourcetrail/metadata.xml | 15 ++++
dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild | 89 ++++++++++++++++++++++++
3 files changed, 105 insertions(+)
diff --git a/dev-cpp/sourcetrail/Manifest b/dev-cpp/sourcetrail/Manifest
new file mode 100644
index 00000000000..02dc9406177
--- /dev/null
+++ b/dev-cpp/sourcetrail/Manifest
@@ -0,0 +1 @@
+DIST sourcetrail-2018.3.55.tar.gz 74278615 BLAKE2B e046acfb90cdb495ff28c3dcf4530129cc569a0e9c481f127f656059f80575e4be22e9b63a8b6f00ffdac977ca930ad7a3c4d0e1aa7912af711150afbef03707 SHA512 b8fccc4bae55abf5c5a05418b37c665817c860cc27e314f8ccb69665a63b90ef68485c2395fc899f1112a05def8e95068d7a5c92db399f1d3f7a203a09107767
diff --git a/dev-cpp/sourcetrail/metadata.xml b/dev-cpp/sourcetrail/metadata.xml
new file mode 100644
index 00000000000..1e96a507061
--- /dev/null
+++ b/dev-cpp/sourcetrail/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>david@davidhallas.dk</email>
+ <name>David Hallas</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers Project</name>
+ </maintainer>
+ <use>
+ <flag name="examples">Install example projects.</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild b/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild
new file mode 100644
index 00000000000..16d87f9d558
--- /dev/null
+++ b/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop gnome2-utils xdg-utils
+
+DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
+HOMEPAGE="https://www.sourcetrail.com/"
+SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
+
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples selinux"
+
+DEPEND="dev-util/patchelf"
+
+RDEPEND="
+ dev-libs/openssl
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng:1.2
+ sys-libs/libudev-compat
+ virtual/opengl
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ selinux? ( sys-libs/libselinux )
+"
+
+S="${WORKDIR}/Sourcetrail"
+QA_PREBUILT="*"
+
+src_install() {
+ # This removes the rpath entries with $$ORIGIN
+ # since they trigger warnings when merging
+ for f in "Sourcetrail" "sourcetrail_indexer"; do
+ rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
+ new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
+ patchelf --set-rpath "${new_rpath}" "${f}" || die
+ done
+
+ # Remove bundled libraries
+ rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
+ lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
+ lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
+ lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
+ lib/libpng12.so.0 lib/libselinux.so.1
+ insinto /opt/sourcetrail
+ doins -r EULA.txt README data lib plugin
+ if use examples; then
+ doins -r user
+ fi
+ exeinto /opt/sourcetrail
+ doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
+ into /opt
+ newbin - sourcetrail <<-EOF
+ #! /bin/sh
+ exec /opt/sourcetrail/Sourcetrail.sh "\$@"
+ EOF
+ local size
+ for size in 48 64 128 256 512; do
+ newicon -s ${size} "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
+ "sourcetrail.png"
+ done
+ sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' "setup/share/applications/sourcetrail.desktop" || die
+ sed -i -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" || die
+ domenu "setup/share/applications/sourcetrail.desktop"
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-02-04 13:42 Andreas Sturmlechner
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Sturmlechner @ 2019-02-04 13:42 UTC (permalink / raw
To: gentoo-commits
commit: d58ac35454622d22e8a3e2ab27b599d82692a42d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 4 13:41:29 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 4 13:41:29 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58ac354
dev-cpp/sourcetrail: Drop old
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild | 89 ------------------------
1 file changed, 89 deletions(-)
diff --git a/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild b/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild
deleted file mode 100644
index 16d87f9d558..00000000000
--- a/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop gnome2-utils xdg-utils
-
-DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
-HOMEPAGE="https://www.sourcetrail.com/"
-SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
-
-LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="examples selinux"
-
-DEPEND="dev-util/patchelf"
-
-RDEPEND="
- dev-libs/openssl
- media-libs/fontconfig
- media-libs/freetype
- media-libs/libpng:1.2
- sys-libs/libudev-compat
- virtual/opengl
- x11-libs/libdrm
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libxcb
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXrender
- x11-libs/libXxf86vm
- selinux? ( sys-libs/libselinux )
-"
-
-S="${WORKDIR}/Sourcetrail"
-QA_PREBUILT="*"
-
-src_install() {
- # This removes the rpath entries with $$ORIGIN
- # since they trigger warnings when merging
- for f in "Sourcetrail" "sourcetrail_indexer"; do
- rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
- new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
- patchelf --set-rpath "${new_rpath}" "${f}" || die
- done
-
- # Remove bundled libraries
- rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
- lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
- lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
- lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
- lib/libpng12.so.0 lib/libselinux.so.1
- insinto /opt/sourcetrail
- doins -r EULA.txt README data lib plugin
- if use examples; then
- doins -r user
- fi
- exeinto /opt/sourcetrail
- doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
- into /opt
- newbin - sourcetrail <<-EOF
- #! /bin/sh
- exec /opt/sourcetrail/Sourcetrail.sh "\$@"
- EOF
- local size
- for size in 48 64 128 256 512; do
- newicon -s ${size} "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
- "sourcetrail.png"
- done
- sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' "setup/share/applications/sourcetrail.desktop" || die
- sed -i -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" || die
- domenu "setup/share/applications/sourcetrail.desktop"
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
-}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-02-04 13:42 Andreas Sturmlechner
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Sturmlechner @ 2019-02-04 13:42 UTC (permalink / raw
To: gentoo-commits
commit: 07fad24c94cfa6f66609acf2647720976d6522d5
Author: David Hallas <david <AT> davidhallas <DOT> dk>
AuthorDate: Fri Jan 11 07:06:05 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 4 13:41:00 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fad24c
dev-cpp/sourcetrail: Adjust openssl dependency
Adjust openssl dependency to depend on =dev-libs/openssl-1.0*:*.
The Sourcetrail package is built agains openssl-1.0.1 so depending
on =dev-libs/openssl-1.0*:0 should match the correct version.
Closes: https://bugs.gentoo.org/674788
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: David Hallas <david <AT> davidhallas.dk>
Closes: https://github.com/gentoo/gentoo/pull/10777
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../sourcetrail/sourcetrail-2018.3.55-r1.ebuild | 89 ++++++++++++++++++++++
1 file changed, 89 insertions(+)
diff --git a/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild b/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
new file mode 100644
index 00000000000..07a989c7d93
--- /dev/null
+++ b/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop gnome2-utils xdg-utils
+
+DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
+HOMEPAGE="https://www.sourcetrail.com/"
+SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
+
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples selinux"
+
+DEPEND="dev-util/patchelf"
+
+RDEPEND="
+ =dev-libs/openssl-1.0*:*
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng:1.2
+ sys-libs/libudev-compat
+ virtual/opengl
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ selinux? ( sys-libs/libselinux )
+"
+
+S="${WORKDIR}/Sourcetrail"
+QA_PREBUILT="*"
+
+src_install() {
+ # This removes the rpath entries with $$ORIGIN
+ # since they trigger warnings when merging
+ for f in "Sourcetrail" "sourcetrail_indexer"; do
+ rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
+ new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
+ patchelf --set-rpath "${new_rpath}" "${f}" || die
+ done
+
+ # Remove bundled libraries
+ rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
+ lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
+ lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
+ lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
+ lib/libpng12.so.0 lib/libselinux.so.1
+ insinto /opt/sourcetrail
+ doins -r EULA.txt README data lib plugin
+ if use examples; then
+ doins -r user
+ fi
+ exeinto /opt/sourcetrail
+ doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
+ into /opt
+ newbin - sourcetrail <<-EOF
+ #! /bin/sh
+ exec /opt/sourcetrail/Sourcetrail.sh "\$@"
+ EOF
+ local size
+ for size in 48 64 128 256 512; do
+ newicon -s ${size} "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
+ "sourcetrail.png"
+ done
+ sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' "setup/share/applications/sourcetrail.desktop" || die
+ sed -i -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" || die
+ domenu "setup/share/applications/sourcetrail.desktop"
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-04-19 12:55 Michał Górny
0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2019-04-19 12:55 UTC (permalink / raw
To: gentoo-commits
commit: 20a2c0e883ff8474ade2a6ebbc79b3294410b289
Author: David Hallas <david <AT> davidhallas <DOT> dk>
AuthorDate: Tue Feb 5 18:05:58 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 12:55:05 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a2c0e8
dev-cpp/sourcetrail: Bump to 2019.1.11
Add ebuild for Sourcetrail 2019.1.11.
No ebuild changes compared to 2018.3.55-r1.
Signed-off-by: David Hallas <david <AT> davidhallas.dk>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10410
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-cpp/sourcetrail/Manifest | 1 +
dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild | 89 ++++++++++++++++++++++++
2 files changed, 90 insertions(+)
diff --git a/dev-cpp/sourcetrail/Manifest b/dev-cpp/sourcetrail/Manifest
index 02dc9406177..14d514b02ed 100644
--- a/dev-cpp/sourcetrail/Manifest
+++ b/dev-cpp/sourcetrail/Manifest
@@ -1 +1,2 @@
DIST sourcetrail-2018.3.55.tar.gz 74278615 BLAKE2B e046acfb90cdb495ff28c3dcf4530129cc569a0e9c481f127f656059f80575e4be22e9b63a8b6f00ffdac977ca930ad7a3c4d0e1aa7912af711150afbef03707 SHA512 b8fccc4bae55abf5c5a05418b37c665817c860cc27e314f8ccb69665a63b90ef68485c2395fc899f1112a05def8e95068d7a5c92db399f1d3f7a203a09107767
+DIST sourcetrail-2019.1.11.tar.gz 76120891 BLAKE2B 865c8a510a544705e130e3ec7bc82f1e7ca16d4dee2fa27849dd3530a92a20ef47ed909765ac08c8106ee0e992e3b4a03e79ef7094fb1593c4088b7d8e356423 SHA512 9022873572aef796fcbacf079c37b916d645aacd1479cc79fcddbfd8c561d0004c97202c46812b60d8c539dae3d68bd805da101678ebd1518ce13c3e58009ac9
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
new file mode 100644
index 00000000000..07a989c7d93
--- /dev/null
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop gnome2-utils xdg-utils
+
+DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
+HOMEPAGE="https://www.sourcetrail.com/"
+SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
+
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples selinux"
+
+DEPEND="dev-util/patchelf"
+
+RDEPEND="
+ =dev-libs/openssl-1.0*:*
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng:1.2
+ sys-libs/libudev-compat
+ virtual/opengl
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ selinux? ( sys-libs/libselinux )
+"
+
+S="${WORKDIR}/Sourcetrail"
+QA_PREBUILT="*"
+
+src_install() {
+ # This removes the rpath entries with $$ORIGIN
+ # since they trigger warnings when merging
+ for f in "Sourcetrail" "sourcetrail_indexer"; do
+ rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
+ new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
+ patchelf --set-rpath "${new_rpath}" "${f}" || die
+ done
+
+ # Remove bundled libraries
+ rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
+ lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
+ lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
+ lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
+ lib/libpng12.so.0 lib/libselinux.so.1
+ insinto /opt/sourcetrail
+ doins -r EULA.txt README data lib plugin
+ if use examples; then
+ doins -r user
+ fi
+ exeinto /opt/sourcetrail
+ doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
+ into /opt
+ newbin - sourcetrail <<-EOF
+ #! /bin/sh
+ exec /opt/sourcetrail/Sourcetrail.sh "\$@"
+ EOF
+ local size
+ for size in 48 64 128 256 512; do
+ newicon -s ${size} "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
+ "sourcetrail.png"
+ done
+ sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' "setup/share/applications/sourcetrail.desktop" || die
+ sed -i -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" || die
+ domenu "setup/share/applications/sourcetrail.desktop"
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-06-01 8:16 Michał Górny
0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2019-06-01 8:16 UTC (permalink / raw
To: gentoo-commits
commit: ab9454d813250a5be90de81260c776c536debfcf
Author: David Hallas <david <AT> davidhallas <DOT> dk>
AuthorDate: Sat Jun 1 06:30:24 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 08:15:51 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab9454d8
dev-cpp/sourcetrail Add RESTRICT to prohibit mirroring
Add RESTRICT keyword so that we do not mirror the tarballs because of
license issues. Also remove FDL license since the ebuild doesn't install
any files with that license.
Closes: https://bugs.gentoo.org/687018
Signed-off-by: David Hallas <david <AT> davidhallas.dk>
Closes: https://github.com/gentoo/gentoo/pull/12145
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild | 3 ++-
dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild b/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
index 07a989c7d93..75402064800 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
@@ -9,10 +9,11 @@ DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
HOMEPAGE="https://www.sourcetrail.com/"
SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
-LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 BSD"
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples selinux"
+RESTRICT="mirror bindist"
DEPEND="dev-util/patchelf"
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
index 07a989c7d93..75402064800 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
@@ -9,10 +9,11 @@ DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
HOMEPAGE="https://www.sourcetrail.com/"
SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
-LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 BSD"
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples selinux"
+RESTRICT="mirror bindist"
DEPEND="dev-util/patchelf"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-06-14 17:46 Thomas Deutschmann
0 siblings, 0 replies; 10+ messages in thread
From: Thomas Deutschmann @ 2019-06-14 17:46 UTC (permalink / raw
To: gentoo-commits
commit: f7c217d68dce6662899b8e846391f9d80e792d85
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 19:02:12 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 17:46:35 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c217d6
dev-cpp/sourcetrail: Permit dev-libs/openssl-compat
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild | 5 ++++-
dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild b/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
index 75402064800..1e5bf5c07ac 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
@@ -18,7 +18,10 @@ RESTRICT="mirror bindist"
DEPEND="dev-util/patchelf"
RDEPEND="
- =dev-libs/openssl-1.0*:*
+ || (
+ dev-libs/openssl-compat:1.0.0
+ =dev-libs/openssl-1.0*:*
+ )
media-libs/fontconfig
media-libs/freetype
media-libs/libpng:1.2
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
index 75402064800..1e5bf5c07ac 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
@@ -18,7 +18,10 @@ RESTRICT="mirror bindist"
DEPEND="dev-util/patchelf"
RDEPEND="
- =dev-libs/openssl-1.0*:*
+ || (
+ dev-libs/openssl-compat:1.0.0
+ =dev-libs/openssl-1.0*:*
+ )
media-libs/fontconfig
media-libs/freetype
media-libs/libpng:1.2
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-06-27 12:49 Michał Górny
0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2019-06-27 12:49 UTC (permalink / raw
To: gentoo-commits
commit: fe7ba9df2ed8770afd2125efffd5f697bd73f9b6
Author: David Hallas <david <AT> davidhallas <DOT> dk>
AuthorDate: Thu May 30 14:17:22 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 12:49:19 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7ba9df
dev-cpp/sourcetrail: Bump to 2019.2.39
Closes: https://bugs.gentoo.org/687014
Signed-off-by: David Hallas <david <AT> davidhallas.dk>
Closes: https://github.com/gentoo/gentoo/pull/12135
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-cpp/sourcetrail/Manifest | 1 +
dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild | 92 ++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/dev-cpp/sourcetrail/Manifest b/dev-cpp/sourcetrail/Manifest
index 14d514b02ed..77c70263998 100644
--- a/dev-cpp/sourcetrail/Manifest
+++ b/dev-cpp/sourcetrail/Manifest
@@ -1,2 +1,3 @@
DIST sourcetrail-2018.3.55.tar.gz 74278615 BLAKE2B e046acfb90cdb495ff28c3dcf4530129cc569a0e9c481f127f656059f80575e4be22e9b63a8b6f00ffdac977ca930ad7a3c4d0e1aa7912af711150afbef03707 SHA512 b8fccc4bae55abf5c5a05418b37c665817c860cc27e314f8ccb69665a63b90ef68485c2395fc899f1112a05def8e95068d7a5c92db399f1d3f7a203a09107767
DIST sourcetrail-2019.1.11.tar.gz 76120891 BLAKE2B 865c8a510a544705e130e3ec7bc82f1e7ca16d4dee2fa27849dd3530a92a20ef47ed909765ac08c8106ee0e992e3b4a03e79ef7094fb1593c4088b7d8e356423 SHA512 9022873572aef796fcbacf079c37b916d645aacd1479cc79fcddbfd8c561d0004c97202c46812b60d8c539dae3d68bd805da101678ebd1518ce13c3e58009ac9
+DIST sourcetrail-2019.2.39.tar.gz 84960185 BLAKE2B a515da1a0c6a061d7db843b9bef3b1d419fdbea361c4f5465d32a4a9bfc018575a334de739354de2e249facb7ea6d342329c445990173303fce4fb818da8131d SHA512 5603d7c2fe84c58a13dc682bad6bdbd807b15a9fd7c73c6633f8a7d9e051a660916b3a03b9a5244e2cb4243492586d555a98f0cc464f7405c02f36ef655c8959
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild
new file mode 100644
index 00000000000..3989b699749
--- /dev/null
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg-utils
+
+DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
+HOMEPAGE="https://www.sourcetrail.com/"
+SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
+
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples selinux"
+RESTRICT="mirror bindist"
+
+DEPEND="dev-util/patchelf"
+
+RDEPEND="
+ || (
+ dev-libs/openssl-compat:1.0.0
+ =dev-libs/openssl-1.0*:*
+ )
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng:1.2
+ sys-libs/libudev-compat
+ virtual/opengl
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ selinux? ( sys-libs/libselinux )
+"
+
+S="${WORKDIR}/Sourcetrail"
+QA_PREBUILT="*"
+
+src_install() {
+ # This removes the rpath entries with $$ORIGIN
+ # since they trigger warnings when merging
+ for f in "Sourcetrail" "sourcetrail_indexer"; do
+ rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
+ new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
+ patchelf --set-rpath "${new_rpath}" "${f}" || die
+ done
+
+ # Remove bundled libraries
+ rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
+ lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
+ lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
+ lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
+ lib/libpng12.so.0 lib/libselinux.so.1 || die
+ insinto /opt/sourcetrail
+ doins -r EULA.txt README data lib plugin
+ use examples && doins -r user
+ exeinto /opt/sourcetrail
+ doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
+ into /opt
+ newbin - sourcetrail <<-EOF
+ #! /bin/sh
+ exec /opt/sourcetrail/Sourcetrail.sh "\$@"
+ EOF
+ local size
+ for size in 48 64 128 256 512; do
+ newicon -s "${size}" "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
+ "sourcetrail.png"
+ done
+ sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' \
+ -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" \
+ "setup/share/applications/sourcetrail.desktop" || die
+ domenu "setup/share/applications/sourcetrail.desktop"
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-09-23 17:09 Joonas Niilola
0 siblings, 0 replies; 10+ messages in thread
From: Joonas Niilola @ 2019-09-23 17:09 UTC (permalink / raw
To: gentoo-commits
commit: 485c7139d228194cebc390b0aef95732c3836efb
Author: David Hallas <david <AT> davidhallas <DOT> dk>
AuthorDate: Sun Sep 22 08:29:16 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 17:08:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=485c7139
dev-cpp/sourcetrail: Bump to 2019.3.46
Add ebuild for Sourcetrail 2019.3.46
No ebuild changes compared to 2019.2.39
Closes: https://bugs.gentoo.org/695388
Signed-off-by: David Hallas <david <AT> davidhallas.dk>
Closes: https://github.com/gentoo/gentoo/pull/13009
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-cpp/sourcetrail/Manifest | 1 +
dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild | 92 ++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/dev-cpp/sourcetrail/Manifest b/dev-cpp/sourcetrail/Manifest
index 77c70263998..73d2c16a558 100644
--- a/dev-cpp/sourcetrail/Manifest
+++ b/dev-cpp/sourcetrail/Manifest
@@ -1,3 +1,4 @@
DIST sourcetrail-2018.3.55.tar.gz 74278615 BLAKE2B e046acfb90cdb495ff28c3dcf4530129cc569a0e9c481f127f656059f80575e4be22e9b63a8b6f00ffdac977ca930ad7a3c4d0e1aa7912af711150afbef03707 SHA512 b8fccc4bae55abf5c5a05418b37c665817c860cc27e314f8ccb69665a63b90ef68485c2395fc899f1112a05def8e95068d7a5c92db399f1d3f7a203a09107767
DIST sourcetrail-2019.1.11.tar.gz 76120891 BLAKE2B 865c8a510a544705e130e3ec7bc82f1e7ca16d4dee2fa27849dd3530a92a20ef47ed909765ac08c8106ee0e992e3b4a03e79ef7094fb1593c4088b7d8e356423 SHA512 9022873572aef796fcbacf079c37b916d645aacd1479cc79fcddbfd8c561d0004c97202c46812b60d8c539dae3d68bd805da101678ebd1518ce13c3e58009ac9
DIST sourcetrail-2019.2.39.tar.gz 84960185 BLAKE2B a515da1a0c6a061d7db843b9bef3b1d419fdbea361c4f5465d32a4a9bfc018575a334de739354de2e249facb7ea6d342329c445990173303fce4fb818da8131d SHA512 5603d7c2fe84c58a13dc682bad6bdbd807b15a9fd7c73c6633f8a7d9e051a660916b3a03b9a5244e2cb4243492586d555a98f0cc464f7405c02f36ef655c8959
+DIST sourcetrail-2019.3.46.tar.gz 108528120 BLAKE2B f36e4e2eb98c28a4d4aa245df3cbd2febd524a3370111d77cc79c2220e6a6227509c9fb9ba9c8d8e0d286719ab55a858adcaee4c983233ee72daebddb62c9467 SHA512 032e9299430c4333115ececedfeb85f39a374d14366c06130becb395a71fc43af9ad9ee09258c4a3ba2d0c2daa0997d5054ad48f0701654fe48eea055ebec666
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild
new file mode 100644
index 00000000000..3989b699749
--- /dev/null
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg-utils
+
+DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
+HOMEPAGE="https://www.sourcetrail.com/"
+SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
+
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples selinux"
+RESTRICT="mirror bindist"
+
+DEPEND="dev-util/patchelf"
+
+RDEPEND="
+ || (
+ dev-libs/openssl-compat:1.0.0
+ =dev-libs/openssl-1.0*:*
+ )
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng:1.2
+ sys-libs/libudev-compat
+ virtual/opengl
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ selinux? ( sys-libs/libselinux )
+"
+
+S="${WORKDIR}/Sourcetrail"
+QA_PREBUILT="*"
+
+src_install() {
+ # This removes the rpath entries with $$ORIGIN
+ # since they trigger warnings when merging
+ for f in "Sourcetrail" "sourcetrail_indexer"; do
+ rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
+ new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
+ patchelf --set-rpath "${new_rpath}" "${f}" || die
+ done
+
+ # Remove bundled libraries
+ rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
+ lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
+ lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
+ lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
+ lib/libpng12.so.0 lib/libselinux.so.1 || die
+ insinto /opt/sourcetrail
+ doins -r EULA.txt README data lib plugin
+ use examples && doins -r user
+ exeinto /opt/sourcetrail
+ doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
+ into /opt
+ newbin - sourcetrail <<-EOF
+ #! /bin/sh
+ exec /opt/sourcetrail/Sourcetrail.sh "\$@"
+ EOF
+ local size
+ for size in 48 64 128 256 512; do
+ newicon -s "${size}" "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
+ "sourcetrail.png"
+ done
+ sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' \
+ -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" \
+ "setup/share/applications/sourcetrail.desktop" || die
+ domenu "setup/share/applications/sourcetrail.desktop"
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-10-04 5:39 Joonas Niilola
0 siblings, 0 replies; 10+ messages in thread
From: Joonas Niilola @ 2019-10-04 5:39 UTC (permalink / raw
To: gentoo-commits
commit: dfe43c1faf50353ea2ec2c71f35b4979c20d1157
Author: David Hallas <david <AT> davidhallas <DOT> dk>
AuthorDate: Thu Oct 3 14:47:28 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 4 05:02:28 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe43c1f
dev-cpp/sourcetrail: Fix libffi dependency
Sourcetrail depends on .so version 6 of libffi, so add
dev-libs/libffi-compat:6 to RDEPEND
Closes: https://bugs.gentoo.org/696090
Signed-off-by: David Hallas <david <AT> davidhallas.dk>
Closes: https://github.com/gentoo/gentoo/pull/13134
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../sourcetrail/sourcetrail-2019.3.46-r1.ebuild | 93 ++++++++++++++++++++++
1 file changed, 93 insertions(+)
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild
new file mode 100644
index 00000000000..e2d02701ebc
--- /dev/null
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg-utils
+
+DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
+HOMEPAGE="https://www.sourcetrail.com/"
+SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
+
+LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples selinux"
+RESTRICT="mirror bindist"
+
+DEPEND="dev-util/patchelf"
+
+RDEPEND="
+ || (
+ dev-libs/openssl-compat:1.0.0
+ =dev-libs/openssl-1.0*:*
+ )
+ dev-libs/libffi-compat:6
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng:1.2
+ sys-libs/libudev-compat
+ virtual/opengl
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ selinux? ( sys-libs/libselinux )
+"
+
+S="${WORKDIR}/Sourcetrail"
+QA_PREBUILT="*"
+
+src_install() {
+ # This removes the rpath entries with $$ORIGIN
+ # since they trigger warnings when merging
+ for f in "Sourcetrail" "sourcetrail_indexer"; do
+ rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
+ new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
+ patchelf --set-rpath "${new_rpath}" "${f}" || die
+ done
+
+ # Remove bundled libraries
+ rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
+ lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
+ lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
+ lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
+ lib/libpng12.so.0 lib/libselinux.so.1 || die
+ insinto /opt/sourcetrail
+ doins -r EULA.txt README data lib plugin
+ use examples && doins -r user
+ exeinto /opt/sourcetrail
+ doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
+ into /opt
+ newbin - sourcetrail <<-EOF
+ #! /bin/sh
+ exec /opt/sourcetrail/Sourcetrail.sh "\$@"
+ EOF
+ local size
+ for size in 48 64 128 256 512; do
+ newicon -s "${size}" "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
+ "sourcetrail.png"
+ done
+ sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' \
+ -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" \
+ "setup/share/applications/sourcetrail.desktop" || die
+ domenu "setup/share/applications/sourcetrail.desktop"
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
@ 2019-11-08 6:48 Michał Górny
0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2019-11-08 6:48 UTC (permalink / raw
To: gentoo-commits
commit: c242fce803763f010615014d1b32e752d07fa918
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 5 19:27:59 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 8 06:48:02 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c242fce8
dev-cpp/sourcetrail: Switch to libpng-compat
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild | 2 +-
dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild | 2 +-
dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild | 2 +-
...{sourcetrail-2019.3.46-r1.ebuild => sourcetrail-2019.3.46-r2.ebuild} | 2 +-
dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild b/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
index 1e5bf5c07ac..55f38a5d224 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2018.3.55-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
)
media-libs/fontconfig
media-libs/freetype
- media-libs/libpng:1.2
+ media-libs/libpng-compat:1.2
sys-libs/libudev-compat
virtual/opengl
x11-libs/libdrm
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
index 1e5bf5c07ac..55f38a5d224 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.1.11.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
)
media-libs/fontconfig
media-libs/freetype
- media-libs/libpng:1.2
+ media-libs/libpng-compat:1.2
sys-libs/libudev-compat
virtual/opengl
x11-libs/libdrm
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild
index 3989b699749..d84567ac9a3 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.2.39.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
)
media-libs/fontconfig
media-libs/freetype
- media-libs/libpng:1.2
+ media-libs/libpng-compat:1.2
sys-libs/libudev-compat
virtual/opengl
x11-libs/libdrm
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r2.ebuild
similarity index 98%
rename from dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild
rename to dev-cpp/sourcetrail/sourcetrail-2019.3.46-r2.ebuild
index e2d02701ebc..ed6b052e69b 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r2.ebuild
@@ -25,7 +25,7 @@ RDEPEND="
dev-libs/libffi-compat:6
media-libs/fontconfig
media-libs/freetype
- media-libs/libpng:1.2
+ media-libs/libpng-compat:1.2
sys-libs/libudev-compat
virtual/opengl
x11-libs/libdrm
diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild
index 3989b699749..d84567ac9a3 100644
--- a/dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild
+++ b/dev-cpp/sourcetrail/sourcetrail-2019.3.46.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
)
media-libs/fontconfig
media-libs/freetype
- media-libs/libpng:1.2
+ media-libs/libpng-compat:1.2
sys-libs/libudev-compat
virtual/opengl
x11-libs/libdrm
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-11-08 6:48 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-04 13:42 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2019-11-08 6:48 Michał Górny
2019-10-04 5:39 Joonas Niilola
2019-09-23 17:09 Joonas Niilola
2019-06-27 12:49 Michał Górny
2019-06-14 17:46 Thomas Deutschmann
2019-06-01 8:16 Michał Górny
2019-04-19 12:55 Michał Górny
2019-02-04 13:42 Andreas Sturmlechner
2018-09-13 17:19 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox