--- volumecontrol.app-0.5.orig/main.m +++ volumecontrol.app-0.5/main.m @@ -1,10 +1,6 @@ #include -int main(int argc, char **argv) +int main(int argc, const char **argv) { - CREATE_AUTORELEASE_POOL(pool); - [NSApplication sharedApplication]; - [NSApp run]; - DESTROY(pool); - return 0; + return NSApplicationMain(argc, argv); } --- volumecontrol.app-0.5.orig/AppController.m +++ volumecontrol.app-0.5/AppController.m @@ -3,7 +3,7 @@ #include #include "AppController.h" -#include +#include #include /* control device */ #include --- volumecontrol.app-0.5.orig/debian/dirs +++ volumecontrol.app-0.5/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/lintian/overrides --- volumecontrol.app-0.5.orig/debian/lintian-override +++ volumecontrol.app-0.5/debian/lintian-override @@ -0,0 +1 @@ +volumecontrol.app: image-file-in-usr-lib --- volumecontrol.app-0.5.orig/debian/control +++ volumecontrol.app-0.5/debian/control @@ -0,0 +1,17 @@ +Source: volumecontrol.app +Section: sound +Priority: optional +Maintainer: Gürkan Sengün +Build-Depends: debhelper (>= 4.0.0), libgnustep-gui-dev (>= 0.12.0), gnustep-make +Standards-Version: 3.7.2 + +Package: volumecontrol.app +Architecture: any +Depends: ${shlibs:Depends} +Description: Audio mixer for GNUstep + VolumeControl is a GNUstep program for adjusting the audio mixer + on systems that use the OSS API. It allows the sound level, + left/right speakers, muting for master, PCM, bass, and treble + levels to be controlled. + . + Homepage: http://www.linuks.mine.nu/volumecontrol/ --- volumecontrol.app-0.5.orig/debian/compat +++ volumecontrol.app-0.5/debian/compat @@ -0,0 +1 @@ +4 --- volumecontrol.app-0.5.orig/debian/changelog +++ volumecontrol.app-0.5/debian/changelog @@ -0,0 +1,51 @@ +volumecontrol.app (0.5-3.1build1) raring; urgency=low + + * Rebuild for gnustep-gui 0.22 transition. + + -- Benjamin Drung Wed, 21 Nov 2012 16:51:58 +0100 + +volumecontrol.app (0.5-3.1) unstable; urgency=low + + * Non-maintainer upload. + * main.m (main): Use NSApplicationMain to prevent initialization + problems with gnustep-gui/0.20 (Closes: #645935) + * debian/control (Maintainer): Update Gürkan's address. + + -- Yavor Doganov Thu, 10 Nov 2011 20:20:47 +0200 + +volumecontrol.app (0.5-3) unstable; urgency=low + + * GNUstep transition. + + -- Gürkan Sengün Thu, 04 Oct 2007 12:10:25 +0200 + +volumecontrol.app (0.5-2) unstable; urgency=low + + * Rebuild against latest libgnustep-gui-dev. + * Bump standards version. + + -- Gürkan Sengün Sat, 16 Sep 2006 18:47:57 +0200 + +volumecontrol.app (0.5-1) unstable; urgency=low + + * New upstream version. + * Update build depends. + * Bump standards version. + * Update manual page. + + -- Gürkan Sengün Fri, 20 Jan 2006 14:11:10 +0100 + +volumecontrol.app (0.4-1) unstable; urgency=low + + * New upstream version. + * Renamed source package to volumecontrol.app. + * Updated debian/control build-depends for GNUstep 0.9.4. + * Removed comments from debian/rules. + + -- Gürkan Sengün Sun, 28 Nov 2004 23:34:37 +0100 + +volumecontrol (0.3-1) unstable; urgency=low + + * Initial Release. + + -- Gürkan Sengün Thu, 29 Jul 2004 20:12:47 +0200 --- volumecontrol.app-0.5.orig/debian/VolumeControl.desktop +++ volumecontrol.app-0.5/debian/VolumeControl.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Version=0.94 +Categories=Audio;Mixer; +Name=VolumeControl +Comment=Control your volume settings +Icon=/usr/lib/GNUstep/Applications/VolumeControl.app/Resources/headphones.tiff +Exec=VolumeControl --- volumecontrol.app-0.5.orig/debian/copyright +++ volumecontrol.app-0.5/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Gürkan Sengün on +Thu, 29 Jul 2004 20:12:47 +0200. + +It was downloaded from http://www.linuks.mine.nu/volumecontrol/ + +Upstream Author: Gürkan Sengün + +License: + + Copyright (C) 2004 by Gürkan Sengün + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- volumecontrol.app-0.5.orig/debian/menu +++ volumecontrol.app-0.5/debian/menu @@ -0,0 +1,2 @@ +?package(volumecontrol.app):needs="X11" section="Applications/Sound"\ + title="VolumeControl" command="/usr/bin/VolumeControl" --- volumecontrol.app-0.5.orig/debian/rules +++ volumecontrol.app-0.5/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/GNUstep/debian/config.mk +GNUSTEP_MAKEFILES=$(GS_MAKE_DIR) + +build: build-stamp + +build-stamp: + dh_testdir + gs_make + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + gs_make clean distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + gs_make install DESTDIR=$(CURDIR)/debian/volumecontrol.app GNUSTEP_INSTALLATION_DOMAIN=SYSTEM + dh_install debian/*.desktop usr/share/applications/ + rm $(CURDIR)/debian/*.app/usr/lib/GNUstep/Applications/*.app/Resources/*.desktop + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + install -m 644 debian/lintian-override $(CURDIR)/debian/volumecontrol.app/usr/share/lintian/overrides/volumecontrol.app + dh_installmenu + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- volumecontrol.app-0.5.orig/debian/manpages +++ volumecontrol.app-0.5/debian/manpages @@ -0,0 +1 @@ +debian/VolumeControl.1 --- volumecontrol.app-0.5.orig/debian/VolumeControl.1 +++ volumecontrol.app-0.5/debian/VolumeControl.1 @@ -0,0 +1,19 @@ +.TH VOLUMECONTROL 1 "July 29, 2004" +.SH NAME +VolumeControl \- audio mixer for GNUstep +.SH SYNOPSIS +.B VolumeControl +.SH DESCRIPTION +This manual page documents briefly the +.B VolumeControl +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBVolumeControl\fP is a GNUstep program for adjusting the audio mixer on systems that use the OSS API. It allows the sound level, left/right speakers, muting for master, PCM, bass, and treble levels to be controlled. +.SH SEE ALSO +.BR GNUstep (7). +.br +.SH AUTHOR +This manual page was written by G\[:u]rkan Seng\[:u]n , +for the Debian project (but may be used by others).