diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml new file mode 100644 index 0000000000..1034bf70df --- /dev/null +++ b/.github/workflows/pkgcheck.yml @@ -0,0 +1,31 @@ +name: pkgcheck + +on: + push: + branches: [ dev ] + pull_request: + branches: [ dev ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Install pkgcheck + run: | + python -m pip install --upgrade pip + pip install pkgcheck + - name: Setup master gentoo repository + run: | + sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles + wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1 + sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd + sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf + sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile + - name: Test with pkgcheck + run: | + pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml new file mode 100644 index 0000000000..8eb8668ad5 --- /dev/null +++ b/.github/workflows/repoman.yml @@ -0,0 +1,34 @@ +name: repoman + +on: + push: + branches: [ dev ] + pull_request: + branches: [ dev ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Setup repoman + run: | + python -m pip install --upgrade pip + pip install lxml pyyaml + wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.12.tar.gz" | tar xz + sudo groupadd -g 250 portage + sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage + - name: Setup master gentoo repository + run: | + sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles + wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1 + sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd + sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf + sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile + - name: Test with repoman + run: | + python3 portage-portage-3.0.12/repoman/bin/repoman full -dx diff --git a/README.md b/README.md index d8d5226afc..0cb5ad9e36 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ # The GURU Project Repository +[![pkgcheck](https://github.com/gentoo/guru/workflows/pkgcheck/badge.svg)](https://github.com/gentoo/guru/actions?query=workflow%3Apkgcheck) +[![repoman](https://github.com/gentoo/guru/workflows/repoman/badge.svg)](https://github.com/gentoo/guru/actions?query=workflow%3Arepoman) +[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors) +[![chat on freenode](https://img.shields.io/badge/chat-on%20freenode-brightgreen.svg)](https://webchat.freenode.net/#gentoo-guru) +
@@ -31,6 +36,10 @@ The [GURU regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations ## Frequently Asked Questions +- #### How do I emerge these ebuilds? + +`eselect repository enable guru && emerge --sync` and emerge the package just as usual. + - #### How do I contribute? See [wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors](https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors) diff --git a/dev-util/gammaray/Manifest b/dev-util/gammaray/Manifest new file mode 100644 index 0000000000..2cab5136de --- /dev/null +++ b/dev-util/gammaray/Manifest @@ -0,0 +1 @@ +DIST gammaray-2.11.2.tar.gz 10333340 BLAKE2B 8dbb83e22826cd08e3a7105bfe910d9862ea47e3709e0c61c22ed9fe4974d27412f79a587de0ac6bb092f0edf07476c10717ca40dd8e7b43903aa44686158489 SHA512 788a4bb6c96e8c5d9a6762d94ad0a452c95d20c79b4b10a1b774950fb047633f040707d984c5e769b8c47ab6a2b9f9c338b0700ad17315588b1275f226a04f51 diff --git a/dev-util/gammaray/gammaray-2.11.2.ebuild b/dev-util/gammaray/gammaray-2.11.2.ebuild new file mode 100644 index 0000000000..ed5214b718 --- /dev/null +++ b/dev-util/gammaray/gammaray-2.11.2.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="High-level runtime introspection tool for Qt applications" +HOMEPAGE="https://www.kdab.com/gammaray https://github.com/KDAB/GammaRay" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/KDAB/GammaRay.git" +else + SRC_URI="https://github.com/KDAB/GammaRay/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-2+" +SLOT=0 +IUSE="3d bluetooth designer doc geolocation printsupport script scxml svg test qml wayland webengine" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtconcurrent:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + kde-frameworks/kitemmodels:5 + 3d? ( dev-qt/qt3d:5 ) + bluetooth? ( dev-qt/qtbluetooth:5 ) + designer? ( dev-qt/designer:5 ) + geolocation? ( dev-qt/qtpositioning:5 ) + printsupport? ( dev-qt/qtprintsupport:5 ) + qml? ( dev-qt/qtdeclarative:5[widgets] ) + script? ( dev-qt/qtscript:5[scripttools] ) + scxml? ( dev-qt/qtscxml:5 ) + svg? ( dev-qt/qtsvg:5 ) + webengine? ( dev-qt/qtwebengine:5[widgets] ) + wayland? ( dev-qt/qtwayland:5 ) +" + +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:5 ) +" + +src_prepare(){ + sed -i "/BackwardMacros.cmake/d" CMakeLists.txt || die + sed -i "/add_backward(gammaray_core)/d" core/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure(){ + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DAnimation=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DExtras=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DInput=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DLogic=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DRender=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DQuick=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Bluetooth=$(usex !bluetooth) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=$(usex !designer) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Positioning=$(usex !geolocation) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5PrintSupport=$(usex !printsupport) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Qml=$(usex !qml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Quick=$(usex !qml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=$(usex !qml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Script=$(usex !script) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Svg=$(usex !svg) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Scxml=$(usex !scxml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=$(usex !test) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WaylandCompositor=$(usex !wayland) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=$(usex !webengine) + -DGAMMARAY_BUILD_DOCS=$(usex doc) + -DGAMMARAY_BUILD_UI=ON + -DGAMMARAY_DISABLE_FEEDBACK=ON + ) + cmake_src_configure +} + +pkg_postinst() { + elog + elog "Install dev-util/kdstatemachineeditor as optional dependency" + elog "for graphical state machine debugging support" + elog +} diff --git a/dev-util/gammaray/metadata.xml b/dev-util/gammaray/metadata.xml new file mode 100644 index 0000000000..b52f014a23 --- /dev/null +++ b/dev-util/gammaray/metadata.xml @@ -0,0 +1,36 @@ + + + + + rossbridger.cc@gmail.com + Ross Charles Campbell + + + petross404@gmail.com + Petros S + + +GammaRay is a software introspection tool for Qt applications developed by KDAB. +Leveraging the QObject introspection mechanism it allows you to observe and manipulate +your application at runtime. This works both locally on your workstation and remotely +on an embedded target. + +Augmenting your instruction-level debugger, GammaRay allows you to work on a much higher +level, with the same concepts as the frameworks you use. This is especially useful for +the more complex Qt frameworks such as model/view, state machines or scene graphs. + + + Build support for Qt5 3D modules + Widget .ui file export + Physical position determination support from Qt5 framework + Printing support library from the Qt5 framework. Required for widget PDF export + Enable scripting support from the Qt5 framework + Build with Qt5 Quick support + Build support for Qt5 State Chart XML (SCXML) + Enable support for dev-qt/qtwebengine + + + KDAB/GammaRay + https://github.com/KDAB/GammaRay/issues + + diff --git a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild index 04e5867b3b..c31c6748db 100644 --- a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild +++ b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild @@ -21,23 +21,23 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" COMMON_DEPEND=" ${PYTHON_DEPS} - >=dev-qt/qtcore-5.12 - >=dev-qt/qtgraphicaleffects-5.12 - >=dev-qt/qtquickcontrols-5.12 - >=dev-qt/qtquickcontrols2-5.12 + >=dev-qt/qtcore-5.12:5 + >=dev-qt/qtgraphicaleffects-5.12:5 + >=dev-qt/qtquickcontrols-5.12:5 + >=dev-qt/qtquickcontrols2-5.12:5 " RDEPEND=" ${COMMON_DEPEND} $(python_gen_cond_dep ' dev-python/aiohttp[${PYTHON_USEDEP}] ') - media-video/mpv media-video/ffmpeg + media-video/mpv net-misc/curl " DEPEND=" ${COMMON_DEPEND} - kde-frameworks/extra-cmake-modules + kde-frameworks/extra-cmake-modules:5 " src_prepare() diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild index 04e5867b3b..c31c6748db 100644 --- a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild +++ b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild @@ -21,23 +21,23 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" COMMON_DEPEND=" ${PYTHON_DEPS} - >=dev-qt/qtcore-5.12 - >=dev-qt/qtgraphicaleffects-5.12 - >=dev-qt/qtquickcontrols-5.12 - >=dev-qt/qtquickcontrols2-5.12 + >=dev-qt/qtcore-5.12:5 + >=dev-qt/qtgraphicaleffects-5.12:5 + >=dev-qt/qtquickcontrols-5.12:5 + >=dev-qt/qtquickcontrols2-5.12:5 " RDEPEND=" ${COMMON_DEPEND} $(python_gen_cond_dep ' dev-python/aiohttp[${PYTHON_USEDEP}] ') - media-video/mpv media-video/ffmpeg + media-video/mpv net-misc/curl " DEPEND=" ${COMMON_DEPEND} - kde-frameworks/extra-cmake-modules + kde-frameworks/extra-cmake-modules:5 " src_prepare() diff --git a/profiles/categories b/profiles/categories index bffe29709e..b099bef949 100644 --- a/profiles/categories +++ b/profiles/categories @@ -1,2 +1 @@ -dev-octave dev-R diff --git a/x11-misc/i3lock-color/i3lock-color-2.12.5.ebuild b/x11-misc/i3lock-color/i3lock-color-2.12.5.ebuild index 0fcf0615df..b610776cc2 100644 --- a/x11-misc/i3lock-color/i3lock-color-2.12.5.ebuild +++ b/x11-misc/i3lock-color/i3lock-color-2.12.5.ebuild @@ -21,10 +21,10 @@ DEPEND=" sys-libs/pam x11-libs/cairo x11-libs/libxcb + x11-libs/libxkbcommon x11-libs/xcb-util x11-libs/xcb-util-image x11-libs/xcb-util-xrm - x11-libs/libxkbcommon " RDEPEND=" ${DEPEND} diff --git a/x11-misc/i3lock-color/i3lock-color-2.13.1.ebuild b/x11-misc/i3lock-color/i3lock-color-2.13.1.ebuild index 013635df9f..c5aaad2773 100644 --- a/x11-misc/i3lock-color/i3lock-color-2.13.1.ebuild +++ b/x11-misc/i3lock-color/i3lock-color-2.13.1.ebuild @@ -21,10 +21,10 @@ DEPEND=" sys-libs/pam x11-libs/cairo x11-libs/libxcb + x11-libs/libxkbcommon[X] x11-libs/xcb-util x11-libs/xcb-util-image x11-libs/xcb-util-xrm - x11-libs/libxkbcommon[X] " RDEPEND=" ${DEPEND} diff --git a/x11-misc/i3lock-color/i3lock-color-9999.ebuild b/x11-misc/i3lock-color/i3lock-color-9999.ebuild index a422466fab..bf8489081b 100644 --- a/x11-misc/i3lock-color/i3lock-color-9999.ebuild +++ b/x11-misc/i3lock-color/i3lock-color-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,10 +19,10 @@ DEPEND=" sys-libs/pam x11-libs/cairo x11-libs/libxcb + x11-libs/libxkbcommon x11-libs/xcb-util x11-libs/xcb-util-image x11-libs/xcb-util-xrm - x11-libs/libxkbcommon " RDEPEND=" ${DEPEND} diff --git a/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-9999.ebuild b/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-9999.ebuild index 2b180af7b5..bf69e1f9f9 100644 --- a/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-9999.ebuild +++ b/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit git-r3 flag-o-matic toolchain-funcs +inherit flag-o-matic git-r3 toolchain-funcs DESCRIPTION="A faster implementation of i3lock-fancy" HOMEPAGE="https://github.com/yvbbrjdr/i3lock-fancy-rapid"