Overview

Request 2101 (superseded)

No description set
Submit package home:awissu / sview to package Multimedia / sview

sview.changes Changed
x
 
1
@@ -1,119 +1,4 @@
2
 -------------------------------------------------------------------
3
-Mon Mar  3 03:03:03 UTC 2025 - olaf@aepfle.de
4
-
5
-- Update to version 25
6
-
7
--------------------------------------------------------------------
8
-Tue Aug 24 12:45:46 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
9
-
10
-- Update to version 20.08
11
-  * Added support for Equiangular Cubemaps (EAC).
12
-  version 20.05:
13
-  * Added Spanish translation files.
14
-  * Image Viewer - added trilinear texture filtering option
15
-    generating mip-maps.
16
-  * Image Viewer - support 1x6 cubemap layout.
17
-  * Image Viewer - panorama is now automatically enabled for
18
-    JPEG files with GPano:ProjectionType tag.
19
-  * Image Viewer - panorama is now automatically enabled for
20
-    JPEG files with 360Stereo/360Mono tags (game screenshots).
21
-  * Image Viewer - support DDS-packed cubemaps.
22
-  * Movie Player - image-based subtitles size can be now
23
-    adjusted.
24
-  * Movie Player - workaround subtitles seeking issues for
25
-    attached SRT files.
26
-  * Movie Player - fixed ASS subtitles formatting issue on files
27
-    without closure tags.
28
-  * Movie Player - added handling of image-based subtitles
29
-    encoded as stereoscopic pair (side-by-side).
30
-  * Image Viewer - fixed poor quality on saving JPEG (yuv420p)
31
-    image into PNG (rgb).
32
-  * Image Viewer - fixed displaying WebP images with alpha
33
-    channel (yuva pixel formats).
34
-  * fontconfig library is now used to retrieve paths to system
35
-    fonts.
36
-  version 19.08:
37
-  * Introduced VR180 (hemisphere) and cylindrical panorama input
38
-    support.
39
-  * Image Viewer now redirects video file to Movie Player and
40
-    vice versa.
41
-  * Added single-finger swipe gesture for opening next/previous
42
-    file in playlist.
43
-  * FFmpeg 4.1 support.
44
-  * Fixed sporadic text formatting issues.
45
-  version 17.10:
46
-  * Image Viewer - added Slideshow delay parameter to Settings.
47
-  * Movie Player - added general information about the stream
48
-    (bitrate, codec, PAR, DAR) in File Info dialog.
49
-  * Movie Player - fixed seeking to the very beginning of the
50
-    file.
51
-  * Movie Player - fixed (workaround) displaying attached image
52
-    within some mp3 files.
53
-  * Fixed text rendering artifacts when using glyphs with
54
-    kerning defined.
55
-  * Fixed compilation on glibc 2.26+.
56
-
57
--------------------------------------------------------------------
58
-Fri May  4 14:03:47 UTC 2018 - olaf@aepfle.de
59
-
60
-- Use ffmpeg3 versions of pkgconfig(libav*)
61
-
62
--------------------------------------------------------------------
63
-Fri Oct  6 05:05:51 UTC 2017 - avvissu@yandex.by
64
-
65
-- Update to 17.04:
66
-  * update FFmpeg to 3.3, read panorama information from video files
67
-  * fixed too long opening File Info dialog on some JPEG files with 
68
-    binary data present as metadata (coming from FFmpeg decoder)
69
-- Drop 0001-Makefile-sort-input-files.patch (fixed)
70
-
71
--------------------------------------------------------------------
72
-Sat Feb 11 08:26:52 UTC 2017 - olaf@aepfle.de
73
-
74
-- Sort wildcard lists with 0001-Makefile-sort-input-files.patch
75
-
76
--------------------------------------------------------------------
77
-Wed Sep  7 05:11:05 UTC 2016 - avvissu@yandex.by
78
-
79
-- Update to 16.06:
80
-  * update FFmpeg to 3.1.1
81
-  * implement GPU-accelerated conversion of NV12 and XYZ12 formats
82
-  * image Viewer - put original filename into save file dialog
83
-  * fix saving playback time of recent file
84
-  * fix tracking playback state for keeping screen on
85
-  * improve language change without application restart
86
-  * prevent creation of multiple modal dialogs
87
-
88
--------------------------------------------------------------------
89
-Tue Dec  8 20:59:51 UTC 2015 - avvissu@yandex.ru
90
-
91
-- Fix build errors with ffmpeg: define ffmpeg_includedir
92
-
93
--------------------------------------------------------------------
94
-Sun Nov 29 12:31:27 UTC 2015 - avvissu@yandex.ru
95
-
96
-- Update to 15.11:
97
-  * introduces extended remote control from command line
98
-  * adds support of sTER chunk in PNG files identifying 
99
-    side-by-side format
100
-  * adds support of list of files within Drag & Drop. Two files are 
101
-    handled as stereo pair
102
-  * updates experimental DXVA2 decoder - more codecs are now 
103
-    supported
104
-  * fixes cursor hiding within NVIDIA 3D Vision output (Direct3D)
105
-
106
--------------------------------------------------------------------
107
-Wed Oct 21 17:46:52 UTC 2015 - avvissu@yandex.ru
108
-
109
-- Update to 15.10:
110
-  * adds support of cubemaps in format 3:2 (two rows per 3 quad 
111
-    sides)
112
-  * adds button to activate 360 panorama view on toolbar
113
-  * adds Czech translation files
114
-  * adds option to automatically workaround aspect ratio of 
115
-    anamorphic 1080p and 720p videos
116
-
117
--------------------------------------------------------------------
118
 Sat May 19 00:00:00 UTC 2015 - avvissu@yandex.ru
119
 
120
 - Initial package
121
sview.spec Changed
128
 
1
@@ -1,7 +1,6 @@
2
 #
3
 # spec file for package sview
4
 #
5
-# Copyright (c) 2021 Packman Team <packman@links2linux.de>
6
 # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
7
 #
8
 # All modifications and additions to the file contributed by third parties
9
@@ -17,21 +16,25 @@
10
 #
11
 
12
 
13
-%define src_name sView
14
+%define src_ver 15_08
15
 Name:           sview
16
-Version:        25
17
+Version:        15.08
18
 Release:        0
19
 Summary:        Stereoscopic media player
20
-License:        GPL-3.0-or-later AND LGPL-3.0-or-later
21
-URL:            http://www.sview.ru/en/
22
-Source0:        %name-%version.tar
23
-BuildRequires:  cmake
24
-BuildRequires:  fdupes
25
+License:        GPL-3.0+ and LGPL-3.0+
26
+Group:          Productivity/Multimedia/Video/Players
27
+Url:            http://www.sview.ru/en/
28
+Source:         https://github.com/gkv311/sview/archive/%{src_ver}.tar.gz#/%{name}-%{src_ver}.tar.gz
29
+BuildRequires:  dos2unix
30
 BuildRequires:  gcc-c++
31
+BuildRequires:  fdupes
32
+BuildRequires:  hicolor-icon-theme
33
+BuildRequires:  make
34
 BuildRequires:  pkgconfig
35
-BuildRequires:  pkgconfig(fontconfig)
36
-BuildRequires:  pkgconfig(freetype2)
37
+BuildRequires:  update-desktop-files
38
 BuildRequires:  pkgconfig(gl)
39
+BuildRequires:  pkgconfig(gtk+-2.0)
40
+BuildRequires:  pkgconfig(freetype2)
41
 BuildRequires:  pkgconfig(libavcodec)
42
 BuildRequires:  pkgconfig(libavdevice)
43
 BuildRequires:  pkgconfig(libavformat)
44
@@ -39,43 +42,61 @@
45
 BuildRequires:  pkgconfig(libconfig++)
46
 BuildRequires:  pkgconfig(libswscale)
47
 BuildRequires:  pkgconfig(openal)
48
-BuildRequires:  pkgconfig(x11)
49
 BuildRequires:  pkgconfig(xpm)
50
 BuildRequires:  pkgconfig(xrandr)
51
-BuildRequires:  update-desktop-files
52
-Requires:       xdg-utils
53
-Requires:       zenity
54
-ExclusiveArch:  %{ix86} x86_64
55
+#Recommends:     mongoose
56
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
57
 
58
 %description
59
 Stereoscopic Image Viewer and Movie Player.
60
 
61
 %prep
62
-%autosetup -p1
63
+%setup -q -n %{name}-%{src_ver}
64
+
65
+dos2unix -k license-gpl* license-lgpl*
66
 
67
 %build
68
-%cmake \
69
-   -DUSE_OPENVR=off \
70
-   %nil
71
-%cmake_build
72
+sed -i '/^CXXFLAGS/s/$/\ %{optflags}/' Makefile
73
+# Remove %%_smp_mflags to avoid compilation errors
74
+make V=1 -j1 EXTRA_LDFLAGS="-Wl,-rpath,%{_libdir}/sView"
75
 
76
 %install
77
-%cmake_install
78
+%make_install USR_LIB=%{_lib}
79
+
80
 # GNOME switched to the freedesktop standard
81
-rm -rfv %buildroot%_datadir/application-registry
82
+rm -rf %{buildroot}%{_datadir}/application-registry
83
 # Remove Debian directories
84
-rm -rfv %buildroot%_datadir/menu
85
+rm -rf %{buildroot}%{_datadir}/menu
86
+# It's not necessary
87
+rm -rf %{buildroot}%{_datadir}/icons/hicolor/*/apps/%{name}.png
88
+# Use the installation in pixmaps
89
+rm -rf %{buildroot}%{_datadir}/sView/icons/menu.xpm
90
+install -Dm 0644 share/sView/icons/menu.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm
91
 # Libraries used by the app must be placed into subdirectory
92
-mkdir -p %buildroot%_libdir/%src_name
93
-mv -t %buildroot%_libdir/%src_name %buildroot%_libdir/*.so
94
-%fdupes -s %buildroot%_datadir
95
+mv %{buildroot}%{_libdir}/*.so %{buildroot}%{_libdir}/sView
96
+
97
+%fdupes -s %{buildroot}%{_datadir}
98
+
99
+%suse_update_desktop_file -r sViewIV Graphics Viewer
100
+%suse_update_desktop_file -r sViewMP AudioVideo Video Player
101
+
102
+%post
103
+%icon_theme_cache_post
104
+%desktop_database_post
105
+
106
+%postun
107
+%icon_theme_cache_postun
108
+%desktop_database_postun
109
 
110
 %files
111
-%license LICENSE*
112
-%_bindir/*
113
-%_libdir/%src_name
114
-%_datadir/applications/*.desktop
115
-%_datadir/icons/*
116
-%_datadir/%src_name
117
+%defattr(-,root,root)
118
+%doc LICENSE license-gpl* license-lgpl*
119
+%{_bindir}/sView
120
+%{_libdir}/sView/
121
+%{_datadir}/applications/sViewIV.desktop
122
+%{_datadir}/applications/sViewMP.desktop
123
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
124
+%{_datadir}/pixmaps/%{name}.xpm
125
+%{_datadir}/sView/
126
 
127
 %changelog
128
_service Deleted
20
 
1
@@ -1,18 +0,0 @@
2
-<services>
3
-   <service name="obs_scm">
4
-       <param name="filename">sview</param>
5
-       <param name="revision">704c96bf0aedf3469fcf11c2202ce38cc260e369</param>
6
-       <param name="scm">git</param>
7
-       <param name="submodules">disable</param>
8
-       <param name="url">https://github.com/gkv311/sview.git</param>
9
-       <param name="versionformat">@PARENT_TAG@</param>
10
-       <param name="versionrewrite-pattern">v?(^-_\++)(.*)</param>
11
-       <param name="versionrewrite-replacement">\1</param>
12
-   </service>
13
-   <service mode="buildtime" name="tar">
14
-       <param name="obsinfo">sview.obsinfo</param>
15
-   </service>
16
-   <service mode="buildtime" name="set_version">
17
-       <param name="basename">sview</param>
18
-   </service>
19
-</services>
20
_service:obs_scm:sview-25.obscpio Deleted
_service:obs_scm:sview.obsinfo Deleted
6
 
1
@@ -1,4 +0,0 @@
2
-name: sview
3
-version: 25
4
-mtime: 1744051375
5
-commit: 704c96bf0aedf3469fcf11c2202ce38cc260e369
6
sview-15_08.tar.gz Added
Refresh
Refresh

Olaf Hering

olh wrote over 9 years ago

I think this pkg needs a "ExclusiveArch:" tag, according to the build logs.