diff options
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/Manifest.gz | bin | 14098 -> 13937 bytes | |||
-rw-r--r-- | app-editors/fte/Manifest | 5 | ||||
-rw-r--r-- | app-editors/fte/files/fte | 26 | ||||
-rw-r--r-- | app-editors/fte/fte-20110708-r1.ebuild | 118 | ||||
-rw-r--r-- | app-editors/fte/metadata.xml | 8 | ||||
-rw-r--r-- | app-editors/logseq-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1-r1.ebuild | 60 | ||||
-rw-r--r-- | app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1-r2.ebuild | 88 |
8 files changed, 89 insertions, 218 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz Binary files differindex d620d3834da6..7256a770074c 100644 --- a/app-editors/Manifest.gz +++ b/app-editors/Manifest.gz diff --git a/app-editors/fte/Manifest b/app-editors/fte/Manifest deleted file mode 100644 index ab0a2c0e654e..000000000000 --- a/app-editors/fte/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX fte 604 BLAKE2B ccb21ce020421a68d33fb94185d3acc6ad26f6f8cd0c574c9ca611aa923180e5192b6271312575f7a64f329d3e25d2722b07425553cfa57e54ed55ec3668f0f1 SHA512 5f93df643282016c352db88cddd37c1b9f86d94654a7eff0089b9d349ad3f56ba4266cb2431ac3a418bd4b5aebf6d7ad04c26099061942fd3e90fc9fb938322b -DIST fte-20110708-common.zip 200007 BLAKE2B ce1ac0f2bd68b2bb7ef1d96a46bd9a481cd46f5cde00607c64f752d5e87f6edefd8a92c8210e1ac7629ef8bc5720a8a2d75bd61f292f344e211b88a2462989fa SHA512 0bb59a5b6b4a5ef6c1234dadd8922cd50a13ad1f0c06d6046b74a95592ad55f720b43bbc78a42cab63dfc68c5e073d44d5179bd6ed72f346563f43f3c5c146f1 -DIST fte-20110708-src.zip 504199 BLAKE2B 42bb3cc4ae9be4b64c0b161488d91d4a260a2e6a1574fccb0fc652359e34f7b6b881f170dfd85a8954f2b2fdbe4fecaaf2fc68cd5244f185dde36fe1a694004e SHA512 2d59fadcdd988ee85b87425c343341e1b768a7e9ef838c5f8a1f22c4adc5bf2cc37d547f36354ca1740bce07b33d5ae93d14e24001b9dbd3b1b267986564a089 -EBUILD fte-20110708-r1.ebuild 2623 BLAKE2B ce92297f9a04ad8e395c7fd7fd4c2e3dd60c7d01c7a556c9173e427691d5de1684406a586eb3401723f870ef39d64377d22b347923f908ed9e9d4540326a4e44 SHA512 a388474faca8bb60147aab5f706b975d01ce5bceecf957522d803768456663996f5882cd3c023427ad098195e8697e7874f352ecfdfe122165795130da33e08f -MISC metadata.xml 246 BLAKE2B c22ca7b794ba8207cab2c40ce029b8a2b243cbdad6c81b55647793afb87946a9abc60b471241040921785b94271b0db77d54cbc431e4d838d7af4d8927f16463 SHA512 dba2d9c540058e01a45e75cbd551b3be73bae391dddae18eaa95dcaad29d26620ee8d12c755b11fdd9fd759458803385fb74c3c0eada2892dd9af3311a771cd1 diff --git a/app-editors/fte/files/fte b/app-editors/fte/files/fte deleted file mode 100644 index 2e4621b92a62..000000000000 --- a/app-editors/fte/files/fte +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# simple wrapper shell script which selects appropriate fte executable -# - -if [ -n "$DISPLAY" ]; then - if which xfte >/dev/null; then - exec xfte "$@" - elif which sfte >/dev/null; then - exec sfte "$@" - elif which vfte >/dev/null; then - echo "Only Console version installed!" - fi -else - if [ "$TERM" = linux ] && which vfte >/dev/null; then - exec vfte "$@" - elif which sfte >/dev/null; then - exec sfte "$@" - elif which xfte >/dev/null; then - echo "Only X-Window version installed!" - fi - -fi - -echo "No binary executable from the FTE family has been found!" -echo "Please install one of them." diff --git a/app-editors/fte/fte-20110708-r1.ebuild b/app-editors/fte/fte-20110708-r1.ebuild deleted file mode 100644 index eb206b0f89e6..000000000000 --- a/app-editors/fte/fte-20110708-r1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs vcs-clean - -DESCRIPTION="Lightweight text-mode editor" -HOMEPAGE="http://fte.sourceforge.net" -SRC_URI=" - mirror://sourceforge/${PN}/${P}-src.zip - mirror://sourceforge/${PN}/${P}-common.zip" - -LICENSE="|| ( GPL-2 Artistic )" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ~riscv -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="gpm slang X" - -S="${WORKDIR}/${PN}" - -RDEPEND=" - sys-libs/ncurses:0= - X? ( - x11-libs/libXdmcp - x11-libs/libXau - x11-libs/libX11 - x11-libs/libXpm - ) - gpm? ( >=sys-libs/gpm-1.20 )" -DEPEND="${RDEPEND} - slang? ( >=sys-libs/slang-2.1.3 ) - app-arch/unzip" - -HTML_DOCS=( doc/. ) - -set_targets() { - export TARGETS="" - use slang && TARGETS="${TARGETS} s${PN}" - use X && TARGETS="${TARGETS} x${PN}" - - [[ ${CHOST} == *-linux-gnu* ]] \ - && TARGETS="${TARGETS} v${PN}" \ - || TARGETS="${TARGETS} n${PN}" -} - -src_prepare() { - default - - if [[ -e "${EPREFIX}"/usr/include/linux/keyboard.h ]]; then - sed "${EPREFIX}"/usr/include/linux/keyboard.h \ - -e '/wait.h/d' > src/hacked_keyboard.h || die - fi - - sed \ - -e "s:<linux/keyboard.h>:\"hacked_keyboard.h\":" \ - -i src/con_linux.cpp || die "sed keyboard" - sed \ - -e 's:^OPTIMIZE:#&:g' \ - -e '/^LDFLAGS/s:=:+=:g' \ - -e 's:= g++:= $(CXX):g' \ - -i src/${PN}-unix.mak || die "sed CFLAGS, LDFLAGS, CC" - ecvs_clean -} - -src_configure() { - set_targets - sed \ - -e "s:@targets@:${TARGETS}:" \ - -e '/^XINCDIR =/c\XINCDIR =' \ - -e '/^XLIBDIR =/c\XLIBDIR = -lstdc++' \ - -e '/^SINCDIR =/c\SINCDIR = -I'"${EPREFIX}"'/usr/include/slang' \ - -i src/${PN}-unix.mak || die "sed targets" - - if ! use gpm; then - sed \ - -e "s:#define USE_GPM://#define USE_GPM:" \ - -i src/con_linux.cpp || die "sed USE_GPM" - sed \ - -e "s:-lgpm::" \ - -i src/fte-unix.mak || die "sed -lgpm" - fi -} - -src_compile() { - local os="-DLINUX" # by now the default in makefile - - DEFFLAGS="PREFIX='${EPREFIX}'/usr CONFIGDIR='${EPREFIX}'/usr/share/${PN} \ - DEFAULT_FTE_CONFIG=../config/main.${PN} UOS=${os}" - - set_targets - emake CXX="$(tc-getCXX)" OPTIMIZE="${CXXFLAGS}" "${DEFFLAGS}" TARGETS="${TARGETS}" all -} - -src_install() { - keepdir /etc/${PN} - into /usr - - set_targets - - local i files="${TARGETS} c${PN}" - for i in ${files}; do - dobin src/${i} - done - - dobin "${FILESDIR}/${PN}" - - einstalldocs - - insinto /usr/share/${PN} - doins -r config/. -} - -pkg_postinst() { - ebegin "Compiling configuration" - cd "${EPREFIX}"/usr/share/${PN} || die "missing configuration dir" - "${EPREFIX}"/usr/bin/c${PN} main.${PN} "${EPREFIX}"/etc/${PN}/system.${PN}rc || die - eend $? -} diff --git a/app-editors/fte/metadata.xml b/app-editors/fte/metadata.xml deleted file mode 100644 index 1a3b29f46396..000000000000 --- a/app-editors/fte/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">fte</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-editors/logseq-desktop-bin/Manifest b/app-editors/logseq-desktop-bin/Manifest index b9136e1efab6..0bc4d8d3494a 100644 --- a/app-editors/logseq-desktop-bin/Manifest +++ b/app-editors/logseq-desktop-bin/Manifest @@ -1,4 +1,4 @@ AUX logseq-desktop.desktop 235 BLAKE2B de29e2c811f2f240ab24f92873977df168d69e90e4c9721471beacdd5279b2242eca4a120356418c0009522a467c68d9189abae76c800e0c7e95b9783cd5f73c SHA512 ef58e407ff19e9da20731bdaa870472b5d38b70567927fdbdf725fa330e3d2b8f7a719215207c7193b1e4c4e0fb94485fb0c970c03b378dedaab443f266404aa DIST logseq-desktop-bin-0.10.1.zip 190660046 BLAKE2B d9f781518220ecddb176e5c89948803ab73b6376aa5b165fd3ec2235a291022b88e99dce03190d80688a40a6bf55d3e699264f1420f346a222ea4346ba7d8000 SHA512 21f11c7b1ea5fde4f07dfec676fe05556040dd3fae84340bbe9cc1447556fc0ad1f10d53ee94a4ade7e93f0358fbc5386297605b28c0320e6ad25dc572055909 -EBUILD logseq-desktop-bin-0.10.1-r1.ebuild 1291 BLAKE2B a36ff67d7392aedb87250a036891665aac6feffa80fd68002640223f9d411f5b46e38e20bfc9396b50e7c0502c78baa3f4b8402fd4e41611a8e7701abf70fe16 SHA512 c576be8c858b0d925e80a3237be3ff06678bbab981ced156a874d8c250b38783fd64a1cade279e1f5525cf582ace8d7ddb65d3fa185a049231728e189844b860 +EBUILD logseq-desktop-bin-0.10.1-r2.ebuild 2324 BLAKE2B e8b0e8a1938db1976489d5790e4466e8c53c1875326299cb7f7aaf46c7a384f0599bd5109db37ce9b592e99de45f2cfefb327903d0ed42ada2241681a1ec8a21 SHA512 1536dbef3a5f0938f1fadc9adcec2fa10fd175d6ebd07e4e25dd0b81ea2e48ecdfe5d6f718616fdbac9a14a6934b17de348463a0ca2ee982fc75b34a6a628e49 MISC metadata.xml 329 BLAKE2B 74a2591f14fe7ddb0f786edec16cc6febf88ba1f84ea72b5d36ce7237aef4878e24b27a22f1a0562d4335ec1737ee99f16a2e5c8bc0bc090a1b4f68d6800c44c SHA512 cfd29744fcdb92629ae4492e3fa0f9f3f8539e212309e013b0567b7b50333ab1490498c7440d06c55531797a79ee783eb96fa7cc5128390b0e67b63b4bf2266d diff --git a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1-r1.ebuild b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1-r1.ebuild deleted file mode 100644 index 3c74b68e8ecd..000000000000 --- a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop unpacker - -DESCRIPTION="A privacy-first, open-source platform for knowledge sharing and management." -HOMEPAGE="https://github.com/logseq/logseq" -SRC_URI="https://github.com/logseq/logseq/releases/download/${PV}/logseq-linux-x64-${PV}.zip -> ${P}.zip" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RESTRICT="mirror splitdebug" - -DEPEND="" -RDEPEND=">=dev-libs/openssl-3 - app-accessibility/at-spi2-core:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/mesa - net-misc/curl - net-print/cups - sys-apps/dbus - sys-libs/zlib - x11-libs/cairo - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/pango" - -BDEPEND="app-arch/unzip" - -QA_PREBUILT="*" -S="${WORKDIR}/Logseq-linux-x64" - -src_install() { - domenu "${FILESDIR}/logseq-desktop.desktop" - doicon "${S}/resources/app/icons/logseq.png" - mkdir -p "${D}/opt/logseq-desktop" || die - cp -r "${S}"/* "${D}/opt/logseq-desktop/" || die - dosym ../logseq-desktop/Logseq /opt/bin/logseq -} - -pkg_postinst() { - update-desktop-database -} diff --git a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1-r2.ebuild b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1-r2.ebuild new file mode 100644 index 000000000000..c4fd8da4e783 --- /dev/null +++ b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1-r2.ebuild @@ -0,0 +1,88 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es-419 es et fa fil fi fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw + ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop unpacker xdg + +DESCRIPTION="A privacy-first, open-source platform for knowledge sharing and management." +HOMEPAGE="https://github.com/logseq/logseq" +SRC_URI="https://github.com/logseq/logseq/releases/download/${PV}/logseq-linux-x64-${PV}.zip -> ${P}.zip" +S="${WORKDIR}/Logseq-linux-x64" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64" + +RESTRICT="mirror splitdebug" + +RDEPEND=" + dev-libs/openssl:0/3 + media-libs/alsa-lib + media-libs/mesa + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/zlib + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango +" +BDEPEND=" + app-arch/unzip +" + +QA_PREBUILT="*" + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + pushd locales > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die +} + +src_install() { + exeinto /opt/logseq-desktop + doexe Logseq chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1 + + insinto /opt/logseq-desktop + doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \ + v8_context_snapshot.bin version vk_swiftshader_icd.json + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set + # see https://github.com/electron/electron/issues/17972 + fowners root /opt/logseq-desktop/chrome-sandbox + fperms 4711 /opt/logseq-desktop/chrome-sandbox + + # Crashpad is included in the package once in a while and when it does, it must be installed. + # See #903616 and #890595 + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + + dosym ../logseq-desktop/Logseq /opt/bin/logseq + + make_desktop_entry "/opt/bin/logseq %U" Logseq logseq Office \ + "StartupWMClass=logseq\nTerminal=false\nMimeType=x-scheme-handler/logseq" + doicon resources/app/icons/logseq.png +} |