debian/0000755000000000000000000000000012244170063007165 5ustar debian/control0000644000000000000000000000514512244166002010573 0ustar Source: girara Section: libs Priority: optional Maintainer: Sebastian Ramacher Build-Depends: check, debhelper (>= 9), libgtk-3-dev, pkg-config, gettext, xauth, xvfb Build-Depends-Indep: doxygen Standards-Version: 3.9.5 Homepage: http://pwmt.org/projects/girara/ Package: libgirara-gtk3-1 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: xdg-utils, ${misc:Depends}, ${shlibs:Depends} Suggests: libgirara-dbg (= ${binary:Version}) Breaks: libgirara-dbg (<< ${binary:Version}) Description: library for minimalistic user interfaces (shared libraries, GTK+ 3) A library focused at implementing minimalistic user interfaces. It provides three main components: a view widget that represents the actual application, an input bar to execute application specific commands and a status bar which provides information to the user. . This package contains the shared libraries linked against GTK+ 3. Package: libgirara-dbg Architecture: any Section: debug Multi-Arch: same Priority: extra Depends: libgirara-gtk3-1 (= ${binary:Version}), ${misc:Depends} Description: library for minimalistic user interfaces (debugging symbols) A library focused at implementing minimalistic user interfaces. It provides three main components: a view widget that represents the actual application, an input bar to execute application specific commands and a status bar which provides information to the user. . This package contains the debugging symbols for the shared library. Package: libgirara-dev Architecture: any Section: libdevel Multi-Arch: same Depends: libgirara-gtk3-1 (= ${binary:Version}), libgtk-3-dev, ${misc:Depends} Suggests: libgirara-doc (= ${source:Version}) Breaks: zathura-dev (<< 0.2.5-1) Description: library for minimalistic user interfaces (development files) A library focused at implementing minimalistic user interfaces. It provides three main components: a view widget that represents the actual application, an input bar to execute application specific commands and a status bar which provides information to the user. . This package contains the development files. Package: libgirara-doc Architecture: all Section: doc Multi-Arch: foreign Depends: libjs-jquery, ${misc:Depends} Description: library for minimalistic user interfaces (documentation) A library focused at implementing minimalistic user interfaces. It provides three main components: a view widget that represents the actual application, an input bar to execute application specific commands and a status bar which provides information to the user. . This package contains the documentation. debian/changelog0000644000000000000000000001673412244170050011046 0ustar girara (0.1.9-1) unstable; urgency=low * New upstream release. * debian/patches/fix-gtk3-scroll.patch: Removed, no longer needed. * No longer build GTK+ 2 flavor. zathura now uses GTK+ 3 and the GTK+ 2 flavor is no longer needed: - debian/control: + Drop libgirara-gtk-2-1. + Add Breaks: zathura-dev (<< 0.2.5-1) to libgirara-dev. + Remove libgtk2.0-dev from Build-Depends and libgirara-dev's Depends. - debian/rules: Remove all code to build both flavors since it is no longer needed. - debian/libgirara-gtk2-1.{install,symbols}: Removed, no longer needed. -- Sebastian Ramacher Sat, 23 Nov 2013 19:12:55 +0100 girara (0.1.8-3) unstable; urgency=low * debian/patches/fix-gtk3-scroll.patch: Upstream patch to fix handling of scroll events with GTK+ 3. -- Sebastian Ramacher Mon, 11 Nov 2013 12:59:49 +0100 girara (0.1.8-2) unstable; urgency=low * debian/patches/less-strict-fix-path-test.patch: Be less strict in girara_fix_path test. * debian/libgirara-gtk{2,3}-1.symbols: Add Build-Depends-Package. -- Sebastian Ramacher Sat, 09 Nov 2013 02:23:04 +0100 girara (0.1.8-1) unstable; urgency=low * New upstream release. * debian/patches/statusbar-layout: Removed, no longer needed. * debian/compat: Bump Standards-Version to 3.9.5. -- Sebastian Ramacher Fri, 08 Nov 2013 21:18:48 +0100 girara (0.1.7-2) unstable; urgency=low * debian/patches/statusbar-layout: Apply upstream patches to fix the layout of the statusbar with small fonts. -- Sebastian Ramacher Sun, 25 Aug 2013 18:50:19 +0200 girara (0.1.7-1) unstable; urgency=low * New upstream release. * debian/rules: Re-enable test suite on kfreebsd-amd64. (Closes: #712273) * debian/patches/glib-2.35.3-HOME.patch: Removed, not needed anymore. * debian/libgirara.common.symbols: Add new symbols. -- Sebastian Ramacher Thu, 15 Aug 2013 01:04:00 +0200 girara (0.1.6-3) unstable; urgency=low * debian/rules: Don't run test suite on kfreebsd-amd64 since check is broken there (cf. #712196). -- Sebastian Ramacher Fri, 14 Jun 2013 20:42:46 +0200 girara (0.1.6-2) unstable; urgency=low * Upload to unstable. * debian/patches/check-missing-pthread.patch: Link against pthread manually since check's pkg-config doesn't include it. See #712140 for details. -- Sebastian Ramacher Thu, 13 Jun 2013 21:09:50 +0200 girara (0.1.6-1) experimental; urgency=low * New upstream release. * debian/control: Remove Jakub Wilk from Uploaders on his request. Thank you for all your work on girara, Jakub. * debian/patches: - add-translations.patch: Removed, not needed anymore. - glib-2.35.3-HOME.patch: Fix handling of HOME in testsuite with glib >= 2.35.3. * debian/libgirara.common.symbols: Add new symbols. * debian/rules: Run dh with --parallel. -- Sebastian Ramacher Mon, 13 May 2013 13:21:49 +0200 girara (0.1.5-1) experimental; urgency=low * New upstream release. * debian/patches: - Drop old patches, not needed anymore. - add-translations.patch: Add Greek and Portuguese (Brazil) translations from upstream. * debian/libgirara.common.symbols: Add new symbols. * debian/copyright: Update copyright years. -- Sebastian Ramacher Wed, 23 Jan 2013 23:23:00 +0100 girara (0.1.4-2) experimental; urgency=low * debian/control: - Update my mail address. - Remove DMUA, not needed anymore. - Bump Standards-Version to 3.9.4 (no changes required). * debian/copyright: Update my mail address. * debian/patches: - Add map-home-end.patch: Make Home and End mappable. Thanks to Yuri D'Elia for the patch. (Closes: #693803) - Add locale-independent-strtod.patch: Use a locale-independent version of strtod to parse floating point numbers. -- Sebastian Ramacher Wed, 21 Nov 2012 21:35:59 +0100 girara (0.1.4-1) experimental; urgency=low * New upstream release. * d/libgirara.common.symbols: Add new symbols. -- Sebastian Ramacher Tue, 04 Sep 2012 13:42:07 +0200 girara (0.1.3-1) experimental; urgency=low * New upstream release. * Bump SONAME. - Rename libgirara-gtk2-0 to libgirara-gtk2-1. - Rename libgirara-gtk3-0 to libgirara-gtk3-1. * debian/patches: Remove all patches, not needed anymore. * debian/libgirara.common.symbols: Add new symbols and bump minimal version of all other symbols. -- Sebastian Ramacher Thu, 21 Jun 2012 10:31:53 +0200 girara (0.1.2-3) unstable; urgency=low [ Sebastian Ramacher ] * debian/rules: - Call rm with -f to remove installdox since doxygen 1.8.1-1 stopped to generate it. Thanks to Lucas Nussbaum for the report. (Closes: #674297) - Call xvfb-run with -a to prevent FTBFS if there is already another xvfb instance running. [ Jakub Wilk ] * Add DM-Upload-Allowed. -- Sebastian Ramacher Thu, 24 May 2012 19:24:25 +0200 girara (0.1.2-2) unstable; urgency=low * debian/copyright: Fix formatting. * debian/patches: - Add patch unset-HOME from upstream to fix test failure if HOME is set. Thanks to Lucas Nussbaum for the report. (Closes: #669548) - Add patch fix-errno-usage from upstream to fix errno usage in the test suite. Thanks to Jakub Wilk for the report. (Closes: #666416) - Add patch update-translations for updated and new translations. - Add patch fix-gtk-3.4-deprecation-warnings to fix deprecation warnings when built against GTK+ 3.4. -- Sebastian Ramacher Fri, 20 Apr 2012 15:35:51 +0200 girara (0.1.2-1) unstable; urgency=low * Upload to unstable. * New upstream release. * debian/rules: - Set MSGFMTFLAGS=--endianness little. This makes debian/patches/msgfmt-endianness obsolete. - Set CK_DEFAULT_TIMEOUT=0 to disable check's timeout functionality. The tests may take longer than the default timeout of 4 seconds. - Upstream's build system now builds the mo pages in the default target so there is no need to call it manually anymore. * debian/patches: - Drop msgfmt-endianness: obsolete. - Drop separate-mo-files: not needed anymore as this is fixed upstream. - Drop fix-translation: not needed anymore. * debian/libgirara-symbols.common: Add new symbols. -- Sebastian Ramacher Sat, 24 Mar 2012 23:44:52 +0100 girara (0.1.1-1) experimental; urgency=low * New upstream release. * debian/control: Add Build-Dep on gettext to build translation files. * debian/libgirara-common-dev.install: Removed. It shouldn't have been there in the first place. * debian/libgirara-gtk{2,3}-0.install: Install translations files. * debian/patch: - Add separate-mo-files patch to get two separate mo files for libgirara-gtk2-0 and libgirara-gtk3-0. - Add fix-translation from upstream to fix issues in the German translation. - Add patch msgfmt-endianness to run msgfmt with --endianness little for the same result on every architecture. * debian/rules: Build the translation files. -- Sebastian Ramacher Thu, 15 Mar 2012 21:55:21 +0100 girara (0.1.0-1) experimental; urgency=low [ Sebastian Ramacher ] * Initial release (Closes: #660789) [ Jakub Wilk ] * Add myself to Uploaders. -- Jakub Wilk Thu, 01 Mar 2012 17:57:14 +0100 debian/libgirara-dev.install0000644000000000000000000000015712244163403013270 0ustar usr/include/girara/* usr/lib/*/libgirara-gtk*.a usr/lib/*/libgirara-gtk*.so usr/lib/*/pkgconfig/girara-gtk*.pc debian/compat0000644000000000000000000000000212244163403010363 0ustar 9 debian/watch0000644000000000000000000000011012244163403010206 0ustar version=3 http://pwmt.org/projects/girara/download girara-(.*)\.tar\.gz debian/copyright0000644000000000000000000000510612244163403011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: girara Upstream-Contact: Moritz Lipp Source: http://pwmt.org/projects/girara/ Files: * Copyright: 2010-2013 Moritz Lipp 2010-2013 Sebastian Ramacher License: Zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Files: debian/* Copyright: 2012-2013 Sebastian Ramacher License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/patches/0000755000000000000000000000000012244163525010621 5ustar debian/patches/series0000644000000000000000000000007412244163525012037 0ustar check-missing-pthread.patch less-strict-fix-path-test.patch debian/patches/check-missing-pthread.patch0000644000000000000000000000103012244163403016000 0ustar Description: Link against pthread manually check's pkg-config file is broken so link against pthread manually. See #712140 for details. Author: Sebastian Ramacher Last-Update: 2013-06-13 --- girara-0.1.6.orig/tests/config.mk +++ girara-0.1.6/tests/config.mk @@ -1,6 +1,6 @@ # See LICENSE file for license and copyright information CHECK_INC ?= $(shell pkg-config --cflags check) -CHECK_LIB ?= $(shell pkg-config --libs check) +CHECK_LIB ?= $(shell pkg-config --libs check) -pthread LIBS += ${CHECK_LIB} debian/patches/less-strict-fix-path-test.patch0000644000000000000000000000171312244163403016606 0ustar Description: Make girara_fix_path test less strict getpwent and getpwnam_r seem to give different pw_dirs for the same user. Until I know why this happens, let's make the test less strict and fail it only if girara_fix_path fails completely, i.e. returns an empty result or NULL. Author: Sebastian Ramacher Last-Update: 2013-11-09 --- a/tests/test_utils.c +++ b/tests/test_utils.c @@ -123,8 +123,11 @@ gchar* eres = g_build_filename(pwdinfo->dir, "test", NULL); gchar* result = girara_fix_path(path); - fail_unless(g_strcmp0(result, eres) == 0, - "Fix path result does not match (got: %s, expected %s)", result, eres, NULL); + fail_unless(result != NULL && strlen(result) != 0, "Fix path result is NULL or empty"); + if (g_strcmp0(result, eres) != 0) { + printf("Warning: fix path result does not match (got: %s, expected %s)", result, eres); + } + g_free(result); g_free(eres); g_free(path); debian/libgirara-gtk3-1.symbols0000644000000000000000000001220612244163775013554 0ustar libgirara-gtk3.so.1 libgirara-gtk3-1 #MINVER# * Build-Depends-Package: libgirara-dev _girara_debug@Base 0.1.3 girara_argument_mapping_add@Base 0.1.3 girara_buffer_get@Base 0.1.3 girara_callback_inputbar_activate@Base 0.1.3 girara_callback_inputbar_changed_event@Base 0.1.3 girara_callback_inputbar_key_press_event@Base 0.1.3 girara_callback_view_button_motion_notify_event@Base 0.1.3 girara_callback_view_button_press_event@Base 0.1.3 girara_callback_view_button_release_event@Base 0.1.3 girara_callback_view_key_press_event@Base 0.1.3 girara_callback_view_scroll_event@Base 0.1.3 girara_clean_line@Base 0.1.3 girara_cmd_map_unmap@Base 0.1.3 girara_completion_add_group@Base 0.1.3 girara_completion_free@Base 0.1.3 girara_completion_group_add_element@Base 0.1.3 girara_completion_group_create@Base 0.1.3 girara_completion_group_free@Base 0.1.3 girara_completion_init@Base 0.1.3 girara_config_handle_add@Base 0.1.3 girara_config_parse@Base 0.1.3 girara_dialog@Base 0.1.3 girara_escape_string@Base 0.1.3 girara_exec_with_argument_list@Base 0.1.4 girara_file_open@Base 0.1.3 girara_file_read2@Base 0.1.3 girara_file_read@Base 0.1.3 girara_file_read_line@Base 0.1.3 girara_fix_path@Base 0.1.3 girara_get_command_history@Base 0.1.3 girara_get_debug_level@Base 0.1.3 girara_get_home_directory@Base 0.1.3 girara_get_number_of_tabs@Base 0.1.3 girara_get_xdg_path@Base 0.1.3 girara_input_history_append@Base 0.1.6 girara_input_history_get_type@Base 0.1.6 girara_input_history_io_append@Base 0.1.6 girara_input_history_io_get_type@Base 0.1.6 girara_input_history_io_read@Base 0.1.6 girara_input_history_list@Base 0.1.6 girara_input_history_new@Base 0.1.6 girara_input_history_next@Base 0.1.6 girara_input_history_previous@Base 0.1.6 girara_input_history_reset@Base 0.1.6 girara_inputbar_command_add@Base 0.1.3 girara_inputbar_shortcut_add@Base 0.1.3 girara_inputbar_shortcut_remove@Base 0.1.3 girara_isc_abort@Base 0.1.3 girara_isc_command_history@Base 0.1.3 girara_isc_completion@Base 0.1.3 girara_isc_string_manipulation@Base 0.1.3 girara_list_append@Base 0.1.3 girara_list_clear@Base 0.1.3 girara_list_contains@Base 0.1.3 girara_list_find@Base 0.1.3 girara_list_foreach@Base 0.1.3 girara_list_free@Base 0.1.3 girara_list_iterator@Base 0.1.3 girara_list_iterator_copy@Base 0.1.5 girara_list_iterator_data@Base 0.1.3 girara_list_iterator_free@Base 0.1.3 girara_list_iterator_has_next@Base 0.1.3 girara_list_iterator_has_previous@Base 0.1.5 girara_list_iterator_is_valid@Base 0.1.3 girara_list_iterator_next@Base 0.1.3 girara_list_iterator_previous@Base 0.1.5 girara_list_iterator_remove@Base 0.1.5 girara_list_iterator_set@Base 0.1.3 girara_list_merge@Base 0.1.3 girara_list_new2@Base 0.1.3 girara_list_new@Base 0.1.3 girara_list_nth@Base 0.1.3 girara_list_position@Base 0.1.3 girara_list_prepend@Base 0.1.3 girara_list_remove@Base 0.1.3 girara_list_set_free_function@Base 0.1.3 girara_list_size@Base 0.1.3 girara_list_sort@Base 0.1.3 girara_mode_add@Base 0.1.3 girara_mode_get@Base 0.1.3 girara_mode_set@Base 0.1.3 girara_mouse_event_add@Base 0.1.3 girara_mouse_event_remove@Base 0.1.3 girara_node_append@Base 0.1.3 girara_node_append_data@Base 0.1.3 girara_node_free@Base 0.1.3 girara_node_get_children@Base 0.1.3 girara_node_get_data@Base 0.1.3 girara_node_get_num_children@Base 0.1.3 girara_node_get_parent@Base 0.1.3 girara_node_get_root@Base 0.1.3 girara_node_new@Base 0.1.3 girara_node_set_data@Base 0.1.3 girara_node_set_free_function@Base 0.1.3 girara_notify@Base 0.1.3 girara_safe_realloc@Base 0.1.3 girara_sc_abort@Base 0.1.3 girara_sc_focus_inputbar@Base 0.1.3 girara_sc_quit@Base 0.1.3 girara_sc_set@Base 0.1.3 girara_sc_tab_close@Base 0.1.3 girara_sc_tab_navigate@Base 0.1.3 girara_sc_tab_navigate_next@Base 0.1.7 girara_sc_tab_navigate_prev@Base 0.1.7 girara_sc_toggle_inputbar@Base 0.1.3 girara_sc_toggle_statusbar@Base 0.1.3 girara_sc_toggle_tabbar@Base 0.1.3 girara_session_create@Base 0.1.3 girara_session_destroy@Base 0.1.3 girara_session_init@Base 0.1.3 girara_set_debug_level@Base 0.1.3 girara_setting_add@Base 0.1.3 girara_setting_find@Base 0.1.3 girara_setting_get@Base 0.1.3 girara_setting_get_name@Base 0.1.3 girara_setting_get_type@Base 0.1.3 girara_setting_get_value@Base 0.1.3 girara_setting_set@Base 0.1.3 girara_setting_set_value@Base 0.1.3 girara_set_view@Base 0.1.3 girara_set_window_title@Base 0.1.3 girara_shortcut_add@Base 0.1.3 girara_shortcut_mapping_add@Base 0.1.3 girara_shortcut_remove@Base 0.1.3 girara_sorted_list_new2@Base 0.1.3 girara_sorted_list_new@Base 0.1.3 girara_special_command_add@Base 0.1.3 girara_split_path_array@Base 0.1.3 girara_statusbar_item_add@Base 0.1.3 girara_statusbar_item_set_foreground@Base 0.1.3 girara_statusbar_item_set_text@Base 0.1.3 girara_statusbar_set_background@Base 0.1.3 girara_tab_current_get@Base 0.1.3 girara_tab_current_set@Base 0.1.3 girara_tab_get@Base 0.1.3 girara_tab_new@Base 0.1.3 girara_tab_position_get@Base 0.1.3 girara_tab_position_set@Base 0.1.3 girara_tab_remove@Base 0.1.3 girara_tabs_enable@Base 0.1.3 girara_tab_title_get@Base 0.1.3 girara_tab_title_set@Base 0.1.3 girara_tab_update@Base 0.1.3 girara_xdg_open@Base 0.1.3 debian/source/0000755000000000000000000000000012244163403010465 5ustar debian/source/format0000644000000000000000000000001412244163403011673 0ustar 3.0 (quilt) debian/libgirara-gtk3-1.install0000644000000000000000000000012112244163403013507 0ustar usr/lib/*/libgirara-gtk3.so.* usr/share/locale/*/LC_MESSAGES/libgirara-gtk3-*.mo debian/libgirara-doc.docs0000644000000000000000000000001212244163403012527 0ustar doc/html/ debian/rules0000755000000000000000000000200212244164424010243 0ustar #!/usr/bin/make -f # -*- makefile -*- export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed # do not strip export SFLAGS= # build with verbose output export VERBOSE=1 # install into multiarch libdir export LIBDIR=/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # disable check's timeout funtionality export CK_DEFAULT_TIMEOUT=0 # use little endian mo files everywhere export MSGFMTFLAGS=--endianness little %: dh $@ --parallel override_dh_auto_test-arch: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) xvfb-run -a $(MAKE) test endif override_dh_strip: dh_strip --dbg-package=libgirara-dbg override_dh_auto_build-indep: # build documentation if doxygen is available and remove the copy of jquery # and replace it with the one from libjs-jquery ifneq "$(wildcard /usr/bin/doxygen)" "" $(MAKE) doc rm -f doc/html/installdox rm doc/html/jquery.js ln -s /usr/share/javascript/jquery/jquery.js doc/html/jquery.js endif override_dh_auto_test-indep override_dh_auto_install-indep: # no tests and install for indep debian/libgirara-doc.doc-base0000644000000000000000000000036112244163403013263 0ustar Document: girara Title: girara API documentation Abstract: This documentation descriptes girara's API. Section: Programming/C Format: HTML Index: /usr/share/doc/libgirara-doc/html/index.html Files: /usr/share/doc/libgirara-doc/html/*.html