lxappearance-obconf 0.2.3-2 (znver1;x86_64;aarch64) 2024-17625
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/390022
Packages
lxappearance-obconf-0.2.3-2.znver1.source
lxappearance-obconf-0.2.3-2.znver1.binary
lxappearance-obconf-debuginfo-0.2.3-2.znver1.debuginfo
lxappearance-obconf-debugsource-0.2.3-2.znver1.binary
lxappearance-obconf-0.2.3-2.x86_64.source
lxappearance-obconf-0.2.3-2.x86_64.binary
lxappearance-obconf-debuginfo-0.2.3-2.x86_64.debuginfo
lxappearance-obconf-debugsource-0.2.3-2.x86_64.binary
lxappearance-obconf-0.2.3-2.aarch64.source
lxappearance-obconf-0.2.3-2.aarch64.binary
lxappearance-obconf-debuginfo-0.2.3-2.aarch64.debuginfo
lxappearance-obconf-debugsource-0.2.3-2.aarch64.binary
Build Date 2024-01-01 00:24:26 +0000 UTC
Last Updated 2024-01-04 23:51:53.710934691 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 2055af184dbd67e2e440f31068f11d18c2320497

commit 2055af184dbd67e2e440f31068f11d18c2320497
Author:     mandian <mandian@users.noreply.github.com>
AuthorDate: Wed Dec 6 23:50:55 2023 +0000
Commit:     mandian <mandian@users.noreply.github.com>
CommitDate: Wed Dec 6 23:50:55 2023 +0000

    upgrade at the latest git version and rebuild against gtk3
---
 .abf.yml                 |  2 +-
 lxappearance-obconf.spec | 49 ++++++++++++++++++++++++++++++++++--------------
 2 files changed, 36 insertions(+), 15 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index f46a04f..03ff188 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  lxappearance-obconf-0.2.3.tar.xz: dcb5604bb1143add0fb7ea235661ad9313747288
+  lxappearance-obconf-f663dca570562d5dfb7ab31a9035e51f29591eef.tar.gz: 5b2063368fffdb05b02469794cf9e40fb25ae997
diff --git a/lxappearance-obconf.spec b/lxappearance-obconf.spec
index ce60a6b..4002e6e 100644
--- a/lxappearance-obconf.spec
+++ b/lxappearance-obconf.spec
@@ -1,20 +1,33 @@
+# FIXME: avoid error undefined symbol: lxappearance_changed
 %define _disable_ld_no_undefined 1
 
+# git snapshot
+%global snapshot 1
+%if 0%{?snapshot}
+	%global commit		f663dca570562d5dfb7ab31a9035e51f29591eef
+	%global commitdate	20231122
+	%global shortcommit	%(c=%{commit}; echo ${c:0:7})
+%endif
+
 Summary:        Plugin to configure OpenBox inside LXAppearance
 Name:           lxappearance-obconf
-Epoch:		1
 Version:        0.2.3
-Release:        1
+Release:        2
 Group:          Graphical desktop/Other
 License:        GPLv2+
 Url:            http://lxde.org/
-Source0:        hhttps://sourceforge.net/projects/lxde/files/LXAppearance%20Obconf/%{name}-%{version}.tar.xz
+#Source0:        hhttps://sourceforge.net/projects/lxde/files/LXAppearance%20Obconf/%{name}-%{version}.tar.xz
+Source0:		https://github.com/lxde/lxappearance-obconf/archive/%{?snapshot:%{commit}}%{!?snapshot:%{version}}/%{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}.tar.gz
+
 BuildRequires:  gettext
 BuildRequires:  intltool
 BuildRequires:  libtool
 BuildRequires:	openbox
-BuildRequires:  pkgconfig(gtk+-x11-2.0)
+#BuildRequires:  pkgconfig(gtk+-x11-3.0)
+BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(lxappearance)
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:	pkgconfig(obrender-3.5)
 BuildRequires:  pkgconfig(obt-3.5)
 BuildRequires:  pkgconfig(sm)
 Requires:       lxappearance >= 0.5.1
@@ -24,21 +37,29 @@ Requires:       openbox
 This plugin adds an addtional tab called "Window Border" to LXAppearance. 
 It is only visible when the plugin is installed and Openbox is in use.
 
+%files -f %{name}.lang
+%license COPYING
+%doc AUTHORS CHANGELOG README
+%{_libdir}/lxappearance/plugins/obconf.so
+%{_datadir}/lxappearance/obconf/
+
+#---------------------------------------------------------------------------
+
 %prep
-%setup -q
-%autopatch -p1
+%autosetup -p1 -n %{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}
 
 %build
-%configure --disable-static
-%make_build
+export LDFLAGS="%{ldflags} `pkg-config --libs x11` `pkg-config --libs lxappearance`"
+autoreconf -fiv
+%configure \
+	--disable-silent-rules \
+	--enable-gtk3 \
+	%{nil}
+%make_build 
 
 %install
 %make_install
-%find_lang %{name}
 
-%files -f %{name}.lang
-# FIXME add NEWS and TODO
-%doc AUTHORS CHANGELOG COPYING README
-%{_libdir}/lxappearance/plugins/obconf.so
-%{_datadir}/lxappearance/obconf/
+# locales
+%find_lang %{name}
 
Not Available

369start [@T] proton.meNo Comment.113d 19hrs
369start [@T] proton.meNo Comment.113d 19hrs