debian/0000755000000000000000000000000012261525517007174 5ustar debian/watch0000644000000000000000000000012511651122742010216 0ustar version=3 http://people.debian.org/~kov/gksu/libgksu-(.*)\.tar\.gz \ debian uupdate debian/clean0000644000000000000000000000005011665740614010200 0ustar gksu-properties/gksu-properties.desktop debian/control.in0000644000000000000000000000353312261521605011202 0ustar Source: libgksu Section: admin Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Gustavo Noronha Silva Uploaders: @GNOME_TEAM@ Build-Depends: cdbs, debhelper (>= 8), libgtk2.0-dev (>= 2.12), libgconf2-dev, libstartup-notification0-dev, libgnome-keyring-dev, gettext, dh-autoreconf, gtk-doc-tools, gnome-pkg-tools (>= 0.10), libgtop2-dev, libglib2.0-doc, intltool Standards-Version: 3.9.2 Homepage: http://www.nongnu.org/gksu XS-Debian-Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgksu/ XS-Debian-Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/packages/unstable/libgksu/ Package: libgksu2-0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, xauth | xbase-clients Recommends: sudo Description: library providing su and sudo functionality This library comes from the gksu program. It provides a simple API to use su and sudo in programs that need to execute tasks as other user. It provides X authentication facilities for running programs in an X session. Package: libgksu2-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libglib2.0-dev, libgksu2-0 (= ${binary:Version}), libgnome-keyring-dev, libgconf2-dev, libstartup-notification0-dev Description: library providing su and sudo functionality (development files) This library comes from the gksu program. It provides a simple API to use su and sudo in programs that need to execute tasks as other user. It provides X authentication facilities for running programs in an X session. . This package contains the development files. debian/libgksu2-dev.links0000644000000000000000000000007711651122742012533 0ustar usr/share/doc/libgksu2-dev/html usr/share/gtk-doc/html/libgksu debian/libgksu2-0.prerm0000644000000000000000000000046111651122742012116 0ustar #!/bin/sh set -e #DEBHELPER# if [ "$1" = "remove" ]; then update-alternatives --remove libgksu-gconf-defaults \ /usr/share/libgksu/debian/gconf-defaults.libgksu-su update-alternatives --remove libgksu-gconf-defaults \ /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo fi debian/rules0000755000000000000000000000146312261523032010246 0ustar #!/usr/bin/make -f GNOME_DOWNLOAD_URL = http://people.debian.org/~kov/gksu/$(GNOME_TARBALL) ALLOWED_DISTS += unstable include /usr/share/cdbs/1/rules/buildcore.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk include /usr/share/gnome-pkg-tools/1/rules/check-dist.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk export AUTOMAKE := automake --foreign DEB_CONFIGURE_EXTRA_FLAGS := --disable-gtk-doc --enable-gnome-keyring clean:: -test -d po.old && (rm -rf po; mv po.old po) post-patches:: if ! test -d po.old; then \ cp -a po po.old; \ cp -a debian/pos/* po/; \ rm po/*gmo po/stamp-po || true; \ fi debian/gconf-defaults.libgksu-su0000644000000000000000000000003311651122742014073 0ustar /apps/gksu/sudo-mode false debian/libgksu2-0.postrm0000644000000000000000000000061211651122742012313 0ustar #!/bin/sh set -e #DEBHELPER# if [ "$1" = "remove" ]; then # hack to avoid breaking update-gconf-defaults when leaving # a dangling symlink; if ! test -e $(readlink /etc/alternatives/libgksu-gconf-defaults); then rm -f /usr/share/gconf/defaults/10_libgksu > /dev/null 2>&1 || true fi if which update-gconf-defaults >/dev/null 2>&1; then update-gconf-defaults fi fi debian/README.Debian0000644000000000000000000000412311651122742011230 0ustar ================== libgksu for Debian ================== The gksu library enables the user to run programs with root powers using one of `su' or `sudo' as backend. If the application that uses the library doesn't specify the backend it wants to use, the backend will be selected through the `/apps/gksu/sudo-mode' boolean gconf option. The Debian package provides two gconf default files, one of them setting sudo-mode to true, the other setting sudo-mode to false. Which one of them is used to set the default is decided through an alternative. Debian tools, Systems Administrators and custom distributions builders might want to make use of this functionality to decide whhich backend to use. This is done by configuring the libgksu-gconf-default alternative: # update-alternatives --config libgksu-gconf-defaults There are 2 alternatives which provide `libgksu-gconf-defaults'. Selection Alternative ----------------------------------------------- * 1 /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo + 2 /usr/share/libgksu/debian/gconf-defaults.libgksu-su Press enter to keep the default[*], or type selection number: 2 Using `/usr/share/libgksu/debian/gconf-defaults.libgksu-su' to provide `libgksu-gconf-defaults'. After setting the alternative you must run the `update-gconf-defaults' script to actually apply the setting to the gconf defaults XML file. While this possibility exists, it would be best if it is only used by the internal Debian infra-structure, since there are already better and documented ways of providing "default" settings for gconf-using applications both in the upstream software[0] and in the gconf packaging[1] itself, good for administrators and custom distributions builders, respectively. [0]: Read the GNOME Desktop System Administration Guide at http://www.gnome.org/learn/admin-guide/latest/ [1]: See the dh_gconf(1) script provided in the debhelper package and also see the /usr/sbin/update-gconf-defaults python script provided in the gconf package -- Gustavo Noronha Silva , Sun, 3 Sep 2006 19:06:47 -0300 debian/libgksu2-dev.install0000644000000000000000000000017411651130043013050 0ustar usr/lib/libgksu2.so usr/lib/libgksu2.a usr/include/libgksu/ usr/lib/pkgconfig/ docs/html/* usr/share/doc/libgksu2-dev/html/ debian/copyright0000644000000000000000000000214211651122742011121 0ustar This package was debianized by Gustavo Noronha Silva on Sun, 2 Dec 2001 23:04:34 -0200 It was downloaded from http://www.nongnu.org/gksu Upstream Authors: Gustavo Noronha Silva Allan Douglas Copyright (C) 2004-2008 Gustavo Noronha Silva License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the LGPL version 2 license can be found at /usr/share/common-licenses/LGPL-2. debian/pos/0000755000000000000000000000000011665737353010007 5ustar debian/pos/ru.po0000644000000000000000000004227611665737353011010 0ustar # Translation of libgksu.po to Russian # # Copyright (C) 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the libgksu package. # # Aleksander , 2003. # Yuri Kozlov , 2011. # Alexander Sashanov , 2011. # msgid "" msgstr "" "Project-Id-Version: libgksu-2.0.13~pre1-3_ru\n" "Report-Msgid-Bugs-To: kov@debian.org\n" "POT-Creation-Date: 2011-01-06 20:55+0300\n" "PO-Revision-Date: 2011-01-06 21:49+0300\n" "Last-Translator: Alexander Sashanov \n" "Language-Team: russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: \n" "\"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\\n\n" "X-Generator: Lokalize 1.0\n" #: ../libgksu/libgksu.c:126 #, c-format msgid "Not using locking for read only lock file %s" msgstr "Не используется блокировка файлом %s доступного только для чтения" #: ../libgksu/libgksu.c:146 #, c-format msgid "Not using locking for nfs mounted lock file %s" msgstr "Не используется блокировка файлом %s на смонтированном разделе с nfs" #: ../libgksu/libgksu.c:502 msgid "" "Could not grab your mouse.\n" "\n" "A malicious client may be eavesdropping on your session or you may have just " "clicked a menu or some application just decided to get focus.\n" "\n" "Try again." msgstr "" "Невозможно захватить мышь.\n" "\n" "Возможно присутствует вредоносный клиент, который перехватывает данные " "вашего сеанса, или вы только что нажали меню, или какое-либо приложение " "просто получило фокус ввода.\n" "\n" "Попробуйте снова." #: ../libgksu/libgksu.c:514 msgid "" "Could not grab your keyboard.\n" "\n" "A malicious client may be eavesdropping on your session or you may have just " "clicked a menu or some application just decided to get focus.\n" "\n" "Try again." msgstr "" "Невозможно захватить клавиатуру.\n" "\n" "Возможно присутствует вредоносный клиент, который перехватывает данные " "вашего сеанса, или вы только что нажали меню, или какое-либо приложение " "просто получило фокус ввода.\n" "\n" "Попробуйте снова." #: ../libgksu/libgksu.c:877 #, c-format msgid "" "Enter your password to perform administrative tasks\n" "\n" "The application '%s' lets you modify essential parts of your system." msgstr "" "Введите пароль для выполнения административных задач\n" "\n" "Приложение «%s» позволит изменить необходимые параметры вашей системы." #: ../libgksu/libgksu.c:884 #, c-format msgid "" "Enter your password to run the application '%s' as user %s" msgstr "" "Введите ваш пароль для запуска приложения «%s» с правами " "пользователя %s" #: ../libgksu/libgksu.c:892 #, c-format msgid "" "Enter the administrative password\n" "\n" "The application '%s' lets you modify essential parts of your system." msgstr "" "Введите административный пароль\n" "\n" "Приложение «%s» позволит изменить необходимые параметры вашей системы." #: ../libgksu/libgksu.c:899 #, c-format msgid "Enter the password of %s to run the application '%s'" msgstr "" "Введите пароль пользователя %s для запуска приложения «%s»" #: ../libgksu/libgksu.c:930 #, c-format msgid "Password prompt canceled." msgstr "Запрос пароля снят." #: ../libgksu/libgksu.c:1002 #, c-format msgid "" "Granted permissions without asking for password\n" "\n" "The '%s' program was started with the privileges of the %s user without the " "need to ask for a password, due to your system's authentication mechanism " "setup.\n" "\n" "It is possible that you are being allowed to run specific programs as user " "%s without the need for a password, or that the password is cached.\n" "\n" "This is not a problem report; it's simply a notification to make sure you " "are aware of this." msgstr "" "Предоставление прав без запроса пароля\n" "\n" "Программа «%s» запущена с правами пользователя %s без запроса пароля " "согласно настройкам аутентификации в системе.\n" "\n" "Это возможно, если вам разрешено запускать конкретные программы с правами " "пользователя %s без необходимости ввода пароля или из-за того, что пароль " "кэшируется.\n" "\n" "Это не сообщение о проблеме, а просто уведомление, чтобы вы знали об этом." #: ../libgksu/libgksu.c:1026 msgid "Do _not display this message again" msgstr "Не _выводить это сообщение в следующий раз" #: ../libgksu/libgksu.c:1046 msgid "" "Would you like your screen to be \"grabbed\"\n" "while you enter the password?\n" "\n" "This means all applications will be paused to avoid\n" "the eavesdropping of your password by a a malicious\n" "application while you type it." msgstr "" "«Захватить» экран на время ввода пароля?\n" "\n" "Это означает, что все приложения будут приостановлены, чтобы избежать\n" "подслушивания вашего пароля при вводе с применением вредоносных\n" "программ." #: ../libgksu/libgksu.c:1323 msgid "Granting Rights" msgstr "Предоставление прав" #: ../libgksu/libgksu.c:1951 #, c-format msgid "gksu_run needs a command to be run, none was provided." msgstr "Программа gksu_run не получила команду, которую нужно выполнить." #: ../libgksu/libgksu.c:1962 #, c-format msgid "The gksu-run-helper command was not found or is not executable." msgstr "Команда gksu-run-helper не существует или не может быть выполнена." #: ../libgksu/libgksu.c:1970 ../libgksu/libgksu.c:2544 #, c-format msgid "Unable to copy the user's Xauthorization file." msgstr "Невозможно скопировать пользовательский файл X-авторизации." #: ../libgksu/libgksu.c:2018 ../libgksu/libgksu.c:2708 #, c-format msgid "Failed to fork new process: %s" msgstr "Не удалось создать новый процесс: %s" #: ../libgksu/libgksu.c:2167 #, c-format msgid "Wrong password got from keyring." msgstr "Получен неверный пароль из брелка." #: ../libgksu/libgksu.c:2171 ../libgksu/libgksu.c:2879 #, c-format msgid "Wrong password." msgstr "Неверный пароль." #: ../libgksu/libgksu.c:2226 ../libgksu/libgksu.c:2240 #, c-format msgid "" "Failed to communicate with gksu-run-helper.\n" "\n" "Received:\n" " %s\n" "While expecting:\n" " %s" msgstr "" "Не удалось соединиться с gksu-run-helper.\n" "\n" "Получено:\n" " %s\n" "Ожидается:\n" " %s" #: ../libgksu/libgksu.c:2232 #, c-format msgid "" "Failed to communicate with gksu-run-helper.\n" "\n" "Received bad string while expecting:\n" " %s" msgstr "" "Не удалось соединиться с gksu-run-helper.\n" "\n" "Получена неправильная строка при ожидании:\n" " %s" #: ../libgksu/libgksu.c:2341 #, c-format msgid "su terminated with %d status" msgstr "Программа su завершилась с кодом %d" #: ../libgksu/libgksu.c:2512 #, c-format msgid "gksu_sudo_run needs a command to be run, none was provided." msgstr "Программа gksu_sudo_run не получила команду, которую нужно запустить." #: ../libgksu/libgksu.c:2668 ../libgksu/libgksu.c:2676 #, c-format msgid "Error creating pipe: %s" msgstr "Ошибка при создании канала: %s" #: ../libgksu/libgksu.c:2700 #, c-format msgid "Failed to exec new process: %s" msgstr "Не удалось запустить новый процесс: %s" #: ../libgksu/libgksu.c:2731 ../libgksu/libgksu.c:2741 #, c-format msgid "Error opening pipe: %s" msgstr "Ошибка при открытии канала: %s" #: ../libgksu/libgksu.c:2809 msgid "Password: " msgstr "Пароль: " #: ../libgksu/libgksu.c:2891 ../libgksu/libgksu.c:2955 #, c-format msgid "" "The underlying authorization mechanism (sudo) does not allow you to run this " "program. Contact the system administrator." msgstr "" "Система авторизации (sudo) не позволяет запускать данную программу. " "Обратитесь к системному администратору." #: ../libgksu/libgksu.c:2975 #, c-format msgid "sudo terminated with %d status" msgstr "Программа sudo завершилась с кодом %d" #: ../libgksuui/gksuui-dialog.c:149 msgid "You have capslock on" msgstr "Нажата клавиша CapsLock" #: ../libgksuui/gksuui-dialog.c:219 msgid "Remember password" msgstr "Запомнить пароль" #: ../libgksuui/gksuui-dialog.c:236 msgid "Save for this session" msgstr "Сохранить для этого сеанса" #: ../libgksuui/gksuui-dialog.c:241 msgid "Save in the keyring" msgstr "Сохранить в брелок" #. label #: ../libgksuui/gksuui-dialog.c:335 msgid "Type the root password.\n" msgstr "Введите пароль root.\n" #. entry label #: ../libgksuui/gksuui-dialog.c:356 msgid "Password:" msgstr "Пароль:" #: ../gksu-properties/gksu-properties.c:259 msgid "Failed to load gtkui file; please check your installation." msgstr "" "Не удалось загрузить файл gtkui, проверьте правильность установки пакета." #: ../gksu-properties/gksu-properties.desktop.in.h:1 msgid "Configure behavior of the privilege-granting tool" msgstr "Настройка поведения из утилиты предоставления привилегий" #: ../gksu-properties/gksu-properties.desktop.in.h:2 msgid "Privilege granting" msgstr "Предоставляемые привилегии" #: ../gksu-properties/gksu-properties.ui.h:1 msgid "Behavior" msgstr "Поведение" #: ../gksu-properties/gksu-properties.ui.h:2 msgid "Screen Grabbing" msgstr "Захват экрана" #: ../gksu-properties/gksu-properties.ui.h:3 msgid "_Authentication mode:" msgstr "Режим _аутентификации:" #: ../gksu-properties/gksu-properties.ui.h:4 msgid "_Grab mode:" msgstr "Режим _захвата:" #: ../gksu-properties/gksu-properties.ui.h:5 msgid "disable" msgstr "отключить" #: ../gksu-properties/gksu-properties.ui.h:6 msgid "enable" msgstr "включить" #: ../gksu-properties/gksu-properties.ui.h:7 msgid "force enable" msgstr "включить принудительно" #: ../gksu-properties/gksu-properties.ui.h:8 msgid "prompt" msgstr "запрос" #: ../gksu-properties/gksu-properties.ui.h:9 msgid "su" msgstr "su" #: ../gksu-properties/gksu-properties.ui.h:10 msgid "sudo" msgstr "sudo" #: ../gksu.schemas.in.h:1 msgid "Disable keyboard and mouse grab" msgstr "Отключить захват клавиатуры и мыши" #: ../gksu.schemas.in.h:2 msgid "Display information message when no password is needed" msgstr "Вывести сообщение, если не требуется ввод пароля" #: ../gksu.schemas.in.h:3 msgid "Force keyboard and mouse grab" msgstr "Принудительно захватить клавиатуру и мышь" #: ../gksu.schemas.in.h:4 msgid "" "Grab keyboard and mouse even if -g has been passed as argument on the " "command line." msgstr "" "Захватывать клавиатуру и мышь, даже если в командной строке присутствует " "аргумент «-g»." #: ../gksu.schemas.in.h:5 msgid "Keyring to which passwords will be saved" msgstr "Брелок, в котором будут храниться пароли" #: ../gksu.schemas.in.h:6 msgid "Prompt for grabbing" msgstr "Запрос на захват" #: ../gksu.schemas.in.h:7 msgid "Save password to gnome-keyring" msgstr "Сохранить пароль в gnome-keyring" #: ../gksu.schemas.in.h:8 msgid "Sudo mode" msgstr "Режим sudo" #: ../gksu.schemas.in.h:9 msgid "" "The name of the keyring gksu should use. Usual values are \"session\", which " "saves the password for the session, and \"default\", which saves the " "password with no timeout." msgstr "" "gksu использует названия брелока для своей работы. Обычно встречается " "название «session», такой брелок хранит пароли на время открытого сеанса. " "Также применяется брелок «default», в нём хранятся пароли в независимости от " "продолжительности сеанса." #: ../gksu.schemas.in.h:10 msgid "" "This option determines whether a message dialog will be displayed informing " "the user that the program is being run without the need of a password being " "asked for some reason." msgstr "" "Этот параметр определяет будет ли показано диалоговое окно, информирующее " "пользователя о том, что программа выполнятся без запроса пароля по некоторой " "причине." #: ../gksu.schemas.in.h:11 msgid "" "This option will make gksu prompt the user if he wants to have the screen " "grabbed before entering the password. Notice that this only has an effect if " "force-grab is disabled." msgstr "" "Этот параметр заставит gksu вывести пользователю запрос о захвате экрана " "перед вводом пароля. Заметим, что это происходит только если не указан " "параметр принудительного захвата (force-grab)." #: ../gksu.schemas.in.h:12 msgid "" "Whether sudo should be the default backend method. This method is otherwise " "accessed though the -S switch or by running 'gksudo' instead of 'gksu'." msgstr "" "Определяет, будет ли sudo использоваться как метод аутентификации по " "умолчанию. Также метод можно задать с помощью параметра -S или запустив " "«gksudo» вместо «gksu»." #: ../gksu.schemas.in.h:13 msgid "" "Whether the keyboard and mouse grabbing should be turned off. This will make " "it possible for other X applications to listen to keyboard input events, " "thus making it not possible to shield from malicious applications which may " "be running." msgstr "" "Определяет, будет ли отключён захват клавиатуры и мыши. Это может привести к " "несанкционированному получению вводимых с клавиатуры данных другими " "графическими приложениями, что приведёт к невозможности защиты от " "вредоносных программ, которые могут быть запущены в этот момент." #: ../gksu.schemas.in.h:14 msgid "" "gksu can save the password you type to the gnome-keyring so you'll not be " "asked everytime" msgstr "" "gksu может сохранить набранный пароль в gnome-keyring, таким образом " "пользователю не надо будет вводить его каждый раз." #: ../libgksu/gksu-run-helper.c:167 #, c-format msgid "Failed to obtain xauth key: xauth binary not found at usual locations" msgstr "" "Не удалось получить ключ xauth: xauth не был найден в месте своего " "расположения." #~ msgid "Could not read from the pipe with the child: %s" #~ msgstr "Невозможно прочитать из канала потомка: %s" #~ msgid "" #~ "enable\n" #~ "disable\n" #~ "force enable\n" #~ "prompt\n" #~ msgstr "" #~ "включить\n" #~ "отключить\n" #~ "включить принудительно\n" #~ "запрос\n" #~ msgid "gtk-close" #~ msgstr "gtk-close" debian/pos/pt_BR.po0000644000000000000000000003473211651122742011347 0ustar # GKsu potfile: brazillian portuguese translation. # Copyright (C) 2002- 2006 Free Software Foundation, Inc. # Gustavo Noronha Silva , 2002-2006. # Sérgio Cipolla , 2010. # msgid "" msgstr "" "Project-Id-Version: libgksu 2.0.12\n" "Report-Msgid-Bugs-To: kov@debian.org\n" "POT-Creation-Date: 2010-10-23 20:19-0200\n" "PO-Revision-Date: 2010-10-24 13:36-0300\n" "Last-Translator: Sérgio Cipolla \n" "Language-Team: Debian-BR \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Portuguese\n" "X-Poedit-Country: BRAZIL\n" #: ../libgksu/libgksu.c:126 #, c-format msgid "Not using locking for read only lock file %s" msgstr "Não vou bloquear o arquivo somente para leitura %s" #: ../libgksu/libgksu.c:146 #, c-format msgid "Not using locking for nfs mounted lock file %s" msgstr "Não vou bloquear o arquivo %s, que está num sistema de arquivos NFS" #: ../libgksu/libgksu.c:502 msgid "" "Could not grab your mouse.\n" "\n" "A malicious client may be eavesdropping on your session or you may have just clicked a menu or some application just decided to get focus.\n" "\n" "Try again." msgstr "" "Não foi possível capturar o seu mouse.\n" "\n" "Um aplicativo malicioso pode estar interceptando sua sessão, você pode ter clicado num menu ou um aplicativo quis obter o foco para si.\n" "\n" "Tente novamente." #: ../libgksu/libgksu.c:514 msgid "" "Could not grab your keyboard.\n" "\n" "A malicious client may be eavesdropping on your session or you may have just clicked a menu or some application just decided to get focus.\n" "\n" "Try again." msgstr "" "Não foi possível capturar o seu teclado.\n" "\n" "Um aplicativo malicioso pode estar interceptando sua sessão, você pode ter clicado num menu ou um aplicativo quis obter o foco para si.\n" "\n" "Tente novamente." #: ../libgksu/libgksu.c:877 #, c-format msgid "" "Enter your password to perform administrative tasks\n" "\n" "The application '%s' lets you modify essential parts of your system." msgstr "" "Digite sua senha para executar tarefas administrativas\n" "\n" "O aplicativo \"%s\" permite que você modifique partes essenciais do seu sistema." #: ../libgksu/libgksu.c:884 #, c-format msgid "Enter your password to run the application '%s' as user %s" msgstr "Digite sua senha para executar o aplicativo \"%s\" como usuário %s" #: ../libgksu/libgksu.c:892 #, c-format msgid "" "Enter the administrative password\n" "\n" "The application '%s' lets you modify essential parts of your system." msgstr "" "Digite a senha de administrador\n" "\n" "O aplicativo \"%s\" permite que você modifique partes essenciais do seu sistema." #: ../libgksu/libgksu.c:899 #, c-format msgid "Enter the password of %s to run the application '%s'" msgstr "Digite a senha de %s para executar o aplicativo \"%s\"" #: ../libgksu/libgksu.c:930 #, c-format msgid "Password prompt canceled." msgstr "Pedido de senha cancelado." #: ../libgksu/libgksu.c:1002 #, c-format msgid "" "Granted permissions without asking for password\n" "\n" "The '%s' program was started with the privileges of the %s user without the need to ask for a password, due to your system's authentication mechanism setup.\n" "\n" "It is possible that you are being allowed to run specific programs as user %s without the need for a password, or that the password is cached.\n" "\n" "This is not a problem report; it's simply a notification to make sure you are aware of this." msgstr "" "Permissões foram concedidas sem pedir senha\n" "\n" "O aplicativo \"%s\" foi iniciado com os privilégios do usuário %s sem que fosse necessário pedir uma senha devido à configuração do mecanismo de autenticação do seu sistema.\n" "\n" "É possível que você esteja sendo autorizado a executar aplicativos específicos como usuário %s ou que a senha tenha sido armazenada.\n" "\n" "Isto não é um relato de problema, simplesmente uma notificação para garantir que você esteja ciente." #: ../libgksu/libgksu.c:1026 msgid "Do _not display this message again" msgstr "_Não exibir esta mensagem novamente" #: ../libgksu/libgksu.c:1046 msgid "" "Would you like your screen to be \"grabbed\"\n" "while you enter the password?\n" "\n" "This means all applications will be paused to avoid\n" "the eavesdropping of your password by a a malicious\n" "application while you type it." msgstr "" "Você quer que sua tela seja \"capturada\" enquanto você digita a senha?\n" "\n" "Isso significa que todos os aplicativos serão pausados para evitar que a sua senha seja interceptada por um aplicativo malicioso enquanto você a digita." #: ../libgksu/libgksu.c:1323 msgid "Granting Rights" msgstr "Concedendo Direitos" #: ../libgksu/libgksu.c:1951 #, c-format msgid "gksu_run needs a command to be run, none was provided." msgstr "gksu_run precisa de um comando a ser executado e nenhum foi fornecido." #: ../libgksu/libgksu.c:1962 #, c-format msgid "The gksu-run-helper command was not found or is not executable." msgstr "O comando gksu-run-helper não foi encontrado ou não está executável." #: ../libgksu/libgksu.c:1970 #: ../libgksu/libgksu.c:2544 #, c-format msgid "Unable to copy the user's Xauthorization file." msgstr "Não foi possível copiar o arquivo de autorização do X (.Xauthority) do usuário." #: ../libgksu/libgksu.c:2018 #: ../libgksu/libgksu.c:2708 #, c-format msgid "Failed to fork new process: %s" msgstr "Falha ao tentar criar novo processo: %s" #: ../libgksu/libgksu.c:2167 #, c-format msgid "Wrong password got from keyring." msgstr "Senha errada obtida do chaveiro." #: ../libgksu/libgksu.c:2171 #: ../libgksu/libgksu.c:2879 #, c-format msgid "Wrong password." msgstr "Senha errada." #: ../libgksu/libgksu.c:2226 #: ../libgksu/libgksu.c:2240 #, c-format msgid "" "Failed to communicate with gksu-run-helper.\n" "\n" "Received:\n" " %s\n" "While expecting:\n" " %s" msgstr "" "Falha na comunicação com o gksu-run-helper.\n" "\n" "Recebido:\n" " %s\n" "Esperava:\n" " %s" #: ../libgksu/libgksu.c:2232 #, c-format msgid "" "Failed to communicate with gksu-run-helper.\n" "\n" "Received bad string while expecting:\n" " %s" msgstr "" "Falha na comunicação com o gksu-run-helper.\n" "\n" "Recebida uma cadeia errada quando esperava:\n" " %s" #: ../libgksu/libgksu.c:2341 #, c-format msgid "su terminated with %d status" msgstr "O su terminou com estado %d" #: ../libgksu/libgksu.c:2512 #, c-format msgid "gksu_sudo_run needs a command to be run, none was provided." msgstr "gksu_sudo_run precisa de um comando a ser executado e nenhum foi fornecido." #: ../libgksu/libgksu.c:2668 #: ../libgksu/libgksu.c:2676 #, c-format msgid "Error creating pipe: %s" msgstr "Erro ao criar encadeamento: %s" #: ../libgksu/libgksu.c:2700 #, c-format msgid "Failed to exec new process: %s" msgstr "Falha ao executar novo processo: %s" #: ../libgksu/libgksu.c:2731 #: ../libgksu/libgksu.c:2741 #, c-format msgid "Error opening pipe: %s" msgstr "Erro ao abrir encadeamento: %s" #: ../libgksu/libgksu.c:2809 msgid "Password: " msgstr "Senha: " #: ../libgksu/libgksu.c:2891 #: ../libgksu/libgksu.c:2955 #, c-format msgid "The underlying authorization mechanism (sudo) does not allow you to run this program. Contact the system administrator." msgstr "O mecanismo de autorização (sudo) não permite que você execute esse programa. Contate o administrador do sistema." #: ../libgksu/libgksu.c:2975 #, c-format msgid "sudo terminated with %d status" msgstr "O sudo terminou com estado %d" #: ../libgksuui/gksuui-dialog.c:149 msgid "You have capslock on" msgstr "Seu CapsLock está ligado" #: ../libgksuui/gksuui-dialog.c:219 msgid "Remember password" msgstr "Lembrar a senha" #: ../libgksuui/gksuui-dialog.c:236 msgid "Save for this session" msgstr "Armazenar para essa sessão" #: ../libgksuui/gksuui-dialog.c:241 msgid "Save in the keyring" msgstr "Armazenar no chaveiro" #. label #: ../libgksuui/gksuui-dialog.c:335 msgid "Type the root password.\n" msgstr "Digite a senha de root.\n" #. entry label #: ../libgksuui/gksuui-dialog.c:356 msgid "Password:" msgstr "Senha:" #: ../gksu-properties/gksu-properties.c:259 msgid "Failed to load gtkui file; please check your installation." msgstr "Falha ao carregar arquivo gtkui; por favor, verifique a sua instalação." #: ../gksu-properties/gksu-properties.desktop.in.h:1 msgid "Configure behavior of the privilege-granting tool" msgstr "Configurar o comportamento da ferramenta de concessão de privilégios" #: ../gksu-properties/gksu-properties.desktop.in.h:2 msgid "Privilege granting" msgstr "Concessão de privilégios" #: ../gksu-properties/gksu-properties.ui.h:1 msgid "Behavior" msgstr "Comportamento" #: ../gksu-properties/gksu-properties.ui.h:2 msgid "Screen Grabbing" msgstr "Captura da Tela" #: ../gksu-properties/gksu-properties.ui.h:3 msgid "Privilege granting preferences" msgstr "Preferências de concessão de privilégios" #: ../gksu-properties/gksu-properties.ui.h:4 msgid "The su mode will require the administrator password; sudo mode will request the user's own password, and needs prior setup of sudo." msgstr "O modo su necessitará da senha de administrador; o modo sudo necessitará da senha do próprio usuário e requer uma configuração prévia do sudo." #: ../gksu-properties/gksu-properties.ui.h:5 msgid "This setting controls whether the keyboard and mouse should be held exclusively while requesting the password, to avoid that some other application receive the password." msgstr "Esta configuração controla se o teclado e o mouse devem ser tomados com exclusividade enquanto se pede a senha, evitando-se que algum outro aplicativo receba a senha." #: ../gksu-properties/gksu-properties.ui.h:6 msgid "_Authentication mode:" msgstr "Modo de _autenticação:" #: ../gksu-properties/gksu-properties.ui.h:7 msgid "_Grab mode:" msgstr "Modo de _captura:" #: ../gksu-properties/gksu-properties.ui.h:8 msgid "disable" msgstr "desabilitar" #: ../gksu-properties/gksu-properties.ui.h:9 msgid "enable" msgstr "habilitar" #: ../gksu-properties/gksu-properties.ui.h:10 msgid "force enable" msgstr "forçar habilitar" #: ../gksu-properties/gksu-properties.ui.h:11 msgid "prompt" msgstr "perguntar" #: ../gksu-properties/gksu-properties.ui.h:12 msgid "su" msgstr "su" #: ../gksu-properties/gksu-properties.ui.h:13 msgid "sudo" msgstr "sudo" #: ../gksu.schemas.in.h:1 msgid "Disable keyboard and mouse grab" msgstr "Desabilitar a captura do teclado e do mouse" #: ../gksu.schemas.in.h:2 msgid "Display information message when no password is needed" msgstr "Exibir uma mensagem informativa quando não houver necessidade de senha" #: ../gksu.schemas.in.h:3 msgid "Force keyboard and mouse grab" msgstr "Forçar a captura do teclado e do mouse" #: ../gksu.schemas.in.h:4 msgid "Grab keyboard and mouse even if -g has been passed as argument on the command line." msgstr "Capturar o teclado e o mouse ainda que -g tenha sido passado como argumento na linha de comando." #: ../gksu.schemas.in.h:5 msgid "Keyring to which passwords will be saved" msgstr "Chaveiro no qual armazenar as senhas" #: ../gksu.schemas.in.h:6 msgid "Prompt for grabbing" msgstr "Perguntar pela captura" #: ../gksu.schemas.in.h:7 msgid "Save password to gnome-keyring" msgstr "Armazenar a senha no chaveiro do GNOME (gnome-keyring)" #: ../gksu.schemas.in.h:8 msgid "Sudo mode" msgstr "Modo sudo" #: ../gksu.schemas.in.h:9 msgid "The name of the keyring gksu should use. Usual values are \"session\", which saves the password for the session, and \"default\", which saves the password with no timeout." msgstr "O nome do chaveiro a ser usado pelo gksu. Valores usuais são \"session\", que armazena a senha durante a sessão e \"default\", que armazena a senha por um tempo ilimitado." #: ../gksu.schemas.in.h:10 msgid "This option determines whether a message dialog will be displayed informing the user that the program is being run without the need of a password being asked for some reason." msgstr "Esta opção determina se uma mensagem será exibida informando o usuário que o programa, por alguma razão, está sendo executado sem a necessidade de pedir senha." #: ../gksu.schemas.in.h:11 msgid "This option will make gksu prompt the user if he wants to have the screen grabbed before entering the password. Notice that this only has an effect if force-grab is disabled." msgstr "Esta opção fará com que o gksu pergunte ao usuário se ele quer que a tela seja capturada antes de inserir a senha. Note que isso só tem efeito se force-grab (forçar a captura) estiver desabilitado." #: ../gksu.schemas.in.h:12 msgid "Whether sudo should be the default backend method. This method is otherwise accessed though the -S switch or by running 'gksudo' instead of 'gksu'." msgstr "Se o sudo deve ser o método estrutural padrão. Esse método também pode ser utilizado através da opção -S ou executando-se \"gksudo\" em vez de \"gksu\"." #: ../gksu.schemas.in.h:13 msgid "Whether the keyboard and mouse grabbing should be turned off. This will make it possible for other X applications to listen to keyboard input events, thus making it not possible to shield from malicious applications which may be running." msgstr "Se a captura do teclado e do mouse deve ser desabilitada. Isso permitirá a outros aplicativos gráficos monitorar eventos de entrada, de modo que não será possível proteger-se de eventuais aplicativos maliciosos que estiverem em execução." #: ../gksu.schemas.in.h:14 msgid "gksu can save the password you type to the gnome-keyring so you'll not be asked everytime" msgstr "O gksu pode armazenar a senha que você digitar no chaveiro do GNOME (gnome-keyring). Assim você não seja perguntado toda vez" #: ../libgksu/gksu-run-helper.c:167 #, c-format msgid "Failed to obtain xauth key: xauth binary not found at usual locations" msgstr "Falha na obtenção da chave xauth. O binário do xauth não foi encontrado nos locais habituais." #~ msgid "Could not read from the pipe with the child: %s" #~ msgstr "Não foi possível ler do encadeamento com o filho: %s" #~ msgid "" #~ "enable\n" #~ "disable\n" #~ "force enable\n" #~ "prompt\n" #~ msgstr "" #~ "habilitar\n" #~ "desabilitar\n" #~ "forçar habilitar\n" #~ "perguntar\n" #~ msgid "gtk-close" #~ msgstr "gtk-close" debian/libgksu2-0.install0000644000000000000000000000030711651130011012422 0ustar usr/lib/libgksu2.so.* usr/lib/libgksu/ usr/share/locale/ usr/share/pixmaps/ usr/bin/ etc/gconf/schemas/gksu.schemas usr/share/libgksu/ usr/share/man debian/gconf-defaults.* usr/share/libgksu/debian/ debian/docs0000644000000000000000000000001011651122742010031 0ustar AUTHORS debian/gconf-defaults.libgksu-sudo0000644000000000000000000000003211651122742014415 0ustar /apps/gksu/sudo-mode true debian/source/0000755000000000000000000000000011651132304010462 5ustar debian/source/format0000644000000000000000000000001411651124571011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012261525500010613 5ustar debian/patches/27_sudo_wrong_pwd_check.patch0000644000000000000000000000112311665736406016356 0ustar Description: Be more careful when checking the "wrong password" output, there might be a new prompt before. Author: Martin Pitt Bug-Ubuntu: https://launchpad.net/bugs/298217 --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -3022,7 +3022,7 @@ fprintf (stderr, "%s", buffer); } - if (g_str_has_prefix (buffer, "Sorry, try again.")) + if (g_str_has_prefix (buffer, "Sorry, try again.") || g_str_has_prefix (buffer, "GNOME_SUDO_PASSSorry, try again.")) g_set_error (error, gksu_quark, GKSU_ERROR_WRONGPASS, _("Wrong password.")); else debian/patches/21_composited_rgba_addition.patch0000644000000000000000000003365111665735226017201 0ustar diff -Nur -x '*.orig' -x '*~' libgksu-2.0.7/libgksuui/gksuui-dialog.c libgksu-2.0.7.new/libgksuui/gksuui-dialog.c --- libgksu-2.0.7/libgksuui/gksuui-dialog.c 2008-05-09 19:39:54.000000000 +0200 +++ libgksu-2.0.7.new/libgksuui/gksuui-dialog.c 2008-10-17 14:15:36.000000000 +0200 @@ -19,6 +19,7 @@ */ #include +#include #include #include @@ -259,11 +260,416 @@ return TRUE; } +void +_round_rect (cairo_t* cr, + gdouble aspect, + gdouble x, + gdouble y, + gdouble corner, + gdouble width, + gdouble height) +{ + gdouble radius = corner / aspect; + + /* top-left, right of the corner */ + cairo_move_to (cr, x + radius, y); + + /* top-right, left of the corner */ + cairo_line_to (cr, + x + width - radius, + y); + + /* top-right, below the corner */ + cairo_arc (cr, + x + width - radius, + y + radius, + radius, + -90.0f * G_PI / 180.0f, + 0.0f * G_PI / 180.0f); + + /* bottom-right, above the corner */ + cairo_line_to (cr, + x + width, + y + height - radius); + + /* bottom-right, left of the corner */ + cairo_arc (cr, + x + width - radius, + y + height - radius, + radius, + 0.0f * G_PI / 180.0f, + 90.0f * G_PI / 180.0f); + + /* bottom-left, right of the corner */ + cairo_line_to (cr, + x + radius, + y + height); + + /* bottom-left, above the corner */ + cairo_arc (cr, + x + radius, + y + height - radius, + radius, + 90.0f * G_PI / 180.0f, + 180.0f * G_PI / 180.0f); + + /* top-left, below the corner */ + cairo_line_to (cr, + x, + y + radius); + + /* top-left, right of the corner */ + cairo_arc (cr, + x + radius, + y + radius, + radius, + 180.0f * G_PI / 180.0f, + 270.0f * G_PI / 180.0f); +} + +gdouble* +_kernel_1d_new (gint radius, + gdouble deviation /* pass 0.0f to calculate automatically */) +{ + gdouble* kernel = NULL; + gdouble sum = 0.0f; + gdouble value = 0.0f; + gint i; + gint size = 2 * radius + 1; + gdouble radiusf; + + /* sanity check */ + if (radius <= 0) + return NULL; + + /* get memory-chunk to hold blur-kernel */ + kernel = (gdouble*) g_malloc0 ((size + 1) * sizeof (gdouble)); + if (!kernel) + return NULL; + + /* determine deviation */ + radiusf = fabs (radius) + 1.0f; + if (deviation == 0.0f) + deviation = sqrt (-(radiusf * radiusf) / (2.0f * log (1.0f / 255.0f))); + + /* fill blur-kernel */ + kernel[0] = size; + value = (gdouble) -radius; + for (i = 0; i < size; i++) + { + kernel[1 + i] = 1.0f / (2.506628275f * deviation) * + expf (-((value * value) / + (2.0f * deviation * deviation))); + sum += kernel[1 + i]; + value += 1.0f; + } + + /* normalize values */ + for (i = 0; i < size; i++) + kernel[1 + i] /= sum; + + return kernel; +} + +void +_kernel_1d_delete (gdouble* kernel) +{ + g_assert (kernel != NULL); + g_free ((gpointer) kernel); +} + +static void +_image_surface_blur (cairo_surface_t* surface, + gint horz_radius, + gint vert_radius) +{ + gint iX; + gint iY; + gint i; + gint x; + gint y; + gint stride; + gint offset; + gint base_offset; + gdouble* horz_blur; + gdouble* vert_blur; + gdouble* horz_kernel; + gdouble* vert_kernel; + guchar* src; + gint width; + gint height; + gint channels; + + /* sanity checks */ + if (!surface || horz_radius == 0 || vert_radius == 0) + return; + + if (cairo_surface_get_type (surface) != CAIRO_SURFACE_TYPE_IMAGE) + return; + + cairo_surface_flush (surface); + + src = cairo_image_surface_get_data (surface); + width = cairo_image_surface_get_width (surface); + height = cairo_image_surface_get_height (surface); + + /* only handle RGB- or RGBA-surfaces */ + if (cairo_image_surface_get_format (surface) != CAIRO_FORMAT_ARGB32 && + cairo_image_surface_get_format (surface) != CAIRO_FORMAT_RGB24) + return; + + channels = 4; + stride = width * channels; + + /* create buffers to hold the blur-passes */ + horz_blur = (gdouble*) g_malloc0 (height * stride * sizeof (gdouble)); + vert_blur = (gdouble*) g_malloc0 (height * stride * sizeof (gdouble)); + if (!horz_blur || !vert_blur) + { + if (horz_blur) + g_free ((gpointer) horz_blur); + + if (vert_blur) + g_free ((gpointer) vert_blur); + + return; + } + + horz_kernel = _kernel_1d_new (horz_radius, 0.0f); + vert_kernel = _kernel_1d_new (vert_radius, 0.0f); + + if (!horz_kernel || !vert_kernel) + { + + g_free ((gpointer) horz_blur); + g_free ((gpointer) vert_blur); + + if (horz_kernel) + _kernel_1d_delete (horz_kernel); + + if (vert_kernel) + _kernel_1d_delete (vert_kernel); + + return; + } + + /* horizontal pass */ + for (iY = 0; iY < height; iY++) + { + for (iX = 0; iX < width; iX++) + { + gdouble red = 0.0f; + gdouble green = 0.0f; + gdouble blue = 0.0f; + gdouble alpha = 0.0f; + + offset = ((gint) horz_kernel[0]) / -2; + for (i = 0; i < (gint) horz_kernel[0]; i++) + { + x = iX + offset; + if (x >= 0 && x < width) + { + base_offset = iY * stride + x * channels; + + if (channels == 4) + alpha += (horz_kernel[1+i] * (gdouble) src[base_offset + 3]); + + red += (horz_kernel[1+i] * (gdouble) src[base_offset + 2]); + green += (horz_kernel[1+i] * (gdouble) src[base_offset + 1]); + blue += (horz_kernel[1+i] * (gdouble) src[base_offset + 0]); + } + + offset++; + } + + base_offset = iY * stride + iX * channels; + + if (channels == 4) + horz_blur[base_offset + 3] = alpha; + + horz_blur[base_offset + 2] = red; + horz_blur[base_offset + 1] = green; + horz_blur[base_offset + 0] = blue; + } + } + + /* vertical pass */ + for (iY = 0; iY < height; iY++) + { + for (iX = 0; iX < width; iX++) + { + gdouble red = 0.0f; + gdouble green = 0.0f; + gdouble blue = 0.0f; + gdouble alpha = 0.0f; + + offset = ((gint) vert_kernel[0]) / -2; + for (i = 0; i < (gint) vert_kernel[0]; i++) + { + y = iY + offset; + if (y >= 0 && y < height) + { + base_offset = y * stride + iX * channels; + + if (channels == 4) + alpha += (vert_kernel[1+i] * horz_blur[base_offset + 3]); + + red += (vert_kernel[1+i] * horz_blur[base_offset + 2]); + green += (vert_kernel[1+i] * horz_blur[base_offset + 1]); + blue += (vert_kernel[1+i] * horz_blur[base_offset + 0]); + } + + offset++; + } + + base_offset = iY * stride + iX * channels; + + if (channels == 4) + vert_blur[base_offset + 3] = alpha; + + vert_blur[base_offset + 2] = red; + vert_blur[base_offset + 1] = green; + vert_blur[base_offset + 0] = blue; + } + } + + _kernel_1d_delete (horz_kernel); + _kernel_1d_delete (vert_kernel); + + for (iY = 0; iY < height; iY++) + { + for (iX = 0; iX < width; iX++) + { + offset = iY * stride + iX * channels; + + if (channels == 4) + src[offset + 3] = (guchar) vert_blur[offset + 3]; + + src[offset + 2] = (guchar) vert_blur[offset + 2]; + src[offset + 1] = (guchar) vert_blur[offset + 1]; + src[offset + 0] = (guchar) vert_blur[offset + 0]; + } + } + + cairo_surface_mark_dirty (surface); + + g_free ((gpointer) horz_blur); + g_free ((gpointer) vert_blur); +} + +static cairo_surface_t* +_create_shadow_surface (gint width, + gint height, + gdouble corner_radius, + gint blur_radius) +{ + cairo_surface_t* surface; + cairo_t* cr; + + /* create image-surface and context */ + surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width, height); + cr = cairo_create (surface); + + /* clear context */ + cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR); + cairo_paint (cr); + + /* draw semi-transparent black rectangle with rounded corners */ + cairo_set_source_rgba (cr, 0.0f, 0.0f, 0.0f, 0.65f); + cairo_set_operator (cr, CAIRO_OPERATOR_OVER); + _round_rect (cr, + 1.0f, + (gdouble) blur_radius, + (gdouble) blur_radius, + corner_radius, + (gdouble) width - 2 * blur_radius, + (gdouble) height - 2 * blur_radius); + cairo_fill (cr); + + /* blur twice with half the blur-radius, looks nicer */ + _image_surface_blur (surface, blur_radius / 2, blur_radius / 2); + _image_surface_blur (surface, blur_radius / 2, blur_radius / 2); + + /* clean up */ + cairo_destroy (cr); + + return surface; +} + +static gboolean +_transparent_clear_cb (GtkWidget *widget, + GdkEventExpose *event, + GksuuiDialog *gksuui_dialog) +{ + cairo_t *cr; + GtkStyle *style; + gdouble opacity = 0.85f; + gdouble corner_radius = 3.75f; + + /* create context */ + cr = gdk_cairo_create (widget->window); + + /* clear the background */ + cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR); + cairo_paint (cr); + + /* draw shadow */ + if (cairo_surface_status (gksuui_dialog->shadow) == CAIRO_STATUS_SUCCESS) + { + cairo_set_operator (cr, CAIRO_OPERATOR_OVER); + cairo_set_source_surface (cr, gksuui_dialog->shadow, 0, 0); + cairo_paint (cr); + } + + /* create linear gradient from themes normal background-color */ + style = gtk_widget_get_style (widget); + cairo_set_source_rgba ( + cr, + (gdouble) style->bg[GTK_STATE_NORMAL].red / (gdouble) 0xFFFF, + (gdouble) style->bg[GTK_STATE_NORMAL].green / (gdouble) 0xFFFF, + (gdouble) style->bg[GTK_STATE_NORMAL].blue / (gdouble) 0xFFFF, + opacity); + + /* draw a filled rounded rectangle */ + cairo_set_operator (cr, CAIRO_OPERATOR_OVER); + _round_rect (cr, + 1.0f, + (gdouble) widget->allocation.x + 13.0f, + (gdouble) widget->allocation.y + 13.0f, + corner_radius, + (gdouble) widget->allocation.width - 30.0f, + (gdouble) widget->allocation.height - 30.0f); + cairo_fill (cr); + + /* clean up afterwards */ + cairo_destroy (cr); + + return FALSE; +} + +static void +_unrealize_cb (GtkWidget *widget, + GksuuiDialog *gksuui_dialog) +{ + cairo_surface_destroy (gksuui_dialog->shadow); +} + +static void +_realize_cb (GtkWidget *widget, + GksuuiDialog *gksuui_dialog) +{ + gksuui_dialog->shadow = _create_shadow_surface (widget->allocation.width, + widget->allocation.height, + 3.75f, + 15); +} + static void gksuui_dialog_init (GksuuiDialog *gksuui_dialog) { GtkDialog *dialog; GtkWidget *hbox; /* aditional hbox for 'password: entry' label */ + gint border_width = 6; /* make sure we're using UTF-8 and getting our locale files @@ -272,6 +678,37 @@ bindtextdomain(PACKAGE_NAME, LOCALEDIR); bind_textdomain_codeset (PACKAGE_NAME, "UTF-8"); + gksuui_dialog->composited = gdk_screen_is_composited ( + gtk_widget_get_screen ( + GTK_WIDGET (gksuui_dialog))); + + if (gksuui_dialog->composited) + { + GdkColormap *colormap; + GtkWidget *main_dialog = GTK_WIDGET (gksuui_dialog); + + colormap = gdk_screen_get_rgba_colormap ( + gtk_widget_get_screen (main_dialog)); + if (colormap) + { + gtk_widget_set_colormap (main_dialog, colormap); + gtk_widget_set_app_paintable (main_dialog, TRUE); + g_signal_connect (G_OBJECT (main_dialog), + "expose-event", + G_CALLBACK (_transparent_clear_cb), + (gpointer) gksuui_dialog); + g_signal_connect (G_OBJECT (main_dialog), + "realize", + G_CALLBACK (_realize_cb), + (gpointer) gksuui_dialog); + g_signal_connect (G_OBJECT (main_dialog), + "unrealize", + G_CALLBACK (_unrealize_cb), + (gpointer) gksuui_dialog); + border_width = 20; + } + } + gtk_widget_push_composite_child (); /* dialog window */ @@ -285,7 +722,7 @@ gtk_window_set_title (GTK_WINDOW(gksuui_dialog), ""); gtk_dialog_set_has_separator (GTK_DIALOG(gksuui_dialog), FALSE); - gtk_container_set_border_width (GTK_CONTAINER(gksuui_dialog), 6); + gtk_container_set_border_width (GTK_CONTAINER(gksuui_dialog), border_width); gtk_box_set_spacing (GTK_BOX(gksuui_dialog->main_vbox), 12); gtk_window_set_resizable (GTK_WINDOW(gksuui_dialog), FALSE); diff -Nur -x '*.orig' -x '*~' libgksu-2.0.7/libgksuui/gksuui-dialog.h libgksu-2.0.7.new/libgksuui/gksuui-dialog.h --- libgksu-2.0.7/libgksuui/gksuui-dialog.h 2008-05-09 19:39:54.000000000 +0200 +++ libgksu-2.0.7.new/libgksuui/gksuui-dialog.h 2008-10-17 14:07:57.000000000 +0200 @@ -72,7 +72,9 @@ GtkWidget *prompt_label; /* private */ - gboolean sudo_mode; + gboolean sudo_mode; + gboolean composited; + cairo_surface_t *shadow; }; GType debian/patches/25_fix_g_str_has_prefix_assert.patch0000644000000000000000000000063711665736363017747 0ustar --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -3097,7 +3097,7 @@ if (WEXITSTATUS(status)) { - if (g_str_has_prefix(child_stderr, "Sorry, user ")) + if (child_stderr && g_str_has_prefix(child_stderr, "Sorry, user ")) { g_set_error (error, gksu_quark, GKSU_ERROR_NOT_ALLOWED, _("The underlying authorization mechanism (sudo) " debian/patches/29_check_newline.patch0000644000000000000000000000243611665735226014770 0ustar ## Description: Checks if buffer contains only newline before discarding it ## Origin/Author: Torsten Spindler (Canonical) ## Bug: http://pad.lv/298217 diff -Nur -x '*.orig' -x '*~' libgksu-2.0.13~pre1//libgksu/libgksu.c libgksu-2.0.13~pre1.new//libgksu/libgksu.c --- libgksu-2.0.13~pre1//libgksu/libgksu.c 2011-09-13 09:43:51.723178003 +0200 +++ libgksu-2.0.13~pre1.new//libgksu/libgksu.c 2011-09-13 09:46:16.603182354 +0200 @@ -2980,16 +2980,22 @@ /* ignore the first newline that comes right after sudo receives the password */ fgets (buffer, 255, fdfile); - /* this is the status we are interested in */ - fgets (buffer, 255, fdfile); + if (!strcmp (buffer, "\n")) + { + /* this is the status we are interested in */ + fgets (buffer, 255, fdfile); + } #else fcntl(parent_pipe[0], F_SETFL, fcntl(parent_pipe[0], F_GETFL) & ~O_NONBLOCK); /* ignore the first newline that comes right after sudo receives the password */ fgets (buffer, 255, infile); - /* this is the status we are interested in */ - fgets (buffer, 255, infile); + if (!strcmp (buffer, "\n")) + { + /* this is the status we are interested in */ + fgets (buffer, 255, infile); + } #endif } else debian/patches/01_tcdrain_kfreebsd.patch0000644000000000000000000000055211651122742015432 0ustar --- libgksu-2.0.12/libgksu/libgksu.c.orig 2010-11-21 11:18:53.779616632 +0100 +++ libgksu-2.0.12/libgksu/libgksu.c 2010-11-21 11:19:19.104115618 +0100 @@ -2202,7 +2202,9 @@ write (fdpty, line, strlen(line)); g_free (line); +#ifndef __FreeBSD_kernel__ tcdrain (fdpty); +#endif bzero (buf, 256); read (fdpty, buf, 255); debian/patches/26_restore_stderr_output.patch0000644000000000000000000000107011665736403016644 0ustar --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -3046,9 +3046,6 @@ #ifdef SUDO_FORKPTY if (error) close(fdpty); -#else - if (error) - fclose(infile); #endif cmdline = g_strdup("sudo"); @@ -3067,6 +3064,12 @@ if (context->sn_context) gksu_context_launch_complete (context); + while (read (parent_pipe[0], buffer, 255) > 0) + { + fprintf (stderr, "%s", buffer); + bzero(buffer, 256); + } + /* if the process is still active waitpid() on it */ if (pid_exited != pid) waitpid(pid, &status, 0); debian/patches/22_sudo_keep_env.patch0000644000000000000000000000053311665736307015006 0ustar --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -2704,6 +2704,12 @@ cmd[argcount] = g_strdup("-H"); argcount++; } + else + { + /* Preserve the environment, if sudo will let us */ + cmd[argcount] = g_strdup("-E"); + argcount++; + } /* Make sudo read from stdin */ cmd[argcount] = g_strdup("-S"); debian/patches/02_format-security.patch0000644000000000000000000000235412055650174015305 0ustar Description: Fix build failure with [-Werror=format-security] Author: Michael Biebl Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643423 Index: libgksu-2.0.13~pre1/libgksu/libgksu.c =================================================================== --- libgksu-2.0.13~pre1.orig/libgksu/libgksu.c 2011-12-07 11:01:18.351654566 +0100 +++ libgksu-2.0.13~pre1/libgksu/libgksu.c 2011-12-07 11:01:41.231654725 +0100 @@ -1276,7 +1276,7 @@ context->dir = g_strdup (mkdtemp(template)); if (!context->dir) { - fprintf (stderr, strerror(errno)); + fprintf (stderr, "%s", strerror(errno)); return FALSE; } @@ -2247,7 +2247,7 @@ " %s"), converted_str, "gksu: waiting"); g_free (converted_str); - g_set_error (error, gksu_quark, GKSU_ERROR_HELPER, emsg); + g_set_error_literal (error, gksu_quark, GKSU_ERROR_HELPER, emsg); g_free (emsg); if (context->debug) @@ -2979,8 +2979,11 @@ } } - fprintf(stderr, child_stderr); - g_free(child_stderr); + if (child_stderr != NULL) + { + fprintf(stderr, "%s", child_stderr); + g_free(child_stderr); + } /* if error is set we have found an error condition */ return (error == NULL); debian/patches/20_better_usleep.patch0000644000000000000000000000161311665736271015020 0ustar --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -2906,9 +2906,13 @@ /* Try hard to find the prompt; it may happen that we're * seeing sudo's lecture, or that some pam module is spitting * debugging stuff at the screen + * + * we wait up to 5sec for the prompt to appear, but we also + * break once the process_name changed */ - for (counter = 0; counter < 50; counter++) + for (counter = 0; counter < 1000; counter++) { + char *procname; if (strncmp (buffer, "GNOME_SUDO_PASS", 15) == 0) break; @@ -2921,7 +2925,11 @@ if (context->debug) fprintf (stderr, "buffer: -%s-\n", buffer); - usleep(1000); + // we wait here bit but break when the process name changes + usleep(5000); + procname = get_process_name (pid); + if(!g_str_has_suffix(procname,"sudo")) + break; } if (context->debug) debian/patches/18_g_markup_escape_text_for_command.patch0000644000000000000000000000103211665736266020721 0ustar === modified file 'libgksu/libgksu.c' --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -994,12 +994,12 @@ "The application '%s' lets you " "modify essential parts of your " "system."), - command); + g_markup_escape_text(command, -1)); else msg = g_strdup_printf (_("Enter your password to run " "the application '%s' as user %s" ""), - command, context->user); + g_markup_escape_text(command, -1), context->user); } else { debian/patches/23_correct_colormap_get.patch0000644000000000000000000000075011665736360016355 0ustar === modified file 'libgksu/libgksu.c' --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -482,7 +482,7 @@ attr.height = 4; attr.wclass = GDK_INPUT_OUTPUT; attr.visual = gdk_screen_get_system_visual (fadeout->screen); - attr.colormap = gdk_screen_get_default_colormap (fadeout->screen); + attr.colormap = gdk_screen_get_system_colormap (fadeout->screen); attr.override_redirect = TRUE; attr_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP | GDK_WA_NOREDIR; debian/patches/13_startup_notification.diff0000644000000000000000000000147111665736156016245 0ustar --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -1789,7 +1789,17 @@ gksu_context_launch_initiate (GksuContext *context) { gchar *sid = NULL; - guint32 launch_time = gdk_x11_display_get_user_time (gdk_display_get_default ()); + // guint32 launch_time = gdk_x11_display_get_user_time(GDK_DISPLAY()); + // ^---- does not work reliable and reports absurdly large launch times + // for me + // *cry* we create a fake-window, realize it to get the + // current server time. there must be a simpler way, + // but I don't know it! + GtkWidget *win = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_widget_realize(win); + gtk_widget_add_events (GTK_WIDGET (win), GDK_PROPERTY_CHANGE_MASK); + guint32 launch_time = gdk_x11_get_server_time(win->window); + static gboolean initiated = FALSE; if (!initiated) debian/patches/14_polish_startup.diff0000644000000000000000000000132311665736161015046 0ustar === modified file 'libgksu/libgksu.c' --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -1385,6 +1385,13 @@ NULL, NULL); context->sn_context = sn_launcher_context_new (sn_display, gdk_screen_get_number (gdk_display_get_default_screen (gdk_display_get_default ()))); sn_launcher_context_set_description (context->sn_context, _("Granting Rights")); + if (context->sudo_mode) + { + sn_launcher_context_set_description (context->sn_context, + _("Starting Administrative Application")); + sn_launcher_context_set_icon_name (context->sn_context, + "applications-system"); + } sn_launcher_context_set_name (context->sn_context, g_get_prgname ()); } debian/patches/12_no_password_dialog.patch0000644000000000000000000000100311665735226016024 0ustar diff -Nur libgksu-1.9.4/gksu.schemas.in libgksu-1.9.4.new/gksu.schemas.in --- libgksu-1.9.4/gksu.schemas.in 2006-07-04 15:56:59.000000000 +0200 +++ libgksu-1.9.4.new/gksu.schemas.in 2006-07-04 15:57:46.000000000 +0200 @@ -70,7 +70,7 @@ /apps/gksu/display-no-pass-info gksu bool - true + false Display information message when no password is needed debian/patches/09_multihead.patch0000644000000000000000000000633311665736147014147 0ustar --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -178,6 +178,7 @@ } FadeoutData; FadeoutData *fade_data = NULL; +static GList *fade_data_l = NULL; static GList *fadeout_windows = NULL; #define FADE_DURATION 500.0 @@ -226,6 +227,30 @@ return geometry.y; } +typedef void (*GsmScreenForeachFunc) (GdkScreen *screen, + int monitor); + +void +gsm_foreach_screen (GsmScreenForeachFunc callback) +{ + GdkDisplay *display; + int n_screens, i; + + display = gdk_display_get_default (); + + n_screens = gdk_display_get_n_screens (display); + for (i = 0; i < n_screens; i++) { + GdkScreen *screen; + int n_monitors, j; + + screen = gdk_display_get_screen (display, i); + + n_monitors = gdk_screen_get_n_monitors (screen); + for (j = 0; j < n_monitors; j++) + callback (screen, j); + } +} + static void get_current_frame (FadeoutData *fadeout, double sat) @@ -471,9 +496,51 @@ g_get_current_time (&fadeout->start_time); g_idle_add ((GSourceFunc) fadeout_callback, fadeout); - fade_data = fadeout; + fade_data_l = g_list_prepend (fade_data, fadeout); } +static void +fadein (void) +{ + GList *l; + GList *next; + + /* set start_time for all screens */ + for (l = fade_data_l; l; l = l->next) + { + FadeoutData *fd; + fd = (FadeoutData*)l->data; + g_get_current_time (&fd->start_time); + } + + /* iterate through all screens and call the fadein_callback + * until all of them return FALSE */ + next = fade_data_l; + while (next != NULL) + { + l = next; + next = l->next; + + /* remove from list when finished fading */ + if (fadein_callback ((FadeoutData*)l->data) == FALSE) + { + fade_data_l = g_list_remove(fade_data, l->data); + } + + /* this wrapping around needs to be delayed because fade_data_l could + * have changed above */ + if (next == NULL) + { + next = fade_data_l; + } + } + + /* free the list. The FadeoutData structs are being free'd from + * within the fadein_callback's */ + g_list_free (fade_data_l); + fade_data_l = NULL; +} + /* End of 'stolen' code */ #define GRAB_TRIES 16 @@ -557,7 +624,7 @@ g_free (fname); gdk_threads_enter (); - fadeout_screen (gdk_screen_get_default (), 0); + gsm_foreach_screen (fadeout_screen); gtk_widget_show_all (dialog); /* reset cursor */ @@ -573,8 +640,7 @@ if (++grab_tries > GRAB_TRIES) { gtk_widget_hide (dialog); - g_get_current_time (&fade_data->start_time); - while (fadein_callback (fade_data) != FALSE); + fadein(); report_failed_grab (FAILED_GRAB_MOUSE); exit (1); break; @@ -593,8 +659,7 @@ if (++grab_tries > GRAB_TRIES) { gtk_widget_hide (dialog); - g_get_current_time (&fade_data->start_time); - while (fadein_callback (fade_data) != FALSE); + fadein(); report_failed_grab (FAILED_GRAB_KEYBOARD); exit (1); break; @@ -621,8 +686,7 @@ gdk_keyboard_ungrab(GDK_CURRENT_TIME); gdk_flush(); - g_get_current_time (&fade_data->start_time); - while (fadein_callback (fade_data) != FALSE); + fadein(); gdk_threads_leave(); close(lock); debian/patches/17_composited_fade.patch0000644000000000000000000001263511665736224015315 0ustar --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -175,13 +175,14 @@ guchar *start_p, *end_p, *frame_p; GTimeVal start_time; GdkGC *gc; + gboolean composited; } FadeoutData; FadeoutData *fade_data = NULL; static GList *fade_data_l = NULL; static GList *fadeout_windows = NULL; -#define FADE_DURATION 500.0 +#define FADE_DURATION 300.0 int gsm_screen_get_width (GdkScreen *screen, @@ -318,33 +319,47 @@ elapsed = G_MAXDOUBLE; } - if (elapsed > FADE_DURATION) + if (elapsed > FADE_DURATION ) { - gdk_draw_pixbuf (fadeout->draw_window, - fadeout->gc, - fadeout->end_pb, - 0, 0, - 0, 0, - fadeout->area.width, - fadeout->area.height, - GDK_RGB_DITHER_NONE, - 0, 0); + if (fadeout->composited) + { + gdk_window_set_opacity (fadeout->draw_window, 0.5); + } + else + { + gdk_draw_pixbuf (fadeout->draw_window, + fadeout->gc, + fadeout->end_pb, + 0, 0, + 0, 0, + fadeout->area.width, + fadeout->area.height, + GDK_RGB_DITHER_NONE, + 0, 0); + } return FALSE; } percent = elapsed / FADE_DURATION; - get_current_frame (fadeout, 1.0 - percent); - gdk_draw_pixbuf (fadeout->draw_window, - fadeout->gc, - fadeout->frame, - 0, 0, - 0, 0, - fadeout->area.width, - fadeout->area.height, - GDK_RGB_DITHER_NONE, - 0, 0); + if (fadeout->composited) + { + gdk_window_set_opacity (fadeout->draw_window, percent/2); + } + else + { + get_current_frame (fadeout, 1.0 - percent); + gdk_draw_pixbuf (fadeout->draw_window, + fadeout->gc, + fadeout->frame, + 0, 0, + 0, 0, + fadeout->area.width, + fadeout->area.height, + GDK_RGB_DITHER_NONE, + 0, 0); + } gdk_flush (); @@ -384,15 +399,23 @@ if (elapsed > FADE_DURATION) { - gdk_draw_pixbuf (fadeout->draw_window, - fadeout->gc, - fadeout->end_pb, - 0, 0, - 0, 0, - fadeout->area.width, - fadeout->area.height, - GDK_RGB_DITHER_NONE, - 0, 0); + if (fadeout->composited) + { + gdk_window_set_opacity (fadeout->draw_window, 0.0); + gdk_window_resize (fadeout->draw_window, 4, 4); + } + else + { + gdk_draw_pixbuf (fadeout->draw_window, + fadeout->gc, + fadeout->end_pb, + 0, 0, + 0, 0, + fadeout->area.width, + fadeout->area.height, + GDK_RGB_DITHER_NONE, + 0, 0); + } g_object_unref (fadeout->gc); g_object_unref (fadeout->start_pb); @@ -408,16 +431,23 @@ percent = elapsed / FADE_DURATION; - get_current_frame (fadeout, percent); - gdk_draw_pixbuf (fadeout->draw_window, - fadeout->gc, - fadeout->frame, - 0, 0, - 0, 0, - fadeout->area.width, - fadeout->area.height, - GDK_RGB_DITHER_NONE, - 0, 0); + if (fadeout->composited) + { + gdk_window_set_opacity (fadeout->draw_window, 0.5 - percent/2); + } + else + { + get_current_frame (fadeout, percent); + gdk_draw_pixbuf (fadeout->draw_window, + fadeout->gc, + fadeout->frame, + 0, 0, + 0, 0, + fadeout->area.width, + fadeout->area.height, + GDK_RGB_DITHER_NONE, + 0, 0); + } gdk_flush (); @@ -437,6 +467,7 @@ fadeout->screen = screen; fadeout->monitor = monitor; + fadeout->composited = gdk_screen_is_composited (screen); fadeout->area.x = gsm_screen_get_x (screen, monitor); fadeout->area.y = gsm_screen_get_y (screen, monitor); @@ -444,11 +475,11 @@ fadeout->area.height = gsm_screen_get_height (screen, monitor); fadeout->root_window = gdk_screen_get_root_window (screen); - attr.window_type = GDK_WINDOW_CHILD; + attr.window_type = GDK_WINDOW_TOPLEVEL; attr.x = fadeout->area.x; attr.y = fadeout->area.y; - attr.width = fadeout->area.width; - attr.height = fadeout->area.height; + attr.width = 4; + attr.height = 4; attr.wclass = GDK_INPUT_OUTPUT; attr.visual = gdk_screen_get_system_visual (fadeout->screen); attr.colormap = gdk_screen_get_default_colormap (fadeout->screen); @@ -481,17 +512,29 @@ fadeout->gc = gdk_gc_new_with_values (fadeout->root_window, &values, GDK_GC_SUBWINDOW); - gdk_window_set_back_pixmap (fadeout->draw_window, NULL, FALSE); + if (fadeout->composited) + { + gdk_window_set_opacity (fadeout->draw_window, 0.0); + } + else + { + gdk_window_set_back_pixmap (fadeout->draw_window, NULL, FALSE); + gdk_draw_pixbuf (fadeout->draw_window, + fadeout->gc, + fadeout->frame, + 0, 0, + 0, 0, + fadeout->area.width, + fadeout->area.height, + GDK_RGB_DITHER_NONE, + 0, 0); + } + gdk_window_show (fadeout->draw_window); - gdk_draw_pixbuf (fadeout->draw_window, - fadeout->gc, - fadeout->frame, - 0, 0, - 0, 0, - fadeout->area.width, - fadeout->area.height, - GDK_RGB_DITHER_NONE, - 0, 0); + gdk_window_clear (fadeout->draw_window); + gdk_window_resize (fadeout->draw_window, + fadeout->area.width, + fadeout->area.height); g_get_current_time (&fadeout->start_time); g_idle_add ((GSourceFunc) fadeout_callback, fadeout); debian/patches/series0000644000000000000000000000110712261525041012027 0ustar 01_tcdrain_kfreebsd.patch 02_format-security.patch 09_multihead.patch 11_no_save_to_keyring.patch 12_no_password_dialog.patch 13_startup_notification.diff 14_polish_startup.diff 15_extra_paranoia_for_gconf.diff.patch 17_composited_fade.patch 18_g_markup_escape_text_for_command.patch 20_better_usleep.patch 21_composited_rgba_addition.patch 22_sudo_keep_env.patch 23_correct_colormap_get.patch 25_fix_g_str_has_prefix_assert.patch 26_restore_stderr_output.patch 27_sudo_wrong_pwd_check.patch 28_ld_no_as_needed.patch 29_check_newline.patch 30_automake_errors.patch 99_intltool.patch debian/patches/15_extra_paranoia_for_gconf.diff.patch0000644000000000000000000000112511665736207020105 0ustar --- a/libgksu/libgksu.c +++ b/libgksu/libgksu.c @@ -884,7 +884,15 @@ context->grab = TRUE; context->sudo_mode = gconf_client_get_bool (gconf_client, BASE_PATH "sudo-mode", - NULL); + NULL); + // UBUNTU specific - if the sudo mode is not set, check if we actualy have + // a registered schema for it, upgrades sometimes blew it away (lp: #59079) + if(context->sudo_mode == FALSE) { + GConfValue* v = gconf_client_get_default_from_schema(gconf_client, BASE_PATH "sudo-mode", NULL); + if(!v) + context->sudo_mode = TRUE; + gconf_value_free(v); + } } /** debian/patches/28_ld_no_as_needed.patch0000644000000000000000000000450712261521543015240 0ustar Description: Fix build failures with binutils-gold Author: Matthias Klose Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555180 Index: libgksu-2.0.12/libgksuui/Makefile.am =================================================================== --- libgksu-2.0.12.orig/libgksuui/Makefile.am 2008-05-09 19:39:54.000000000 +0200 +++ libgksu-2.0.12/libgksuui/Makefile.am 2011-10-24 02:14:08.139984529 +0200 @@ -4,12 +4,13 @@ noinst_LTLIBRARIES = libgksuui1.0.la libgksuui1_0_la_SOURCES = gksuui-dialog.c -libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-config --libs gtk+-2.0 gconf-2.0` +libgksuui1_0_la_LDFLAGS = -Wl,-O1 +libgksuui1_0_la_LIBADD = `pkg-config --libs gtk+-2.0 gconf-2.0 x11` -lm noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h includedir = ${prefix}/include/$(PACKAGE) noinst_PROGRAMS = test-gksuui test_gksuui_SOURCES = test-gksuui.c -test_gksuui_LDADD = libgksuui1.0.la -test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0` +test_gksuui_LDADD = libgksuui1.0.la `pkg-config --libs glib-2.0 x11` -lm +test_gksuui_LDFLAGS = Index: libgksu-2.0.12/libgksu/Makefile.am =================================================================== --- libgksu-2.0.12.orig/libgksu/Makefile.am 2009-08-16 23:20:16.000000000 +0200 +++ libgksu-2.0.12/libgksu/Makefile.am 2011-10-24 02:14:08.155984327 +0200 @@ -12,8 +12,8 @@ # major -> breaks backward compatibility (changes to existing ABI) # minor -> keeps compatibility (additions to the API) # micro -> no change to the API/ABI -libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la -libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1 -lutil ${LIBGKSU_LIBS} +libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la -lutil ${LIBGKSU_LIBS} +libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1 if USE_VERSION_SCRIPT libgksu2_la_LDFLAGS += -Wl,--version-script=libgksu.ver endif @@ -28,12 +28,13 @@ pkglibdir = ${libdir}/${PACKAGE} pkglib_PROGRAMS = gksu-run-helper -gksu_run_helper_LDFLAGS = `pkg-config --libs glib-2.0` +gksu_run_helper_LDFLAGS = +gksu_run_helper_LDADD = `pkg-config --libs glib-2.0` gksu_run_helper_SOURCES = gksu-run-helper.c noinst_PROGRAMS = test-gksu test_gksu_SOURCES = test-gksu.c -test_gksu_LDADD = libgksu2.la -test_gksu_LDFLAGS = `pkg-config --libs glib-2.0` +test_gksu_LDADD = libgksu2.la `pkg-config --libs gtk+-2.0` +test_gksu_LDFLAGS = EXTRA_DIST = libgksu.ver debian/patches/99_intltool.patch0000644000000000000000000002575011651122742014035 0ustar --- libgksu-2.0.13~pre1.orig/po/Makefile.in.in 2008-05-09 19:39:57.000000000 +0200 +++ libgksu-2.0.13~pre1/po/Makefile.in.in 2010-10-19 23:10:01.455442244 +0200 @@ -1,10 +1,10 @@ # Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper +# Copyright (C) 2004-2008 Rodney Dawes # -# This file file be copied and used freely without restrictions. It can -# be used in projects which are not available under the GNU Public License +# This file may be copied and used freely without restrictions. It may +# be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. -# Please note that the actual code is *not* freely available. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ @@ -12,7 +12,7 @@ # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # -# - Modified by Rodney Dawes for use with intltool +# - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE @@ -21,12 +21,11 @@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ -SHELL = /bin/sh -@SET_MAKE@ +SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. +top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ @@ -34,18 +33,17 @@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ -localedir = $(libdir)/locale -gnulocaledir = $(datadir)/locale -gettextsrcdir = $(datadir)/glib-2.0/gettext/po +DATADIRNAME = @DATADIRNAME@ +itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +# Automake >= 1.8 provides @mkdir_p@. +# Until it can be supposed, use the safe fallback: +mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ -CC = @CC@ -GENCAT = @GENCAT@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ @@ -54,32 +52,26 @@ MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot -DEFS = @DEFS@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ - -INCLUDES = -I.. -I$(top_srcdir)/intl - -COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) - -SOURCES = -POFILES = @POFILES@ -GMOFILES = @GMOFILES@ -DISTFILES = ChangeLog Makefile.in.in POTFILES.in \ -$(POFILES) $(SOURCES) -EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS +ALL_LINGUAS = @ALL_LINGUAS@ + +PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) + +USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) + +USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) + +POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) + +DISTFILES = Makefile.in.in POTFILES.in $(POFILES) +EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ +# This comment gets stripped out -CATALOGS = @CATALOGS@ -CATOBJEXT = @CATOBJEXT@ -INSTOBJEXT = @INSTOBJEXT@ +CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: -.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat - -.c.o: - $(COMPILE) $< +.SUFFIXES: .po .pox .gmo .mo .msg .cat .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot @@ -94,7 +86,7 @@ .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ - && rm -f $@ && $(GENCAT) $@ $*.msg + && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ @@ -105,120 +97,90 @@ $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) -install: install-exec install-data -install-exec: +install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all - if test -n "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \ - else \ - $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \ - fi - @catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - case "$$cat" in \ - *.gmo) destdir=$(gnulocaledir);; \ - *) destdir=$(localedir);; \ - esac; \ - lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ - dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \ - if test -n "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $$dir; \ - else \ - $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \ - fi; \ - if test -r $$cat; then \ - $(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ - echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \ + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $$dir; \ + if test -r $$lang.gmo; then \ + $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ - $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ - echo "installing $(srcdir)/$$cat as" \ - "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $(srcdir)/$$lang.gmo as" \ + "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ - if test -r $$cat.m; then \ - $(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ - echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \ + if test -r $$lang.gmo.m; then \ + $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ - if test -r $(srcdir)/$$cat.m ; then \ - $(INSTALL_DATA) $(srcdir)/$$cat.m \ - $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ - echo "installing $(srcdir)/$$cat as" \ - "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \ + if test -r $(srcdir)/$$lang.gmo.m ; then \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ + $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $(srcdir)/$$lang.gmo.m as" \ + "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done - if test "$(PACKAGE)" = "glib"; then \ - if test -n "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \ - else \ - $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \ - fi; \ - $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ - $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ - else \ - : ; \ - fi + +# Empty stubs to satisfy archaic automake needs +dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. -installcheck: +install-exec installcheck: uninstall: - catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ - rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ - rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ - rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ - rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done - if test "$(PACKAGE)" = "glib"; then \ - rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ - fi check: all $(GETTEXT_PACKAGE).pot - -dvi info tags TAGS ID: + rm -f missing notexist + srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m + if [ -r missing -o -r notexist ]; then \ + exit 1; \ + fi mostlyclean: - rm -f core core.* *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp - rm -fr *.o + rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean - rm -f Makefile Makefile.in POTFILES - rm -f *.mo *.msg *.cat *.cat.m $(GMOFILES) + rm -f Makefile Makefile.in POTFILES stamp-it + rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in -distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir) +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ - test -f $$file && dists="$$dists $$file"; \ + test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ - ln $(srcdir)/$$file $(distdir) 2> /dev/null \ - || cp -p $(srcdir)/$$file $(distdir); \ + test -f $$file || file="$(srcdir)/$$file"; \ + ln $$file $(distdir) 2> /dev/null \ + || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ - catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ @@ -234,28 +196,20 @@ fi; \ fi; \ else \ - echo "msgmerge for $$cat failed!"; \ + echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done -# POTFILES is created from POTFILES.in by stripping comments, empty lines -# and Intltool tags (enclosed in square brackets), and appending a full -# relative path to them -POTFILES: POTFILES.in - ( posrcprefix='$(top_srcdir)/'; \ - rm -f $@-t $@ \ - && (sed -e '/^#/d' \ - -e 's/^[[].*] *//' \ - -e '/^[ ]*$$/d' \ - -e "s@^@ $$posrcprefix@" $(srcdir)/$@.in \ - | sed -e '$$!s/$$/ \\/') > $@-t \ - && chmod a-w $@-t \ - && mv $@-t $@ ) - -Makefile: Makefile.in.in ../config.status POTFILES - cd .. \ - && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ +Makefile POTFILES: stamp-it + @if test ! -f $@; then \ + rm -f stamp-it; \ + $(MAKE) stamp-it; \ + fi + +stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. debian/patches/30_automake_errors.patch0000644000000000000000000000442112261525500015341 0ustar Description: Fix various errors with current automake Author: Colin Watson Forwarded: no Last-Update: 2014-01-03 Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -40,8 +40,12 @@ AC_PATH_PROG(GCONFTOOL, gconftool-2) AM_GCONF_SOURCE_2 +PKG_CHECK_MODULES(GLIB, [glib-2.0]) +PKG_CHECK_MODULES(GTK, [gtk+-2.0]) PKG_CHECK_MODULES(LIBGKSU, [gtk+-2.0 >= 2.4.0, gconf-2.0, libstartup-notification-1.0, gnome-keyring-1, libgtop-2.0]) PKG_CHECK_MODULES(GKSU_PROPERTIES, [gtk+-2.0 >= 2.12, gconf-2.0]) +PKG_CHECK_MODULES(LIBGKSUUI, [gtk+-2.0, gconf-2.0, x11]) +PKG_CHECK_MODULES(TEST_GKSUUI, [glib-2.0, x11]) # Checks for library functions. ALL_LINGUAS="ca cs da de es eu fr hu it ko lt pl pt_BR ro ru sk sv nb nl th zh_CN" Index: b/libgksu/Makefile.am =================================================================== --- a/libgksu/Makefile.am +++ b/libgksu/Makefile.am @@ -26,15 +26,15 @@ pkgconfigdir = ${libdir}/pkgconfig pkgconfig_DATA = libgksu2.pc -pkglibdir = ${libdir}/${PACKAGE} -pkglib_PROGRAMS = gksu-run-helper +pkglibexecdir = ${libdir}/${PACKAGE} +pkglibexec_PROGRAMS = gksu-run-helper gksu_run_helper_LDFLAGS = -gksu_run_helper_LDADD = `pkg-config --libs glib-2.0` +gksu_run_helper_LDADD = $(GLIB_LIBS) gksu_run_helper_SOURCES = gksu-run-helper.c noinst_PROGRAMS = test-gksu test_gksu_SOURCES = test-gksu.c -test_gksu_LDADD = libgksu2.la `pkg-config --libs gtk+-2.0` +test_gksu_LDADD = libgksu2.la $(GTK_LIBS) test_gksu_LDFLAGS = EXTRA_DIST = libgksu.ver Index: b/libgksuui/Makefile.am =================================================================== --- a/libgksuui/Makefile.am +++ b/libgksuui/Makefile.am @@ -5,12 +5,12 @@ noinst_LTLIBRARIES = libgksuui1.0.la libgksuui1_0_la_SOURCES = gksuui-dialog.c libgksuui1_0_la_LDFLAGS = -Wl,-O1 -libgksuui1_0_la_LIBADD = `pkg-config --libs gtk+-2.0 gconf-2.0 x11` -lm +libgksuui1_0_la_LIBADD = $(LIBGKSUUI_LIBS) -lm noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h includedir = ${prefix}/include/$(PACKAGE) noinst_PROGRAMS = test-gksuui test_gksuui_SOURCES = test-gksuui.c -test_gksuui_LDADD = libgksuui1.0.la `pkg-config --libs glib-2.0 x11` -lm +test_gksuui_LDADD = libgksuui1.0.la $(TEST_GKSUUI) -lm test_gksuui_LDFLAGS = debian/patches/11_no_save_to_keyring.patch0000644000000000000000000000074611665735226016047 0ustar diff -Nur libgksu-1.9.4/gksu.schemas.in libgksu-1.9.4.new/gksu.schemas.in --- libgksu-1.9.4/gksu.schemas.in 2006-08-01 10:51:39.000000000 +0200 +++ libgksu-1.9.4.new/gksu.schemas.in 2006-08-01 10:52:01.000000000 +0200 @@ -86,7 +86,7 @@ /apps/gksu/save-to-keyring gksu bool - true + false Save password to gnome-keyring debian/compat0000644000000000000000000000000211651127712010367 0ustar 8 debian/control0000644000000000000000000000431612261525527010604 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. Source: libgksu Section: admin Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Gustavo Noronha Silva Uploaders: Debian GNOME Maintainers , Gustavo Noronha Silva , Josselin Mouette , Martin Pitt , Michael Biebl Build-Depends: cdbs, debhelper (>= 8), libgtk2.0-dev (>= 2.12), libgconf2-dev, libstartup-notification0-dev, libgnome-keyring-dev, gettext, dh-autoreconf, gtk-doc-tools, gnome-pkg-tools (>= 0.10), libgtop2-dev, libglib2.0-doc, intltool Standards-Version: 3.9.2 Homepage: http://www.nongnu.org/gksu XS-Debian-Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgksu/ XS-Debian-Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/packages/unstable/libgksu/ Package: libgksu2-0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, xauth | xbase-clients Recommends: sudo Description: library providing su and sudo functionality This library comes from the gksu program. It provides a simple API to use su and sudo in programs that need to execute tasks as other user. It provides X authentication facilities for running programs in an X session. Package: libgksu2-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libglib2.0-dev, libgksu2-0 (= ${binary:Version}), libgnome-keyring-dev, libgconf2-dev, libstartup-notification0-dev Description: library providing su and sudo functionality (development files) This library comes from the gksu program. It provides a simple API to use su and sudo in programs that need to execute tasks as other user. It provides X authentication facilities for running programs in an X session. . This package contains the development files. debian/changelog0000644000000000000000000011643312261525517011056 0ustar libgksu (2.0.13~pre1-6ubuntu4) trusty; urgency=medium * Use dh-autoreconf to update libtool macros for new ports. This requires fixing various errors from current automake. -- Colin Watson Fri, 03 Jan 2014 11:59:24 +0000 libgksu (2.0.13~pre1-6ubuntu3) saucy; urgency=low * debian/libgksu2-0.postinst: Remove call to update-gconf-defaults and use dpkg-trigger to set sudo-mode (LP: #1173013) -- Brian Murray Mon, 19 Aug 2013 14:20:16 -0700 libgksu (2.0.13~pre1-6ubuntu2) raring; urgency=low * debian/patches/28_ld_no_as_needed.patch: updated to list -lm, needed by 21_composited_rgba_addition.patch (Ubuntu specific) -- Sebastien Bacher Tue, 02 Apr 2013 15:18:48 +0200 libgksu (2.0.13~pre1-6ubuntu1) raring; urgency=low * Merge with Debian; remaining Ubuntu changes: - debian/libgksu2-0.postinst: + make sudo the default - 09_multihead.patch: + dim all heads - 11_no_save_to_keyring.patch + don't save to gnome-keyring by default (Ubuntu-specific) - 12_no_password_dialog.patch + don't display dialog if no password was needed (Ubuntu-specific) - 13_startup_notification.diff + make startup-notification work more reliable - 14_polish_startup.diff: + improve startup notification message (sent upstream) - 15_extra_paranoia_for_gconf.diff.patch + if no value for sudo-mode is found in gconf, default to sudo-mode (Ubuntu-specific) - 17_composited_fade.patch: + nice fadeout on composited display (sent upstream) - 18_g_markup_escape_text_for_command.patch: + fix missing g_markup_escape when commands are displayed (sent upstream) - 20_add_usleep.patch: + add small usleep() to avoid race condition when the hostname can not be resolved (sent upstream) - 21_composited_rgba_addition.patch: + bling (sent upstream) - 22_sudo_keep_env.patch: + if gksudo -k is used, pass the -E option to sudo to preserve the environment if we're allowed to do so (sent upstream) - 23_correct_colormap_get.patch: + change by Cody Russell to fix a rgba segfault. - 27_sudo_wrong_pwd_check.patch: Be more careful when checking the "wrong password" output, there might be a new prompt before. - 26_restore_stderr_output.patch: + output stderr from the sudo child (as pre-lucid versions did). - 25_fix_g_str_has_prefix_assert.patch: + fix assert failure when not running in forkpty mode. - 29_check_newline.patch: - Check if buffer is really a single newline before discarding it. -- Sebastien Bacher Thu, 29 Nov 2012 13:06:29 +0100 libgksu (2.0.13~pre1-6) unstable; urgency=low * debian/control.in: Fix Vcs-* URL. * debian/patches/02_format-security.patch: The previous fix exposed a logic flaw which caused a NULL pointer crash if calling sudo was successful. Fix this. (LP: #898874) -- Martin Pitt Wed, 07 Dec 2011 11:06:46 +0100 libgksu (2.0.13~pre1-5) unstable; urgency=low * Switch to dpkg source format 3.0 (quilt). * debian/control.in: - Wrap dependencies. - Remove obsolete versioned Build-Depends on dpkg-dev. - Add ${misc:Depends} to libgksu2-dev. - Bump Standards-Version to 3.9.2. No further changes. - Remove obsolete Conflicts/Replaces. * debian/patches/02_format-security.patch: - Fix build failure with [-Werror=format-security]. Closes: #643423 * debian/patches/28_ld_no_as_needed.patch: - Fix build failures with binutils-gold. Thanks Matthias Klose for the patch. Closes: #555180 * Bump debhelper compatibility level to 8. - Update Build-Depends on debhelper. - Strip debian/tmp/ from .install files and simplify them a bit. -- Michael Biebl Mon, 24 Oct 2011 02:43:21 +0200 libgksu (2.0.13~pre1-4) unstable; urgency=low * ru.po: updated Russian translation by Alexander Sashanov. Closes: #609130, #609141. -- Josselin Mouette Mon, 24 Jan 2011 20:59:03 +0100 libgksu (2.0.13~pre1-3) unstable; urgency=low * pt_BR.po: updated Brazilian Portuguese translation by Sérgio Cipolla. Closes: #601168. * 01_tcdrain_kfreebsd.patch: patch from Petr Salinger. Don’t use tcdrain on kfreebsd. Closes: #600365. -- Josselin Mouette Sun, 21 Nov 2010 11:21:42 +0100 libgksu (2.0.13~pre1-2) unstable; urgency=low * 99_intltool.patch: update po/Makefile.in.in with a working intltool version. Closes: #599420. * Build-depend on intltool since it’s how it works nowadays. -- Josselin Mouette Tue, 19 Oct 2010 23:15:55 +0200 libgksu (2.0.13~pre1-1) unstable; urgency=low * Upstream snapshot - tries to address the forkpty problem, by basically turning it into a configure option; this should enable usage in Fedora/RedHat, while still working good in Debian/Ubuntu (Closes: #540176, #535544) -- Gustavo Noronha Silva Mon, 29 Jun 2009 16:42:59 -0300 libgksu (2.0.12-1) unstable; urgency=low * New upstream release - includes fix for double free (Closes: #534844) * debian/control.in: - patch by seb128 to replace dependency on libglade with gtk+ > 2.12 (which has GtkBuilder) -- Gustavo Noronha Silva Mon, 29 Jun 2009 15:16:14 -0300 libgksu (2.0.11-1) unstable; urgency=low * New upstream release - should work with sudo when requiretty is on (Closes: #531477) * debian/libgksu2-0.instal: - make sure to install the gksu-properties manpage (Closes: #497591) -- Gustavo Noronha Silva Wed, 24 Jun 2009 16:04:06 -0300 libgksu (2.0.10-1) unstable; urgency=low [ Josselin Mouette ] * Wrap build-depends. * Build-depend on libglib2.0-doc to ensure proper xrefs. [ Gustavo Noronha Silva ] * New upstream release. - adds manpage for gksu-properties (Closes: #497591) - fixes the off-by-one error and use of uninitialized memory (Closes: #525876) -- Gustavo Noronha Silva Sat, 09 May 2009 23:11:43 -0300 libgksu (2.0.9-1) unstable; urgency=low * New upstream release -- Gustavo Noronha Silva Wed, 04 Mar 2009 16:12:35 -0300 libgksu (2.0.8-1) unstable; urgency=low * New upstream release * debian/control.in: - added Homepage and Vcs-* headers -- Gustavo Noronha Silva Sun, 22 Feb 2009 18:38:51 -0300 libgksu (2.0.7-1) unstable; urgency=low * New upstream release - includes fix for early return of gksu_sudo_full; patch by Ben Hutchings , thanks! (Closes: #463709) * debian/patches/01_force_using_version_script.diff: - detection for the -version-script option was fixed upstream, so this patch is being removed * debian/libgksu2-dev.links: - fixed name of the symbolic link that is created at /usr/share/gtk-doc/html, so that devhelp will actually find its control file * debian/pos/{it,ko}.po: - removed; they were actually already updated on version 2.0.6, so no need to replace them here * debian/copyright: - enhanced copyright notice to make lintian happy -- Gustavo Noronha Silva Tue, 27 May 2008 21:36:01 -0300 libgksu (2.0.6-1) unstable; urgency=low * New upstream release - fixes user and command order on the message that is displayed when a user other than root is targeted (Closes: #449180) - adds a way to always ask for password (Closes: #453423) - fixes capslock notification (Closes: #453426) * debian/control: - updated standards version to 3.7.3 * debian/patches/01_force_using_version_script.diff: - this releases' build system is broken, and won't use the version script if we do not force it * debian/libgksu2-0.symbols: - updated with the new symbols * debian/copyright: - add copyright information correctly -- Gustavo Noronha Silva Fri, 16 May 2008 12:55:06 -0300 libgksu (2.0.5-2) unstable; urgency=low [ Josselin Mouette ] * debian/pos/it.po: add missing tag in a translation. Closes: #431490. [ Kilian Krause ] * Use binary:version and source:Version for binnNMU-safe uploads as added in dpkg-dev 1.13.19. Add to Build-Depends accordingly [ Gustavo Noronha Silva ] * debian/control.in: - make libgksu2-0 depend on xauth, using xbase-clients only as an alternative to allow for backports and other such uses (Closes: #455533) * debian/libgksu2-0.symbols: - added, contains information about the symbols and the version each of them require -- Gustavo Noronha Silva Mon, 31 Dec 2007 16:38:56 -0200 libgksu (2.0.5-1) unstable; urgency=low * New upstream version - now uses a less dumb way of relaying child's stdout/stderr, thus not requiring so many wakeups (Closes: #425679) - also completes startup notification when cancel is pressed (Closes: #426495) * debian/patches/04_create_keyring.diff, debian/patches/00_gettext_all_linguas.diff: - removed; applied upstream -- Gustavo Noronha Silva Sun, 10 Jun 2007 16:05:06 -0300 libgksu (2.0.4-1) experimental; urgency=low * debian/patches/01_fix_keyring_password.diff, debian/patches/02_desktop_startup_id_fix.diff, debian/patches/03_use-gtk_entry_invisible_char_as_default.diff: - removed; applied upstream * debian/pos/ca.po, debian/pos/cs.po, debian/pos/hu.po, debian/pos/nl.po: - also removed; applied upstream * debian/rules: - added check for upload target (must be experimental) - added code to automatically download the original source tarball - thanks go to lool for making the two changes above possible * debian/control.in: - the changes above require gnome-pkg-tools >= 0.10 -- Gustavo Noronha Silva Sun, 4 Feb 2007 15:00:29 -0200 libgksu (2.0.3-9) unstable; urgency=low * debian/patches/00_gettext_all_linguas.diff: - actually add ko to ALL_LINGUAS, so that it will be included in the package; sorry for not remembering that, Changwoo =) (Closes: #416186)) -- Gustavo Noronha Silva Wed, 28 Mar 2007 19:48:59 -0300 libgksu (2.0.3-8) unstable; urgency=low * debian/pos/ko.po: - added; updating Korean translation, thanks to Changwoo Ryu (Closes: #416186) * debian/watch: - fix watch file, according to the suggestion given by Chris Lamb (Closes: #415923) -- Gustavo Noronha Silva Sun, 25 Mar 2007 15:53:33 -0300 libgksu (2.0.3-7) unstable; urgency=medium * debian/patches/04_create_keyring.diff: - added; patches libgksu to always try creating the keyring when saving the password; if the keyring already exists the creation is a no-op, so this is safe (Closes: #412681) * debian/pos/it.po: - update Italian translation; done by Andrea Zagli -- Gustavo Noronha Silva Tue, 6 Mar 2007 07:24:08 -0300 libgksu (2.0.3-6) unstable; urgency=low * debian/pos/nl.po: - update Dutch translation; done by Ronald van Engelen -- Gustavo Noronha Silva Sat, 3 Feb 2007 12:33:41 -0200 libgksu (2.0.3-5) unstable; urgency=high * debian/patches/03_use-gtk_entry_invisible_char_as_default.diff: - accepted patch by Виталий Ищенко which makes libgksu only replace the 'password typing' character when '*' is the default one -- Gustavo Noronha Silva Fri, 5 Jan 2007 15:39:27 -0200 libgksu (2.0.3-4) unstable; urgency=high * debian/pos/ ca.po cs.po hu.po: - updated translations grabbed from upstream SVN -- Gustavo Noronha Silva Tue, 2 Jan 2007 13:20:00 -0200 libgksu (2.0.3-3) unstable; urgency=medium * debian/patches/02_desktop_startup_id_fix.diff: - fixes the desktop startup notification variable not being set; sudo seems to unset the variable anyway, will talk to sudo's maintainer (Closes: #401268) * urgency set to medium because this is a problem that is bothering quite a bit, it seems, and the fix is reasonable simple -- Gustavo Noronha Silva Thu, 7 Dec 2006 09:33:33 -0200 libgksu (2.0.3-2) unstable; urgency=medium * The "Apaziguooo" release * debian/patches/01_fix_keyring_password.diff: - make sure we remove the \n from the password we got from the keyring, if it exists (Closes: #395462) -- Gustavo Noronha Silva Wed, 1 Nov 2006 23:12:02 -0300 libgksu (2.0.3-1) unstable; urgency=medium * New upstream release - do not store \n in the keyring (Closes: #394895) * medium urgency because this is actually an enhancement of the previous fix -- Gustavo Noronha Silva Mon, 23 Oct 2006 23:32:18 -0300 libgksu (2.0.2-1) unstable; urgency=medium * New upstream release - does not allow losing focus because of the context menu (Closes: #391804) - make detecting the need for a password when running su hopefully more robust, lowering the possibility of a deadlock * urgency medium because the changes, while not completely unobstrusive, are small and should not impact usability of the program -- Gustavo Noronha Silva Sun, 22 Oct 2006 16:56:57 -0300 libgksu (2.0.1-1) unstable; urgency=medium * New upstream release - now handles sudo lecture; (Closes: #391803) - handles X11 forwarding ssh (Closes: #389254) * Urgency medium because these are reasonably simple fixes which will most probably not impact any core functions, but will help increase usability in certain specific use cases -- Gustavo Noronha Silva Sun, 8 Oct 2006 13:32:55 -0300 libgksu (2.0.0-1) unstable; urgency=low * New upstream release - finally the "official" 2.0 libgksu release - includes fix to be more robust when handling pam modules which like to display random stuff (Closes: #386213) -- Gustavo Noronha Silva Sat, 23 Sep 2006 16:51:40 -0300 libgksu (1.9.8-2) unstable; urgency=low Loic Minier : * debian/rules: - Fix bashism. Gustavo Noronha Silva : * debian/libgksu2-0.install: - actually install the glade file for the gksu-properties program * debian/gconf-defaults.libgksu-{su,sudo}, debian/libgksu2-0.install: - install different possibilities for gconf defaults * debian/libgksu2-0.{postinst,prerm,postrm}: - take care of creating the libgksu-gconf-defaults alternative as /usr/share/gconf/defaults/10_libgksu; added a hack to avoid leaving a dangling symlink which could break update-gconf-defaults * debian/README.Debian: - documented the new package feature -- Gustavo Noronha Silva Sun, 3 Sep 2006 19:04:46 -0300 libgksu (1.9.8-1) unstable; urgency=low * New upstream release -- Gustavo Noronha Silva Sun, 6 Aug 2006 16:24:57 -0300 libgksu (1.9.7-2) UNRELEASED; urgency=low * Add watch file -- Oystein Gisnas Fri, 28 Jul 2006 10:47:35 +0200 libgksu (1.9.7-1) unstable; urgency=medium * New upstream release - fixes regression introduced in last version, in which the gnome-keyring checkboxes would never appear, even for su mode -- Gustavo Noronha Silva Wed, 19 Jul 2006 20:54:57 -0300 libgksu (1.9.6-1) unstable; urgency=low * New upstream release - fixes gksudo some times failing because the prompt was delayed a bit (Closes: #377746) - hopefully fixes gksu failing when DISPLAY has a hostname (Closes: #349652) * debian/control.in: - replace and conflict with libgksu0 (Closes: #378199) * debian/libgksu2-0.shlibs: - update to require 1.9.6; new APIs -- Gustavo Noronha Silva Mon, 17 Jul 2006 21:12:40 -0300 libgksu (1.9.5-1) unstable; urgency=low * New upstream release * debian/control.in: - added libglade2-dev to build-depends, for the newly added gksu-properties uses it to load its glade file * debian/libgksu2-0.install: - add gksu.png and the gksu-properties binary to the gksu library package * debian/libgksu2-0.shlibs: - new APIs, increase required Depends -- Gustavo Noronha Silva Wed, 12 Jul 2006 21:36:23 -0300 libgksu (1.9.4-3) unstable; urgency=high * debian/control.in: - add a versioned Replaces to gksu << 1.9.0 (Closes: #377045, #377121) -- Gustavo Noronha Silva Thu, 6 Jul 2006 20:51:27 -0300 libgksu (1.9.4-2) unstable; urgency=medium * debian/libgksu2-0.install: - also install the gconf schema file * debian/control.in: - adeed ${misc:Depends} to the library dependencies, mainly for dh_gconf * debian/rules: - include gnome.mk, so that dh_gconf will be run -- Gustavo Noronha Silva Thu, 29 Jun 2006 00:47:49 -0300 libgksu (1.9.4-1) unstable; urgency=low * Brown paper bag release - fixes pointer derreferencing which was making libgksu not work at all -- Gustavo Noronha Silva Mon, 26 Jun 2006 21:16:49 -0300 libgksu (1.9.3-1) unstable; urgency=low * New upstream version * debian/control.in: - Added libgtop2-dev to Build-Depends, because it is now being used to get the name of the process on gksu_sudo_full - Standards-Version updated to 3.7.2 with no changes -- Gustavo Noronha Silva Fri, 23 Jun 2006 17:56:09 -0300 libgksu (1.9.2-3) unstable; urgency=low * debian/control.in: - add dependency on libstartup-notification-1.0 and libgconf2-dev to libgksu2-dev (Closes: #374885) -- Gustavo Noronha Silva Fri, 23 Jun 2006 16:08:21 -0300 libgksu (1.9.2-2) unstable; urgency=low * debian/libgksu2-dev.install, debian/libgksu2-dev.links: - install the documentation and link it to the gtk-doc directory -- Gustavo Noronha Silva Sun, 4 Jun 2006 22:53:56 -0300 libgksu (1.9.2-1) experimental; urgency=low * New upstream release with new APIs * debian/libgksu2-0.shlibs: - increased version to >= 1.9.2 * debian/control.in: - updated Standards-Version to 3.7 with no changes * debian/libgksu2-dev.install: - no longer installs the .la file -- Gustavo Noronha Silva Mon, 1 May 2006 10:57:42 -0300 libgksu (1.9.1-1) experimental; urgency=low * Upstream brown paperbag release - fixes the pkg-config dependency information -- Gustavo Noronha Silva Fri, 28 Apr 2006 22:00:27 -0300 libgksu (1.9.0-1) experimental; urgency=low * New upstream version * debian/*: - renaming packages libgksu1.2->libgksu2 * debian/patches/xauth-move.diff: - removed; this version contains the fix * debian/control.in: - added gtk+, gconf, startup notification and gnome-keyring as Build-Depends -- Gustavo Noronha Silva Sun, 23 Apr 2006 13:36:20 -0300 libgksu1.2 (1.3.7-2) unstable; urgency=low * debian/patches/xauth-move.diff: - patch to allow gksu to find the new location of the xauth binary while still being able to work with the old one (Closes: #362118, #362125, #362224) -- Gustavo Noronha Silva Sat, 15 Apr 2006 12:07:12 -0300 libgksu1.2 (1.3.7-1) unstable; urgency=low * New upstream version - fixes some bugs with long-standing processes using the library; thanks to Benoît Dejean for testing and help -- Gustavo Noronha Silva Wed, 23 Nov 2005 22:56:00 -0200 libgksu1.2 (1.3.6-1) unstable; urgency=low * New upstream release - fixes logic problem which broke use of pam_wheel again (Closes: #331124) -- Gustavo Noronha Silva Tue, 25 Oct 2005 17:10:40 -0200 libgksu1.2 (1.3.5-1) unstable; urgency=low * New upstream release - brown paper bag release which fixes mem leaks -- Gustavo Noronha Silva Thu, 29 Sep 2005 22:05:06 -0300 libgksu1.2 (1.3.4-2) UNRELEASED; urgency=low * debian/copyright: - updated FSF's address -- Gustavo Noronha Silva Wed, 28 Sep 2005 20:22:02 -0300 libgksu1.2 (1.3.4-1) unstable; urgency=low * New upstream release - includes French translation (Closes: #323589) - fixes error reporting checking (Closes: #295298) -- Gustavo Noronha Silva Wed, 28 Sep 2005 20:08:04 -0300 libgksu1.2 (1.3.3-1) unstable; urgency=low * New upstream release - API aditions - No longer uses gnome-keyring * debian/libgksu1.2-0.shlibs: - increased Depends requirement to >= 1.3.3 * debian/control: - removed gnome-keyring from the Depends -- Gustavo Noronha Silva Wed, 3 Aug 2005 00:06:48 -0300 libgksu1.2 (1.3.2-1) unstable; urgency=low * The "Helsinki" Release * New Upstream Release - fixes wording of the xauth warning message (Closes: #309563) - no longer crashes on AMD64 because of gnome-keyring (Closes: #318031, #307975, #314369) * debian/libgksu1.2-0.shlibs: - make packages built with this version Depend on >= 1.3.2, as new public API were added * debian/control.in: - increased Standards-Version with no modifications -- Gustavo Noronha Silva Thu, 14 Jul 2005 13:48:05 +0300 libgksu1.2 (1.3.1-1) unstable; urgency=low * New Upstream Release - has some more tests to check if a password is needed and works better if not (Closes: #235804) - includes the Romanian translation (Closes: #309532) * debian/libgksu1.2-0.shlibs: - increased Depends requirement because of API aditions -- Gustavo Noronha Silva Sat, 18 Jun 2005 12:15:21 -0300 libgksu1.2 (1.3.0-3) unstable; urgency=low * debian/control.in: - libgksu1.2-dev should depend on libgnome-keyring-dev, of course (Closes: #314256) -- Gustavo Noronha Silva Wed, 15 Jun 2005 10:34:43 -0300 libgksu1.2 (1.3.0-2) unstable; urgency=low * debian/libgksu1.2-0.shlibs: - added to force Depends on >= 1.3.0 because of the new API functions -- Gustavo Noronha Silva Mon, 13 Jun 2005 12:44:23 -0300 libgksu1.2 (1.3.0-1) unstable; urgency=low * New upstream release. * debian/patches/01_new_translations.diff, debian/pos: - removed, not needed anymore * debian/rules: - enable gnome-keyring support * debian/control.in: - added libgnome-keyring-dev to Build-Depends -- Gustavo Noronha Silva Mon, 13 Jun 2005 11:25:49 -0300 libgksu1.2 (1.2.6-3) unstable; urgency=low * debian/pos/eu.po: - added Basque translation * debian/patches/01_new_translations.diff: - updated to include the eu on ALL_LINGUAS -- Gustavo Noronha Silva Wed, 1 Jun 2005 17:57:52 -0300 libgksu1.2 (1.2.6-2) unstable; urgency=medium * debian/patches/01_new_translations.diff, pos/*: - added to provide new and updated translations to gksu * debian/rules: - provide that the .gmo files are rebuilt at build time with the new pofiles -- Gustavo Noronha Silva Sun, 15 May 2005 18:08:41 -0300 libgksu1.2 (1.2.6-1) unstable; urgency=medium * GNOME Team Upload * New upstream release - fixes problem dealing with different xauth cookie protocols which makes it work with xdm and remote connections, it is hoped (Closes: #245092, #280914) * debian/control.in: - Build-Dep on gnome-pkg-tools - Fixed descriptions to have correct defined articles (a -> an) (Closes: #299999, #300013) - Raise standards-version to 3.6.1 with no changes * debian/rules: - include the uploaders helper for the GNOME Team * urgency set to medium because this release changes little and fixes some long-standing problems -- Gustavo Noronha Silva Tue, 5 Apr 2005 11:07:16 -0300 libgksu1.2 (1.2.5a-1) unstable; urgency=medium * New upstream release - fixes sudo functionality which was b0rked by last release, mainly, still needs to go into testing soon -- Gustavo Noronha Silva Sun, 17 Oct 2004 22:51:24 -0300 libgksu1.2 (1.2.5-1) unstable; urgency=medium * New upstream release - includes fixes for correct reading the output of gksu-run-helper, reporting wrong password typing (Closes: #272133) - no longer ignores context->keep_env when doing sudo stuff (Closes: #276720) - better handling of remote usage, no longer segfaults when running remotely (Closes: #273819) * urgency set to medium because not many things were changed and these fixes should go into sarge -- Gustavo Noronha Silva Sat, 16 Oct 2004 18:00:44 -0300 libgksu1.2 (1.2.4-1) unstable; urgency=high * New upstream release - includes patch by Martin Pitt to fix buffer overflows (Closes: #270485) - seting priority to high to make this change go into sarge asap -- Gustavo Noronha Silva Tue, 7 Sep 2004 23:04:07 -0300 libgksu1.2 (1.2.3-1) unstable; urgency=low * New upstream release - includes Catalan translation done by Jordi Mallach (Closes: #263288) -- Gustavo Noronha Silva Sun, 15 Aug 2004 21:25:14 -0300 libgksu1.2 (1.2.2-1) unstable; urgency=low * New upstream release - fixes C++ preprocessing (Closes: #255607) -- Gustavo Noronha Silva Thu, 24 Jun 2004 20:37:05 -0300 libgksu1.2 (1.2.1-1) unstable; urgency=low * New upstream release -- Gustavo Noronha Silva Sun, 30 May 2004 00:14:41 -0300 libgksu1.2 (1.2.0-1) unstable; urgency=low * New stable upstream release -- Gustavo Noronha Silva Tue, 18 May 2004 15:38:15 -0300 libgksu1.2 (1.1.5-1) experimental; urgency=low * New upstream release - handles user-defined XAUTHORITY (Closes: #246516) -- Gustavo Noronha Silva Wed, 5 May 2004 17:53:31 -0300 libgksu1.2 (1.1.3-1) experimental; urgency=low * New upstream release -- Gustavo Noronha Silva Wed, 24 Mar 2004 21:56:54 -0300 libgksu1.2 (1.1.2-1) unstable; urgency=low * New upstream release -- Gustavo Noronha Silva Tue, 16 Mar 2004 20:36:27 -0300 libgksu1.2 (1.1.1-1) unstable; urgency=low * New release -- Gustavo Noronha Silva Sat, 6 Mar 2004 14:35:59 -0300 gksu (1.1.0-1) unstable; urgency=low * New release - removes all patches, applied upstream * debian/gksu.install, debian/libgksu1.install: - moved the gksu-the-app-specific images to the gksu package * debian/control: - gksu Replaces libgksu0, because of the new files it received from libgksu1 (gksu.png and gksu-terminal.png) -- Gustavo Noronha Silva Mon, 2 Feb 2004 17:05:10 -0200 gksu (1.0.3-3) unstable; urgency=low * debian/control, debian/rules, debian/gnome-sudo: - add a gnome-sudo script to call gksudo - add a package gnome-sudo to provide smooth upgrade for users of this package - make gksu provide, replace and conflict gnome-sudo -- Gustavo Noronha Silva Mon, 2 Feb 2004 17:09:39 -0200 gksu (1.0.3-2) unstable; urgency=low * debian/patches/00gksu_disappear.diff: - new patch to have the dialog disapear on window closing or when the cancel button is clicked (Closes: #230456) * debian/patches/01cpp_capable_headers.diff: - new patch to apply G_BEGIN_DECLS and G_END_DECLS to the headers so that they are usable in C++ (Closes: #230314) -- Gustavo Noronha Silva Sat, 31 Jan 2004 00:28:04 -0200 gksu (1.0.3-1) unstable; urgency=low * New release - fixes a segfault when xauth returns nothing, thanks to Doug Holland (Closes: #228292) -- Gustavo Noronha Silva Sun, 18 Jan 2004 01:55:34 -0200 gksu (1.0.2-1) unstable; urgency=low * debian/control: - libgksu0 Replaces and Conflicts with gksu << 1.0.0, thanks to Adrian Bunk (Closes: #227888) * libgksu/Makefile.am: - build the library with -fPIC, to allow prelinking (Closes: #227924) -- Gustavo Noronha Silva Fri, 16 Jan 2004 01:46:49 -0200 gksu (1.0.1-3) unstable; urgency=low * debian/libgksu-dev.install: - actually install the .pc file to /usr/lib/pkgconfig * debian/rules: - add post-install rule to install the html/devhelp docs for the libgksu-dev package -- Gustavo Noronha Silva Thu, 15 Jan 2004 04:17:24 -0200 gksu (1.0.1-2) unstable; urgency=low * debian/rules: - removed the clean addition, no longer removing the po/stamp-po file - disabled gtk-doc on configure -- Gustavo Noronha Silva Wed, 14 Jan 2004 21:20:49 -0200 gksu (1.0.1-1) unstable; urgency=low * debian/rules: - ask debhelper to look for dependency libraries on libgksu0 places (Closes: #227478, 227438) - will make gksu a no longer Debian native package -- Gustavo Noronha Silva Tue, 13 Jan 2004 19:12:06 -0200 gksu (1.0.0) unstable; urgency=low * New release: "Obviously you're not a kover", or something. -- Gustavo Noronha Silva Fri, 19 Dec 2003 04:37:43 -0200 gksu (0.9.18.lib.3) UNRELEASED; urgency=low * New test release * gksu/Makefile.am, gksu/gksuexec.c: - readding gksuexec * debian/gksu.install: - install gksuexec, the .desktop files, etc -- Gustavo Noronha Silva Fri, 19 Dec 2003 04:12:58 -0200 gksu (0.9.18.lib.2) UNRELEASED; urgency=low * New test release * libgksu/Makefile.am, debian/libgksu-dev.install: - install the gksu.h header file for using the library -- Gustavo Noronha Silva Sun, 7 Dec 2003 09:22:16 -0200 gksu (0.9.18.lib.1) UNRELEASED; urgency=low * New test release * debian/control: - libgksu0 depends on xbase-clients (xauth) -- Gustavo Noronha Silva Sat, 22 Nov 2003 10:47:20 -0200 gksu (0.9.18.lib) UNRELEASED; urgency=low * Turning gksu into a library * debian/control: - new packages libgksu0 and libgksu-dev - improved gksu's short description -- Gustavo Noronha Silva Sat, 22 Nov 2003 10:47:20 -0200 gksu (0.9.18) unstable; urgency=low * New release * src/gksu-run-helper.c: - remove a bashism when calling the program (Closes: #221179). * po/de.po: - small fix, thanks to Michael Vogt (Closes: #221030) -- Gustavo Noronha Silva Tue, 18 Nov 2003 21:22:54 -0200 gksu (0.9.17) unstable; urgency=medium * New release - fixes problem with xauth token being visible through ps auxwww - urgency medium because this is a potential security problem, so it's better it is fixed in testing soon * man/gksu.1: - do not mention gksudo (Closes: #207843) -- Gustavo Noronha Silva Fri, 14 Nov 2003 00:42:48 -0200 gksu (0.9.16) unstable; urgency=high * New release - fixes problem with XDM-AUTH being passed together with MIT-MAGIC-COOKIE-1's auth token - urgency high because no features were modified/added, just a quick fix -- Gustavo Noronha Silva Thu, 28 Aug 2003 13:46:55 -0300 gksu (0.9.15) unstable; urgency=low * New release - new German translation - developer documentation on source package created with gtk-doc -- Gustavo Noronha Silva Fri, 8 Aug 2003 05:12:01 -0300 gksu (0.9.14) unstable; urgency=low * New release - fixes problems with non-bash shells (Closes: #203386) - the -u for root problem seemed to be related to the non-bash shells stuff, I cannot reproduce it anymore (Closes: #203387) -- Gustavo Noronha Silva Tue, 29 Jul 2003 19:24:49 -0300 gksu (0.9.13) unstable; urgency=low * New release - minor cosmetic enhancements on the dialog - new option (--ssh-fwd) was added to work-around problem with ssh X11 forwarding (Closes: #202532) -- Gustavo Noronha Silva Thu, 24 Jul 2003 00:53:00 -0300 gksu (0.9.12) unstable; urgency=low * New release - lots of small fixes/modifications to the authentication stuff - added debug code, to help fix bugs * the --icon position on the man page has been fixed (Closes: #195122) * debian/gksu{,exec}-debian.xpm: - recreated from the images available to not conform anymore with the braindead policy that mandated 24 colors * debian/compat: - new file * debian/rules: - using cdbs * debian/control: - build-depends on cdbs, debhelper >= 4.1.0 - Standards-Version to 3.6.0 -- Gustavo Noronha Silva Wed, 23 Jul 2003 00:46:47 -0300 gksu (0.9.11) unstable; urgency=low * New release - see entry below, thanks to Álvaro -- Gustavo Noronha Silva Sat, 14 Jun 2003 22:29:22 -0300 gksu (0.9.10-1) unstable; urgency=low * Apply HIG to the authoritation dialog -- Álvaro Peña Wed, 11 Jun 2003 10:44:25 +0200 gksu (0.9.10) unstable; urgency=low * New release - no more auto-background -- Gustavo Noronha Silva Sat, 24 May 2003 15:00:06 -0300 gksu (0.9.9) unstable; urgency=low * New release - fixes some problems some users had running programs with arguments - includes translations for spanish (es) and russian (ru), thanks to Enrique Rodriguez and Aleksander respectively. -- Gustavo Noronha Silva Sat, 10 May 2003 03:23:17 -0300 gksu (0.9.8) unstable; urgency=low * New release - initializes xauth string before fread'ing into it, thanks to: Alex Stewart (Closes: #187299) - waits a bit longer for the grab (Closes: #181342) -- Gustavo Noronha Silva Sat, 5 Apr 2003 00:24:12 -0300 gksu (0.9.7) unstable; urgency=low * New release - changed the way Xauth is done (Closes: #182018) - no more sudo support * debian/control: - remove mention of sudo, remove sudo from Suggests * debian/rules: - doesn't link gksu to gksudo anymore -- Gustavo Noronha Silva Sat, 29 Mar 2003 01:47:58 -0300 gksu (0.9.1) unstable; urgency=low * New release - supports the new --icon command line option (Closes: #178910) * debian/rules: - no need to install manpages anymore * debian/copyright: - added Alan Douglaz as developer -- Gustavo Noronha Silva Fri, 31 Jan 2003 02:14:56 -0200 gksu (0.9.0) unstable; urgency=low * New release * debian/menu: - added menu entry for gksuexec, the new program used as a wrapper to gksu's command line options * debian/gksuexec-debian.xpm: - Debian icon for gksuexec's menu entry, based on gksu.png -- Gustavo Noronha Silva Wed, 29 Jan 2003 15:34:46 -0200 gksu (0.8.5) unstable; urgency=low * New release - doesn't ask for password when ran as root user (Closes: #178675) -- Gustavo Noronha Silva Tue, 28 Jan 2003 17:28:36 -0200 gksu (0.8.4) unstable; urgency=low * New release * debian/control: - build-depends on libgtk2.0-dev >= 2.2.0, as gksu is using API calls specific to Gtk+2.2 -- Gustavo Noronha Silva Tue, 14 Jan 2003 21:13:28 -0200 gksu (0.8.3) unstable; urgency=low * New release - mostly fixes to the build system * debian/rules: - installs ChangeLog as /usr/share/doc/gksu/changelog.src * debian/copyright: - fixed downloaded from URL - fixed 'Author(s)' stuff * debian/gksu-debian.xpm: - icon for gksu * debian/menu: - changed icon -- Gustavo Noronha Silva Tue, 14 Jan 2003 13:41:12 -0200 gksu (0.8.2-1) unstable; urgency=low * New release - basicaly fixes some bugs about environment that were causing problems for synaptic, for example * debian/docs: - added ChageLog, I'm now using the upstream changelog too * debian/control: - Standards-Version to 3.5.8 - depends on autotools-dev * debian/rules: - supports nostrip for DEB_BUILD_OPTIONS - uses config.sub and config.guess from autotools-dev -- Gustavo Noronha Silva Tue, 14 Jan 2003 02:45:37 -0200 gksu (0.8.0-2) unstable; urgency=low * Using new gettext version (0.11.5) (Closes: #156993) * libpng (Gtk2.0) transition already done (Closes: #156822) -- Gustavo Noronha Silva Tue, 20 Aug 2002 11:16:03 -0300 gksu (0.8.0-1) unstable; urgency=low * build against libgtk2.0-0png3 -- Gustavo Noronha Silva Tue, 13 Aug 2002 09:45:43 -0300 gksu (0.8.0) unstable; urgency=low * src/gksu.{c,h}, src/gui.{c,h}, src/su.{c,h}, src/sudo.{c,h}: - added the --title (-t) option to set the window title - changed the way arguments are passed to su_do and sudo_do... now they receive a GkConf, which is a struct containing all config variables * src/gksu.c: - --print-pass no longer requires an argument (why should it?) - documented the changes on --help output * src/gksu.c, src/util.c: - new function to convert to utf8 - converts message and title given by the user to UTF8 * src/gui.c: - some little tweaks on the GUI -- Gustavo Noronha Silva Thu, 11 Jul 2002 11:31:56 -0300 gksu (0.7.2) unstable; urgency=low * man/gksu.1: - remove mention to -k (deprecated option) (Closes: #148864) -- Gustavo Noronha Silva Tue, 18 Jun 2002 22:00:14 -0300 gksu (0.7.1) unstable; urgency=low * src/gui.c: - ungrab server in case pointer grabing fails -- Gustavo Noronha Silva Sun, 9 Jun 2002 23:44:08 -0300 gksu (0.7) unstable; urgency=low * Ported to Gtk2 -- Gustavo Noronha Silva Mon, 11 Mar 2002 17:26:08 -0300 gksu (0.6) unstable; urgency=low * src/xauth.c, src/gksu.c: better error and temporary directory handling * src/sudo.c,src/su.c: - improved the wording of the password dialog * Added support for --print-pass and --message. * Removed -k, -keep-env, keep_env is now TRUE by default and added --reset-env... the env must be kept for the Xauthority trick to work -- Gustavo Noronha Silva Fri, 8 Mar 2002 22:49:55 -0300 gksu (0.5) unstable; urgency=low * debian/control: - made some fixes * src/xauth.c: - small typo fixed * po/pt_BR.po: - updated translation * configure.in: - removed check for Gnome * removed links for automake stuff copied real files from /usr/share/automake (Closes: #135395) -- Gustavo Noronha Silva Sat, 23 Feb 2002 19:25:10 -0300 gksu (0.4) unstable; urgency=low * First Debian release (Closes: #135088) * debian/rules: - really fixes dh_link call - added manpage installation * man/gksu.1: - wrote manpage * debian/menu: - fixed gkdebconf->gksu issue * debian/control: - better (not so good, but better =)) description -- Gustavo Noronha Silva Thu, 21 Feb 2002 17:55:26 -0300 gksu (0.3) unstable; urgency=low * su.c, sudo.c: - a lot more error checking (for fork() and execv, for example) * debian/rules: - fixed the call to dh_link to create the right link -- Gustavo Noronha Silva Wed, 20 Feb 2002 17:36:47 -0300 gksu (0.2) unstable; urgency=low * gksu.c: - new free_pass function to clean the variables used to store the password * gksu.c, su.c, gui.c: - always call free_pass on password variables before we exit! * sudo.c: - added, now sudo is an option for gksu =) - double-fork to quit - added a while loop to keep printf'inf program's stderr and stdout some programs have problems with this. * gksu.c: - added -S to call gksudo, added -H to support setting the target user's home * su.c: - added a while loop to keep printf'inf program's stderr and stdout some programs have problems with this. * debian/rules: - creates the /usr/bin/gksudo link -- Gustavo Noronha Silva Wed, 20 Feb 2002 05:53:47 -0300 gksu (0.1) unstable; urgency=low * First version. -- Gustavo Noronha Silva Mon, 18 Feb 2002 20:16:41 -0300 debian/libgksu2-0.symbols0000644000000000000000000000470311651122742012464 0ustar libgksu2.so.0 libgksu2-0 #MINVER# HIDDEN@HIDDEN 1.9.6 LIBGKSU_2@LIBGKSU_2 1.9.6 fade_data@LIBGKSU_2 1.9.6 get_configuration_options@LIBGKSU_2 1.9.6 gksu_ask_password@LIBGKSU_2 1.9.6 gksu_ask_password_full@LIBGKSU_2 1.9.6 gksu_context_free@LIBGKSU_2 1.9.6 gksu_context_get_alert@LIBGKSU_2 1.9.6 gksu_context_get_always_ask_password@LIBGKSU_2 2.0.6 gksu_context_get_command@LIBGKSU_2 1.9.6 gksu_context_get_debug@LIBGKSU_2 1.9.6 gksu_context_get_description@LIBGKSU_2 1.9.6 gksu_context_get_grab@LIBGKSU_2 1.9.6 gksu_context_get_keep_env@LIBGKSU_2 1.9.6 gksu_context_get_launcher_context@LIBGKSU_2 1.9.6 gksu_context_get_login_shell@LIBGKSU_2 1.9.6 gksu_context_get_message@LIBGKSU_2 1.9.6 gksu_context_get_type@LIBGKSU_2 2.0.4 gksu_context_get_user@LIBGKSU_2 1.9.6 gksu_context_new@LIBGKSU_2 1.9.6 gksu_context_ref@LIBGKSU_2 2.0.4 gksu_context_set_alert@LIBGKSU_2 1.9.6 gksu_context_set_always_ask_password@LIBGKSU_2 2.0.6 gksu_context_set_command@LIBGKSU_2 1.9.6 gksu_context_set_debug@LIBGKSU_2 1.9.6 gksu_context_set_description@LIBGKSU_2 1.9.6 gksu_context_set_grab@LIBGKSU_2 1.9.6 gksu_context_set_keep_env@LIBGKSU_2 1.9.6 gksu_context_set_launcher_context@LIBGKSU_2 1.9.6 gksu_context_set_launcher_id@LIBGKSU_2 1.9.6 gksu_context_set_login_shell@LIBGKSU_2 1.9.6 gksu_context_set_message@LIBGKSU_2 1.9.6 gksu_context_set_user@LIBGKSU_2 1.9.6 gksu_context_unref@LIBGKSU_2 2.0.4 gksu_error_get_type@LIBGKSU_2 1.9.6 gksu_run@LIBGKSU_2 1.9.6 gksu_run_full@LIBGKSU_2 1.9.6 gksu_run_fuller@LIBGKSU_2 2.0.8 gksu_su@LIBGKSU_2 1.9.6 gksu_su_full@LIBGKSU_2 1.9.6 gksu_su_fuller@LIBGKSU_2 2.0.8 gksu_sudo@LIBGKSU_2 1.9.6 gksu_sudo_full@LIBGKSU_2 1.9.6 gksu_sudo_fuller@LIBGKSU_2 2.0.8 gksuui_dialog_get_alert@LIBGKSU_2 1.9.6 gksuui_dialog_get_icon@LIBGKSU_2 1.9.6 gksuui_dialog_get_message@LIBGKSU_2 1.9.6 gksuui_dialog_get_password@LIBGKSU_2 1.9.6 gksuui_dialog_get_prompt@LIBGKSU_2 1.9.6 gksuui_dialog_get_type@LIBGKSU_2 1.9.6 gksuui_dialog_new@LIBGKSU_2 1.9.6 gksuui_dialog_set_alert@LIBGKSU_2 1.9.6 gksuui_dialog_set_icon@LIBGKSU_2 1.9.6 gksuui_dialog_set_message@LIBGKSU_2 1.9.6 gksuui_dialog_set_prompt@LIBGKSU_2 1.9.6 grab_keyboard_and_mouse@LIBGKSU_2 1.9.6 gsm_screen_get_height@LIBGKSU_2 1.9.6 gsm_screen_get_width@LIBGKSU_2 1.9.6 gsm_screen_get_x@LIBGKSU_2 1.9.6 gsm_screen_get_y@LIBGKSU_2 1.9.6 no_pass@LIBGKSU_2 1.9.6 report_failed_grab@LIBGKSU_2 1.9.6 set_sensitivity_cb@LIBGKSU_2 1.9.6 ungrab_keyboard_and_mouse@LIBGKSU_2 1.9.6 debian/libgksu2-0.shlibs0000644000000000000000000000004111651122742012247 0ustar libgksu2 0 libgksu2-0 (>= 2.0.4) debian/libgksu2-0.postinst0000644000000000000000000000123012204515374012651 0ustar #!/bin/sh set -e #DEBHELPER# update-alternatives --install /usr/share/gconf/defaults/10_libgksu \ libgksu-gconf-defaults /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo \ 30 update-alternatives --install /usr/share/gconf/defaults/10_libgksu \ libgksu-gconf-defaults /usr/share/libgksu/debian/gconf-defaults.libgksu-su \ 20 # hack to work-around a problem with update-gconf-defaults not being # able to handle dangling symlinks correctly (see prerm) if ! test -e /usr/share/gconf/defaults/10_libgksu; then ln -fs /etc/alternatives/libgksu-gconf-defaults /usr/share/gconf/defaults/10_libgksu fi dpkg-trigger /usr/share/gconf/defaults