diff --git x11/picom/Makefile x11/picom/Makefile index 7b78ee3dc92..fc32c0c83f0 100644 --- x11/picom/Makefile +++ x11/picom/Makefile @@ -2,14 +2,14 @@ COMMENT = lightweight compositor for X11 GH_ACCOUNT = yshui GH_PROJECT = picom -GH_TAGNAME = v9.1 +GH_TAGNAME = v10 CATEGORIES = x11 # MPL 2.0 PERMIT_PACKAGE = Yes -WANTLIB += GL X11 X11-xcb c config dbus-1 ev m pcre pixman-1 +WANTLIB += X11 X11-xcb c config dbus-1 ev m pcre pixman-1 WANTLIB += xcb-composite xcb-damage xcb-glx xcb-image xcb-present WANTLIB += xcb-randr xcb-render-util xcb-render xcb-shape xcb-sync WANTLIB += xcb-xfixes xcb-xinerama xcb @@ -34,6 +34,13 @@ LIB_DEPENDS = devel/libconfig \ CONFIGURE_ARGS += -Dwith_docs=true \ -Dunittest=true \ -Dcompton=false + +# fails to build with: +# ld: error: undefined symbol: glEGLImageTargetTexStorageEXT +# >>> referenced by egl.c +# >>> src/picom.p/backend_gl_egl.c.o:(egl_bind_pixmap) +CONFIGURE_ARGS += -Dopengl=false + CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" diff --git x11/picom/distinfo x11/picom/distinfo index c1f264f9fa3..3c52c2d80d8 100644 --- x11/picom/distinfo +++ x11/picom/distinfo @@ -1,2 +1,2 @@ -SHA256 (picom-9.1.tar.gz) = hwCscb1JbJEmLIV24pyzrs8rTvSMBDlKkpUJ08s3uH0= -SIZE (picom-9.1.tar.gz) = 263924 +SHA256 (picom-10.tar.gz) = 6EAwTDKfB5cgWWMwKJTFXhHXfPUaIsCnIINEzm/Qojg= +SIZE (picom-10.tar.gz) = 286728 diff --git x11/picom/patches/patch-src_meson_build x11/picom/patches/patch-src_meson_build new file mode 100644 index 00000000000..d876744bcee --- /dev/null +++ x11/picom/patches/patch-src_meson_build @@ -0,0 +1,14 @@ +glEGLImageTargetTexStorageEXT is part of mesa + +Index: src/meson.build +--- src/meson.build.orig ++++ src/meson.build +@@ -59,7 +59,7 @@ endif + + if get_option('opengl') + cflags += ['-DCONFIG_OPENGL', '-DGL_GLEXT_PROTOTYPES'] +- deps += [dependency('gl', required: true), dependency('egl', required: true)] ++ deps += [dependency('gl', required: true), dependency('egl', required: true), dependency('osmesa', required: true)] + srcs += [ 'opengl.c' ] + endif + diff --git x11/picom/pkg/PLIST.orig x11/picom/pkg/PLIST.orig new file mode 100644 index 00000000000..00f6fa86121 --- /dev/null +++ x11/picom/pkg/PLIST.orig @@ -0,0 +1,13 @@ +@bin bin/picom +bin/picom-trans +@man man/man1/picom-trans.1 +@man man/man1/picom.1 +share/applications/picom.desktop +share/examples/picom/ +share/examples/picom/picom.desktop +@sample ${SYSCONFDIR}/xdg/autostart/picom.desktop +share/examples/picom/picom.sample.conf +share/icons/hicolor/48x48/apps/picom.png +share/icons/hicolor/scalable/apps/picom.svg +@tag update-desktop-database +@tag gtk-update-icon-cache %D/share/icons/hicolor