upg libdrm

add lxlauncher
This commit is contained in:
joborun linux 2023-10-21 12:48:16 +03:00
parent a3064e1093
commit bb10681dcd
10 changed files with 251 additions and 6 deletions

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libdrm
pkgver=2.4.116
pkgver=2.4.117
pkgrel=01
pkgdesc="Userspace interface to kernel DRM services"
url="https://dri.freedesktop.org/"
@ -51,8 +51,8 @@ validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact@em
#validpgpkeys=('899A810900B815807742E6D895A677A230AC4AA9') # Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
#validpgpkeys=('2617F6F8DEBB0A7A15C405C983FD600E340FB5FF') # Samuel Pitoiset <samuel.pitoiset@gmail.com>
sha256sums=(46c53f40735ea3d26d614297f155f6131a510624a24274f654f6469ca905339a # libdrm-2.4.116.tar.xz
dff7a46049eced8d270d6db8eef82c968c9a6926b7fe94a78d7b336035c2cbd2 # libdrm-2.4.116.tar.xz.sig
sha256sums=(a2888d69e3eb1c8a77adc08a75a60fbae01f0d208d26f034d1a12e362361242b # libdrm-2.4.117.tar.xz
b8ae4ca2b30fb09697aee33c75d79b087313791a5fec7a6570bed4a9a3deb7b8 # libdrm-2.4.117.tar.xz.sig
9631d4f694952e3e6ae5a05534c2e93e994e47d3413677a3a00e45c8cef6db93) # COPYING
## ebf1d38fb13f0d4d9acd39694ccd3fb2823d94e3db9383d2a9f37bc5b40d0188 libdrm-2.4.116-01-x86_64.pkg.tar.lz
## e0c0ea52b102e974e2914efc58b8af6bca828905ae62bad9d41b108e4daef021 libdrm-2.4.117-01-x86_64.pkg.tar.lz

View File

@ -1,7 +1,7 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libdrm
pkgver=2.4.116
pkgver=2.4.117
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services"
url="https://dri.freedesktop.org/"
@ -14,7 +14,7 @@ optdepends=('cairo: needed for modetest tool')
replaces=('libdrm-new' 'libdrm-nouveau')
source=(https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
COPYING)
sha512sums=('1287d1896deeb8cfb4532c6750eb43493dcefbfaaa598a73bbb682aa749594eaad3ed1fa2fe73d06280350f365a92a0c20cad8be76f3da2ed59b04aa008de911'
sha512sums=('326cf565548fb9d50a321562c13acb2a2f5ad5915ffdc2b08ef812fbac887f5b3d271cb2ce8c483633edddf2c55064d55810ff6697f713c179e2d0c8048eb544'
'SKIP'
'b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660')
#validpgpkeys=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # David Airlie <airlied@redhat.com>

1
lxde/README Normal file
View File

@ -0,0 +1 @@
this is a work in progress to make LXDE run without dbus logind/ck

View File

@ -0,0 +1,52 @@
From ee4d4947584d5b6bec6968aa16aa1f2e902eea81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Tue, 21 Feb 2017 04:41:58 +0100
Subject: [PATCH] Add CSS selectors for GTK+ 3.20 and newer
And keep the compatibility with older versions.
---
gtk.css | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gtk.css b/gtk.css
index 93407ee..a1035e9 100644
--- a/gtk.css
+++ b/gtk.css
@@ -1,25 +1,33 @@
+viewport,
GtkViewport {
background: none;
}
+notebook tab,
.notebook {
background: #3675AD;
- font: Sans Bold 11;
+ font-weight: bold;
}
+notebook header,
+notebook stack,
.notebook > .frame,
.notebook > .vertical {
background: #B7D6EA;
+ font-weight: bold;
}
+notebook tab label,
.notebook > .horizontal .label {
color: #B7D6EA;
}
+notebook tab:checked label,
.notebook > .horizontal.active-page .label {
color: #FFFFFF;
}
+notebook stack label,
.notebook > .vertical .label,
.button .label {
color: #3675AD;
--
2.11.1

91
lxde/lxlauncher/PKGBUILD Normal file
View File

@ -0,0 +1,91 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=lxlauncher
pkgname=(lxlauncher lxlauncher-gtk2)
pkgver=0.2.5
pkgrel=04
pkgdesc='Open source clone of the Asus launcher for EeePC'
url='https://lxde.org/'
depends=('gtk2' 'gtk3' 'startup-notification' 'lxmenu-data' 'menu-cache')
makedepends=('intltool')
backup=('etc/xdg/lxlauncher/gtk.css'
'etc/xdg/lxlauncher/gtkrc'
'etc/xdg/lxlauncher/settings.conf')
source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz
0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch
fix-invisible-icons.patch)
prepare() {
cd $pkgbase-$pkgver
# Add CSS selectors for GTK+ 3.20 and newer
# https://sourceforge.net/p/lxde/patches/543/
patch -Np1 -i ../0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch
# Fix invisible icons with GTK+ 3
patch -Np1 -i ../fix-invisible-icons.patch
}
build() {
# GTK+ 2 version
[ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2
cd gtk2
./configure \
--sysconfdir=/etc \
--prefix=/usr \
--disable-gtk3 \
--enable-gtk2 \
--disable-dbus
make
cd "$srcdir"
# GTK+ 3 version
[ -d gtk3 ] || cp -r $pkgbase-$pkgver gtk3
cd gtk3
./configure \
--sysconfdir=/etc \
--prefix=/usr \
--disable-gtk2 \
--enable-gtk3 \
--disable-dbus
make
}
package_lxlauncher() {
groups=('jobo-lxde')
pkgdesc+=' (GTK+ 3 version)'
conflicts=('lxlauncher-gtk2' 'lxlauncher-gtk3')
depends=('gtk3' 'startup-notification' 'lxmenu-data' 'menu-cache')
cd gtk3
make DESTDIR="$pkgdir" install
}
package_lxlauncher-gtk2() {
groups=('jobo-lxde-gtk2')
pkgdesc+=' (GTK+ 2 version)'
depends=('gtk2' 'startup-notification' 'lxmenu-data' 'menu-cache')
conflicts=('lxlauncher' 'lxlauncher-gtk3')
cd gtk2
make DESTDIR="$pkgdir" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL2')
sha256sums=(cd14b59cf337e7ba0d67efc95cd79859ab5f0f85af5a84c7aff771f868c3dca7 # lxlauncher-0.2.5.tar.xz
794a92dda67f055a794315af4d1a1b0d3319da836582fbc88bbaa3f737612f70 # 0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch
34fd1774d962965795eac8002d77a17078a967e2812ebae3e71d35533e1b3799) # fix-invisible-icons.patch
## 9e977343f53a0a4040f56e14faffb723fbb260586acaa3da3c6edfa9649d91fe lxlauncher-0.2.5-04-x86_64.pkg.tar.lz
## ab40a642c49e60fda85457e47a1b759599cc74ef4dd34f54ccf52755803ad807 lxlauncher-gtk2-0.2.5-04-x86_64.pkg.tar.lz

View File

@ -0,0 +1,69 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
pkgbase=lxlauncher
pkgname=(lxlauncher lxlauncher-gtk3)
pkgver=0.2.5
pkgrel=4
pkgdesc='Open source clone of the Asus launcher for EeePC'
arch=('x86_64')
license=('GPL2')
url='https://lxde.org/'
depends=('gtk2' 'gtk3' 'startup-notification' 'lxmenu-data' 'menu-cache')
makedepends=('intltool')
backup=('etc/xdg/lxlauncher/gtk.css'
'etc/xdg/lxlauncher/gtkrc'
'etc/xdg/lxlauncher/settings.conf')
source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz
0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch
fix-invisible-icons.patch)
sha256sums=('cd14b59cf337e7ba0d67efc95cd79859ab5f0f85af5a84c7aff771f868c3dca7'
'794a92dda67f055a794315af4d1a1b0d3319da836582fbc88bbaa3f737612f70'
'34fd1774d962965795eac8002d77a17078a967e2812ebae3e71d35533e1b3799')
prepare() {
cd $pkgbase-$pkgver
# Add CSS selectors for GTK+ 3.20 and newer
# https://sourceforge.net/p/lxde/patches/543/
patch -Np1 -i ../0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch
# Fix invisible icons with GTK+ 3
patch -Np1 -i ../fix-invisible-icons.patch
}
build() {
# GTK+ 2 version
[ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2
cd gtk2
./configure --sysconfdir=/etc --prefix=/usr
make
cd "$srcdir"
# GTK+ 3 version
[ -d gtk3 ] || cp -r $pkgbase-$pkgver gtk3
cd gtk3
./configure --sysconfdir=/etc --prefix=/usr --enable-gtk3
make
}
package_lxlauncher() {
groups=('lxde')
depends=('gtk2' 'startup-notification' 'lxmenu-data' 'menu-cache')
cd gtk2
make DESTDIR="$pkgdir" install
}
package_lxlauncher-gtk3() {
groups=('lxde-gtk3')
pkgdesc+=' (GTK+ 3 version)'
depends=('gtk3' 'startup-notification' 'lxmenu-data' 'menu-cache')
conflicts=('lxlauncher')
cd gtk3
make DESTDIR="$pkgdir" install
}

1
lxde/lxlauncher/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,lxlauncher*.tar.xz}

11
lxde/lxlauncher/deps Normal file
View File

@ -0,0 +1,11 @@
gtk2
gtk3
intltool
at-spi2-core
libglvnd
startup-notification
lxmenu-data
menu-cache
gettext
autoconf

View File

@ -0,0 +1,14 @@
diff -Naur lxlauncher-0.2.5.orig/src/lxlauncher.c lxlauncher-0.2.5/src/lxlauncher.c
--- lxlauncher-0.2.5.orig/src/lxlauncher.c 2018-01-12 23:31:21.116719000 +0100
+++ lxlauncher-0.2.5/src/lxlauncher.c 2018-01-12 23:31:39.190805710 +0100
@@ -1021,9 +1021,9 @@
get_working_area( gtk_widget_get_screen(main_window), &working_area );
gtk_window_move( GTK_WINDOW(main_window), working_area.x, working_area.y );
+ gtk_widget_show_all( main_window );
gtk_window_resize( GTK_WINDOW(main_window), working_area.width, working_area.height );
- gtk_widget_show_all( main_window );
gtk_main();
gdk_window_remove_filter( gtk_widget_get_root_window(main_window), evt_filter, NULL );

6
lxde/lxlauncher/time Normal file
View File

@ -0,0 +1,6 @@
real 0m15.193s
user 0m13.128s
sys 0m2.514s