SHA256
1
0
forked from pool/xfconf

Accepting request 54363 from X11:xfce:factory

thx

OBS-URL: https://build.opensuse.org/request/show/54363
OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfconf?expand=0&rev=22
This commit is contained in:
Pavol Rusnak
2010-12-03 01:57:52 +00:00
committed by Git OBS Bridge
parent e42be469f3
commit bfc9a63b18
5 changed files with 123 additions and 60 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b2635abc33ae6a76145238ed27557bc1ff91b1a5ee0757962f798a66d56f478
size 463902

View File

@@ -0,0 +1,22 @@
diff -ur xfconf-4.7.3.orig/xfconf-perl/Makefile.PL.in xfconf-4.7.3/xfconf-perl/Makefile.PL.in
--- xfconf-4.7.3.orig/xfconf-perl/Makefile.PL.in 2010-09-05 15:16:31.000000000 +0200
+++ xfconf-4.7.3/xfconf-perl/Makefile.PL.in 2010-11-24 00:34:40.000000000 +0100
@@ -98,6 +98,18 @@
$xfconf->get_makefile_vars,
);
+rename "Makefile.perl", "Makefile.perl.orig"
+ or die "Cannot rename: $!";
+open IN, "<Makefile.perl.orig"
+ or die "Cannot open: $!";
+open OUT, ">Makefile.perl"
+ or die "Cannot create: $!";
+while (<IN>)
+{
+ print OUT $_ unless /^LD_RUN_PATH /;
+}
+close IN;
+close OUT;
sub MY::postamble
{

3
xfconf-4.7.3.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54962f1749c3674a0925b1c507a3ffd53ae8d01d25166c1d378e6685b5b643b4
size 490977

View File

@@ -1,7 +1,35 @@
-------------------------------------------------------------------
Thu Jul 22 08:49:50 UTC 2010 - andrea@opensuse.org
Wed Dec 1 17:08:04 UTC 2010 - prusnak@opensuse.org
- new upstream version 4.6.2
- use pkgconfig symbol in BuildRequires
-------------------------------------------------------------------
Tue Nov 23 22:28:52 UTC 2010 - gber@opensuse.org
- updated to 4.7.3
* Disable cache singletons and improve some code now we know the
tree is always empty during prefetch. This is only a
disadvantage when creating multiple new channels with the same
name, but in that case channels singletons should be used.
* Lots of memory leaks plugged. Valgrind log is clean now.
* Fix memory corruption during file loading and use mmap.
* Properly handle dirty channels in the daemon and avoid
excessive saving of channels.
* Disable unimplemented code in the properties cache.
* Steal values during cache prefetch to avoid a lot of copying.
* Updated translations: hu.
* Remove dangling nodes from the tree after a recursive remove.
* Use a seconds timeout to reduce system wakeups.
* Only print debug messages when compiled with debugging.
* Merge xml files in reversed order (bug #6079).
* Use g_strcmp0 for comparing strings.
* Bump glib depenency to 2.18.
* Silent the build.
* Updated translations: pt_BR, nl, gl, fi, ru.
- cleanup
* added summaries and descriptions
* fixed build of Perl interface
* fixed dependencies
-------------------------------------------------------------------
Tue Feb 2 13:55:35 CET 2010 - prusnak@suse.cz

View File

@@ -1,100 +1,98 @@
#
# spec file for package xfconf (Version 4.6.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xfconf
%define libname lib%{name}-0-2
Summary: Xfconf
Version: 4.6.2
Version: 4.7.3
Release: 1
License: GPLv2+
%define libname lib%{name}-0-2
Summary: Simple Configuration Storage for XFCE
Url: http://www.xfce.org/
Source: %{name}-%{version}.tar.bz2
Group: System/GUI/XFCE
Source: %{name}-%{version}.tar.bz2
Patch0: xfconf-4.7.3-remove-rpath.patch
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: perl-ExtUtils-Depends
BuildRequires: perl-ExtUtils-PkgConfig
BuildRequires: perl-Glib
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxfce4util-1.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dbus-1-glib-devel glib2-devel gtk-doc intltool libxfce4util-devel
%description
Xfconf
Xfconf is a simple client-server configuration storage and query system for the
XFCE desktop.
Authors:
--------
Brian J. Tarricone <bjt23@cornell.edu>
Stephan Arts <stephan@xfce.org>
%package -n libxfconf-0-2
%package -n perl-xfconf
License: GPLv2+
Summary: Xfconf
Summary: Simple Configuration Storage for XFCE - Perl Interface
Group: System/GUI/XFCE
Requires: %{name} = %{version}
Requires: perl = %{perl_version}
Requires: perl-Glib
%description -n perl-xfconf
Xfconf is a simple client-server configuration storage and query system for the
XFCE desktop.
This package contains the Perl interface to %{name}.
%package -n %{libname}
License: GPLv2+
Summary: Simple Configuration Storage for XFCE - Runtime Library
Group: System/GUI/XFCE
Provides: libxfce4mcs = %{version}
Obsoletes: libxfce4mcs < %{version}
%description -n libxfconf-0-2
Xfconf
%description -n %{libname}
Xfconf is a simple client-server configuration storage and query system for the
XFCE desktop.
Authors:
--------
Brian J. Tarricone <bjt23@cornell.edu>
Stephan Arts <stephan@xfce.org>
This package contains the runtime library.
%package -n libxfconf-devel
License: GPLv2+
Summary: Xfconf
Summary: Simple Configuration Storage for XFCE - Runtime Library - Development Files
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: glib2-devel libxfce4util-devel dbus-1-glib-devel dbus-1-devel
Requires: pkgconfig(dbus-glib-1)
Requires: pkgconfig(glib-2.0)
Requires: pkgconfig(libxfce4util-1.0)
Provides: libxfce4mcs-devel = %{version}
Obsoletes: libxfce4mcs-devel < %{version}
Provides: xfce-mcs-manager-devel = %{version}
Obsoletes: xfce-mcs-manager-devel < %{version}
%description -n libxfconf-devel
Xfconf
Xfconf is a simple client-server configuration storage and query system for the
XFCE desktop.
Authors:
--------
Brian J. Tarricone <bjt23@cornell.edu>
Stephan Arts <stephan@xfce.org>
This package contains files mandatory for development.
%prep
%setup -q
%patch0 -p1
%build
%configure \
--disable-silent-rules \
--disable-static \
--with-perl-options='NOECHO= OPTIMIZE="%{optflags}" CCDLFLAGS="-Wl,-E" INSTALLDIRS=vendor' \
--enable-gtk-doc
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%__rm -rf %buildroot/%_datadir/locale/{ast,kk,ur_PK}
%make_install
rm -f %{buildroot}%{_libdir}/*.la
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,ur_PK}
%perl_process_packlist
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%post -n %{libname} -p /sbin/ldconfig
@@ -103,8 +101,10 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog TODO
%{_bindir}/*
%{_libexecdir}/xfconfd
%{_bindir}/xfconf-query
%dir %{_libdir}/xfce4
%dir %{_libdir}/xfce4/xfconf
%{_libdir}/xfce4/xfconf/xfconfd
%{_datadir}/dbus-1/services/*
%files -n %{libname}
@@ -118,4 +118,17 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%files -n perl-xfconf
%defattr(-,root,root)
%dir %{perl_vendorarch}/Xfce4
%{perl_vendorarch}/Xfce4/Xfconf
%{perl_vendorarch}/Xfce4/Xfconf.pm
%dir %{perl_vendorarch}/auto
%dir %{perl_vendorarch}/auto/Xfce4
%{perl_vendorarch}/auto/Xfce4/Xfconf
%if 0%{?suse_version} < 1140
%{_localstatedir}/adm/perl-modules/xfconf
%endif
%doc %{_mandir}/man3/Xfce4::Xfconf.3pm*
%changelog