debian/0000755000000000000000000000000011565034437007176 5ustar debian/docs0000644000000000000000000000016111565020005010031 0ustar doc/README doc/TODO doc/KNOWN_BUGS doc/MAINTAINERS doc/TRANSLATORS doc/CHANGELOG_DOCS doc/NicotinePlusGuide.html debian/control0000644000000000000000000000155711565020175010603 0ustar Source: nicotine Section: net Priority: optional Maintainer: Josselin Mouette Build-Depends: debhelper (>= 5), gettext, python-support (>= 0.4) Standards-Version: 3.8.2 Homepage: http://www.nicotine-plus.org/ Package: nicotine Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 (>= 2.10), python-glade2 Recommends: python-mutagen, python-geoip, python-notify, xdg-utils Suggests: python-psyco, python-gnome2, python-sexy, python-dbus, python-gst0.10 Description: graphical client for the SoulSeek peer-to-peer system Nicotine is a client for SoulSeek, a light and efficient file sharing system, written in Python and using the GTK2 toolkit, based on the PySoulSeek project. . It features uploading, downloading, searching and chatting, with strict bandwidth control, and tries to look like PySoulSeek. debian/install0000644000000000000000000000035311565021471010562 0ustar debian/nicotine.xpm /usr/share/pixmaps files/nicotine-plus.svg /usr/share/icons/hicolor/scalable/apps files/*.desktop /usr/share/applications nicotine.py nicotine-import-winconfig /usr/bin pynicotine /usr/share/python-support/nicotine debian/nicotine-import-winconfig.10000644000000000000000000000560311565020005014347 0ustar .\" Hey, EMACS: -*- nroff -*- .TH NICOTINE 1 "August 25, 2003" .\" Please adjust this date whenever revising the manpage. .SH NAME nicotine-import-winconfig \- import configuration from the Windows soulseek client .SH SYNOPSIS .B nicotine-import-winconfig .RB [\| OPTIONS \|] .I old-config-file .SH DESCRIPTION This manual page documents briefly the .B nicotine-import-winconfig command. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP \fBnicotine-import-winconfig\fP is a program to import your queue, user list, password information, auto-joined chatrooms, banlist, and user information from the Windows SoulSeek configuration. .SH USAGE A typical invocation would be : .PP \fBnicotine-import-winconfig\fP "/mnt/win9x/Program Files/SoulSeek" .PP The program should be run when nicotine is \fInot\fP running. It will add the information (download queue, userlist, password info, etc.) to the existing configuration or write a new configuration from scratch when no configuration exists. .SH FILES .TP .IR $HOME /.nicotine/config The per-user configuration file for \fBnicotine\fP(1) will be overwritten. .PP You might want to back up the file first, but it should not be necessary. A different config file can be chosen using the \fI--config\fP flag. .TP \fIconfigfile\fP-userinfo.\fIext\fP In case there's an image included in the Windows SoulSeek userinfo, the image will be extracted and written to that file, where \fIconfigfile\fP is the path to your nicotine configuration file, and \fIext\fP is the appropriate file extension for the image type. .SH OPTIONS When you don't want to import all configuration options, you can choose what to import using command line flags. .TP \fB-c\fP \fIfile\fP | \fB\-\-config=\fP\fIfile\fP Use a non-default nicotine configuration file to write to. .TP \fB-q\fP | \fB\-\-queue\fP Import the queue. .TP \fB-u\fP | \fB\-\-userlist\fP Import the userlist. .TP \fB-l\fP | \fB\-\-login\fP Import the login information. .TP \fB-C\fP | \fB\-\-chatrooms\fP Import the list of autojoined chatrooms. .TP \fB-b\fP | \fB\-\-banned\fP Import the list of banned users. .TP \fB-i\fP | \fB\-\-userinfo\fP Import the user information and the image. .TP \fB-h\fP | \fB\-\-help\fP Print the summary of command line options and exit. .SH TIPS It is possible to share the download directory between platforms. Nicotine can even continue downloads that started using the Windows client. .PP Of course, the download directories should be the same for nicotine and Windows, e.g. if your Windows sharing directory is \fIF:\\slsk_in\fP and your F drive is mounted on \fI/mnt/media\fP, then you must set your download directory to \fI/mnt/media/slsk_in\fP. .SH SEE ALSO .BR nicotine (1). .SH AUTHOR Geert Kloosterman , 2003. debian/copyright0000644000000000000000000000334411565020005011117 0ustar This package was debianized by Josselin Mouette on Mon, 25 Aug 2003 14:22:11 +0200. It was downloaded from http://www.nicotine-plus.org/ Upstream Authors: Hyriand Daelstorm SeeSchloss Copyright: (C) 2005-2006 "Daelstorm" (C) 2003-2004 "Hyriand" (C) 2001-2003 Alexander Kanavin License: 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 3 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-3'. All files except those listed below are distributed under the GPL with the copyright above. Some non-free icons were replaced by ones generated from the GNOME icon theme, from Jakub Steiner . "manpages/*" are (C) 2006 Adam Cécile and distributed under terms of GNU General Public License. "trayicon/*" are (C) 2002 Anders Carlsson and distributed under terms of GNU Lesser General Public License. "pynicotine/mp3.py" is (C) 2002-2003 Vivake Gupta and distributed under terms of GNU General Public License. debian/nicotine.10000644000000000000000000000161311565020005011053 0ustar .\" Hey, EMACS: -*- nroff -*- .TH NICOTINE 1 "August 25, 2003" .\" Please adjust this date whenever revising the manpage. .SH NAME nicotine \- client for the SoulSeek peer-to-peer sharing system .SH DESCRIPTION This manual page documents briefly the .B nicotine command. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP \fBnicotine\fP is a graphical client for the \fISoulSeek\fP filesharing network. It is designed to be fairly simple to use; right-clicking on an item in any list gives you the menu of what's available. .PP To search for files, just enter your search string into the input box in the search tab. .SH SEE ALSO .IR /usr/share/doc/nicotine/ . .SH AUTHOR This manual page was written by Josselin Mouette , for the Debian GNU/Linux system (but may be used by others). debian/watch0000644000000000000000000000016211565020005010210 0ustar version=3 opts=dversionmangle=s/\+dfsg.*$// \ http://www.nicotine-plus.org/files/nicotine\+-([0-9\.]*).*\.tar\.gz debian/pyversions0000644000000000000000000000000511565020005011317 0ustar 2.5- debian/compat0000644000000000000000000000000211565020005010356 0ustar 5 debian/menu0000644000000000000000000000037611565020005010055 0ustar ?package(nicotine): needs="X11" \ section="Applications/Network/File Transfer" \ title="Nicotine-Plus" \ command="/usr/bin/nicotine" \ icon="/usr/share/pixmaps/nicotine.xpm" debian/README.Debian0000644000000000000000000000120311565020005011215 0ustar nicotine for Debian ------------------- A script to convert your Windows Soulseek configuration is available, and is named nicotine-import-winconfig. A few icons provided by upstream come from the Silk theme, which is released under the Creative Commons Attribution 2.5 License. This license is not considered as DFSG-Free, therefore these icons were replaced by similar-looking ones generated from the GNOME icon theme. Some sounds are also provided by upstream, under the Creative Commons Sampling Plus 1.0 license. They were stripped out for the same reason. -- Josselin Mouette , Thu, 28 Sep 2006 00:15:27 +0200 debian/changelog0000644000000000000000000002615311565033656011061 0ustar nicotine (1.2.16+dfsg-1) unstable; urgency=low * New upstream release. Closes: #626887. * nicotine-rm-nonfree: update to new filenames in gnome-icon-theme. * Switch to 3.0 quilt format. * Use a tar.bz2 format. * Install the icons in /usr/share/icons/hicolor. * 02_desktop_paths.patch: updated according to the icon names changes. * 05_documentation.patch: updated for the new version. * 11_disable_sound.patch: refreshed. * 12_default_commands.patch: 2/3rds have been merged upstream. * 14_about_icon.patch: updated to follow upstream changes. -- Josselin Mouette Wed, 18 May 2011 23:18:37 +0200 nicotine (1.2.14+dfsg-1) unstable; urgency=low * New upstream release. * 04_buttons_ordering.patch, 05_documentation.patch, 13_migrate_oldconfig.patch: updated for the new version. * 14_about_icon.patch: updated, also ignore vector icons, the code makes my eyes bleed and loads the SVG at a fixed size. * Require python 2.5. * Require python-glade2. * 02_desktop_paths.patch: new patch. Execute nicotine, not nicotine.py. (Insert facepalm picture here.) -- Josselin Mouette Sat, 21 Nov 2009 11:25:30 +0100 nicotine (1.2.12+dfsg-1) unstable; urgency=low * New upstream release. * nicotine-rm-nonfree: also remove the .ico stuff. * Recommend mutagen instead of pyvorbis. * Cope with the renaming of nicotine to nicotine.py * 04_buttons_ordering.patch: the glade part doesn’t need patching anymore. * 10_exitdialog.patch, 12_default_commands.patch: refreshed for the new version. * 14_about_icon.patch: set an icon for the about menu entry. -- Josselin Mouette Wed, 24 Jun 2009 14:53:37 +0200 nicotine (1.2.10+dfsg-1) unstable; urgency=low * New upstream release. * 02_rhythmbox_nowplaying.patch: removed, fixed upstream. * 03_settingswindow_combobox.patch: removed, fixed upstream. * 04_buttons_ordering.patch: updated, parts of the issue are fixed upstream. * 10_exitdialog.patch, 11_disable_sound.patch, 12_default_commands.patch, 13_migrate_oldconfig.patch: updated for the new version. * 14_translations_oldserver.patch: dropped, obsolete. -- Josselin Mouette Fri, 13 Mar 2009 12:19:29 +0100 nicotine (1.2.9+dfsg-3) unstable; urgency=low * 13_migrate_oldconfig.patch: migrate configuration to the new server (port 2242 instead of 2240). * 14_translations_oldserver.patch: fix translations in which mail.slsk.org still appears. * watch: use dversionmangle. * Standards version is 3.8.0, no changes. * Use new homepage header. * 02_rhythmbox_nowplaying.patch: patch from “Osiris X” to fix the Now playing feature for Rhythmbox. Closes: #487344. -- Josselin Mouette Thu, 11 Sep 2008 16:26:51 +0200 nicotine (1.2.9+dfsg-2) unstable; urgency=low * The "let’s apply my own recommendations" release. * Switch to quilt, split patches. Build-depend on quilt. * Remove the trayicon change, it is unneeded now nicotine is again architecture-independent. * Remove the "Abort&Delete" relabel change, because it breaks i18n. -- Josselin Mouette Sat, 17 May 2008 15:48:19 +0200 nicotine (1.2.9+dfsg-1) unstable; urgency=low * New upstream release. Closes: #453315. + Checks that playbin is installed before using gst. Closes: #447335. * Fix watch file. Closes: #449694. * Recommend python-notify. * Suggest python-sexy and python-dbus. * Patch from Ubuntu to relabel the Abort&Delete button, thanks Andrea Colangelo. Closes: #448624. * Standards version is 3.7.3. * pynicotine/gtkgui/dirchooser.py: remove the infamous OK/Cancel button inversion. * pynicotine/config.py: Disable the horrible exit dialog by default. * pynicotine/gtkgui/settings_window.py: work around absolutely horrible and broken code to obtain the combobox values. * nicotine_settings.glade, pynicotine/gtkgui/settings_glade.py: correct the button ordering for the settings dialog. * chatrooms.py: ditto for the TickerDialog. * utils.py: ditto for the InputDialog. * entrydialog.py: ditto for FolderDownloadDialog and OptionDialog. * pynicotine/config.py: set xdg-open as the default file manager. * Recommend xdg-utils. -- Josselin Mouette Sun, 16 Dec 2007 19:26:57 +0100 nicotine (1.2.8+dfsg-1) unstable; urgency=low * New upstream release. * Make the package arch-all again, thanks to the notify PyGTK API. * Depend on pygtk 2.10. * Don't build the status module. -- Josselin Mouette Fri, 08 Jun 2007 23:44:25 +0200 nicotine (1.2.7.1+dfsg-1) unstable; urgency=low * New upstream release (closes: #415760). + Don't resume aborted downloads after a reconnection (closes: #256048). -- Josselin Mouette Wed, 21 Mar 2007 21:09:20 +0100 nicotine (1.2.6+dfsg-1) unstable; urgency=low * New upstream release (closes: #394829). * Correctly rename the tarball with "dfsg" in the name. * The tarball was generated with an updated nicotine-rm-nonfree: + document the changes in img/README; + remove suspiciously licensed win32 code as suggested by Adam Cécile. * Much improved copyright, thanks Adam Cécile. * trayicon/Makefile.in: link with -Wl,--as-needed. * Add ${shlibs:Depends} to dependencies. * Nicotine+ branding (closes: #392519). + control: fix URL. + nicotine.xpm: use nicotine+ icon. + menu: nicotine-plus. -- Josselin Mouette Tue, 14 Nov 2006 20:40:26 +0100 nicotine (1.2.5.1-1) unstable; urgency=low * New upstream release. * nicotine-rm-nonfree: + Update for gnome 2.16 paths. + Remove sounds (licensed under Creative commons). * README.Debian: updated accordingly. * pynicotine/config.py: make sensible-browser the default url handler, and deactivate sound by default. * docs: install the html documentation. * pynicotine/gtkgui/frame.py: use the documentation in the Debian doc directory. -- Josselin Mouette Thu, 28 Sep 2006 00:38:32 +0200 nicotine (1.2.4.1-1) unstable; urgency=low * New upstream release. * Update watch file. * Remove non-free icons from the Silk theme, and replace them by icons generated from the GNOME icon theme. * Update nicotine-rm-nonfree accordingly. * Document that in copyright and README.Debian. * Point rules and docs to the new documentation location. * Kill dh_python from rules, pycompat and control. -- Josselin Mouette Mon, 4 Sep 2006 23:35:51 +0200 nicotine (1.2.2-3) unstable; urgency=low * Put the debhelper commands in the binary-arch target, now we're binary-dependent. -- Josselin Mouette Sat, 1 Jul 2006 01:31:11 +0200 nicotine (1.2.2-2) unstable; urgency=low * Build-depend on python-gtk2-dev, not python-gtk2 (closes: #376212). -- Josselin Mouette Sat, 1 Jul 2006 00:56:34 +0200 nicotine (1.2.2-1) unstable; urgency=low * New upstream release (closes: #375820). * We now use nicotine+, update the copyright file. * Replace icons with better ones from gnome-icon-theme. * Packaging improvements from Adam Cécile (closes: #375817). + Include emails in copyright file. + Add watch file. + Fix dashes in nicotine-import-winconfig.1. * Standards version is 3.7.2. * Include the systray plugin (closes: #300494). + Bump build dependencies. + Require python-support, python-all-dev and python-gtk2-dev. + Build with a new python policy style. + compat=5, pycompat=2. + nicotine is now arch-any. * Include nicotine-rm-nonfree in the debian/ directory. * trayicon/Makefile.in: + add -fPIC in the CFLAGS; + install in pynicotine/ subdirectory. * pynicotine/gtkgui/frame.py: import the trayicon in the subdirectory. * Make the modules public. -- Josselin Mouette Fri, 30 Jun 2006 23:59:39 +0200 nicotine (1.0.8.e-1) unstable; urgency=low * New upstream release (closes: #361350). * files/nicotine.desktop: use StartupNotify (closes: #361528). -- Josselin Mouette Mon, 24 Apr 2006 21:41:55 +0200 nicotine (1.0.8.da-1) unstable; urgency=low * New upstream release. * Switch to the daelstorm branch (closes: #350832). * Remove the dirchooser patch, upstream now has better. * Update copyright and README.Debian accordingly. * Update FSF address. * Standards-version is 3.6.2. * Switch to a private-module packaging. -- Josselin Mouette Thu, 16 Feb 2006 19:52:48 +0100 nicotine (1.0.8rc1-1) unstable; urgency=high * New upstream release. * High urgency, as it fixes 2 protocol bugs. -- Josselin Mouette Tue, 14 Sep 2004 10:36:28 +0200 nicotine (1.0.7-1) unstable; urgency=low * New upstream release (closes: #230919). * Now suggests python-gnome2. -- Josselin Mouette Wed, 4 Feb 2004 12:44:07 +0100 nicotine (1.0.6+7rc2-1) unstable; urgency=low * New upstream release -- Josselin Mouette Sat, 17 Jan 2004 14:28:50 +0100 nicotine (1.0.6-1) unstable; urgency=medium * New upstream release (closes: #222646). + Should fix UI freezes (closes: #218719). + Setting urgency to medium as the protocol for searches has changed. Again. * Suggest again python-psyco (it is enabled by default). * Default server is now sk2.slsknet.org. * Now ship upstream icons and .desktop file. -- Josselin Mouette Sat, 6 Dec 2003 15:00:12 +0100 nicotine (1.0.5-1) unstable; urgency=high * New upstream release (closes: #219538). * Critical fix: server protocol change. -- Josselin Mouette Fri, 7 Nov 2003 09:35:51 +0100 nicotine (1.0.4.1-1) unstable; urgency=low * New upstream release (closes: #217920). * Include newer fr.po from Julien Wajsberg . -- Josselin Mouette Sun, 2 Nov 2003 16:51:43 +0100 nicotine (1.0.4-2) unstable; urgency=low * Now use mail.slsknet.org as default server. -- Josselin Mouette Thu, 25 Sep 2003 10:46:59 +0200 nicotine (1.0.4-1) unstable; urgency=low * New upstream release. * Build and ship .mo files. -- Josselin Mouette Thu, 18 Sep 2003 22:48:57 +0200 nicotine (1.0.3.0-1) unstable; urgency=low * Remove non-free material (icons) from upstream tarball. We are now using PNG icons from the gossip package. -- Josselin Mouette Mon, 8 Sep 2003 14:05:21 +0200 nicotine (1.0.3-2) unstable; urgency=low * pynicotine/gtkgui/dirchooser.py: use a decent directory chooser (closes: #208725). -- Josselin Mouette Sat, 6 Sep 2003 15:50:08 +0200 nicotine (1.0.3-1) unstable; urgency=low * New upstream release. * Disabled psyco stuff, as asked by upstream author. -- Josselin Mouette Wed, 3 Sep 2003 17:58:31 +0200 nicotine (1.0.2-2) unstable; urgency=low * Support for python-geoip. -- Josselin Mouette Mon, 25 Aug 2003 21:03:54 +0200 nicotine (1.0.2-1) unstable; urgency=low * Initial release (closes: #206544). * Mostly re-use pyslsk packaging. -- Josselin Mouette Mon, 25 Aug 2003 14:10:29 +0200 debian/patches/0000755000000000000000000000000011565034430010616 5ustar debian/patches/10_exitdialog.patch0000644000000000000000000000101611565020005014257 0ustar Remove the infamous exit dialog. Index: nicotine-1.2.12+dfsg/pynicotine/config.py =================================================================== --- nicotine-1.2.12+dfsg.orig/pynicotine/config.py 2009-05-24 19:49:40.000000000 +0200 +++ nicotine-1.2.12+dfsg/pynicotine/config.py 2009-06-24 12:54:53.000000000 +0200 @@ -240,7 +240,7 @@ class Config: "searchq":"GREY", \ "inputcolor":"", \ "spellcheck": 1, \ - "exitdialog": 1, \ + "exitdialog": 0, \ "mozembed": 0, \ "open_in_mozembed": 0, \ "notexists": 1, \ debian/patches/series0000644000000000000000000000032511565034423012035 0ustar 01_scripts_shebang.patch 02_desktop_paths.patch 04_buttons_ordering.patch 05_documentation.patch 10_exitdialog.patch 11_disable_sound.patch 12_default_commands.patch 13_migrate_oldconfig.patch 14_about_icon.patch debian/patches/04_buttons_ordering.patch0000644000000000000000000000373511565020005015532 0ustar Fix ordering of buttons to conform to the HIG. Upstream Ticket #228 Index: nicotine-1.2.14+dfsg/pynicotine/gtkgui/dirchooser.py =================================================================== --- nicotine-1.2.14+dfsg.orig/pynicotine/gtkgui/dirchooser.py 2009-11-21 11:25:55.000000000 +0100 +++ nicotine-1.2.14+dfsg/pynicotine/gtkgui/dirchooser.py 2009-11-21 11:25:58.000000000 +0100 @@ -74,7 +74,7 @@ def ChooseFile(parent = None, initialdir return res def SaveFile(parent = None, initialdir = "~", initialfile = "", title=None): - dialog = gtk.FileChooserDialog(parent=parent, action=gtk.FILE_CHOOSER_ACTION_SAVE, buttons = (gtk.STOCK_OK, gtk.RESPONSE_ACCEPT, gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT)) + dialog = gtk.FileChooserDialog(parent=parent, action=gtk.FILE_CHOOSER_ACTION_SAVE, buttons = (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) dialog.set_action(gtk.FILE_CHOOSER_ACTION_SAVE) dialog.set_select_multiple(False) dialog.set_show_hidden(True) Index: nicotine-1.2.14+dfsg/pynicotine/gtkgui/nowplaying.glade =================================================================== --- nicotine-1.2.14+dfsg.orig/pynicotine/gtkgui/nowplaying.glade 2009-11-21 11:34:58.000000000 +0100 +++ nicotine-1.2.14+dfsg/pynicotine/gtkgui/nowplaying.glade 2009-11-21 11:37:10.000000000 +0100 @@ -342,7 +342,7 @@ False end - 1 + 0 @@ -357,7 +357,7 @@ False end - 0 + 1 debian/patches/01_scripts_shebang.patch0000644000000000000000000000070711565020005015312 0ustar --- nicotine-1.2.9+dfsg.orig/nicotine.py +++ nicotine-1.2.9+dfsg/nicotine.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#! /usr/bin/python # # Copyright (C) 2007 daelstorm. All rights reserved. # --- nicotine-1.2.9+dfsg.orig/nicotine-import-winconfig +++ nicotine-1.2.9+dfsg/nicotine-import-winconfig @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python # Import the windows slsk config files in Nicotine. # Geert Kloosterman debian/patches/14_about_icon.patch0000644000000000000000000000300311565024701014261 0ustar Index: nicotine-1.2.16+dfsg/pynicotine/gtkgui/frame.py =================================================================== --- nicotine-1.2.16+dfsg.orig/pynicotine/gtkgui/frame.py 2011-05-18 21:55:15.000000000 +0200 +++ nicotine-1.2.16+dfsg/pynicotine/gtkgui/frame.py 2011-05-18 22:19:09.165435566 +0200 @@ -625,6 +625,9 @@ class NicotineFrame: img.set_from_pixbuf(self.images["away2"]) self.awayreturn1.set_image(img) img = gtk.Image() + img.set_from_pixbuf(self.images["notify"]) + self.about_nicotine1.set_image(img) + img = gtk.Image() img.set_from_pixbuf(self.images["bug"]) self.report_bug.set_image(img) img = gtk.Image() @@ -794,21 +797,8 @@ class NicotineFrame: scale = None def loadStatic(name): loader = gtk.gdk.PixbufLoader() - try: - data = getattr(imagedata, "%s_vector" % (name,)) - loader.write(data, len(data)) - except (gobject.GError, AttributeError): - try: - # If we reuse the loader for the PNG we get an GtkWarning about a failing assertion - # If we let the loader go out of scope we get a GtkWarning about not finalizing the loader - # If we close the loader it throws an exception on invalid data... - loader.close() - except gobject.GError, e: - # always happens -_- - pass - loader = gtk.gdk.PixbufLoader() - data = getattr(imagedata, "%s" % (name,)) - loader.write(data, len(data)) + data = getattr(imagedata, "%s" % (name,)) + loader.write(data, len(data)) loader.close() pixbuf = loader.get_pixbuf() if scale: debian/patches/12_default_commands.patch0000644000000000000000000000107211565024265015453 0ustar Use default Debian/XDG commands to open files or URIs. Index: nicotine-1.2.16+dfsg/pynicotine/config.py =================================================================== --- nicotine-1.2.16+dfsg.orig/pynicotine/config.py 2011-05-18 21:55:36.914531417 +0200 +++ nicotine-1.2.16+dfsg/pynicotine/config.py 2011-05-18 22:14:42.060129743 +0200 @@ -318,7 +318,7 @@ class Config: \ "urls":{ "urlcatching":1, \ - "protocols":{"http":"", "https":""}, \ + "protocols":{"http":"sensible-browser \"%s\"", "https":"sensible-browser \"%s\""}, \ "humanizeurls":1, \ }, \ \ debian/patches/11_disable_sound.patch0000644000000000000000000000111311565022104014742 0ustar Disable sound by default, as the sound theme is not distributed. Index: nicotine-1.2.16+dfsg/pynicotine/config.py =================================================================== --- nicotine-1.2.16+dfsg.orig/pynicotine/config.py 2011-05-18 21:55:31.554505213 +0200 +++ nicotine-1.2.16+dfsg/pynicotine/config.py 2011-05-18 21:55:36.914531417 +0200 @@ -292,7 +292,7 @@ class Config: "tooltips": 1, \ "buddylistinchatrooms": 0, \ "trayicon": 1, \ - "soundenabled": 1, \ + "soundenabled": 0, \ "soundtheme": "", \ "soundcommand": "play -q", \ "filemanager": "xdg-open $", \ debian/patches/02_desktop_paths.patch0000644000000000000000000000072511565021560015014 0ustar Index: nicotine-1.2.16+dfsg/files/nicotine.desktop =================================================================== --- nicotine-1.2.16+dfsg.orig/files/nicotine.desktop 2010-10-30 12:54:39.000000000 +0200 +++ nicotine-1.2.16+dfsg/files/nicotine.desktop 2011-05-18 21:52:07.245506303 +0200 @@ -1,7 +1,7 @@ [Desktop Entry] Name=Nicotine-Plus Comment=SoulSeek filesharing client -Exec=nicotine.py +Exec=nicotine Icon=nicotine-plus Terminal=false Type=Application debian/patches/05_documentation.patch0000644000000000000000000000347211565022051015016 0ustar Use the installed documentation instead of the online one. (Debian-specific patch) Index: nicotine-1.2.16+dfsg/pynicotine/gtkgui/frame.py =================================================================== --- nicotine-1.2.16+dfsg.orig/pynicotine/gtkgui/frame.py 2010-10-30 15:39:55.000000000 +0200 +++ nicotine-1.2.16+dfsg/pynicotine/gtkgui/frame.py 2011-05-18 21:55:15.642427426 +0200 @@ -2428,31 +2428,10 @@ class NicotineFrame: self.DownloadButtons.hide() def OnNicotineGuide(self, widget): - paths = [] - file = "NicotinePlusGuide.html" - path1 = os.getcwd() - path1split = path1.rsplit(os.sep, 1) - - if path1split[1] == "doc": - paths.append(path1split[0]) - else: - paths.append(path1) - path2 = "%s/share/nicotine/documentation" % sys.prefix - paths.append(path2) - winpath = "C:\Program Files\Nicotine+" - paths.append(winpath) - for path in paths: - # - if os.path.exists(os.sep.join([path, "doc", file])): - url = "file:%s/%s/%s" % (urllib.pathname2url(path).replace("|", ":") ,"doc", file) - OpenUri(url) - return - if os.path.exists(os.sep.join([path, file])): - url = "file:%s/%s" % (urllib.pathname2url(path).replace("|", ":"), file) - OpenUri(url) - return - else: - popupWarning(None, _("Cannot Find Guide"), _("The Nicotine Offline Guide ( NicotinePlusGuide.html ) was not found in either the following directories:\n\n%(pwd)s\nand\n%(prefix)s/share/nicotine/documentation/\n\nEither install Nicotine-Plus, or start from inside the Nicotine-Plus source directory." % {'pwd':path1, 'prefix':sys.prefix } ) ) + file = "/usr/share/doc/nicotine/NicotinePlusGuide.html" + if os.path.exists(file): + url = "file://%s" % file + OpenUri (url) def OnOnlineNicotineGuide(self, widget): url = "http://nicotine-plus.sourceforge.net/NicotinePlusGuide/" debian/patches/13_migrate_oldconfig.patch0000644000000000000000000000157711565020005015621 0ustar Migrate very old configurations (e.g. migrated from pyslsk) that used mail.slsk.org as the default. Index: nicotine-1.2.14+dfsg/pynicotine/config.py =================================================================== --- nicotine-1.2.14+dfsg.orig/pynicotine/config.py 2009-11-21 11:21:06.000000000 +0100 +++ nicotine-1.2.14+dfsg/pynicotine/config.py 2009-11-21 11:22:49.000000000 +0100 @@ -531,7 +531,8 @@ class Config: self.sections["transfers"]["bfileindex"] = bfileindex self.sections["transfers"]["bsharedmtimes"] = bsharedmtimes - if self.sections["server"]["server"][0] == "mail.slsknet.org": + if self.sections["server"]["server"][0] in [ "mail.slsknet.org", "mail.slsk.org" ] \ + or self.sections["server"]["server"] == ('server.slsknet.org', 2240): self.sections["server"]["server"] = ('server.slsknet.org', 2242) # Setting the port range in numerical order debian/rules0000755000000000000000000000276411565025420010257 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PO_FILES = $(wildcard languages/*/*.po) MO_FILES = $(PO_FILES:.po=.mo) DEST=$(CURDIR)/debian/nicotine DESTLOCALE=$(DEST)/usr/share/locale build: $(MO_FILES) %.mo: %.po msgfmt -o $@ $< clean: dh_testdir dh_testroot find languages -name \*.mo | xargs rm -f dh_clean install-clean: dh_testdir dh_testroot dh_clean -k install: build install-clean dh_install cd debian/nicotine/usr/bin && mv nicotine.py nicotine cd files && \ for i in nicotine-plus-*px.png; do \ size=$${i%px.png}; size=$${size#nicotine-plus-}; \ dirname=../debian/nicotine/usr/share/icons/hicolor/"$$size"x"$$size"/apps; \ mkdir -p $$dirname; \ cp "$$i" $$dirname/nicotine-plus.png; \ done cd languages && \ for i in */; do \ mkdir -p $(DESTLOCALE)/$${i}LC_MESSAGES/; \ cp $${i}*.mo $(DESTLOCALE)/$${i}LC_MESSAGES/; \ done # Build architecture-dependent files here. binary-arch: # We have nothing to do by default. # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installdocs dh_installmenu dh_installman dh_installchangelogs doc/CHANGELOG dh_link dh_compress dh_fixperms dh_pysupport dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: clean binary-indep binary-arch binary install build install-clean debian/source/0000755000000000000000000000000011565020140010460 5ustar debian/source/format0000644000000000000000000000001411565020140011666 0ustar 3.0 (quilt) debian/manpages0000644000000000000000000000006511565020005010677 0ustar debian/nicotine.1 debian/nicotine-import-winconfig.1 debian/nicotine-rm-nonfree0000644000000000000000000000267311565033662013006 0ustar #! /bin/sh set -e # Create pictures from the GNOME icon theme test -f img/n.png COMPOSE='composite -gravity SouthEast -compose src-over' # connect.png is the default icon in the notification area convert -resize 16x16 img/n.png img/connect.png # disconnect.png is the notification area icon when the connection fails convert -resize 8x8 /usr/share/icons/gnome/16x16/emblems/emblem-unreadable.png img/fail.png $COMPOSE img/fail.png img/connect.png img/disconnect.png rm -f img/fail.png # away2.png is the notification area icon when the user is away convert -resize 12x12 /usr/share/icons/gnome/16x16/status/appointment-soon.png img/clock.png $COMPOSE img/clock.png img/connect.png img/away2.png rm -f img/clock.png # hilite2.png is for when you get some notification cp /usr/share/icons/gnome/16x16/status/info.png img/hilite.png convert -resize 12x12 img/hilite.png img/bulb.png $COMPOSE img/bulb.png img/connect.png img/hilite2.png rm -f img/bulb.png rm -f img/*.ico cat >> img/README << EOF NOTE FOR THE DEBIAN PACKAGE =========================== All icons coming from Silk were removed, and replaced by icons from the default GNOME icon theme (GPL v2). The script used to create them is in debian/nicotine-rm-non-free. EOF # Re-encode pictures python tools/encode_bitmaps.py # Remove generated .mo files rm -f `find languages/ -name \*.mo` # Remove non-free sounds rm -rf sounds # Remove suspiciously licensed win32 code rm -rf tools/win32-installer/ debian/links0000644000000000000000000000010611565020005010220 0ustar /usr/share/pixmaps/nicotine_clear.png /usr/share/pixmaps/nicotine.png debian/nicotine.xpm0000644000000000000000000001537011565020005011524 0ustar /* XPM */ static char * nicotine_xpm[] = { "32 32 292 2", " c None", ". c #DB7C00", "+ c #E37F00", "@ c #EB7F00", "# c #EC7B00", "$ c #EC7A00", "% c #EA7700", "& c #DE6D00", "* c #D26800", "= c #C25D00", "- c #DB8300", "; c #E98400", "> c #EF8100", ", c #F17D03", "' c #F07E0D", ") c #EF841E", "! c #EF8A2C", "~ c #EF8C30", "{ c #EE892A", "] c #ED801B", "^ c #ED780A", "/ c #EC7302", "( c #E26D00", "_ c #BD5A00", ": c #E48700", "< c #F18300", "[ c #F07802", "} c #EE7E14", "| c #F2A155", "1 c #F8D3B0", "2 c #FCEFE3", "3 c #FEFBF9", "4 c #FEFDFD", "5 c #FDF9F4", "6 c #FBE8D7", "7 c #F6C79A", "8 c #EE943E", "9 c #EA780E", "0 c #E46E01", "a c #C96000", "b c #964500", "c c #EB8800", "d c #F27D00", "e c #EE7604", "f c #F8D2AE", "g c #FEFCFC", "h c #FEFEFE", "i c #FDF6F0", "j c #F3BB86", "k c #EA811E", "l c #E67002", "m c #D16400", "n c #8D4100", "o c #F17A00", "p c #EC7404", "q c #EF8F34", "r c #FAE4D0", "s c #F9F9F9", "t c #F4F4F4", "u c #F3F3F3", "v c #F7F7F7", "w c #FBFBFB", "x c #FDFDFD", "y c #F5F5F5", "z c #F0C49C", "A c #EB8220", "B c #CC6100", "C c #863E00", "D c #E98800", "E c #F17B00", "F c #EE8622", "G c #F9DDC2", "H c #E1E1E1", "I c #C9C9C9", "J c #C0C0BE", "K c #C5C3C1", "L c #D2D1D1", "M c #E4E4E4", "N c #FCFCFC", "O c #F8F8F8", "P c #EAE9E9", "Q c #EAB685", "R c #EB7C14", "S c #E36D00", "T c #C05C00", "U c #662E01", "V c #DF8400", "W c #F28000", "X c #EC7402", "Y c #EC7A0E", "Z c #F4BA82", "` c #F6F6F6", " . c #CFCFCF", ".. c #AEAAA6", "+. c #B69C82", "@. c #CB996A", "#. c #D49C66", "$. c #D6A67B", "%. c #D8C2AE", "&. c #E6E4E2", "*. c #EEEEEE", "=. c #DFDAD5", "-. c #EA984B", ";. c #EA7507", ">. c #DC6900", ",. c #9F4C00", "'. c #EF8500", "). c #EE7500", "!. c #ED7504", "~. c #EF8A2B", "{. c #FCECDD", "]. c #D5D5D5", "^. c #ABA49E", "/. c #C69262", "(. c #E4862C", "_. c #EB7C12", ":. c #EB7A0E", "<. c #EC7E17", "[. c #EB923F", "}. c #E9C19C", "|. c #F6F4F2", "1. c #DBDBDB", "2. c #DEB894", "3. c #EC7F18", "4. c #E77002", "5. c #CE6200", "6. c #6E3300", "7. c #DE8000", "8. c #F17C00", "9. c #EC7403", "0. c #ED7809", "a. c #F3A862", "b. c #B6B6B5", "c. c #C0956D", "d. c #E78122", "e. c #EC7606", "f. c #ED7708", "g. c #EE913A", "h. c #F8DEC4", "i. c #E0E0E0", "j. c #D0C4B7", "k. c #E88930", "l. c #EC7504", "m. c #DE6A00", "n. c #904400", "o. c #E88100", "p. c #EE7601", "q. c #ED7B0F", "r. c #F6C494", "s. c #B2A9A0", "t. c #DC8D44", "u. c #EC7708", "v. c #F4B67C", "w. c #FEFDFC", "x. c #E7E7E7", "y. c #C6C3C1", "z. c #E49144", "A. c #B15300", "B. c #401B00", "C. c #ED7F00", "D. c #ED7402", "E. c #EE7D12", "F. c #F8CDA5", "G. c #D8D8D8", "H. c #BCAA9A", "I. c #E58932", "J. c #ED7605", "K. c #F2A45B", "L. c #FDF9F5", "M. c #EAEAEA", "N. c #BFBFBF", "O. c #DF924B", "P. c #EC7608", "Q. c #EA7203", "R. c #C55E00", "S. c #542600", "T. c #D67A00", "U. c #F17D00", "V. c #F8CFA8", "W. c #D7D7D7", "X. c #C0AD9A", "Y. c #E7882E", "Z. c #ED7604", "`. c #ED7606", " + c #F2A053", ".+ c #FDF8F3", "++ c #EBEBEB", "@+ c #BCBCBC", "#+ c #DE924C", "$+ c #D56600", "%+ c #723400", "&+ c #D97600", "*+ c #F07901", "=+ c #ED7404", "-+ c #F8CFA9", ";+ c #C2AE9B", ">+ c #E8882E", ",+ c #F2A052", "'+ c #FDF8F2", ")+ c #DD934C", "!+ c #DB6A01", "~+ c #7A3900", "{+ c #D87400", "]+ c #F07702", "^+ c #BDBDBD", "/+ c #DD6C01", "(+ c #D87200", "_+ c #F07701", ":+ c #DC6B01", "<+ c #773700", "[+ c #CF6800", "}+ c #EF7500", "|+ c #D26500", "1+ c #622D00", "2+ c #EA7300", "3+ c #EB7202", "4+ c #EA7303", "5+ c #401D00", "6+ c #E57000", "7+ c #EB7201", "8+ c #A54E00", "9+ c #2B1300", "0+ c #D46600", "a+ c #EC7200", "b+ c #150801", "c+ c #B85500", "d+ c #E56E00", "e+ c #EA7201", "f+ c #E87306", "g+ c #BE5B00", "h+ c #472000", "i+ c #C15C00", "j+ c #DC924C", "k+ c #D56804", "l+ c #793800", "m+ c #190A01", "n+ c #E67710", "o+ c #F7CEA8", "p+ c #D28C4A", "q+ c #A04D04", "r+ c #301400", "s+ c #924500", "t+ c #D06B11", "u+ c #F4CCA8", "v+ c #AF7A4A", "w+ c #452104", "x+ c #935218", "y+ c #E9C8A9", "z+ c #725D4D", "A+ c #130C08", "B+ c #DED2C7", "C+ c #C1AE9B", "D+ c #F09F52", "E+ c #73706F", "F+ c #FAF9F9", "G+ c #D6D6D6", "H+ c #BDAB9A", "I+ c #DA7E2A", "J+ c #E26E02", "K+ c #E87102", "L+ c #EA7403", "M+ c #E97203", "N+ c #DA6B04", "O+ c #D99250", "P+ c #FAF6F2", "Q+ c #D2D2D2", "R+ c #ADA49C", "S+ c #945C2C", "T+ c #A14C01", "U+ c #B85700", "V+ c #BB5A00", "W+ c #BA5900", "X+ c #B25400", "Y+ c #944600", "Z+ c #743803", "`+ c #896B53", " @ c #F6F5F4", ".@ c #BBBBBB", "+@ c #F1F1F1", "@@ c #D1D1D1", "#@ c #B0B0AF", "$@ c #331702", "%@ c #411C00", "&@ c #401C00", "*@ c #3E1C00", "=@ c #371800", "-@ c #1F0D00", ";@ c #979594", ">@ c #C5C5C5", ",@ c #B5B5B5", "'@ c #CACACA", ")@ c #D0D0D0", " ", " ", " ", " . + @ # $ % & * = ", " - ; > , ' ) ! ~ { ] ^ / ( _ ", " : < [ } | 1 2 3 4 5 6 7 8 9 0 a b ", " c d e ! f g h h h h h h h i j k l m n ", " c o p q r h h h s t u v w h x y z A 0 B C ", " D E / F G h h s H I J K L M y N O P Q R S T U ", " V W X Y Z h h ` ...+.@.#.$.%.&.O w *.=.-.;.>.,. ", " '.).!.~.{.h w ].^./.(._.:.<.[.}.|.x y 1.2.3.4.5.6. ", " 7.8.9.0.a.h h *.b.c.d.e.!.!.!.f.g.h.h w i.j.k.l.m.n. ", " o.p.!.q.r.h h i.s.t.u.!.!.!.!.!.q.v.w.x x.y.z.e.l A.B. ", " C.D.!.E.F.h N G.H.I.J.!.!.!.!.!.f.K.L.h M.N.O.P.Q.R.S. ", " T.U.X !.} V.h N W.X.Y.Z.!.!.!.!.!.`. +.+h ++@+#+P.p $+%+ ", " &+*+=+!.} -+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++@+)+P.!.!+~+ ", " {+]+e !.} -+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+)+P.!./+~+ ", " (+_+!.!.} -+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+)+P.!.:+<+ ", " [+}+9.!.} -+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+)+P.l.|+1+ ", " 2+3+!.} -+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+)+P.4+T 5+ ", " 6+7+!.} -+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+)+P.l 8+9+ ", " 0+a+9.} -+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+)+P.!+~+b+ ", " c+d+e+} -+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+)+f+g+h+ ", " i+d+_.-+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+j+k+l+m+ ", " m n+o+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+p+q+r+ ", " s+t+u+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+v+w+ ", " x+y+h w W.;+>+Z.!.!.!.!.!.`.,+'+h ++^+z+A+ ", " B+h w W.C+Y.Z.!.!.!.!.!.`.D+'+h ++^+E+ ", " F+h w G+H+I+J+K+4+L+M+J+N+O+P+h M.@+ ", " h h ` Q+R+S+T+U+V+W+X+Y+Z+`+ @x M .@ ", " h +@@@.@#@ $@%@&@*@=@-@ ;@s i.>@,@ ", " G+'@ i.)@ "};