diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0791ad5..50dc41d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,24 +3,74 @@ ## How to contribute src_prepare-overlay is very open to contribution and encourages it. -There are several ways to contribute for this overlay: +There are several ways to contribute to this overlay: #### Filing an issue Those that do not have good knowledge in writing ebuilds can [file an issue](https://gitlab.com/src_prepare/src_prepare-overlay/-/issues) so we can create the ebuild and maintain it for the community. -Before filing an issue, you will have to read the [contributing guidelines](#filing-an-issue-1). +Before filing an issue, you will have to read the [filing an issue guidelines](#filing-an-issue-1). #### Pulling Merge Requests -Those that want to help us easily maintain an ebuild without making us spend our time creating on it +Those that want to help us easily maintain an ebuild without making us spend our time creating the ebuild can create the ebuild and pull a [merge request](https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests) -so we can add the ebuild into our overlay and maintain it for you. -Before pulling merge requests, you will have to read the [contributing guidelines](#pulling-merge-requests-1). +so we can accept and add the ebuild to our overlay and maintain it for you. +Before pulling a merge request, you will have to read the [pulling merge requests guidelines](#pulling-merge-requests-1). ## Contributing guidelines +Before contributing, you will have to read the contributing guidelines as we will **not** accept your request +if you do not respect our community guidelines. + +**Before filing an issue or pulling a Merge Request, +first check if the package you are providing is not in [TODO.md](/TODO.md).** + #### Filing an issue +When filing an issue you will have to provide: + +- [CATEGORY]/[PACKAGE_NAME] (e.g. `www-client/icecat`) +- the description of the package +- the home page of the package +- OPTIONAL: the direct download link of the package +- the license of the package (e.g. GPLv2) + +by filling the skeleton of the ebuild in quotes: + +``` +NAME="" + +DESCRIPTION="" +HOMEPAGE="" +SRC_URI="" +LICENSE="" +``` + +After this, you can safely file the issue, and we will take care of it. + #### Pulling Merge Requests + +When committing and/or pulling merge requests, you will have to respect our +Committing & Pulling Merge Requests System (CnPMRS) +so we can easily identify the changes: + +- Provide us the Manifest file; +- Follow the committing & pulling merge request layout (below). + +Each commit will have to be based on this layout: + +`[CATEGORY]/[PACKAGE_NAME]: [COMMIT_MESSAGE]` + +For example, if the package is called **mail-client/freelook-bin**, +and you have added this package, the commit or merge request should look like this: + +`mail-client/freelook-bin: add freelook-bin-[PACKAGE_VERSION]` # e.g. 1.0.0 + +For example, if the package is called **mail-client/freelook-bin**, +and you have fixed an error, the commit or merge request should look like this: + +`mail-client/freelook-bin: fix QA - EROOT missing slash` + +**This system also applies on your metadata.xml and Manifest.** \ No newline at end of file diff --git a/README.md b/README.md index 47cfff7..4eaefe5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # src_prepare Gentoo overlay -## What is this? - This is the overlay of our Telegram group where we talk about topics related to Gentoo (development, maintainance, mistakes, community). **WARNING: Do not expect high quality ebuilds!** While we do the best we can, most of us are still learning. @@ -12,11 +10,9 @@ A quick guide on how to test ebuilds will follow. Mostly to have fun. -"My primary goal was to have all the ebuilds for small things for desktop "ricing" and weird ones that would not fit into the main overlay." ~XGQT +"My primary goal was to have all the ebuilds for small things for desktop "ricing" and weird ones that would not fit into the main overlay." ~XGQT -In short, we want to contribute :) - -## How do I add this? +## Adding the overlay ### Official list @@ -60,9 +56,10 @@ emaint sync -r src_prepare-overlay See [examples/package.accept_keywords/src_prepare-overlay](https://gitlab.com/src_prepare/src_prepare-overlay/blob/master/examples/package.accept_keywords/src_prepare-overlay). -## I can help, what ebuilds do you need? +## Contributing + +We appreciate and encourage for contribution. If you want a specific package or what to create a package for us to maintain, see [CONTRIBUTING.md](/CONTRIBUTING.md). -See [TODO.md](https://gitlab.com/src_prepare/src_prepare-overlay/-/blob/master/TODO.md) ## Quick maintainer guide @@ -70,5 +67,5 @@ See [TODO.md](https://gitlab.com/src_prepare/src_prepare-overlay/-/blob/master/T ``` sh repoman manifest -sudo ebuild FILE clean merge +ebuild FILE clean merge ``` diff --git a/app-office/onlyoffice-bin/Manifest b/app-office/onlyoffice-bin/Manifest new file mode 100644 index 0000000..e15a2d1 --- /dev/null +++ b/app-office/onlyoffice-bin/Manifest @@ -0,0 +1,2 @@ +DIST ONLYOFFICE-DesktopEditors-5.4.2_amd64.deb 163646374 BLAKE2B 19824eb921cd4262e5eb8f3b6bd70472e33d67badadc3d748ab325d90f980413c8e48e776058ebd23de804ca95bc6c87f70bc24bf53756ce0aa2417c9702db67 SHA512 2b85119722d9ba0d4112a2782d365e3eb29e3bce868b6dc68547caf14e2d4df6e4bcd94da2b31670b9574874f13b8a65a3d84aa2e58ce0eeea1f1b1a6aca6888 +EBUILD onlyoffice-bin-5.4.2.ebuild 2282 BLAKE2B 9518e6865013d5ef1ac2d359d73b5db84a000fdaf5e1d2f8e7d12fe979b1e1ee0148297d1a5e81a3be971e4d42315e595e2a0102c17722c6c22d2c8e8d999e94 SHA512 788097b3c20eeedad57c2489781028752b30d4dd482f1f7246a68a811265830b3554558a86241a180beec6d13cd87a1968fa599c32752d7701d480fe6a4e7881 diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-5.4.2.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-5.4.2.ebuild new file mode 100644 index 0000000..6369862 --- /dev/null +++ b/app-office/onlyoffice-bin/onlyoffice-bin-5.4.2.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2020 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +# This ebuild was based on Jorgicio's ebuild; all credits go to him. + +EAPI=7 + +inherit desktop gnome2-utils multilib unpacker xdg-utils + +MY_PN="ONLYOFFICE-DesktopEditors" +MY_P="${MY_PN}-${PVR//r}" + +DESCRIPTION="onlyoffice is an office productivity suite (binary version)" +HOMEPAGE="https://www.onlyoffice.com/" + +KEYWORDS="~amd64" + + +SRC_URI=" + amd64? ( + https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb + ) +" + +SLOT="0" +RESTRICT="mirror strip" +LICENSE="AGPL-3" +IUSE="" + +NATIVE_DEPEND=" + app-arch/bzip2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi + dev-libs/libxml2:2 + dev-libs/nss + dev-libs/atk + dev-qt/qtgui:5 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtsvg:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + media-libs/glu + media-libs/gst-plugins-base + media-libs/gstreamer + net-misc/curl + virtual/opengl + media-libs/tiff + sys-apps/util-linux + sys-libs/zlib + x11-libs/libdrm + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXdamage + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/libXxf86vm + media-libs/libmng + media-fonts/dejavu + media-fonts/crosextrafonts-carlito + net-print/cups + net-misc/wget + sys-devel/gcc + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/gtkglext +" +RDEPEND=" + ${NATIVE_DEPEND} + dev-db/sqlite:3 + net-libs/libcurl-gnutls + !app-office/onlyoffice +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_unpack(){ + unpack_deb "${A}" +} + +src_install() { + mkdir -p ${D} + cp -r . ${D} + local res + for res in 16 24 32 48 64 128 256; do + doicon -s ${res} opt/onlyoffice/desktopeditors/asc-de-${res}.png + done + dosym "${EPREFIX}/usr/$(get_libdir)/libcurl-gnutls.so.4" "${EPREFIX}/opt/onlyoffice/desktopeditors/libcurl-gnutls.so.4" +} + +pkg_preinst(){ + gnome2_gconf_savelist + xdg_environment_reset +} + +pkg_postinst() { + gnome2_gconf_install + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + gnome2_gconf_uninstall + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/net-libs/libcurl-gnutls/Manifest b/net-libs/libcurl-gnutls/Manifest new file mode 100644 index 0000000..e15a2d1 --- /dev/null +++ b/net-libs/libcurl-gnutls/Manifest @@ -0,0 +1,2 @@ +DIST ONLYOFFICE-DesktopEditors-5.4.2_amd64.deb 163646374 BLAKE2B 19824eb921cd4262e5eb8f3b6bd70472e33d67badadc3d748ab325d90f980413c8e48e776058ebd23de804ca95bc6c87f70bc24bf53756ce0aa2417c9702db67 SHA512 2b85119722d9ba0d4112a2782d365e3eb29e3bce868b6dc68547caf14e2d4df6e4bcd94da2b31670b9574874f13b8a65a3d84aa2e58ce0eeea1f1b1a6aca6888 +EBUILD onlyoffice-bin-5.4.2.ebuild 2282 BLAKE2B 9518e6865013d5ef1ac2d359d73b5db84a000fdaf5e1d2f8e7d12fe979b1e1ee0148297d1a5e81a3be971e4d42315e595e2a0102c17722c6c22d2c8e8d999e94 SHA512 788097b3c20eeedad57c2489781028752b30d4dd482f1f7246a68a811265830b3554558a86241a180beec6d13cd87a1968fa599c32752d7701d480fe6a4e7881 diff --git a/net-libs/libcurl-gnutls/libcurl-gnutls-7.69.1.ebuild b/net-libs/libcurl-gnutls/libcurl-gnutls-7.69.1.ebuild new file mode 100644 index 0000000..38c6367 --- /dev/null +++ b/net-libs/libcurl-gnutls/libcurl-gnutls-7.69.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DESCRIPTION="libcurl libraries linked with gnutls" +HOMEPAGE="https://curl.haxx.se" +MIRROR_URI="https://mirror.rackspace.com/archlinux" +SRC_URI=" + amd64? ( + ${MIRROR_URI}/community/os/x86_64/${PN}-${PV}-1-x86_64.pkg.tar.zst + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RESTRICT="mirror strip" + +DEPEND="net-misc/curl[-curl_ssl_gnutls]" +RDEPEND="${DEPEND}" +S="${WORKDIR}" + +QA_PRESTRIPPED=" + /usr/lib/libcurl-gnutls-4.5.0 + /usr/lib64/libcurl-gnutls-4.5.0 + /usr/lib/libcurl-gnutls-4.6.0 + /usr/lib64/libcurl-gnutls-4.6.0 +" + +src_install(){ + mkdir -p "${D}/usr/$(get_libdir)" + cp -r usr/lib/. "${D}/usr/$(get_libdir)" + mkdir -p "${D}/usr/lib" + cp -r usr/lib32/* "${D}/usr/lib/" +} diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest new file mode 100644 index 0000000..bcee85a --- /dev/null +++ b/sys-kernel/pf-sources/Manifest @@ -0,0 +1,5 @@ +DIST genpatches-5.5-1.base.tar.xz 3984 BLAKE2B aed3662231f2863f234ebdc3c615c8c7fa32c3b1301659388facef4354b148bd31a9978917dcced2081f157afa176df5cda2e11fa085e3599f68af65f8edfaec SHA512 bdbe3d72620418ad0245f7e7f4fec7960d302be4842c6a090440f8ffccc5f6a67fdf11e51da5a14b659ec7a003410f1374b70ece128455ffd8eaf13177a427ff +DIST genpatches-5.5-1.extras.tar.xz 1744 BLAKE2B 78353a253969918f5c054768df01bf7d0a0887f5686f6b84a78f28a0c1ef49101f278c5140367a4547cce9932ec9e7dcff4b4fd8519bb9e9dd9b7d4764461877 SHA512 84815483c7c30e2258c1d246080c460177b8e3b6c49592a78c2a5d83798b703da845ee3f1f939da1e947dddced42fc83434ca162f8e5135c838877304e3a80cf +DIST linux-5.5.tar.xz 110713660 BLAKE2B 36b990d3650c409652206c319c93c0cf68885334050bc286b479c8b844bc47354547e19eebb58caafb026b96d134f39f0c7ce38b4eebe9da7ea6d1610a1e2af2 SHA512 fa74fdabb5e63384a39e54da05b86a9ae9ea16179524b041fbbdffc7177e80b53600ae98d76be127ba216148f9dc55fe07ab20637e22c6d6030cb4aa09eb2f86 +DIST pf-sources-5.5_p7.patch 2978872 BLAKE2B 3b1e63dd0b3fdf1d880053576b8f4efa928292a7bde7f536ce551845bf2c33c74d008b3533428917a224cc0e959d5ebcd3bf09b2754f77183f6366b82a22d9eb SHA512 8da0e9085970dd5f3f641bcb9dff867db390dc49e278ef29ee6f84d2e99007d3403bc69f8e96280a6feccaf3f85731335a89e4888cf5df567429715baf5695fd +EBUILD pf-sources-5.5_p7.ebuild 1954 BLAKE2B 15c4bd2a69604a36546318261ce7a8de97ab6e78994e8614e72ea6c968aed2a22389557759ab7265a2c0f4cdd5c29e68a82143b6ca23594698c1e9f0a844f4b9 SHA512 0de23fd94dbcbf7e9050cf8399f09adf5b1e2fad6bf12b9c6ba05805e251f0c3d3051014379d6b79cc5f443d6726bd5dea87b1759674bb535b3cfb3dc22a6524 diff --git a/sys-kernel/pf-sources/pf-sources-5.5_p7.ebuild b/sys-kernel/pf-sources/pf-sources-5.5_p7.ebuild new file mode 100644 index 0000000..2a683a5 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-5.5_p7.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Define what default functions to run +ETYPE="sources" + +# No 'experimental' USE flag provided, but we still want to use genpatches +K_EXP_GENPATCHES_NOUSE="1" + +# Just get basic genpatches, -pf patch set already includes vanilla-linux +# updates +K_GENPATCHES_VER="1" + +# -pf already sets EXTRAVERSION to kernel Makefile +K_NOSETEXTRAVERSION="1" + +# Not supported by the Gentoo security team +K_SECURITY_UNSUPPORTED="1" + +# We want the very basic patches from gentoo-sources, experimental patch is +# already included in pf-sources +K_WANT_GENPATCHES="base extras" + +inherit eutils kernel-2 +detect_version + +DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" +HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README + https://dev.gentoo.org/~mpagano/genpatches/" +SRC_URI="${KERNEL_URI} + https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.base.tar.xz + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.extras.tar.xz" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +S="${WORKDIR}/linux-${PVR}-pf" + +PATCHES=( "${DISTDIR}/${P}.patch" ) + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, + see: ${HOMEPAGE}." + +pkg_setup() { + ewarn "" + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn "" + + kernel-2_pkg_setup +} + +src_prepare() { + default + kernel-2_src_prepare +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog "Optional features:" + optfeature "Userspace KSM helper" sys-process/uksmd +} diff --git a/sys-kernel/zen-sources/Manifest b/sys-kernel/zen-sources/Manifest index 8ea4143..929837f 100644 --- a/sys-kernel/zen-sources/Manifest +++ b/sys-kernel/zen-sources/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.5-1.base.tar.xz 3984 BLAKE2B aed3662231f2863f234ebdc3c615c8c7fa32c3b1301659388facef4354b148bd31a9978917dcced2081f157afa176df5cda2e11fa085e3599f68af65f8edfaec SHA512 bdbe3d72620418ad0245f7e7f4fec7960d302be4842c6a090440f8ffccc5f6a67fdf11e51da5a14b659ec7a003410f1374b70ece128455ffd8eaf13177a427ff DIST genpatches-5.5-1.extras.tar.xz 1744 BLAKE2B 78353a253969918f5c054768df01bf7d0a0887f5686f6b84a78f28a0c1ef49101f278c5140367a4547cce9932ec9e7dcff4b4fd8519bb9e9dd9b7d4764461877 SHA512 84815483c7c30e2258c1d246080c460177b8e3b6c49592a78c2a5d83798b703da845ee3f1f939da1e947dddced42fc83434ca162f8e5135c838877304e3a80cf DIST linux-5.5.tar.xz 110713660 BLAKE2B 36b990d3650c409652206c319c93c0cf68885334050bc286b479c8b844bc47354547e19eebb58caafb026b96d134f39f0c7ce38b4eebe9da7ea6d1610a1e2af2 SHA512 fa74fdabb5e63384a39e54da05b86a9ae9ea16179524b041fbbdffc7177e80b53600ae98d76be127ba216148f9dc55fe07ab20637e22c6d6030cb4aa09eb2f86 +DIST v5.5.10-zen1.patch.xz 767220 BLAKE2B c7facb57f0def23ab9cd13c9fc6b043fb49e5fc8e361085287d16873d1815199cc30e49c2b8c1abd224e86d0f3a82df271218967bdc82a1f09b316b6bb87ad43 SHA512 9900ec836e0abeee8d59cabf92eee4a397dd73f640327a3d0a94160714053ec6e93375b81419e2f054ef2afdaa7ea6e0be1063e5126abea88425befbbe8b7f8d DIST v5.5.9-zen1.patch.xz 728472 BLAKE2B 7f49112a8d05744183fe6a73a938867ed50b9e67de4bd6f735e30eab0e1ce1e286ca1908aede4ee9c9ba698c58c3a3d95ecb0f57d8e1e0f3127184d01e12aedf SHA512 15b1b5cbc4cbe0e43b56e7ed528df4a58fbe76273655f9fdfa10b28b337faf07267e4d2245be638431e8e6e6be7cde7e17e02e4279fba64ab1072523ff5f7e73 -EBUILD zen-sources-5.5.9.ebuild 1122 BLAKE2B 1a431d849dfcbce48364408c1d512a7a2b708ccf552f5dc92b4fb4d5df84bbc3646817a4a288230068ce8214dd4be93b624e9e4f12a6f200f45fa7db3747cf36 SHA512 3743f12f89e2c2b71bab144fdd96921dc1b87432493994ca3717827a515616d0c79ca39ee6d9ed21a621412bbf2cb870d9b0f643eff63e25b6d6b654863036f2 +EBUILD zen-sources-5.5.10.ebuild 1122 BLAKE2B 1a431d849dfcbce48364408c1d512a7a2b708ccf552f5dc92b4fb4d5df84bbc3646817a4a288230068ce8214dd4be93b624e9e4f12a6f200f45fa7db3747cf36 SHA512 3743f12f89e2c2b71bab144fdd96921dc1b87432493994ca3717827a515616d0c79ca39ee6d9ed21a621412bbf2cb870d9b0f643eff63e25b6d6b654863036f2 +EBUILD zen-sources-5.5.9.ebuild 1122 BLAKE2B 1a431d849dfcbce48364408c1d512a7a2b708ccf552f5dc92b4fb4d5df84bbc3646817a4a288230068ce8214dd4be93b624e9e4f12a6f200f45fa7db3747cf36 SHA512 3743f12f89e2c2b71bab144fdd96921dc1b87432493994ca3717827a515616d0c79ca39ee6d9ed21a621412bbf2cb870d9b0f643eff63e25b6d6b654863036f2 \ No newline at end of file diff --git a/sys-kernel/zen-sources/zen-sources-5.5.10.ebuild b/sys-kernel/zen-sources/zen-sources-5.5.10.ebuild new file mode 100644 index 0000000..c3dce43 --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-5.5.10.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="1" +K_SECURITY_UNSUPPORTED="1" +K_NOSETEXTRAVERSION="1" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~amd64 ~x86" +HOMEPAGE="https://github.com/zen-kernel" +IUSE="" + +DESCRIPTION="The Zen Kernel Live Sources" + +ZEN_URI="https://github.com/zen-kernel/zen-kernel/releases/download/v${PV}-zen1/v${PV}-zen1.patch.xz" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${ZEN_URI}" + +UNIPATCH_LIST="${DISTDIR}/v${PV}-zen1.patch.xz" +UNIPATCH_STRICTORDER="yes" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on freenode" + +pkg_setup() { + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the zen developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +pkg_postrm() { + kernel-2_pkg_postrm +}