From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tex:main commit in: /
Date: Fri, 1 Mar 2024 11:00:17 +0000 (UTC) [thread overview]
Message-ID: <1709290807.0167b4919c0bc36d0bb1bb603640add3b9aecd5b.flow@gentoo> (raw)
commit: 0167b4919c0bc36d0bb1bb603640add3b9aecd5b
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 1 11:00:07 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Mar 1 11:00:07 2024 +0000
URL: https://gitweb.gentoo.org/proj/tex.git/commit/?id=0167b491
add overlay-to-gentoo
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
overlay-to-gentoo | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
diff --git a/overlay-to-gentoo b/overlay-to-gentoo
new file mode 100755
index 0000000..34d739b
--- /dev/null
+++ b/overlay-to-gentoo
@@ -0,0 +1,99 @@
+#!/usr/bin/env bash
+set -eu
+
+# Defines a somewhat sensible order in which packages should be merged
+# into ::gentoo.
+PACKAGES=(
+ dev-libs/kpathsea
+ dev-libs/ptexenc
+
+ app-text/dvipsk
+ app-text/ttf2pk2
+ app-text/ps2pkm
+ app-text/dvisvgm
+
+ dev-tex/biblatex
+ dev-tex/biber
+
+ dev-tex/latexmk
+ dev-tex/glossaries
+ dev-tex/tex4ht
+ dev-tex/minted
+ dev-tex/bibtexu
+ dev-tex/pgf
+ dev-tex/latex-beamer
+
+ app-text/texlive-core
+
+ dev-texlive/texlive-basic
+ dev-texlive/texlive-luatex
+ dev-texlive/texlive-latex
+ dev-texlive/texlive-latexrecommended
+ dev-texlive/texlive-plaingeneric
+
+ dev-texlive/texlive-fontutils
+ dev-texlive/texlive-langportuguese
+ dev-texlive/texlive-publishers
+ dev-texlive/texlive-langpolish
+ dev-texlive/texlive-langcyrillic
+ dev-texlive/texlive-langspanish
+ dev-texlive/texlive-langkorean
+ dev-texlive/texlive-langczechslovak
+ dev-texlive/texlive-music
+ dev-texlive/texlive-pstricks
+ dev-texlive/texlive-xetex
+ dev-texlive/texlive-langjapanese
+ dev-texlive/texlive-fontsextra
+ dev-texlive/texlive-langother
+ dev-texlive/texlive-formatsextra
+ dev-texlive/texlive-langitalian
+ dev-texlive/texlive-langfrench
+ dev-texlive/texlive-pictures
+ dev-texlive/texlive-mathscience
+ dev-texlive/texlive-metapost
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-bibtexextra
+ dev-texlive/texlive-langarabic
+ dev-texlive/texlive-context
+ dev-texlive/texlive-fontsrecommended
+ dev-texlive/texlive-langgreek
+ dev-texlive/texlive-langeuropean
+ dev-texlive/texlive-games
+ dev-texlive/texlive-langchinese
+ dev-texlive/texlive-langenglish
+ dev-texlive/texlive-binextra
+ dev-texlive/texlive-humanities
+ dev-texlive/texlive-langgerman
+ dev-texlive/texlive-langcjk
+
+ app-text/texlive
+)
+
+GENTOO_DIR="$(portageq get_repo_path / gentoo)"
+TEX_OVERLAY_DIR="$(portageq get_repo_path / tex-overlay)"
+
+for PACKAGE in "${PACKAGES[@]}"; do
+ SOURCE="${TEX_OVERLAY_DIR}/${PACKAGE}"
+ DEST="${GENTOO_DIR}/${PACKAGE}"
+
+ [[ ! -d "${DEST}" ]] && mkdir "${DEST}"
+
+ cp "${SOURCE}"/*.ebuild "${DEST}"
+ cp "${SOURCE}"/metadata.xml "${DEST}"
+ if [[ -d "${SOURCE}"/files ]]; then
+ [[ ! -d "${DEST}"/files ]] && mkdir "${DEST}"/files
+
+ cp "${SOURCE}"/files/* "${DEST}"/files
+ fi
+
+ cd "${DEST}"
+
+ git add .
+
+ if git diff-index --quiet @; then
+ echo "Nothing to commit for ${PACKAGE}"
+ continue
+ fi
+
+ pkgdev commit
+done
next reply other threads:[~2024-03-01 11:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 11:00 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 17:55 [gentoo-commits] proj/tex:main commit in: / Florian Schmaus
2024-11-20 15:04 Florian Schmaus
2024-02-28 13:01 Florian Schmaus
2024-02-11 10:33 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2023-11-17 14:28 Florian Schmaus
2023-11-17 14:28 Florian Schmaus
2023-11-17 14:28 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1709290807.0167b4919c0bc36d0bb1bb603640add3b9aecd5b.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox