This commit is contained in:
emmett1
2021-03-13 00:22:43 +08:00
parent 66dfa68ee6
commit 4ffabe14a4
12 changed files with 96 additions and 202 deletions

View File

@@ -0,0 +1 @@
ae48b60c690c4aa894e69e0c97802745 pygobject-2.28.7.tar.xz

View File

@@ -0,0 +1,56 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/pygtk-2.0/
-rw-r--r-- root/root usr/include/pygtk-2.0/pyglib.h
-rw-r--r-- root/root usr/include/pygtk-2.0/pygobject.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libpyglib-2.0-python3.so -> libpyglib-2.0-python3.so.0.0.0
lrwxrwxrwx root/root usr/lib/libpyglib-2.0-python3.so.0 -> libpyglib-2.0-python3.so.0.0.0
-rwxr-xr-x root/root usr/lib/libpyglib-2.0-python3.so.0.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/pygobject-2.0.pc
drwxr-xr-x root/root usr/lib/python3.8/
drwxr-xr-x root/root usr/lib/python3.8/site-packages/
drwxr-xr-x root/root usr/lib/python3.8/site-packages/glib/
-rw-r--r-- root/root usr/lib/python3.8/site-packages/glib/__init__.py
-rw-r--r-- root/root usr/lib/python3.8/site-packages/glib/__init__.pyc
-rw-r--r-- root/root usr/lib/python3.8/site-packages/glib/__init__.pyo
-rwxr-xr-x root/root usr/lib/python3.8/site-packages/glib/_glib.so
-rw-r--r-- root/root usr/lib/python3.8/site-packages/glib/option.py
-rw-r--r-- root/root usr/lib/python3.8/site-packages/glib/option.pyc
-rw-r--r-- root/root usr/lib/python3.8/site-packages/glib/option.pyo
drwxr-xr-x root/root usr/lib/python3.8/site-packages/gobject/
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/__init__.py
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/__init__.pyc
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/__init__.pyo
-rwxr-xr-x root/root usr/lib/python3.8/site-packages/gobject/_gobject.so
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/constants.py
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/constants.pyc
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/constants.pyo
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/propertyhelper.py
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/propertyhelper.pyc
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gobject/propertyhelper.pyo
drwxr-xr-x root/root usr/lib/python3.8/site-packages/gtk-2.0/
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gtk-2.0/dsextras.py
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gtk-2.0/dsextras.pyc
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gtk-2.0/dsextras.pyo
drwxr-xr-x root/root usr/lib/python3.8/site-packages/gtk-2.0/gio/
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gtk-2.0/gio/__init__.py
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gtk-2.0/gio/__init__.pyc
-rw-r--r-- root/root usr/lib/python3.8/site-packages/gtk-2.0/gio/__init__.pyo
-rw-r--r-- root/root usr/lib/python3.8/site-packages/pygtk.pth
-rw-r--r-- root/root usr/lib/python3.8/site-packages/pygtk.py
-rw-r--r-- root/root usr/lib/python3.8/site-packages/pygtk.pyc
-rw-r--r-- root/root usr/lib/python3.8/site-packages/pygtk.pyo
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/pygobject/
drwxr-xr-x root/root usr/share/pygobject/2.0/
drwxr-xr-x root/root usr/share/pygobject/2.0/defs/
drwxr-xr-x root/root usr/share/pygobject/xsl/
-rw-r--r-- root/root usr/share/pygobject/xsl/common.xsl
-rw-r--r-- root/root usr/share/pygobject/xsl/devhelp.xsl
-rw-r--r-- root/root usr/share/pygobject/xsl/fixxref.py
-rw-r--r-- root/root usr/share/pygobject/xsl/html.xsl
-rw-r--r-- root/root usr/share/pygobject/xsl/pdf-style.xsl
-rw-r--r-- root/root usr/share/pygobject/xsl/pdf.xsl
-rw-r--r-- root/root usr/share/pygobject/xsl/ref-html-style.xsl

View File

@@ -0,0 +1,19 @@
# description : Python 3 bindings to the GObject class from GLib
# depends : python3 glib
name=python3-gobject2
version=2.28.7
release=2
source="https://ftp.gnome.org/pub/gnome/sources/pygobject/${version%.*}/pygobject-$version.tar.xz"
build() {
cd pygobject-$version
./configure --prefix=/usr \
--disable-introspection \
PYTHON=/usr/bin/python3
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/gtk-doc
}

View File

@@ -0,0 +1,3 @@
port_getver() {
getver_gnome | grep ^2
}

View File

@@ -1 +0,0 @@
f4c080f85f22731e8a02fcc894e33df6 v1.6.2.tar.gz

View File

@@ -1,73 +0,0 @@
github-cli-1.6.2-1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/gh
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/gh-alias-delete.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-alias-list.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-alias-set.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-alias.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-api.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-auth-login.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-auth-logout.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-auth-refresh.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-auth-status.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-auth.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-completion.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-config-get.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-config-set.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-config.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-gist-clone.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-gist-create.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-gist-delete.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-gist-edit.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-gist-list.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-gist-view.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-gist.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-close.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-comment.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-create.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-delete.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-edit.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-list.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-reopen.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-status.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue-view.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-issue.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-checkout.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-checks.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-close.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-comment.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-create.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-diff.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-edit.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-list.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-merge.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-ready.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-reopen.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-review.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-status.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr-view.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-pr.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-release-create.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-release-delete.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-release-download.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-release-list.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-release-upload.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-release-view.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-release.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-repo-clone.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-repo-create.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-repo-fork.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-repo-view.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-repo.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-secret-list.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-secret-remove.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-secret-set.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-secret.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-ssh-key-add.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-ssh-key-list.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh-ssh-key.1.gz
-rw-r--r-- root/root usr/share/man/man1/gh.1.gz

View File

@@ -1,24 +0,0 @@
# description : The GitHub CLI
# depends : git go mailcap
name=github-cli
version=1.6.2
release=1
source="https://github.com/cli/cli/archive/v$version.tar.gz"
build() {
cd cli-$version
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
make GH_VERSION="v$version" bin/gh manpages
bin/gh completion -s bash | install -Dm644 /dev/stdin share/bash-completion/completions/gh
bin/gh completion -s zsh | install -Dm644 /dev/stdin share/zsh/site-functions/_gh
bin/gh completion -s fish | install -Dm644 /dev/stdin share/fish/vendor_completions.d/gh.fish
make DESTDIR="${PKG}" prefix="/usr" install
}

View File

@@ -1,29 +0,0 @@
import json
from pathlib import Path
BASEPATH = Path('..')
REPOSITORIES = ["core", "multilib", "nonfree", "testing"]
def read_spkgbuild(filepath):
result = {}
with filepath.open() as lines:
for line in lines:
key, eq, value = line.strip().partition('=')
if eq and key in ['name', 'version', 'source']:
result[key] = value
return result
def main():
packages = []
for repository in REPOSITORIES:
print(repository)
for filepath in (BASEPATH / repository).glob('*/spkgbuild'):
info = read_spkgbuild(filepath)
info["repo"] = repository
packages.append(info)
with open('packages.json', 'w') as outfile:
json.dump(packages, outfile)
if __name__ == "__main__":
main()

View File

@@ -18,14 +18,13 @@ SCRIPTDIR="$(dirname $(realpath $0))"
MUST_PKG="wpa_supplicant os-prober grub" # must have pkg in the iso
XORG_PKG="xorg xorg-video-drivers xf86-input-libinput" # xorg stuff in the iso
MAIN_PKG="pm-utils sudo scrot hexchat audacious audacious-plugins smplayer alsa-utils
pulseaudio jack simplescreenrecorder ntp gparted dosfstools mtools cantarell-fonts
liberation-fonts git libmtp gvfs networkmanager ntfs-3g neofetch xdg-user-dirs
network-manager-applet blueman firefox thunderbird xfce4 lxdm"
MAIN_PKG="sudo alsa-utils gparted dosfstools mtools gvfs networkmanager ntfs-3g neofetch xdg-user-dirs polkit-gnome firefox-esr geany"
OPENBOX_PKG="openbox lxappearance lxappearance-obconf obconf obmenu-generator gmrun pcmanfm l3afpad feh pypanel slim"
THEME_PKG="arcbox paper-icon-theme osx-arc-theme liberation-fonts picom dunst neofetch dfc"
# theme: arc-gtk-theme xfce4-whiskermenu-plugin pop-icon-theme
outputiso="$PORTSDIR/venomlinux-$(date +"%Y%m%d").iso"
pkgs="$(echo $MUST_PKG $XORG_PKG $MAIN_PKG | tr ' ' ',')"
pkgs="$(echo $MUST_PKG $XORG_PKG $MAIN_PKG $OPENBOX_PKG $THEME_PKG | tr ' ' ',')"
as_root $SCRIPTDIR/build.sh \
-zap \

View File

@@ -1,30 +0,0 @@
#!/bin/sh
as_root()
{
if [ $(id -u) = 0 ]; then
$*
elif [ -x /usr/bin/sudo ]; then
sudo $*
else
su -c \\"$*\\"
fi
}
PORTSDIR="$(dirname $(dirname $(realpath $0)))"
SCRIPTDIR="$(dirname $(realpath $0))"
[ -f $SCRIPTDIR/config ] && . $SCRIPTDIR/config
MUST_PKG="wpa_supplicant os-prober grub" # must have pkg in the iso
outputiso="$PORTSDIR/venomlinux-base-$(date +"%Y%m%d").iso"
pkgs="$(echo $MUST_PKG | tr ' ' ',')"
as_root $SCRIPTDIR/build.sh \
-zap \
-iso \
-outputiso="$outputiso" \
-pkg="$pkgs" || exit 1
exit 0

View File

@@ -1,31 +0,0 @@
#!/bin/sh
as_root()
{
if [ $(id -u) = 0 ]; then
$*
elif [ -x /usr/bin/sudo ]; then
sudo $*
else
su -c \\"$*\\"
fi
}
PORTSDIR="$(dirname $(dirname $(realpath $0)))"
SCRIPTDIR="$(dirname $(realpath $0))"
[ -f $SCRIPTDIR/config ] && . $SCRIPTDIR/config
MUST_PKG="wpa_supplicant os-prober grub" # must have pkg in the iso
XORG_PKG="xorg xorg-video-drivers xf86-input-libinput" # xorg stuff in the iso
outputiso="$PORTSDIR/venomlinux-xorg-$(date +"%Y%m%d").iso"
pkgs="$(echo $MUST_PKG $XORG_PKG | tr ' ' ',')"
as_root $SCRIPTDIR/build.sh \
-zap \
-iso \
-outputiso="$outputiso" \
-pkg="$pkgs" || exit 1
exit 0

View File

@@ -15,12 +15,6 @@ verifyfiles() {
[ -f $portpath/.checksums ] || msg "'.checksums' not exist, please generate it using 'pkgbuild -g'"
}
verifyunnecessaryfiles() {
if [ -f $portpath/.pkgfiles ]; then
grep -q "usr/share/licenses" $portpath/.pkgfiles && msg "please remove licenses: usr/share/licenses"
fi
}
verifythisisnotcrux() {
for i in PKGMK prt prt-get; do
grep -q "$i" $portpath/spkgbuild && msg "please remove CRUX stuff, this is not CRUX"
@@ -28,7 +22,7 @@ verifythisisnotcrux() {
}
verifythisisnotarch() {
for i in PKGMK pkgver pkgrel pkgdesc pkgdir srcdir; do
for i in pkgver pkgrel pkgdesc pkgdir srcdir; do
grep -q "$i" $portpath/spkgbuild && msg "please remove ARCH stuff, this is not ARCH"
done
}
@@ -61,13 +55,23 @@ verifydeps() {
verifyforbiddendir() {
for i in \
usr/share/licenses/ \
usr/share/locale/ \
usr/share/doc/ \
usr/share/gtk-doc/ \
usr/doc/ \
usr/locale; do
[ -f $portpath/.pkgfiles ] || continue
grep -q ${i} $portpath/.pkgfiles && msg "please remove this forbidden directory: ${i}"
grep -q ${i}$ $portpath/.pkgfiles && msg "please remove this forbidden directory: ${i}"
done
}
verifynotusedir() {
for i in \
usr/local/ \
usr/libexec; do
[ -f $portpath/.pkgfiles ] || continue
grep -q ${i}$ $portpath/.pkgfiles && msg "this directory not use in venom: ${i}"
done
}
@@ -84,10 +88,10 @@ while [ $1 ]; do
verifydeps
verifyvar
verifyfiles
verifyunnecessaryfiles
verifythisisnotcrux
verifythisisnotarch
verifyforbiddendir
verifynotusedir
shift
done