]> git.pld-linux.org Git - packages/vlc.git/commitdiff
- Grinch was here auto/th/vlc-1_1_13-3
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 23 Dec 2011 12:22:06 +0000 (12:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vlc.spec -> 1.285
    xmas-sucks.patch -> 1.1

vlc.spec
xmas-sucks.patch [new file with mode: 0644]

index 077e311098b1455f81f49e6e026bab69fe3a596c..0d9621d3308b012e189bdd035ec0b036ea8fa05c 100644 (file)
--- a/vlc.spec
+++ b/vlc.spec
@@ -47,7 +47,7 @@ Summary:      VLC - a multimedia player and stream server
 Summary(pl.UTF-8):     VLC - odtwarzacz multimedialny oraz serwer strumieni
 Name:          vlc
 Version:       1.1.13
-Release:       2
+Release:       3
 License:       GPL v2+
 Group:         X11/Applications/Multimedia
 # use the bz2 src, its a 4mb difference
@@ -60,6 +60,7 @@ Patch3:               %{name}-system-minizip.patch
 Patch4:                %{name}-upnp.patch
 Patch5:                %{name}-osdmenu_build.patch
 Patch6:                %{name}-firefox-npapi-mime.patch
+Patch7:                xmas-sucks.patch
 URL:           http://www.videolan.org/vlc/
 %{?with_directfb:BuildRequires:        DirectFB-devel}
 BuildRequires: OpenGL-devel
@@ -309,6 +310,7 @@ Wtyczka do przeglądarki internetowej Mozilla.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 cp -f /usr/share/automake/config.* .
diff --git a/xmas-sucks.patch b/xmas-sucks.patch
new file mode 100644 (file)
index 0000000..eb79934
--- /dev/null
@@ -0,0 +1,122 @@
+--- vlc-1.1.13/./modules/gui/qt4/dialogs/help.cpp~     2011-07-12 21:11:24.000000000 +0300
++++ vlc-1.1.13/./modules/gui/qt4/dialogs/help.cpp      2011-12-23 14:17:53.190941666 +0200
+@@ -98,10 +98,7 @@
+     QLabel *introduction = new QLabel(
+             qtr( "VLC media player" ) + qfu( " " VERSION_MESSAGE ) );
+     QLabel *iconVLC = new QLabel;
+-    if( QDate::currentDate().dayOfYear() >= 354 )
+-        iconVLC->setPixmap( QPixmap( ":/logo/vlc48-christmas.png" ) );
+-    else
+-        iconVLC->setPixmap( QPixmap( ":/logo/vlc48.png" ) );
++      iconVLC->setPixmap( QPixmap( ":/logo/vlc48.png" ) );
+     layout->addWidget( iconVLC, 0, 0, 1, 1 );
+     layout->addWidget( introduction, 0, 1, 1, 7 );
+     layout->addWidget( tab, 1, 0, 1, 8 );
+@@ -127,10 +124,7 @@
+     infoLabel->setWordWrap( infoLabel );
+     QLabel *iconVLC2 = new QLabel;
+-    if( QDate::currentDate().dayOfYear() >= 354 )
+-        iconVLC2->setPixmap( QPixmap( ":/logo/vlc128-christmas.png" ) );
+-    else
+-        iconVLC2->setPixmap( QPixmap( ":/logo/vlc128.png" ) );
++      iconVLC2->setPixmap( QPixmap( ":/logo/vlc128.png" ) );
+     infoLayout->addWidget( iconVLC2 );
+     infoLayout->addWidget( infoLabel );
+--- vlc-1.1.13/./modules/gui/qt4/qt4.cpp~      2011-07-12 21:11:24.000000000 +0300
++++ vlc-1.1.13/./modules/gui/qt4/qt4.cpp       2011-12-23 14:18:13.438538931 +0200
+@@ -44,7 +44,6 @@
+ #endif
+ #include "../../../share/icons/32x32/vlc.xpm"
+-#include "../../../share/icons/32x32/vlc-christmas.xpm"
+ #include <vlc_plugin.h>
+ #ifdef WIN32 /* For static builds */
+@@ -425,10 +424,7 @@
+             QSettings::UserScope, "vlc", "vlc-qt-interface" );
+     /* Icon setting */
+-    if( QDate::currentDate().dayOfYear() >= 352 ) /* One Week before Xmas */
+-        app.setWindowIcon( QIcon(vlc_christmas_xpm) );
+-    else
+-        app.setWindowIcon( QIcon(vlc_xpm) );
++      app.setWindowIcon( QIcon(vlc_xpm) );
+     /* Initialize timers and the Dialog Provider */
+     DialogsProvider::getInstance( p_intf );
+--- vlc-1.1.13/./modules/gui/qt4/components/interface_widgets.cpp~     2011-07-12 21:11:24.000000000 +0300
++++ vlc-1.1.13/./modules/gui/qt4/components/interface_widgets.cpp      2011-12-23 14:18:42.366535155 +0200
+@@ -212,11 +212,8 @@
+         pixmapUrl = url;
+     }
+     else
+-    {   /* Xmas joke */
+-        if( QDate::currentDate().dayOfYear() >= 354 )
+-            pixmapUrl = QString( ":/logo/vlc128-christmas.png" );
+-        else
+-            pixmapUrl = QString( ":/logo/vlc128.png" );
++    {
++              pixmapUrl = QString( ":/logo/vlc128.png" );
+     }
+     update();
+ }
+--- vlc-1.1.13/./modules/gui/qt4/main_interface.cpp~   2011-07-12 21:11:24.000000000 +0300
++++ vlc-1.1.13/./modules/gui/qt4/main_interface.cpp    2011-12-23 14:18:58.393938455 +0200
+@@ -920,10 +920,7 @@
+ void MainInterface::createSystray()
+ {
+     QIcon iconVLC;
+-    if( QDate::currentDate().dayOfYear() >= 354 )
+-        iconVLC =  QIcon( ":/logo/vlc128-christmas.png" );
+-    else
+-        iconVLC =  QIcon( ":/logo/vlc128.png" );
++      iconVLC =  QIcon( ":/logo/vlc128.png" );
+     sysTray = new QSystemTrayIcon( iconVLC, this );
+     sysTray->setToolTip( qtr( "VLC media player" ));
+--- vlc-1.1.13/./share/Makefile.in~    2011-12-20 17:25:31.000000000 +0200
++++ vlc-1.1.13/./share/Makefile.in     2011-12-23 14:19:28.315313669 +0200
+@@ -631,11 +631,10 @@
+ dist_appdata_DATA = vlc.desktop
+ dist_vlcdata_DATA = icons/vlc.ico
+ dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
+-dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm \
+-                  icons/32x32/vlc-christmas.xpm
++dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm
+-dist_icons48_DATA = icons/48x48/vlc.png icons/48x48/vlc-christmas.png
+-dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-christmas.png
++dist_icons48_DATA = icons/48x48/vlc.png
++dist_icons128_DATA = icons/128x128/vlc.png
+ dist_icons256_DATA = icons/256x256/vlc.png
+ nobase_dist_vlcdata_SCRIPTS = \
+       utils/gnome-vlc-default.sh \
+--- vlc-1.1.13/./share/Makefile.am~    2011-03-08 23:16:39.000000000 +0200
++++ vlc-1.1.13/./share/Makefile.am     2011-12-23 14:20:06.617074051 +0200
+@@ -14,10 +14,9 @@
+ dist_vlcdata_DATA = icons/vlc.ico
+ dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
+-dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm \
+-                  icons/32x32/vlc-christmas.xpm
+-dist_icons48_DATA = icons/48x48/vlc.png icons/48x48/vlc-christmas.png
+-dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-christmas.png
++dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm
++dist_icons48_DATA = icons/48x48/vlc.png
++dist_icons128_DATA = icons/128x128/vlc.png
+ dist_icons256_DATA = icons/256x256/vlc.png
+ nobase_dist_vlcdata_SCRIPTS = \
+--- vlc-1.1.13/./modules/gui/qt4/vlc.qrc~      2011-07-12 21:11:24.000000000 +0300
++++ vlc-1.1.13/./modules/gui/qt4/vlc.qrc       2011-12-23 14:20:18.154270979 +0200
+@@ -3,8 +3,6 @@
+         <file alias="vlc128.png" >../../../share/icons/128x128/vlc.png</file>
+         <file alias="vlc16.png" >../../../share/icons/16x16/vlc.png</file>
+         <file alias="vlc48.png" >../../../share/icons/48x48/vlc.png</file>
+-        <file alias="vlc128-christmas.png" >../../../share/icons/128x128/vlc-christmas.png</file>
+-        <file alias="vlc48-christmas.png" >../../../share/icons/48x48/vlc-christmas.png</file>
+     </qresource>
+     <qresource prefix="/menu" >
+         <file alias="help" >pixmaps/menus/help_16px.png</file>
This page took 0.044493 seconds and 4 git commands to generate.