Accepting request 133615 from home:toganm:testing
This package is similar in concept to feh, yet is more user-friedly and allows to modify the background wallpaper. Please make me as the maintainer. Thanks Togan OBS-URL: https://build.opensuse.org/request/show/133615 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/nitrogen?expand=0&rev=1
This commit is contained in:
commit
dd2ec37986
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
nitrogen-1.5.2.tar.gz
Normal file
3
nitrogen-1.5.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:60a2437ce6a6c0ba44505fc8066c1973140d4bb48e1e5649f525c7b0b8bf9fd2
|
||||||
|
size 307356
|
5
nitrogen.changes
Normal file
5
nitrogen.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 5 23:19:31 UTC 2012 - toganm@opensuse.org
|
||||||
|
|
||||||
|
- initial checkin
|
||||||
|
|
9
nitrogen.desktop
Normal file
9
nitrogen.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Nitrogen
|
||||||
|
Comment=Background browser and setter
|
||||||
|
GenericName=Nitrogen
|
||||||
|
Exec=nitrogen
|
||||||
|
Icon=nitrogen
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Settings;DesktopSettings
|
96
nitrogen.spec
Normal file
96
nitrogen.spec
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
#
|
||||||
|
# spec file for package nitrogen
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: nitrogen
|
||||||
|
Version: 1.5.2
|
||||||
|
Release: 0
|
||||||
|
License: GPL-2.0 or CC-BY-SA-3.0 or Zlib
|
||||||
|
Summary: A background browser and setter for X windows
|
||||||
|
Url: http://projects.l3ib.org/nitrogen/
|
||||||
|
Group: System/X11/Utilities
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: %{name}.desktop
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: gtkmm2-devel
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
|
BuildRequires: pkgconfig(xinerama)
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
Nitrogen is a background browser and setter for X windows. It is written
|
||||||
|
in C++ using the gtkmm toolkit. It can be used in two modes: browser and
|
||||||
|
recall. Some of the features are:
|
||||||
|
|
||||||
|
* Multihead and Xinerama aware.
|
||||||
|
* Recall mode to used via startup script.
|
||||||
|
* Uses freedesktop.org standard for thumbnails.
|
||||||
|
* Can set GNOME background.
|
||||||
|
* Command line set modes for script use.
|
||||||
|
* Inotify monitoring of browse directory.
|
||||||
|
* Lazy loading of thumbnails - conserves memory .
|
||||||
|
* "Automatic" set mode - determines best mode to set an image based on
|
||||||
|
its size.
|
||||||
|
* Display preview images in a tiled icon layout
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
CFLAGS="%{optflags} -fno-strict-aliasing " \
|
||||||
|
CXXFLAGS="$CFLAGS" \
|
||||||
|
CPPFLAGS="$CFLAGS" \
|
||||||
|
LIBS=-lX11 GTK2_LIBS=$LIBS LDFLAGS=-L%{_lib} \
|
||||||
|
./configure --prefix=%{_prefix}
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
install -D -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||||
|
install -D -m 644 data/icons/%{name}-48.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
|
||||||
|
|
||||||
|
%suse_update_desktop_file %{name} Settings DesktopSettings
|
||||||
|
|
||||||
|
|
||||||
|
%fdupes %buildroot/
|
||||||
|
|
||||||
|
%post
|
||||||
|
%desktop_database_post
|
||||||
|
%icon_theme_cache_post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%desktop_database_postun
|
||||||
|
%icon_theme_cache_postun
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING AUTHORS README ChangeLog NEWS
|
||||||
|
%{_bindir}/%name
|
||||||
|
%{_datadir}/applications/%name.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/*/*.png
|
||||||
|
%{_datadir}/pixmaps/%name.png
|
||||||
|
%{_mandir}/man1/%name.1.gz
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user