[volumeicon] Initial import of volumeicon (#722914)

Christoph Wickert cwickert at fedoraproject.org
Wed Jul 20 21:18:15 UTC 2011


commit d397a88c042100cd3bc7cac5139be7288c25d187
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Wed Jul 20 23:17:58 2011 +0200

    Initial import of volumeicon (#722914)

 .gitignore                    |    1 +
 sources                       |    1 +
 volumeicon-0.4.1-dsofix.patch |   11 ++++
 volumeicon.desktop            |  111 +++++++++++++++++++++++++++++++++++++++++
 volumeicon.spec               |   67 +++++++++++++++++++++++++
 5 files changed, 191 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..755041b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/volumeicon-0.4.1.tar.gz
diff --git a/sources b/sources
index e69de29..71540c6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a63e83b8a5d41dca38d077934bce9fcf  volumeicon-0.4.1.tar.gz
diff --git a/volumeicon-0.4.1-dsofix.patch b/volumeicon-0.4.1-dsofix.patch
new file mode 100644
index 0000000..0a136a2
--- /dev/null
+++ b/volumeicon-0.4.1-dsofix.patch
@@ -0,0 +1,11 @@
+--- volumeicon-0.4.1.orig/src/Makefile.in	2011-06-12 21:08:45.000000000 +0200
++++ volumeicon-0.4.1/src/Makefile.in	2011-07-01 01:38:26.005863805 +0200
+@@ -95,7 +95,7 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -lX11
+ LIBOBJS = @LIBOBJS@
+ LIBS = @GTK_LIBS@ @ALSA_LIBS@
+ LTLIBOBJS = @LTLIBOBJS@
diff --git a/volumeicon.desktop b/volumeicon.desktop
new file mode 100644
index 0000000..8cdd0b4
--- /dev/null
+++ b/volumeicon.desktop
@@ -0,0 +1,111 @@
+[Desktop Entry]
+Name=PNMixer
+GenericName=Volume Control
+GenericName[af]=Volumebeheer
+GenericName[ar]=التحكم في شدة الصوت
+GenericName[bg]=Сила на звука
+GenericName[bn]=ভলিউম কন্ট্রোল
+GenericName[ca]=Control de volum
+GenericName[cs]=Ovládání hlasitosti
+GenericName[da]=Lydstyrkekontrol
+GenericName[de]=Lautstärkeregelung
+GenericName[el]=Έλεγχος έντασης ήχου
+GenericName[en_GB]=Volume Control
+GenericName[eo]=Laŭtecregilo
+GenericName[es]=Control de volumen
+GenericName[et]=Helivaljuse juhtimine
+GenericName[eu]=Bolumen-kontrola
+GenericName[fa]=تنظیم بلندی صدا
+GenericName[fr]=Contrôle de volume
+GenericName[gl]=Control de volume
+GenericName[gu]=વોલ્યુમ નિયંત્રણ
+GenericName[he]=בקרת עצמה
+GenericName[hi]=आवाज निर्धारक
+GenericName[hu]=Hangerőszabályzó
+GenericName[it]=Regolazione volume
+GenericName[ja]=音量 コントロール
+GenericName[kn]=ಧ್ವನಿ ನಿಯಂತ್ರಣ
+GenericName[ko]=볼륨 조정
+GenericName[lt]=Garsumo valdymas
+GenericName[lv]=Skaļuma kontrole
+GenericName[nb]=Volumkontroll
+GenericName[nl]=Volumeregeling
+GenericName[nn]=Volumkontroll
+GenericName[pa]=ਵਾਲੀਅਮ ਕੰਟਰੋਲ
+GenericName[pl]=Kontrola dźwięku
+GenericName[pt]=Controlo de Volume
+GenericName[pt_BR]=Controle de volume
+GenericName[ro]=Control volum
+GenericName[ru]=Управление громкостью
+GenericName[sk]=Ovládanie hlasitosti
+GenericName[sl]=Nadzor glasnosti
+GenericName[sr]=Контрола јачине звука
+GenericName[sr at latin]=Kontrola jačine zvuka
+GenericName[sv]=Volymkontroll
+GenericName[ta]=ஒலிவளவு கட்டுப்பாடு
+GenericName[th]=ปรับความดังเสียง
+GenericName[tr]=Ses Denetimi
+GenericName[ug]=ئاۋاز تىزگىنى
+GenericName[uk]=Керування гучністю
+GenericName[vi]=Điều khiển âm lượng
+GenericName[zh_CN]=音量控制
+GenericName[zh_HK]=音量控制
+GenericName[zh_TW]=音量控制
+Comment=Show desktop volume control
+Comment[af]=Wys volumebeheer vir die werkskerm
+Comment[ar]=اعرض التحكم في شدة الصوت
+Comment[bg]=Показване на управлението на звука
+Comment[bn]=ডেস্কটপ ভলিউম কন্ট্রোল প্রদর্শন
+Comment[ca]=Mostra el control de volum de l'escriptori
+Comment[cs]=Zobrazit ovládání hlasitosti pro pracovní prostředí
+Comment[da]=Vis lydstyrkekontrol på skrivebordet
+Comment[de]=Lautstärkeregler anzeigen
+Comment[el]=Εμφάνιση ελέγχου ήχου επιφάνειας εργασίας
+Comment[en_GB]=Show desktop volume control
+Comment[es]=Mostrar el control de volumen del escritorio
+Comment[et]=Töölaua helipuldi näitamine
+Comment[eu]=Erakutsi mahaigaineko bolumen-kontrola
+Comment[fa]=نمایش تنظیمات بلندی صدای رومیزی
+Comment[fr]=Afficher le contrôle de volume sur le bureau
+Comment[gl]=Mostrar o control de volume do escritorio
+Comment[gu]=ડેસ્કટોપ વોલ્યુમ નિયંત્રણને બતાવો
+Comment[he]=הצגת בקרת עצמה בשולחן העבודה
+Comment[hi]=डेस्कटॉप आवाज नियंत्रण दिखाएँ
+Comment[hu]=Hangerőszabályzó megjelenítése
+Comment[it]=Mostra la regolazione del volume
+Comment[ja]=デスクトップの音量を調節するアプレットです
+Comment[kn]=ಗಣಕತೆರೆ ಧ್ವನಿ ನಿಯಂತ್ರಣವನ್ನು ತೋರಿಸಿ
+Comment[ko]=데스크톱 볼륨 조정 표시
+Comment[lt]=Rodyti darbastalio garsumo valdiklį
+Comment[lv]=Rādīt darbvirsmas skaņas kontroli
+Comment[nb]=Vis volumkontroll for skrivebordet
+Comment[nl]=Volumeregeling voor werkomgeving tonen
+Comment[nn]=Vis volumkontroll for skrivebord
+Comment[pa]=ਡੈਸਕਟਾਪ ਵਾਲੀਅਮ ਕੰਟਰੋਲ ਵੇਖੋ
+Comment[pl]=Wyświetlanie kontroli dźwięku na pulpicie
+Comment[pt]=Apresentar o controlo de volume na área de trabalho
+Comment[pt_BR]=Mostrar controle de volume na área de trabalho
+Comment[ro]=Arată controlul volumului pe desktop
+Comment[ru]=Открыть управление громкостью звука
+Comment[sk]=Zobraziť ovládanie hlasitosti pracovnej plochy
+Comment[sl]=Pokaži namizni nadzornik zvoka
+Comment[sr]=Прикажи контролу јачине звука радне површи
+Comment[sr at latin]=Prikaži kontrolu jačine zvuka radne površi
+Comment[sv]=Visa skrivbordets volymkontroll
+Comment[ta]=பணிமேடை ஒலிவளவு கட்டுப்பாட்டை காட்டு
+Comment[te]=రంగస్థల వాల్యూమ్ నియంత్రికను చూపు
+Comment[th]=แสดงเครื่องมือปรับความดังเสียงของเดสก์ท็อป
+Comment[tr]=Masaüstü ses denetimini göster
+Comment[ug]=ئۈستەلئۈستى ئاۋاز تىزگىننى كۆرسەت
+Comment[uk]=Показати керування гучністю
+Comment[vi]=Hiện điều khiển âm lượng
+Comment[zh_CN]=显示桌面音量控制
+Comment[zh_HK]=顯示桌面音量控制
+Comment[zh_TW]=顯示桌面音量控制
+Exec=volumeicon
+TryExec=volumeicon
+Icon=multimedia-volume-control
+Type=Application
+Terminal=false
+StartupNotify=false
+Categories=GTK;AudioVideo;Audio;Mixer
diff --git a/volumeicon.spec b/volumeicon.spec
new file mode 100644
index 0000000..8a55b5c
--- /dev/null
+++ b/volumeicon.spec
@@ -0,0 +1,67 @@
+# Review at https://bugzilla.redhat.com/show_bug.cgi?id=722914
+
+Name:           volumeicon
+Version:        0.4.1
+Release:        2%{?dist}
+Summary:        Lightweight volume control for the system tray
+
+License:        GPLv3
+URL:            http://www.softwarebakery.com/maato/volumeicon.html
+Source0:        http://www.softwarebakery.com/maato/files/volumeicon/volumeicon-%{version}.tar.gz
+# Source1 was borrowed from gnome-media package and adjusted for our needs
+Source1:        %{name}.desktop
+# Patch0 fixes DSO linking, sent upstream via mail on 2011-07-21
+Patch0:         volumeicon-0.4.1-dsofix.patch
+
+BuildRequires:  alsa-lib-devel
+BuildRequires:  desktop-file-utils
+BuildRequires:  gtk2-devel
+BuildRequires:  keybinder-devel
+
+%description
+Volume Icon aims to be a lightweight volume control that sits in your system
+tray.
+
+Features:
+* Change volume by scrolling on the systray icon
+* Ability to choose which channel to control
+* Configurable stepsize
+* Several icon themes
+* Configurable external mixer
+* Volume slider
+* Hotkey support
+
+%prep
+%setup -q
+%patch0 -p1 -b .dso
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot} INSTALL='install -p'
+
+desktop-file-install --dir=%{buildroot}%{_sysconfdir}/xdg/autostart %{SOURCE1}
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING 
+%config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}.desktop
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
+
+%changelog
+* Wed Jul 20 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.4.1-2
+- Fixes as per package review: Fix license tag, add defattr, drop README, fix
+  typo and add some comments (#722914)
+
+* Fri Jul 01 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.4.1-1
+- Inital package


More information about the scm-commits mailing list