mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
Compare commits
9 Commits
4c1b8a0dd4
...
8db5c8d630
Author | SHA1 | Date | |
---|---|---|---|
|
8db5c8d630 | ||
|
0850eef7cb | ||
|
f70809bb1d | ||
|
693326ed93 | ||
|
1bcabeb23a | ||
|
495098ebef | ||
|
cabc7fd9f9 | ||
|
ed424cca86 | ||
|
6258c35e0e |
253
.github/workflows/issues-bumper.js
vendored
253
.github/workflows/issues-bumper.js
vendored
@ -1,157 +1,152 @@
|
||||
function getGithubAccount(package) {
|
||||
var toml = require("toml");
|
||||
var fs = require("fs");
|
||||
var tomlFileContent = fs.readFileSync(
|
||||
const { graphql } = require("@octokit/graphql");
|
||||
const fs = require("fs");
|
||||
const toml = require("toml");
|
||||
|
||||
function getGithubAccount(packageName) {
|
||||
const tomlFileContent = fs.readFileSync(
|
||||
".github/workflows/overlay.toml",
|
||||
"utf8"
|
||||
);
|
||||
|
||||
github_account = toml.parse(tomlFileContent)[package]["github_account"];
|
||||
|
||||
return github_account;
|
||||
return toml.parse(tomlFileContent)[packageName]["github_account"];
|
||||
}
|
||||
|
||||
function randomSort(a, b) {
|
||||
return 0.5 - Math.random();
|
||||
async function searchLimit(graphqlWithAuth) {
|
||||
const query = `
|
||||
query {
|
||||
rateLimit {
|
||||
remaining
|
||||
}
|
||||
}
|
||||
`;
|
||||
const { rateLimit } = await graphqlWithAuth(query);
|
||||
if (rateLimit.remaining === 0) {
|
||||
console.warn("Rate limit exceeded.");
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
module.exports = async ({ github, context, core }) => {
|
||||
// hardcode gentoo-zh official repo name
|
||||
var gentoo_zh_official_repo_name = "microcai/gentoo-zh";
|
||||
var repo_name = process.env.GITHUB_REPOSITORY;
|
||||
var repo_is_gentoo_zh_official = repo_name == gentoo_zh_official_repo_name;
|
||||
const graphqlWithAuth = graphql.defaults({
|
||||
headers: {
|
||||
authorization: `token ${process.env.GITHUB_TOKEN}`,
|
||||
},
|
||||
});
|
||||
|
||||
let pkgs = JSON.parse(process.env.pkgs);
|
||||
const SEARCH_MAX_REMAINING = 30;
|
||||
var pkgs_gt_search_limit = pkgs.length > SEARCH_MAX_REMAINING;
|
||||
|
||||
if (pkgs_gt_search_limit) {
|
||||
pkgs.sort(randomSort);
|
||||
if (await searchLimit(graphqlWithAuth)) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (let pkg of pkgs) {
|
||||
// // limit "x11-misc/9menu" and "dev-libs/libthai"
|
||||
// if (pkg.name != "x11-misc/9menu" && pkg.name != "dev-libs/libthai") {
|
||||
// continue;
|
||||
// }
|
||||
if (pkgs_gt_search_limit) {
|
||||
const { data: rate_limit_data } = await github.request("/rate_limit");
|
||||
if (rate_limit_data.resources.search.remaining == 0) {
|
||||
core.warning(`cause rate limit, failed to search ${pkg.name}'s issues`);
|
||||
break;
|
||||
}
|
||||
}
|
||||
const gentooZhOfficialRepoName = "microcai/gentoo-zh";
|
||||
const repoName = process.env.GITHUB_REPOSITORY;
|
||||
const repoIsGentooZhOfficial = repoName === gentooZhOfficialRepoName;
|
||||
|
||||
titlePrefix = "[nvchecker] " + pkg.name + " can be bump to ";
|
||||
title = titlePrefix + pkg.newver;
|
||||
var body = "";
|
||||
if (pkg.oldver != null) {
|
||||
body += "oldver: " + pkg.oldver;
|
||||
}
|
||||
const pkg = {
|
||||
name: process.env.name,
|
||||
newver: process.env.newver,
|
||||
oldver: process.env.oldver,
|
||||
};
|
||||
|
||||
// append @github_account to body
|
||||
// only mention user on official gentoo-zh repo
|
||||
github_accounts = getGithubAccount(pkg.name);
|
||||
if (typeof github_accounts == "object") {
|
||||
// multiple accounts example:
|
||||
// github_account = ["st0nie", "peeweep"]
|
||||
body += "\nCC:";
|
||||
for (let github_account of github_accounts) {
|
||||
body += repo_is_gentoo_zh_official
|
||||
? " @" + github_account
|
||||
: " " + github_account
|
||||
}
|
||||
} else if (typeof github_accounts == "string") {
|
||||
// single account example:
|
||||
// github_account = "peeweep"
|
||||
body += repo_is_gentoo_zh_official
|
||||
? "\nCC: @" + github_accounts
|
||||
: "\nCC: " + github_accounts
|
||||
}
|
||||
const titlePrefix = `[nvchecker] ${pkg.name} can be bump to `;
|
||||
const title = titlePrefix + pkg.newver;
|
||||
let body = pkg.oldver ? `oldver: ${pkg.oldver}` : "";
|
||||
|
||||
// if body still empty, convert to null
|
||||
// because github rest api response's issue body is null, they should be same
|
||||
if (body == "") {
|
||||
body = null;
|
||||
}
|
||||
const githubAccounts = getGithubAccount(pkg.name);
|
||||
if (Array.isArray(githubAccounts)) {
|
||||
body += "\nCC:" + githubAccounts.map((account) => (repoIsGentooZhOfficial ? ` @${account}` : ` ${account}`)).join("");
|
||||
} else if (typeof githubAccounts === "string") {
|
||||
body += repoIsGentooZhOfficial ? `\nCC: @${githubAccounts}` : `\nCC: ${githubAccounts}`;
|
||||
}
|
||||
|
||||
// search issues by titlePrefix
|
||||
let issuesData = [];
|
||||
let page_number = 0;
|
||||
// repo_name = "microcai/gentoo-zh";
|
||||
searchQuery = `repo:${repo_name} is:issue label:nvchecker in:title ${titlePrefix}`;
|
||||
while (true) {
|
||||
page_number++;
|
||||
try {
|
||||
const searchIssues = await github.rest.search.issuesAndPullRequests({
|
||||
q: searchQuery,
|
||||
per_page: 100,
|
||||
page: page_number,
|
||||
advanced_search: "true",
|
||||
});
|
||||
response = searchIssues.data.items;
|
||||
if (!body) {
|
||||
body = null;
|
||||
}
|
||||
|
||||
issuesData = issuesData.concat(response);
|
||||
if (response.length < 100) {
|
||||
break;
|
||||
}
|
||||
} catch (error) {
|
||||
core.warning(`failed to search issues with title: ${searchQuery}`);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
(async function () {
|
||||
// search existed in issues
|
||||
for (let issueData of issuesData) {
|
||||
// if titlePrefix matched
|
||||
if (
|
||||
issueData.title.length >= titlePrefix.length
|
||||
? issueData.title.substring(0, titlePrefix.length) == titlePrefix
|
||||
: false
|
||||
) {
|
||||
// titlePrefix matched;
|
||||
if (issueData.body == body && issueData.title == title) {
|
||||
// if body and title all matched, goto next loop
|
||||
return;
|
||||
} else {
|
||||
// if body or title not matched
|
||||
if (issueData.state == "open") {
|
||||
// if state is open, edit it, then goto next loop
|
||||
// if (!repo_is_gentoo_zh_official) {
|
||||
// // only update on official gentoo-zh repo
|
||||
// return;
|
||||
// }
|
||||
const issueUpdate = await github.rest.issues.update({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
issue_number: issueData.number,
|
||||
title: title,
|
||||
body: body,
|
||||
});
|
||||
console.log("Edit issue on %s", issueUpdate.data.html_url);
|
||||
return;
|
||||
} else {
|
||||
// if state is clsoe,create new
|
||||
break;
|
||||
const searchQuery = `
|
||||
query($searchQuery: String!, $cursor: String) {
|
||||
search(query: $searchQuery, type: ISSUE, first: 100, after: $cursor) {
|
||||
issueCount
|
||||
edges {
|
||||
node {
|
||||
... on Issue {
|
||||
number
|
||||
title
|
||||
body
|
||||
state
|
||||
}
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
endCursor
|
||||
hasNextPage
|
||||
}
|
||||
}
|
||||
try {
|
||||
// create new issue
|
||||
const issuesCreate = await github.rest.issues.create({
|
||||
}
|
||||
`;
|
||||
|
||||
const variables = {
|
||||
searchQuery: `repo:${repoName} is:issue label:nvchecker in:title ${titlePrefix}`,
|
||||
cursor: null,
|
||||
};
|
||||
|
||||
let issuesData = [];
|
||||
do {
|
||||
const { search } = await graphqlWithAuth(searchQuery, variables);
|
||||
issuesData = issuesData.concat(search.edges.map((edge) => edge.node));
|
||||
variables.cursor = search.pageInfo.endCursor;
|
||||
} while (variables.cursor);
|
||||
|
||||
for (const issue of issuesData) {
|
||||
if (issue.title.startsWith(titlePrefix)) {
|
||||
if (issue.body === body && issue.title === title) {
|
||||
return;
|
||||
} else if (issue.state === "OPEN") {
|
||||
await github.rest.issues.update({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
issue_number: issue.number,
|
||||
title: title,
|
||||
body: body,
|
||||
labels: ["nvchecker"],
|
||||
});
|
||||
console.log("Created issue on %s", issuesCreate.data.html_url);
|
||||
} catch (error) {
|
||||
core.warning(`failed to create issues with title: ${title}`);
|
||||
throw error;
|
||||
console.log(`Updated issue: ${issue.number}`);
|
||||
return;
|
||||
}
|
||||
})();
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
const createIssueMutation = `
|
||||
mutation($title: String!, $body: String, $repoId: ID!) {
|
||||
createIssue(input: {title: $title, body: $body, repositoryId: $repoId}) {
|
||||
issue {
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const repoQuery = `
|
||||
query($owner: String!, $name: String!) {
|
||||
repository(owner: $owner, name: $name) {
|
||||
id
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const { repository } = await graphqlWithAuth(repoQuery, {
|
||||
owner: context.repo.owner,
|
||||
name: context.repo.repo,
|
||||
});
|
||||
|
||||
const { createIssue } = await graphqlWithAuth(createIssueMutation, {
|
||||
title: title,
|
||||
body: body,
|
||||
repoId: repository.id,
|
||||
});
|
||||
|
||||
console.log(`Created issue: ${createIssue.issue.url}`);
|
||||
} catch (error) {
|
||||
core.warning(`Failed to create issue: ${error.message}`);
|
||||
throw error;
|
||||
}
|
||||
};
|
36
.github/workflows/nvchecker.yml
vendored
36
.github/workflows/nvchecker.yml
vendored
@ -17,7 +17,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/liangyongxiang/gentoo-testing:master
|
||||
|
||||
outputs:
|
||||
nvcmp: ${{ steps.nvchecker.outputs.nvcmp }}
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -45,33 +46,42 @@ jobs:
|
||||
|
||||
- name: nvchecker
|
||||
id: nvchecker
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GENTOO_ZH_NVCHECKER_PAT }}
|
||||
run: |
|
||||
echo "::group::nvchecker and nvcmp"
|
||||
echo "::group::nvchecker"
|
||||
cd .github/workflows/
|
||||
echo -e "[keys]\ngithub = \"${{ secrets.GITHUB_TOKEN }}\"" > keyfile.toml
|
||||
nvchecker --file overlay.toml --keyfile keyfile.toml
|
||||
|
||||
cat new_ver.json
|
||||
echo "nvcmp=$(nvcmp --file overlay.toml --json --newer)" >> $GITHUB_OUTPUT
|
||||
|
||||
echo "::endgroup::"
|
||||
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: latest
|
||||
echo "::group::nvcmp"
|
||||
echo "nvcmp=$(nvcmp --file overlay.toml --json --newer | jq 'map({name, newver, oldver})' | jq -c .)" >> $GITHUB_OUTPUT
|
||||
echo "::endgroup::"
|
||||
|
||||
issues-bumper:
|
||||
needs: nvchecker
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
include: ${{ fromJson(needs.nvchecker.outputs.nvcmp) }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: install github-script depends
|
||||
run: |
|
||||
npm install toml
|
||||
npm install toml @octokit/graphql
|
||||
|
||||
- name: update issues
|
||||
uses: actions/github-script@v7
|
||||
timeout-minutes: 1
|
||||
env:
|
||||
pkgs: ${{steps.nvchecker.outputs.nvcmp}}
|
||||
name: ${{ matrix.name }}
|
||||
newver: ${{ matrix.newver }}
|
||||
oldver: ${{ matrix.oldver }}
|
||||
GITHUB_TOKEN: ${{ secrets.GENTOO_ZH_NVCHECKER_PAT }}
|
||||
with:
|
||||
github-token: ${{ secrets.GENTOO_ZH_NVCHECKER_PAT }} # https://github.com/microcai/gentoo-zh/pull/3130
|
||||
script: |
|
||||
const script = require('./.github/workflows/issues-bumper.js');
|
||||
(async function () {
|
||||
|
1
.github/workflows/overlay.toml
vendored
1
.github/workflows/overlay.toml
vendored
@ -106,7 +106,6 @@ github_account = "Linerre"
|
||||
source = "regex"
|
||||
url = "https://www.cursor.com/api/download?platform=linux-x64&releaseTrack=latest"
|
||||
regex = '"version":"([\d.]+)"'
|
||||
github_account = "douglarek"
|
||||
|
||||
["app-editors/marktext-bin"]
|
||||
source = "github"
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST cursor-0.45.14-build-250219jnihavxsz-amd64.deb 103325702 BLAKE2B ae7b41fca428c5a6d3ff880702ca30463db1f2df97b25a0b8d06db70eb6d5d767a6cc8118d320f75a4abbc89bd5a0227febfbc730ae8899712f44811110dca60 SHA512 e2f9e85ec866157fb33878e56a8ca0af63126cbba1ab21885e8a575316c2e23b7238e6a7e30934f8b9f535da0eec89cdf3aeed7164fbb881b32b5c39ebe7c2a9
|
||||
DIST cursor-0.47.8-amd64.AppImage 187294912 BLAKE2B 7c8be1bf6a2902e7b766424cec9b9e0ddc85df7f2c46b020148e09b06597b0f82a151a80604188c17455c963a0bc27d7392223ac8f49ead8a6d296041cc0eefd SHA512 caaa5ed5354ae07e083cdafffad20ef03bd7dce7d22631ec10b2b03f0fd0481cd6485eece76cbc1556417b4d10f2443b299e675c351e230dfea4505d01802db7
|
||||
DIST cursor-0.47.8-arm64.AppImage 184575168 BLAKE2B 54efc5720630ae80f910178b78205d239ce68c943bb0d931cd39bf63581994934ae5632edfd3c51bd014d7130abf31b883d85a79ac4f0d41dabc725d27137e4a SHA512 32bcf5b26ff7c267e18b3e01a8851d86d35e32fbee2348d0afaa2663d48509ebc9c438d4abc45d45b59eece4797b169d1761d19814c6f87e7d02be6ca3daba8c
|
||||
DIST cursor-0.47.9-amd64.AppImage 173799928 BLAKE2B 28f24e68ac5fba990a60921ccff97cbd2873ba696679ab4688372abbbd11f5ae97b42eb9d72da88f828bdf81d0c5a789a4cf13c13e7588315b22bf3ca82dbfad SHA512 225ce407c228abd7d4bca5090469051cc38c8dc75c3a86db237275c3e2e07c7f78c18804c2bf86d21954edbe91ca4934777467298dd7e085e6eace9e6081b41e
|
||||
DIST cursor-0.47.9-arm64.AppImage 170445320 BLAKE2B 5b606ef0473ad4dac72220f9a57ca2eaba697b043dbd65f3341e939a19a2d9bc382d5ecfdda467743eabc5d461e020524d921e3ba3a68d2ab3c8e2954c4acdf4 SHA512 a68a04e90cc6ca9c55b366f34115ddbd1e5478c32528c42fa80bacda57142970f82ca6b5e358d3fc63ead66cd9014b4ec37c3038c283a1acc1cd10cbc61ef98e
|
||||
|
@ -11,12 +11,12 @@ CHROMIUM_LANGS="
|
||||
|
||||
inherit chromium-2 desktop pax-utils unpacker xdg optfeature shell-completion
|
||||
|
||||
BUILD_ID="82ef0f61c01d079d1b7e5ab04d88499d5af500e3"
|
||||
BUILD_ID="b6fb41b5f36bda05cab7109606e7404a65d1ff32"
|
||||
DESCRIPTION="Cursor App - AI-first coding environment"
|
||||
HOMEPAGE="https://www.cursor.com/"
|
||||
SRC_URI="
|
||||
amd64? ( https://downloads.cursor.com/production/client/linux/x64/appimage/Cursor-${PV}-${BUILD_ID}.deb.glibc2.25-x86_64.AppImage -> ${P}-amd64.AppImage )
|
||||
arm64? ( https://downloads.cursor.com/production/client/linux/arm64/appimage/Cursor-${PV}-${BUILD_ID}.deb.glibc2.28-aarch64.AppImage -> ${P}-arm64.AppImage )
|
||||
amd64? ( https://downloads.cursor.com/production/${BUILD_ID}/linux/x64/Cursor-${PV}-x86_64.AppImage -> ${P}-amd64.AppImage )
|
||||
arm64? ( https://downloads.cursor.com/production/${BUILD_ID}/linux/arm64/Cursor-${PV}-aarch64.AppImage -> ${P}-arm64.AppImage )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
2
dev-util/goland/Manifest
Normal file
2
dev-util/goland/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST goland-2024.3.4-aarch64.tar.gz 1108954980 BLAKE2B 7a94ab02d133f9177616a3e13549426f2e8c64da9bedf12d1e6d7a26a6034d6d090bd0d6037c7d3317cb0b2b82bab92b4e9b18d66ac6e5b21b42799c155d935b SHA512 8d940ef20145babb715d9ba9bb69e15c1833b6e3f5b4f17e631b00da13afd876d48bdb02ab86c382ebf385c1f26fe8f3d653bfd174f60de10fb0ee5d0df37a3d
|
||||
DIST goland-2024.3.4.tar.gz 1109282670 BLAKE2B 34cc73f9629dd6faf26215d20ad24a90fa7a313970f188b16a0dcef6e3b45ed0a14dfbe94a2d283ce67f91c0f0f7ebdcb968779555429927c69d11d3431eba9a SHA512 cfbcf36507b16a11426207c60387151f86d9785ca1f884eb934bf2be2c97d478109d48fb71beef1479c0bfc2c71927642ad88bf7ab28b97d85ac1b4fefcf55d3
|
97
dev-util/goland/goland-2024.3.4.ebuild
Normal file
97
dev-util/goland/goland-2024.3.4.ebuild
Normal file
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop wrapper
|
||||
|
||||
DESCRIPTION="Golang IDE by JetBrains"
|
||||
HOMEPAGE="https://www.jetbrains.com/go/"
|
||||
SRC_URI="
|
||||
amd64? ( https://download.jetbrains.com/go/${P}.tar.gz )
|
||||
arm64? ( https://download.jetbrains.com/go/${P}-aarch64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}/GoLand-${PV}"
|
||||
LICENSE="|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual )
|
||||
Apache-2.0
|
||||
BSD
|
||||
CC0-1.0
|
||||
CDDL
|
||||
CDDL-1.1
|
||||
EPL-1.0
|
||||
GPL-2
|
||||
GPL-2-with-classpath-exception
|
||||
ISC
|
||||
LGPL-2.1
|
||||
LGPL-3
|
||||
MIT
|
||||
MPL-1.1
|
||||
OFL-1.1
|
||||
ZLIB
|
||||
"
|
||||
SLOT="0/2024"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="wayland"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
QA_PREBUILT="opt/${P}/*"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/debugedit
|
||||
dev-util/patchelf
|
||||
"
|
||||
RDEPEND="
|
||||
>=virtual/jre-17:*
|
||||
dev-lang/go
|
||||
dev-libs/wayland
|
||||
sys-libs/pam
|
||||
sys-process/audit
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local remove_me=(
|
||||
lib/async-profiler/aarch64
|
||||
plugins/go-plugin/lib/dlv/linuxarm/dlv
|
||||
)
|
||||
|
||||
rm -rv "${remove_me[@]}" || die
|
||||
|
||||
# removing debug symbols and relocating debug files as per #876295
|
||||
# we're escaping all the files that contain $() in their name
|
||||
# as they should not be executed
|
||||
find . -type f ! -name '*$(*)*' -exec sh -c '
|
||||
if file "{}" | grep -qE "ELF (32|64)-bit"; then
|
||||
objcopy --remove-section .note.gnu.build-id "{}"
|
||||
debugedit -b "${EPREFIX}/opt/${PN}" -d "/usr/lib/debug" -i "{}"
|
||||
fi
|
||||
' \;
|
||||
|
||||
patchelf --set-rpath '$ORIGIN' "jbr/lib/libjcef.so" || die
|
||||
patchelf --set-rpath '$ORIGIN' "jbr/lib/jcef_helper" || die
|
||||
|
||||
# As per https://blog.jetbrains.com/platform/2024/07/wayland-support-preview-in-2024-2/ for full wayland support
|
||||
if use wayland; then
|
||||
echo "-Dawt.toolkit.name=WLToolkit" >> bin/webstorm64.vmoptions || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${P}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
fperms 755 "${dir}"/bin/{format.sh,goland.sh,inspect.sh,ltedit.sh,remote-dev-server.sh,restarter,fsnotifier}
|
||||
fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,keytool,rmiregistry,serialver}
|
||||
fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
|
||||
fperms 755 "${dir}"/plugins/go-plugin/lib/dlv/linux/dlv
|
||||
|
||||
make_wrapper "${PN}" "${dir}/bin/${PN}.sh"
|
||||
newicon "bin/${PN}.png" "${PN}.png"
|
||||
make_desktop_entry "${PN}" "Goland ${PV}" "${PN}" "Development;IDE;"
|
||||
|
||||
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
|
||||
insinto /usr/lib/sysctl.d
|
||||
newins - 30-"${PN}"-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
|
||||
}
|
16
dev-util/goland/metadata.xml
Normal file
16
dev-util/goland/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zx2c4@gentoo.org</email>
|
||||
<name>Jason A. Donenfeld</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>stefan.cristian+git@rogentos.ro</email>
|
||||
<name>Stefan Cristian B.</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -10,6 +10,6 @@ LICENSE=cursor
|
||||
RDEPEND=>=app-accessibility/at-spi2-core-2.46.0:2 app-crypt/libsecret[crypt] app-misc/ca-certificates dev-libs/expat dev-libs/glib:2 dev-libs/nspr dev-libs/nss media-libs/alsa-lib media-libs/libglvnd media-libs/mesa net-misc/curl sys-apps/dbus sys-libs/zlib sys-process/lsof x11-libs/cairo x11-libs/gtk+:3 x11-libs/libdrm x11-libs/libX11 x11-libs/libxcb x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libxkbcommon x11-libs/libxkbfile x11-libs/libXrandr x11-libs/libXScrnSaver x11-libs/pango x11-misc/xdg-utils kerberos? ( app-crypt/mit-krb5 )
|
||||
RESTRICT=bindist mirror strip
|
||||
SLOT=0
|
||||
SRC_URI=amd64? ( https://downloads.cursor.com/production/client/linux/x64/appimage/Cursor-0.47.8-82ef0f61c01d079d1b7e5ab04d88499d5af500e3.deb.glibc2.25-x86_64.AppImage -> cursor-0.47.8-amd64.AppImage ) arm64? ( https://downloads.cursor.com/production/client/linux/arm64/appimage/Cursor-0.47.8-82ef0f61c01d079d1b7e5ab04d88499d5af500e3.deb.glibc2.28-aarch64.AppImage -> cursor-0.47.8-arm64.AppImage )
|
||||
SRC_URI=amd64? ( https://downloads.cursor.com/production/b6fb41b5f36bda05cab7109606e7404a65d1ff32/linux/x64/Cursor-0.47.9-x86_64.AppImage -> cursor-0.47.9-amd64.AppImage ) arm64? ( https://downloads.cursor.com/production/b6fb41b5f36bda05cab7109606e7404a65d1ff32/linux/arm64/Cursor-0.47.9-aarch64.AppImage -> cursor-0.47.9-arm64.AppImage )
|
||||
_eclasses_=toolchain-funcs 6afdb6107430c1832ca7e16aacbf8fa1 multilib b2a329026f2e404e9e371097dda47f96 linux-info ea4122ba1d8791a12b78e53f9510a2e3 chromium-2 93690d770dc2e27deaa89794e2f9fe3f desktop 3a72ffe0d8e1dd73af3a1c8c15a59fed pax-utils 5555f2e75744739fe100ee62c22d28fe multiprocessing 1e32df7deee68372153dca65f4a7c21f unpacker fb4b84181244b3b9990fa0bf40232dd2 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 xdg 3ef49a87c52c8b77c476351195dfe575 optfeature 538bce96e5589935b57e178e8635f301 bash-completion-r1 767861f3744f589ee5291c1698b1c082 shell-completion 0b655d0d825e157a5e99c463bddaac16
|
||||
_md5_=e58db8d8accb7a1f1422e925e417c649
|
||||
_md5_=10617b3c429c3c5a725ac58ac86bbbf8
|
15
metadata/md5-cache/dev-util/goland-2024.3.4
Normal file
15
metadata/md5-cache/dev-util/goland-2024.3.4
Normal file
@ -0,0 +1,15 @@
|
||||
BDEPEND=dev-util/debugedit dev-util/patchelf
|
||||
DEFINED_PHASES=install prepare
|
||||
DESCRIPTION=Golang IDE by JetBrains
|
||||
EAPI=8
|
||||
HOMEPAGE=https://www.jetbrains.com/go/
|
||||
INHERIT=desktop wrapper
|
||||
IUSE=wayland
|
||||
KEYWORDS=~amd64 ~arm64
|
||||
LICENSE=|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual ) Apache-2.0 BSD CC0-1.0 CDDL CDDL-1.1 EPL-1.0 GPL-2 GPL-2-with-classpath-exception ISC LGPL-2.1 LGPL-3 MIT MPL-1.1 OFL-1.1 ZLIB
|
||||
RDEPEND=>=virtual/jre-17:* dev-lang/go dev-libs/wayland sys-libs/pam sys-process/audit
|
||||
RESTRICT=bindist mirror
|
||||
SLOT=0/2024
|
||||
SRC_URI=amd64? ( https://download.jetbrains.com/go/goland-2024.3.4.tar.gz ) arm64? ( https://download.jetbrains.com/go/goland-2024.3.4-aarch64.tar.gz )
|
||||
_eclasses_=desktop 3a72ffe0d8e1dd73af3a1c8c15a59fed wrapper 11a2a3bd712784986679b60a0cab34a0
|
||||
_md5_=35b5a6e1c1fb665e761c96e31e440c05
|
@ -9,6 +9,6 @@ KEYWORDS=~amd64
|
||||
LICENSE=all-rights-reserved
|
||||
RESTRICT=strip mirror
|
||||
SLOT=0
|
||||
SRC_URI=amd64? ( https://file-assets.apifox.com/download/Apifox-linux-latest.zip -> apifox-2.7.1-amd64.zip )
|
||||
SRC_URI=amd64? ( https://file-assets.apifox.com/download/Apifox-linux-latest.zip -> apifox-2.7.2-amd64.zip )
|
||||
_eclasses_=desktop 3a72ffe0d8e1dd73af3a1c8c15a59fed xdg-utils 42869b3c8d86a70ef3cf75165a395e09 xdg 3ef49a87c52c8b77c476351195dfe575
|
||||
_md5_=e71095fd75ab442d40e6179e64992542
|
||||
_md5_=d5389abb3107c6980c25a729ff296602
|
@ -35,7 +35,7 @@ app-dicts/fcitx-pinyin-sougou-baidu 20250219: Sougou & Baidu Pinyin dictionary f
|
||||
app-dicts/fcitx-pinyin-zhwiki 0.2.5.20250310: Fcitx 5 Pinyin Dictionary from zh.wikipedia.org
|
||||
app-dicts/fcitx-pinyin-zhwiki-bin 0.2.5.20250310: Fcitx 5 Pinyin Dictionary from zh.wikipedia.org
|
||||
app-editors/appflowy-bin 0.8.6: AppFlowy is an open-source alternative to Notion
|
||||
app-editors/cursor 0.45.14 0.47.8: Cursor App - AI-first coding environment
|
||||
app-editors/cursor 0.45.14 0.47.9: Cursor App - AI-first coding environment
|
||||
app-editors/marktext-bin 0.17.1: A simple and elegant markdown editor, available for Linux, macOS and Windows.
|
||||
app-editors/typora 0.11.18 1.10.8: A truely minimal markdown editor.
|
||||
app-emulation/deepin-udis86 1.72-r4: Disassembler library for x86 (32-bit shared library)
|
||||
@ -145,6 +145,7 @@ dev-util/arch-install-scripts 29: Arch Linux install tools (pacstrap, genfstab,
|
||||
dev-util/asdf-vm 0.15.0 0.16.5: Manage all your runtime versions with one tool
|
||||
dev-util/binsider 0.2.1: Analyze ELF binaries like a boss
|
||||
dev-util/execstack 0_pre20130503: set the executable stack flag of ELF binaries and libraries
|
||||
dev-util/goland 2024.3.4: Golang IDE by JetBrains
|
||||
dev-util/jetbrains-toolbox 1.28.1.15219 2.5.4.38621: Manage all your JetBrains Projects and Tools
|
||||
dev-util/mamba 2.0.5: The Fast Cross-Platform Package Manager
|
||||
dev-util/osc 1.14.0: The Command Line Interface to work with an Open Build Service
|
||||
@ -239,7 +240,7 @@ net-misc/alist 3.32.0 3.43.0: A file list/WebDAV program that supports multiple
|
||||
net-misc/aliyundrive-webdav 2.3.3: WebDAV server for AliyunDrive
|
||||
net-misc/aliyunpan 0.3.6: aliyunpan cli client, support Webdav service, JavaScript plugin
|
||||
net-misc/another-redis-desktop-manager-bin 1.7.1: A faster, better and more stable Redis desktop manager [GUI client]
|
||||
net-misc/apifox 2.7.1: API 文档、API 调试、API Mock、API 自动化测试
|
||||
net-misc/apifox 2.7.2: API 文档、API 调试、API Mock、API 自动化测试
|
||||
net-misc/baidunetdisk 4.3.0 4.17.7: Baidu Net Disk is a cloud storage client (Linux Version)
|
||||
net-misc/baidupcs-go 3.9.5 3.9.5-r1: The terminal utility for Baidu Network Disk (Golang Version).
|
||||
net-misc/bbdown-bin 1.6.3: 一款命令行式哔哩哔哩下载器
|
||||
|
@ -1 +1 @@
|
||||
Fri, 21 Mar 2025 14:05:17 +0000
|
||||
Sat, 22 Mar 2025 13:05:10 +0000
|
||||
|
@ -1 +1 @@
|
||||
DIST apifox-2.7.1-amd64.zip 283640873 BLAKE2B 8613f9b21cb7d0699d8f43500e5dac71254d80bca2911f4a69921540b1293e94955336c9b9c403147863e1ecbe2ab7e1f35b61ba0b8288f1db64f4ac7a51a69d SHA512 3f56e86cbe4909da8f4171ddef18a61ca31f5874b8346ec76c7b77454a8f65377089341976edbf15dfc2ac4ce913a0abba9697ad0a4d438bacbac67e0e6c9b7b
|
||||
DIST apifox-2.7.2-amd64.zip 283717814 BLAKE2B 8969f2f211c5bbcf226265669bf5d1de41ca80c07c43c7a6a34038c9114eafe6fd419ba98b3c4bf35d7721006dffadf61cb13a1878889b2979e559e12f15d8cf SHA512 641598c86a88159f3803fa18a96da6e0ca09fab697fae22dbb00055f0093f8a3c5dae34971fb1377d8a93dd2230a18bc15ba48e708d0e86c3a035a90c4ffb411
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
Loading…
x
Reference in New Issue
Block a user