- Update to version 3.9.3:

* 01: add and correct some translations
        it has made it's point: remove surprises from scenery

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xsnow?expand=0&rev=34
This commit is contained in:
2026-07-06 09:54:52 +00:00
committed by Git OBS Bridge
commit 82db241f80
9 changed files with 819 additions and 0 deletions
+676
View File
@@ -0,0 +1,676 @@
-------------------------------------------------------------------
Thu Jul 2 14:45:59 UTC 2026 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.9.3:
* 01: add and correct some translations
it has made it's point: remove surprises from scenery
-------------------------------------------------------------------
Mon May 25 09:26:17 UTC 2026 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.9.2:
* 01: snow.c: add locks to not interfere with code in fallensnow.c
Thanks to Marc Capella for reporting the bug.
* 02: added tibetan, chinese, japanese languages
Thanks to 小吴 for a partial translation to chinese. It
inspired me to try tibetan and japanese also.
* 03: 小吴 delivered a complete translation to chinese.
* 04: adapt locale zh_cn to be handled correctly:
xsnow uses the 'cn' translation if LANG=zh_CN.UTF-8
* 05: in po/Makevars: disable output of filenames and line numbers
add afterpo/Makefile.am to remove POT-Creation-Date
from po/*.po po/*.pot
-------------------------------------------------------------------
Sun Apr 5 05:40:18 UTC 2026 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.9.1:
* 01: main.c: make_fullmaxscreen():
Prevent the appearance of the xsnow icon for the snow-window
in window-lists, taskbars etc. using
gtk_window_set_skip_taskbar_hint() and
gtk_window_set_skip_pager_hint().
main.c, flags.c, docs.c, xsnow.h, xsnow-constants.h:
create flag '-config' to use other configuration file
than $HOME/.xsnowrc. The file name must contain the string
'xsnow' to protect against accidentally overwriting a
precious file.
* 02: stars.c, ui.glade, docs.c: allow setting size of stars.
* 03: aurora.c, aurora.h, flags.c ... : replace position left,
middle and right with slider for horizontal position.
* 04: moon.c e.a.: user can define fixed position for the moon
if the speed of the moon is set to zero.
* 05: move stars also, like the moon but always left to right
meteor.c: small adaptations
* 06: update language translations
* 07: bootstrap: create new file 'bootdate' only if it does not
exixst. Advice: when creating a new version (see AC_INIT in
configure.ac), remove bootdate before running ./bootstrap.
* 08: add option to use screenshots to determine the placement
of windows. Hopefully this will assist in running under
wayland, but first we have to wait until a suitable
screenshotter is available for wayland.
It creates an extra dependency for opencv4.
wmctrl.c: fixed bug in using XTranslateCoordinates().
windows.c: ignore windows at bottom and top: this is for
all windows now.
- Changes in version 3.9.0
* 01: many changes in defining a window to snow in.
When snowing in one monitor: the window is created with
gtk_window_maximize(), when snowing in all monitors,
use gtk_window_fullscreen().
The height of fallensnow on the bottom is now at max
15% of the window height. On windows this is 10%.
Windows with "Desktop" or "desktop" in the name are
ignored: no snow on those windows.
* 02: if only one monitor is detected, use maximized in stead
of full screen
* 03: main.c: do_draw_all: set window maximized or fullscreen
a few times to ensure that it stays that way.
* 04: main.c: disabled legacy section in do_displaychanged()
which caused permanent restarts when running under
xscreensaver with more than one monitor.
* Rebase xsnow-bindir.patch
* Add BuildRequires opencv-devel
-------------------------------------------------------------------
Tue Dec 9 17:42:19 UTC 2025 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.8.6:
* 01: some adaptions to test2.sh
-------------------------------------------------------------------
Thu Jul 10 16:54:48 UTC 2025 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.8.5:
* src/windows.c: add test for "hidden" to determine if snow
should fall on window.
* src/fallensnow.c: generate more fallensnow for first and last
item of fallensnow.
* src/main.c: do not specify "dock" for the snow window.
"dock" causes KDE PLASMA 6 to have the snow window always
on top.
* src/main.c, src/windows.c: add property "TRANSPARENCY" "YES"
to snow window if transparent, else "TRANSPARENCY" "NO" so
that other apps, like xpenguins, can determine if this
window is to be ignored or not.
* src/fallensnow.c: transform blob into snow now and then.
prevent direct accumulation of snow from transformed blob.
* src/snow.c: after about 2 seconds, make accumulation possible
again.
* src/fallensnow.c: CreateSurfaceFromFallen(FallenSnow *f):
fix bug with regard to the number of points to average.
make height max height of fallensnow dependent on width.
* birds.c: lower default number of birds
* stars.c: if CIRCLESTARS is defined, paint circle-like stars
suggestion by Mihai Dobrescu.
* doit.h: increase default nr of stars.
* ui.glade: increase max number of starts.
* change snowtree.xpm and tree-1_100px.xpm (Thanks to Carla)
* Create halo around stars (thanks to Carla)
* Create src/transwindow.c: GetYOffset() to determine absolute
value of y-coordinate of an window. This is used to properly
size a snow window.
* flags.c: check value of Flags.ForceRoot before
using gtk_builder_get_object().
* pofiles/*.po: update translations
* src/transwindow.c: force snow window to have
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
by calling
gdk_window_set_type_hint(gdkwin,GDK_WINDOW_TYPE_HINT_NORMAL);
* src/main.c: HandleX11Cairo(): set SnowWinX, SnowWinY to 0,0 .
* In LXDE, monitor 0 and 1 are used correctly now.
* bootstrap: insert correct xsnow version in pofiles/*.po.
- Changes in version 3.8.4
* main.c: add code to stop if ~/.xsnowstop is present.
* test2.sh: get rid of kill, killall by using xvfb-run
and touching ~/.xsnowstop when testing is done.
* main.c, flags,c: make them acceptable for c++.
* adapt for loops to C99, except a few where the lopp variable
is used after the loop
* pofiles/nl.po: Some minor translation changes for nl.
* ui.glade: change step increment for nbirds from 5 to 1.
* Santa.c, xsnow.h: make SantaRegion global for use in
fallensnow.c.
* fallensnow.c: turn fallensnow in flakes for Santa occupied
zones.
* ui.glade: remove donate button
* ui.glade: minor alignments of bottom buttons
* snow.c: take care that start of fallensnow's are covered by
snow by subtracting SnowSize from x-coordinate.
* fallensnow.c: do not smooth start and end points of
fallensnow. allow start and end-points >= 0. draw half circles
at start and end to simulate snow overflow
* xsnow.h, fallensnow.c: every 30 seconds 0.3 change that
desired height of fallen snow is re-established
* fallensnow.c: let desired heights between 0.3 and 1.0
* fallensnow.c, aurora.c, main.c, wmctrl.c: removed some
dead code
-------------------------------------------------------------------
Sun Feb 23 17:56:00 UTC 2025 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.8.3:
* with the exception of xdo.c:
make 'gcc-14 -fanalyzer -O2 -Wno-analyzer-imprecise-fp-arithmetic'
happy
- Changes in version 3.8.2
* po/Makevars: disable changing .po and/or .pot files by
po/Makefile.in.in
* configure.ac: Add flag --mode="a+rwX" to tar replacement to
get reproducible build.
* snow.c: fix a real bug: first EraseSnowFlake1(flake) and then
DelFlake(flake), and not the other way around.
* main.c: do not printf() in sighandler
-------------------------------------------------------------------
Fri Dec 20 13:27:38 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
- Update to version 3.8.1:
01: xpm2cairo-gdk.c: use xpm2gdk() as replacement for deprecated
gdk_pixbuf_new_from_xpm_data().
02: ui.c: clicking on a tab in the headerbar triggers a call to
WriteFlags().
03: main.c: Activation of WriteFlags now via do_write_flags() callback,
which checks the value of global.time_to_write_flags.
- Update to version 3.8.0:
01: configure.ac: add warning if msgmerge is not found.
In that case, no 'make dist' or 'xsnow -selfrep' is possible.
data/xsnow.appdata.xml.in: make it conform "appstreamcli validate"
xdo_search.c:37: Correct call to calloc, parameters were switched
02: test2.sh: Add tests: xsnow running in Xvfb, use xdotool to click buttons.
Output screen locations of buttons to ~/.xsnowrc.
main.c: Use SIGUSR1 to force rewrite of ~/.xsnowrc.
This does not work in Debian's autopkgtest :-(.
Makefile.am: make check only in src/
src/{xdo.c,xdo.h,clientwin.c,clientwin.h,dsimple.c,dsimple.h,
kdtree.c,kdtree.h,xdo_version.h,xdo_util.h,xdo_version.h} :
remove GPL 3 license: these files had already an own license.
src/xdo.c, configure.ac: remove dependency for libxkbcommon.
-------------------------------------------------------------------
Sat May 11 08:57:51 UTC 2024 - jun wang <jgwang@suse.com>
- Update to version 3.7.9
+ changes from 3.7.9
* ui.glade: make gui not-resizable to prevent wrong reported
size when user tries to change size.
* windows.c, main.c, xsnow.h: when window is moved or resized,
convert fallensnow into flakes. Look for global.DoCapella.
* ui.glade: change color pickers (snow, birds, vintage tree)
to standard, the fancy color editor is still available using
the '+' button.
* main.c: take care that while changing OffsetY, fallensnow is
not converted to flakes. snow.h, main.c: use macro DOCAPELLA
for setting default.
* meteor.c: better simulation of meteors.
* generate flakes if window is minimized.
* snow.c and others: optional: 2 snow colors, pofiles/: add
translations for 2 snow colors.
* src/Makefile.am: specify dependencies of makeman.
* adaptations for FreeBSD:
- use sh in stead of bash in bootstrap
- addcopyright.sh: adapt sed calls to FreeBSD's sed
- remove src/safe_malloc.c, adapt src/safe_malloc.h,
safe_malloc.c was not used anyway
* addcopyright.sh: use tmpfile="tmpfile" in stead of `mktemp`
* src/Makefile.am: minor: avoid $< because of FreeBSD's make
+ changes from 3.7.8
* src/Makefile.am: fix bug related with tarfile.inc which
caused --disable-selfrep not working
+ changes from 3.7.7
* enable cross compiling
* fix minor issue: version in man page
-------------------------------------------------------------------
Wed Dec 6 18:20:17 UTC 2023 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.7.6
* correct spelling error in ChangeLog, adapt for debian sid
-------------------------------------------------------------------
Sun Sep 24 09:27:02 UTC 2023 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.7.5
* data/xsnow.desktop.in: add 'Simulation' to categories
* main.c: make 'settings->lift snow on bottom', -offsets working
it appears that xdo_search uses the name argument as
a regular expression, so use ^pcmanfm$ and ^Desktop$.
- Drop xsnow-desktop_file.patch, fixed upstream
-------------------------------------------------------------------
Thu Apr 27 16:24:17 UTC 2023 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.7.4
* utils.c: fix bug in using xdo_search_windows(): the search
parameter must be filled in completely
(probably bug in xdo_search_windows)
* flags.c, docs.c: add flags --root and --window-id same as
-root and -window-id for usage under xscreensaver
* main.c: do_display_dimensions: put fflush() and return in
proper order
* remove prevent-remakes
* utils.c: use memset to initialize xdo_search_t search
* bootstrap: rm -f po/*.gmo po/*.po
* bootstrap: get rid of Makevars.template
* Complete changelog see:
https://www.ratrabbit.nl/ratrabbit/xsnow/changelog/index.html
- Rebase xsnow-bindir.patch
- Add language package, introduced in version 3.7.0
-------------------------------------------------------------------
Wed Apr 26 09:58:08 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Resolve "xorg-x11-devel" indirect BuildRequires to pkgconfig(...)
-------------------------------------------------------------------
Sun Dec 11 19:59:56 UTC 2022 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.6.0
* implement xinerama-awareness
* implement -outline
* introduce usage of libxdo, make it g++ compliant, fix some
non-fatal issues
* fallensnow.c: fix bug that causes crash when snowing on a window
less than 10 pixels width
* birds.c: fix bug that caused a hang when using -doublebuffer 0
* docs.c: update window manager/desktop issues
* main.c: print info when snow window changes size
* configure.ac: chack for availability of gsl_interp_steffen,
gsl_interp_akima, gsl_interp_cspline and gsl_interp_linear
* utils.c: somewhat nicer print-out of version
- Rebase xsnow-desktop_file.patch
-------------------------------------------------------------------
Wed Nov 9 18:34:11 UTC 2022 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 3.5.3
* main.c: drawit(): do now draw the first second or so to hide
unstable configurations of scenery, stars, etc.
fallensnow.c, birds.c, aurora.c: make them C++ compliant by
rewriting goto and typecast pointer assignment
meteor.c: rewrite goto
santa.c: continue Santa animation, irrespective of His speed
fallensnow.c: paint fallensnow one pixel higher
fallensnow.c: generate more snow when Santa is ploughing
* loadmeasure.c: maximum 5 warnings about to busy system
* doit.h: change defaults for aurora_width/height to 60/30
- Changes in 3.5.2
* fallensnow.c: draw fallensnow only on regions where
fallensnow is present, to prevent a continuously present line
on regions where there is no fallensnow (yet)
* main.c: when user changes offsety, call
UpdateFallenSnowRegionsWithLock() in stead of
UpdateFallenSnowRegions().
fallensnow.c: on change of MaxScrSnowDepth, call
SetMaxScreenSnowDepthWithLock() in stead of
SetMaxScreenSnowDepth().
snow.c: set fallensnow lock when examining fallensnow regions
thus preventing prevents random crashes
fallensnow.h a.o: create and use macros for semaphores to
facilitate debugging
- Changes in 3.5.1
* configure.ac: reproducible build is now complete, it seems, also
when building outside the xsnow-tree
* aurora.c, spline_interpol.c: use steffen's method for splines
aurora.c: small correction in determining the points to
evaluate the splne at
* spline_interpol.{h,c}, aurora.c: use macro SPLINE_INTERP to choose
for spline type (steffen, cspline)
* change some meteor code: other call-back logic, other
names for variables (meteorite -> meteor)
* change filenames meteo.c, meteo.h into meteor.c, meteor.h
change flags -meteorites, -nometeorites into -meteors, -nometeors
meteor.c: some minor changes, including different colors
* snow.c: do_UpdateSnowFlake(): fix non-fatal bug in updating
horizontal speed of flakes
* xsnow.c, snow.c: change some parameters for a more dramatic
dependency from wind on flakes
flag 'auroraheight' is now height of aurora
flag 'aurorabase' determines the vertical placement of the aurora
* fallensnow.c, treesnow.c: use random flake for blowoff snow
fallensnow.c: change initial velocity and position of blowoff snow
* fallensnow.c: use spline for desh shape of bottom fallensnow
main.c: correct non-fatal bug in using srand48() for 32 bit systems
snow.c: correct not-fatal bug: compare acth[] with desh[] in stead
of h
xsnow.h: change time_change_bottom to 10 minutes
* use splines to paint fallensnow
* try pthreads for computing fallensnow
* finish pthreads for fallensnow
* aurora.c: do not use mutexes, use semaphores
fix bug that caused creation of new threads after
resizing of corona
* fallensnow.c: use splines for fallensnow also on windows
* birds.c: make birds multithreading
* fallensnow.c, utils.{c,h}: check on availability of traceback()
fallensnow.h: threads.h -> pthread.h
-------------------------------------------------------------------
Fri Apr 22 01:14:30 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 3.5.0
* add aurora
* randomize starting theta and alpha of aurora
* optimized determining of fuzz somewhat
* main.c: initialize global.NewWind to 100.0
* moon.c: randomize starting position from moon
* ixpm.c: correct two non fatal errors
* fallensnow.c: do not call XClearArea when double buffer is used.
- Update to version 3.4.4
* birds.c: attraction point goes now from 0.1..0.9 of the horizontal
dimension of the screen
* main.c: add some fflush(stdout)
* birds.c: take care that AttrSpace is always honored from the
beginning
- Update to version 3.4.3
* main.c, ui.c, flags,c, doit.h: solve bug concerning the flag -above
* main.c: fix bug: Xsnow in TWM did start in non-existing window.
* utils.c: add some randomness to add_to_mainloop
* implement -attrspace, including button and man page
if Santa is not shown, let Him run anyway, so 'Follow Santa' has effect
- Drop upstream fixed reproducible.patch
- Rebased xsnow-bindir.patch
-------------------------------------------------------------------
Wed Feb 2 07:07:37 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add reproducible.patch to override build date (boo#1047218)
- disable selfrep to avoid embedding a non-deterministic tarball
-------------------------------------------------------------------
Mon Dec 20 19:40:43 UTC 2021 - Carsten Ziepke <kieltux@gmail.com>
- Updated to version 3.4.2
* fallensnow.c: other algorithm for drawing fallen snow
* Santa.c: Santa is now moon-seeking, also when birds are not
showing but only half of the time
* fallensnow.c: fallen snow at the bottom changes shape every
few minutes
* no spikes anymore on top of fallensnow
* define minimum height of bottom fallensnow
* ui.c: set_default_tab(): remove memory leak
* fallensnow.c: CreateSurfaceFromFallen(): some minor details
* fix issue that 'make install' always remakes selfrep.o
* selfrep.c: if sizeof(tarfile) < 1000 characters, assume that
this can be safely send to a tty
- Update to 3.4.1
* ui.c: more checks on ui_running
* configure.ac, Makefile.am, data: some small adaptions for
freeBSD
- Update to 3.4.0
* first try to add background to the xscreensaver mode:
use ~/xsnowbackground.jpg
* src:Makefile.am: remove .deps/* from CLEANFILES
* configure.ac: move execution of 'make dist' to the very end
* replace imagemagick for background with gtk/gdk
* implement choose-background button
* xsnow.desktop: change version to 1.5, include xsnow-version
in comment
* implement flag -bg
* xsnow.h: set time_snowflakes to 0.02 * global.cpufactor
* improve file selector for xscreensaver
* flags.c: add -treeoverlap and -notreeoverlap
add -birdsscale
add -transparency
* ui.xml: add corresponding command line flag to tooltips
* remove all from libmagickwand
* minor changes in xscreensaver menu
* prevent calling gtk_label_set_text() when there is no menu
* ui.c: ui(): move setting of ui_running to start of ui(), in order
to see version number in 'settings' tab
- Rebase xsnow-desktop_file.patch.
- Rebase xsnow-bindir.patch.
-------------------------------------------------------------------
Sat Dec 4 16:58:43 UTC 2021 - Carsten Ziepke <kieltux@gmail.com>
- Updated to version 3.3.6:
* selfrep.c, utils.c: better implementation of writing the tar
ball.
* windows.c: do_wupdate(): force update windows every 6th call
implement -ignoretop -ignorebottom, inclusive buttons in 'snow'
panel
* some minor adjustments in the ui
* snow.c: genxpmflake(): place first dot indeed in the
middle (0,0) and not in a corner
* simplemake.sh: correct call to toascii.sh
* windows.c: do_wupdate(): force update windows every 10th call
* xsnow.h: re-evaluated timings
* scenery.c: add ClearScreen() in do_initbaum()
- Updated to version 3.3.5:
* docs.c: document XFCE compositing requirement
* implemented -selfrep
* adapted simplemake.sh
- Updated to version 3.3.4:
* flags.c: remove dependency from libxml2, .xsnowrc has now different
format
* main.c: add check for existing colors for TreeColor, BirdsColor and
SnowColor
* doit.h: change colors "snow" and "chartreuse" into hex
* scenery.c: scenery_init(): sanitize Flags.TreeType
- Rebase xsnow-desktop_file.patch.
- Rebase xsnow-bindir.patch.
-------------------------------------------------------------------
Thu Dec 2 16:43:42 UTC 2021 - malcolmlewis@opensuse.org
- Updated to version 3.3.3:
* Add metainfo: data/xsnow.appdata.xml, mv src/xsnow.desktop to
data/xsnow.desktop, add flag '-b' to awk in gen_ui_xml.sh.
* Implement flag -changelog, add some old ChangeLogs, found in
the README of version 1.42, gen_ui_xml.sh: remove flag '-b'
from awk ('-b' only valid for gawk), return exit code of awk
command.
* docs.c: document xcompmgr problem, scenery.c: explicit convert
(myScale*w+2) and (myScale*h+2) to int, to keep g++ happy.
* Dependencies: made up-to-date.
* moon.c: add #include <stdlib.h>.
- Rebase xsnow-desktop_file.patch.
- Rebase xsnow-bindir.patch.
-------------------------------------------------------------------
Sat Nov 13 05:08:16 UTC 2021 - Carsten Ziepke <kieltux@gmail.com>
- Update to 3.3.2
- Remove redundand files maketar, makectags
- Update to 3.3.1
- Fix issues with LXDE desktop and xscreensaver
- Update to 3.3.0
- Replace transparent.{c,h} with maketrans.{c,h}
- Add overall scale factor
- All drawings using cairo
- Use xdbe (double buffer) when not using cairo
- Moon and birds also when painting on root window
- doit.h:default followsanta = 0
- windows.c: do not snow on window with exactly
width=SnowWinWidth, x=0, y<100
- Sanitize scenery.c with respect to color of the vintage tree
- Update to 3.2.3
- Minor adaption in simplemake.sh
- Make use of VERSION in config.h
- Adapt simplemake.sh
- ixpm.c: correct stupid bug in xpm_set_color()
- Remove UNUSED
- Extended range of XSelectInput somewhat
- Change timing of do_wupdate to look more frequently if
something has changed
- Update to 3.2.2
- Change 'changes' into Flags.Changes
- Change gdkwindow -> NULL, several files
- ui.c: better behaviour of 'below windows' - 'confirm to click'
combo
- flags.c flags.h: separate FLAGS for default and vintage
- docs.c: some minor additions
- buttons.h: change togglecode into scalecode
- flags.h uitils.h: transport some macro's
- ui.c: add documention about flags and buttons
- main.c: optionally move windows to 0,0 (movewindow())
Flags.MoveWindow --movewindow
- some tweaks MoveWindow
- more tweaks for MoveWindow
- Use also XConfigureWindow to set below or above. Now behaviour
is OK when running in FVWM + xcompmgr or compton
- transparent.c: fixed 'show desktop' issue by re-adding:
gdk_window_set_type_hint(gdk_window,GDK_WINDOW_TYPE_HINT_DOCK);
- wmctrl.c: add check for _NET_SHOWING_DESKTOP for visibility of
windows
- windows.c: keep SnowWin below if Flags.BelowAll. Needed when
SnowWin is not click-through.
- add -theme flag. No button: too complicated for me.
- make theme chooseable with a button
- ui.c: minor tweaks
- Update to 3.2.1
- utils.h: add fflush(NULL) to UIDO and UIDOS
- moon.c: create halo surface for painting.
- fine tuning of ui graphics
- start simplifying ui.c
- doit.h flags.h: change DOIT macro's
- docs.c:make it better
- add option -hidemenu, add this to xsnow.desktop
- better format noisy output
- use #include "undefall.inc" to undef frquently used macros
- simplify glade-id's
- stratify ui.c code
- Update to 3.2.0
- use 256x256 xpm for moon
- start Santa, aware of moon position
- adapt some trivial texts
- add halo around moon
- add show-stars button
- add grey-out for moon buttons if not compositing manager
- add notice about that in the celestials tab
- fix bug in moon.c: show moon, independent of birds
- some experiments with halo colours
- moon.c: fix memory leak: halo_draw()
- docs.c: adapt man page
- ui.c: better way to grey out moon buttons
- configure.ac: remove test for alloca, and tell kdtree.c
not to use alloca
- ui.c: remove malicious assert from report_tree_type()
- utils.h: create macros UIDO and UIDOS to better deal with
if(Flags.x != OldFlags.x) ....
- many functions: replace construct above with UIDO or UIDOS
- Ack in man page for picture of moon.
- Update to 3.1.10
- add moon and show-noshow for moon
- put wind, stars, moon, meteorites in celestials
- add slider for moon speed
- add button for moon size
- let Santa like to hover the moon
- Update to 3.1.9
- place 'Xsnow running' to a place wher this does not appear in
xsnow -h or xsnow-H
- wmctrl.c: a second check if window is hidden, based
on WM_STATE
see: https://tronche.com/gui/x/icccm/sec-4.html#s-4.1.3.1
- typos in docs.c
- wmctrl.c: use XQueryTree to find windows to snow on if
_NET and _GTK are not available.
- Use also XGetWindowAttributes to determine if a window
is visible.
- change max number of scenery items to 60
- wmctrl.c: use XGetWindowAttributes in stead of XGetGeometry
- Update to 3.1.8
- use config.h to determine if alloca.h should be included
configure.ac, Makefile.am: use pkg-config to locate
X11, Xpm, xt, xproto
- configure.ac: remove tests for libraries, relying on
pkg-config now
- remove uses of alloca, except ik kdtree.c
- define USE_LIST_NODE_ALLOCATOR and NO_ALLOCA in kdtree.c
- remove USE_LIST_NODE_ALLOCATOR from Makefile.am
- snow.c: free local variables in genxpmflake()
- Rebase
- xsnow-bindir.patch
- xsnow-desktop_file.patch
-------------------------------------------------------------------
Thu Dec 3 18:12:06 UTC 2020 - Carsten Ziepke <kieltux@gmail.com>
- Update to 3.1.7 (only changes from 3.1.6)
- windows.c: take care of redfining Rootwindow if xscreensaver
is detected
- Run spec-cleaner
- Rebase
- xsnow-bindir.patch
- xsnow-desktop_file.patch
-------------------------------------------------------------------
Tue Dec 24 12:24:00 UTC 2019 - Santa <santa@northpole.org>
- Update to 2.0.15
* Changed timing loop
* Find Desktop in Gnome and KDE
* Can run in user-pointed window (-xwininfo)
* Added another kind of tree
* Added starts
* Added meteorite
* Changed algorithm for fallen snow
* nosnowarea
- add patches
* xsnow-bindir.patch
* xsnow-desktop_file.patch
-------------------------------------------------------------------
Wed Dec 27 15:59:21 CET 2006 - sndirsch@suse.de
- fixed kroot path (Bug #230787)
-------------------------------------------------------------------
Sun Jul 23 16:52:04 CEST 2006 - sndirsch@suse.de
- fixed build for X.Org 7
-------------------------------------------------------------------
Wed Jan 25 21:43:27 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Jul 4 12:33:11 CEST 2005 - sndirsch@suse.de
- use RPM_OPT_FLAGS
-------------------------------------------------------------------
Wed Jan 19 17:53:49 CET 2005 - sndirsch@suse.de
- xsnow-1.42.diff:
* fixed "'variable' is used uninitialized" warning (gcc 4)
-------------------------------------------------------------------
Wed Dec 1 12:26:48 CET 2004 - sndirsch@suse.de
- use wrapper to fix the KDE root window problem (Bug #48572)
-------------------------------------------------------------------
Sun Jan 11 11:34:07 CET 2004 - adrian@suse.de
- add %defattr
-------------------------------------------------------------------
Wed Apr 23 10:30:50 CEST 2003 - coolo@suse.de
- use BuildRoot
-------------------------------------------------------------------
Tue Feb 4 15:57:58 CET 2003 - fehr@suse.de
- update to version 1.42 for KDE compatibility
-------------------------------------------------------------------
Wed Sep 18 01:26:52 CEST 2002 - ro@suse.de
- removed bogus self-provides
-------------------------------------------------------------------
Mon May 29 11:13:34 MEST 2000 - fehr@suse.de
- moved content of Makefile.Linux to spec file
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
+79
View File
@@ -0,0 +1,79 @@
#
# spec file for package xsnow
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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 https://bugs.opensuse.org/
#
Name: xsnow
Version: 3.9.3
Release: 0
Summary: A Christmas Animation
License: GPL-3.0-or-later
Group: System/X11/Utilities
URL: https://www.ratrabbit.nl/ratrabbit/xsnow
Source: https://www.ratrabbit.nl/downloads/xsnow/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE xsnow-bindir.patch -- Install in /usr/bin instead /usr/games
Patch0: xsnow-bindir.patch
BuildRequires: gcc-c++
BuildRequires: opencv-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gsl)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xpm)
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xtst)
%description
Xsnow is an application that animates snowfall, Santa and some scenery on your desktop.
It is NOT a kind of screen saver: snow is falling, Santa rides his sleigh with reindeer
while you are using your system.
Xsnow runs on most varieties of Linux, and probably on other Unix systems as well.
Xsnow is derived from Rick Jansen's xsnow-1.42.
%lang_package
%prep
%autosetup -p1
%build
%configure --disable-selfrep
%make_build
%install
%make_install
%find_lang %{name}
%files
%license COPYING
%doc AUTHORS ChangeLog README README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man6/%{name}.6%{?ext_man}
%{_datadir}/pixmaps/%{name}.svg
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/%{name}.appdata.xml
%files lang -f %{name}.lang
%changelog
+24
View File
@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.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
*.tar 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
+4
View File
@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:791bb70e8e6d44c5f3fddde39830bf89f7f19d541b5cfc3fb8daee502c7f45e4
size 1428008
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03b0146a77f550df1631f55adbb219c84fd52879c9d27b79dd90d02b92dd30ac
size 1476670
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50d6c2f9aba386d3cf4dffdaabe767632d78581a3418ab64ea50679a81f72515
size 1211913
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c987b58890d83eef3843a2d2be4ded13230bd1e638e2527604eb1d637bc2f0ac
size 1223142
+24
View File
@@ -0,0 +1,24 @@
diff -Nur xsnow-3.9.1-orig/src/Makefile.am xsnow-3.9.1/src/Makefile.am
--- xsnow-3.9.1-orig/src/Makefile.am 2026-03-27 15:09:04.000000000 +0100
+++ xsnow-3.9.1/src/Makefile.am 2026-04-05 07:46:54.235720692 +0200
@@ -23,7 +23,7 @@
TOCC = $(top_srcdir)/src/tocc.sh
TOASCII = $(top_srcdir)/src/toascii.sh
-gamesdir = $(exec_prefix)/games
+gamesdir = $(exec_prefix)/bin
games_PROGRAMS = xsnow
noinst_PROGRAMS = makeman
diff -Nur xsnow-3.9.1-orig/src/Makefile.in xsnow-3.9.1/src/Makefile.in
--- xsnow-3.9.1-orig/src/Makefile.in 2026-03-27 15:09:04.000000000 +0100
+++ xsnow-3.9.1/src/Makefile.in 2026-04-05 07:47:06.012790084 +0200
@@ -680,7 +680,7 @@
SUBDIRS = Pixmaps
TOCC = $(top_srcdir)/src/tocc.sh
TOASCII = $(top_srcdir)/src/toascii.sh
-gamesdir = $(exec_prefix)/games
+gamesdir = $(exec_prefix)/bin
xsnow_CPPFLAGS = $(GTK_CFLAGS) $(X11_CFLAGS) $(GSL_CFLAGS) \
$(CV_CFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" \
-DLANGUAGES='"$(LANGUAGES)"' $(am__append_1) $(am__append_2)