lxpanel done
This commit is contained in:
1 parent
2157bf3d33
commit
468a52716c
10 files changed
+88
-22
No files matched your search
@@ -17,9 +17,17 @@ arch=('x86_64')
|
|||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
_make() (
|
prepare(){
|
||||||
|
# tools/configure.py needs Python 2
|
||||||
|
sed -i 's/^#undef DUK_USE_FASTINT$/#define DUK_USE_FASTINT/' src/duk_config.h
|
||||||
|
|
||||||
|
# Add missing NEEDED on libm.so
|
||||||
|
sed -i 's/duktape\.c/& -lm/' Makefile.sharedlibrary
|
||||||
|
}
|
||||||
|
|
||||||
|
_make(){
|
||||||
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr "$@"
|
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr "$@"
|
||||||
)
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
_make
|
_make
|
||||||
@@ -27,6 +35,6 @@ build(){
|
|||||||
|
|
||||||
package(){
|
package(){
|
||||||
_make DESTDIR="$DESTDIR" install
|
_make DESTDIR="$DESTDIR" install
|
||||||
install -Dt "$DESTDIR/usr/share/licenses/$name" -m644 LICENSE.txt
|
install -Dt "$DESTDIR/usr/share/licenses/$name" -m644 LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -17,10 +17,22 @@ arch=('x86_64')
|
|||||||
|
|
||||||
cd $name-debian-$version
|
cd $name-debian-$version
|
||||||
|
|
||||||
|
prepare(){
|
||||||
|
# Disable pager plugin as it breaks panel layout with GTK+ 3
|
||||||
|
# https://sourceforge.net/p/lxde/bugs/773/
|
||||||
|
sed -i '/pager.c/d' plugins/Makefile.am
|
||||||
|
sed -i '/STATIC_PAGER/d' src/private.h
|
||||||
|
sed -i 's/libwnck-3.0//' configure.ac
|
||||||
|
sed -i 's/background=1/background=0/' data/default/panels/panel.in
|
||||||
|
}
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64/ --enable-gtk3
|
--libdir=/usr/lib64/ \
|
||||||
|
--enable-gtk3 \
|
||||||
|
--disable-silent-rules \
|
||||||
|
--with-plugins=all,-cpufreq
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
|
|||||||
@@ -7,23 +7,25 @@ description='Lightweight X11 session manager'
|
|||||||
email='akarsu@protonmail.com'
|
email='akarsu@protonmail.com'
|
||||||
maintainer='akarsu'
|
maintainer='akarsu'
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
source=("https://downloads.sourceforge.net/lxde/$name-$version.tar.xz")
|
source=("https://salsa.debian.org/lxde-team/lxsession/-/archive/debian/0.5.5-2/lxsession-debian-0.5.5-2.tar.gz")
|
||||||
depends=(gtk3 polkit)
|
depends=(gtk3 polkit)
|
||||||
makedepends=(intltool vala docbook-xsl)
|
makedepends=(intltool vala docbook-xsl)
|
||||||
md5sums=('e8380acef215ee7c99c067a2241c2c7b')
|
md5sums=('57c0a337a43c256d15962a07667107d3')
|
||||||
group=(lxde.base)
|
group=(lxde.base)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-debian-$version-2
|
||||||
rm *.stamp
|
|
||||||
setup(){
|
setup(){
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
./configure --sysconfdir=/etc \
|
./configure --prefix=/usr\
|
||||||
--libexecdir=/usr/lib \
|
--sysconfdir=/etc \
|
||||||
|
--libexecdir=/usr/libexec \
|
||||||
--enable-gtk3 \
|
--enable-gtk3 \
|
||||||
--prefix=/usr \
|
--enable-buildin-clipboard \
|
||||||
--libdir=/usr/lib64/
|
--libdir=/usr/lib64/ \
|
||||||
|
--enable-buildin-polkit
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ email='bayramk@gmail.com'
|
|||||||
maintainer='bk'
|
maintainer='bk'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://github.com/lxde/pcmanfm/archive/refs/tags/1.3.2.tar.gz")
|
source=("https://github.com/lxde/pcmanfm/archive/refs/tags/1.3.2.tar.gz")
|
||||||
depends=(lxmenu-data libfm)
|
depends=(lxmenu-data libfm menu-cache libkeybinder3)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('212a3ca12bc38dbd92c4b501b98d8074')
|
md5sums=('212a3ca12bc38dbd92c4b501b98d8074')
|
||||||
group=(lxde.base)
|
group=(lxde.base)
|
||||||
|
|||||||
@@ -9,24 +9,30 @@ maintainer='sulincix'
|
|||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://github.com/rockdaboot/libpsl/releases/download/$version/libpsl-$version.tar.gz")
|
source=("https://github.com/rockdaboot/libpsl/releases/download/$version/libpsl-$version.tar.gz")
|
||||||
depends=(libidn2)
|
depends=(libidn2)
|
||||||
makedepends=( )
|
makedepends=(python)
|
||||||
md5sums=('ad40b970dcb5117d559b62a1e0d8d827')
|
md5sums=('ad40b970dcb5117d559b62a1e0d8d827')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
group=(net.libs)
|
group=(net.libs)
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
fprepare() {
|
||||||
|
rm -frv list
|
||||||
|
}
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
meson setup build --prefix=/usr \
|
autoreconf -fiv
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
--libdir=/usr/lib64 \
|
--libdir=/usr/lib64 \
|
||||||
--default-library=both
|
--enable-{builtin,runtime}=libidn2
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
ninja -C build
|
make $jobs
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
ninja -C build install
|
make install $jobs
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
polkitd:x:102:polkitd
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
supervisor=supervise-daemon
|
||||||
|
|
||||||
|
name="Polkit System Daemon"
|
||||||
|
description="Provide System authentication via PolicyKit1 D-Bus service"
|
||||||
|
|
||||||
|
command=/usr/lib/polkit-1/polkitd
|
||||||
|
command_args="${POLKIT_OPTS:---no-debug}"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need dbus
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
polkitd:x:102:102:User for polkitd:/var/empty:/sbin/nologin
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if [ ! -f /var/lib/ymp/sysconf/polkit/postinstall.done ] ; then
|
||||||
|
install -d /usr/share/polkit-1/rules.d
|
||||||
|
install -d /etc/polkit-1/rules.d
|
||||||
|
chown -R polkitd:polkitd /{etc,usr/share}/polkit-1/rules.d
|
||||||
|
chmod -R 700 /etc/polkit-1/rules.d
|
||||||
|
chmod -R 700 /usr/share/polkit-1/rules.d
|
||||||
|
chmod 4755 /usr/lib/polkit-1/polkit-agent-helper-1
|
||||||
|
chmod 4755 /usr/bin/pkexec
|
||||||
|
date > /var/lib/ymp/sysconf/polkit/postinstall.done
|
||||||
|
fi
|
||||||
@@ -7,10 +7,16 @@ description='Application development toolkit for controlling system-wide privile
|
|||||||
email='akarsu@protonmail.com'
|
email='akarsu@protonmail.com'
|
||||||
maintainer='akarsu'
|
maintainer='akarsu'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/polkit-$version.tar.gz")
|
source=("https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/polkit-$version.tar.gz"
|
||||||
|
"polkit.groups"
|
||||||
|
"polkit.passwd"
|
||||||
|
"polkit.sysconf")
|
||||||
depends=(duktape expat glib pam elogind)
|
depends=(duktape expat glib pam elogind)
|
||||||
makedepends=(git gobject-introspection gtk-doc meson)
|
makedepends=(gobject-introspection gtk-doc meson)
|
||||||
md5sums=('bbe3e745fc5bc1a41f1b5044f09a0f26')
|
md5sums=('bbe3e745fc5bc1a41f1b5044f09a0f26'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP')
|
||||||
group=(sys.auth)
|
group=(sys.auth)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -19,7 +25,9 @@ cd $name-$version
|
|||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
meson setup build --prefix=/usr \
|
meson setup build --prefix=/usr \
|
||||||
--libdir=/usr/lib64/
|
--libdir=/usr/lib64/ \
|
||||||
|
-Dsession_tracking="libelogind" \
|
||||||
|
-Dsystemdsystemunitdir=/garbage
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
@@ -28,5 +36,10 @@ build(){
|
|||||||
|
|
||||||
package(){
|
package(){
|
||||||
ninja -C build install $jobs
|
ninja -C build install $jobs
|
||||||
|
rm -rf $DESTDIR/garbage
|
||||||
|
install -d $DESTDIR/etc/{passwd,group,sysconf}.d
|
||||||
|
install ../polkit.sysconf $DESTDIR/etc/sysconf.d/polkit
|
||||||
|
install ../polkit.groups $DESTDIR/etc/group.d/polkit
|
||||||
|
install ../polkit.passwd $DESTDIR/etc/passwd.d/polkit
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user