debian/0000755000000000000000000000000012227326170007170 5ustar debian/copyright0000644000000000000000000000107011042262300011105 0ustar This package was debianized by Yves-Alexis Perez on Fri, 25 Jul 2008 07:17:03 +0200 It was downloaded from http://goodies.xfce.org/projects/applications/xfce4-linelight-plugin Author: Michael Pfeuti Copyright Holders: © 2008 Michael Pfeuti You are free to distribute this software under the terms of the GNU General Public License (version 2 or later). On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL' debian/changelog0000644000000000000000000000507112227326165011051 0ustar xfce4-linelight-plugin (0.1.7-3ubuntu1) saucy; urgency=low * Use dh_autotools-dev to update config.{sub,guess} for AArch64. -- Matthias Klose Tue, 15 Oct 2013 22:57:54 +0200 xfce4-linelight-plugin (0.1.7-3) unstable; urgency=low [ Lionel Le Folgoc ] * debian/patches: - 01_port-to-xfcerc.patch: added, port to libxfce4util6. [ Yves-Alexis Perez ] * debian/watch updated. * debian/rules: - use parallel build. - use dpkg/debhelper hardening flags support. * debian/compat updated to 9. * debian/control: - update debhelper build-dep to 9 for hardening support. - update standards version to 3.9.3. - drop build-dep on hardening support. - drop versionned build-dep on 4.8, it's in stable now. -- Yves-Alexis Perez Wed, 22 May 2013 08:29:32 +0200 xfce4-linelight-plugin (0.1.7-2) unstable; urgency=low [ Lionel Le Folgoc ] * Upload to unstable. * debian/control: - remove Simon and Emanuele from uploaders, thanks to them. - bump xfce4-panel-dev b-dep to (>= 4.8.0). [ Evgeni Golov ] * Fix Vcs-* fields, they were missing 'trunk' in the path. [ Yves-Alexis Perez ] * debian/control: - update standards version to 3.9.2. -- Lionel Le Folgoc Tue, 19 Apr 2011 23:03:53 +0200 xfce4-linelight-plugin (0.1.7-1) experimental; urgency=low [ Yves-Alexis Perez ] * New upstream release. * debian/control: - add build-dep on libxfcegui4-dev now that xfce4-panel-dev doesn't pull it anymore. - update standards version to 3.9.1. * Switch to 3.0 (quilt) source format. * debian/watch updated. [ Lionel Le Folgoc ] * debian/control: - add myself to Uploaders. - add build-dep on hardening-includes. - drop libthunar-vfs-1-dev b-dep, plugin ported to gio. * debian/rules: - call dpkg-buildflags. - add --as-needed to LDFLAGS. - add hardening flags to {C,LD}FLAGS. -- Yves-Alexis Perez Sun, 27 Feb 2011 15:01:29 +0100 xfce4-linelight-plugin (0.1.6-2) unstable; urgency=low * debian/control - update standards version to 3.8.1. - add locate|mlocate to depends as linelight needs the locate command. - update build-deps for Xfce 4.6. * debian/rules: - -Wl,-z,-defs -Wl,--as-needed added to LDFLAGS. -- Yves-Alexis Perez Mon, 01 Jun 2009 11:40:50 +0200 xfce4-linelight-plugin (0.1.6-1) unstable; urgency=low * Initial release closes: #517658 -- Yves-Alexis Perez Sun, 01 Mar 2009 12:54:01 +0100 debian/compat0000644000000000000000000000000212147062277010374 0ustar 9 debian/patches/0000755000000000000000000000000012150130575010614 5ustar debian/patches/01_port-to-xfcerc.patch0000644000000000000000000000515211755701047015024 0ustar Description: Port to XfceRc XfceDesktopEntry was deprecated in libxfce4util 4.8.x and has been removed in libxfce4util 4.9.x. Author: Lionel Le Folgoc Forwarded: no Last-Update: 2012-04-19 --- xfce4-linelight-plugin-0.1.7.orig/panel-plugin/linelight.c +++ xfce4-linelight-plugin-0.1.7/panel-plugin/linelight.c @@ -207,7 +207,7 @@ void linelight_add_list_entry(LineLightD remove_newline(entry); GtkTreeIter iter; - char *icon; + const gchar *icon = NULL; GdkPixbuf *pixbuf; gtk_list_store_insert(data->list, &iter, data->listPointer[sec]); @@ -218,13 +218,15 @@ void linelight_add_list_entry(LineLightD //icon if (g_file_query_exists (file, NULL) && sec == BIN_SECTION ) { - XfceDesktopEntry* app = xfce_desktop_entry_new(entry,categories,3); + XfceRc* app = xfce_rc_simple_open(entry, TRUE); - if (app != NULL && xfce_desktop_entry_get_string(app, "Icon", TRUE, &icon) && NULL != (pixbuf= load_icon(icon))) + if (app != NULL) { - gtk_list_store_set(data->list, &iter, ICON_COL, pixbuf, -1); - g_object_unref(app); - free(icon); + xfce_rc_set_group(app, G_KEY_FILE_DESKTOP_GROUP); + icon = xfce_rc_read_entry(app, G_KEY_FILE_DESKTOP_KEY_ICON, NULL); + if (icon != NULL && NULL != (pixbuf= load_icon(icon))) + gtk_list_store_set(data->list, &iter, ICON_COL, pixbuf, -1); + xfce_rc_close(app); } } else if (file != NULL) --- xfce4-linelight-plugin-0.1.7.orig/panel-plugin/main.c +++ xfce4-linelight-plugin-0.1.7/panel-plugin/main.c @@ -155,14 +155,15 @@ static void cell_renderer(GtkTreeViewCol } else if (strstr(name,".desktop") != NULL) //Application names based on .desktop files { - XfceDesktopEntry *application = xfce_desktop_entry_new(path,categories,3); - if (XFCE_IS_DESKTOP_ENTRY(application)) + XfceRc *application = xfce_rc_simple_open(path, TRUE); + if (application != NULL) { - char* app_name; - xfce_desktop_entry_get_string(application, "Name", TRUE, &app_name); - g_object_unref(application); - g_object_set(cell,"text", app_name,NULL); - free(app_name); + const gchar* app_name = NULL; + xfce_rc_set_group(application, G_KEY_FILE_DESKTOP_GROUP); + app_name = xfce_rc_read_entry(application, G_KEY_FILE_DESKTOP_KEY_NAME, NULL); + if (app_name != NULL) + g_object_set(cell,"text", app_name, NULL); + xfce_rc_close(application); } } else debian/patches/series0000644000000000000000000000003011755701047012032 0ustar 01_port-to-xfcerc.patch debian/control0000644000000000000000000000164512227326117010602 0ustar Source: xfce4-linelight-plugin Section: xfce Priority: optional Maintainer: Debian Xfce Maintainers Uploaders: Yves-Alexis Perez , Lionel Le Folgoc Build-Depends: debhelper (>= 9), autotools-dev, xfce4-panel-dev, libxml-parser-perl, libxfcegui4-dev Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/trunk/xfce4-linelight-plugin/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-linelight-plugin/ Homepage: http://goodies.xfce.org/projects/panel-plugins/xfce4-linelight-plugin/ Package: xfce4-linelight-plugin Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, locate | mlocate Description: Search plugin for Xfce panel linelight is a simple frontend for the locate search. The search results are listed in sections (music, video, images, ... ) and can be executed directly from the Xfce panel. debian/rules0000755000000000000000000000034212227326103010243 0ustar #!/usr/bin/make -f export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 -Wl,-z,defs export DEB_BUILD_MAINT_OPTIONS=hardening=+all override_dh_install: dh_install --fail-missing %: dh $@ --parallel --with autotools_dev debian/source/0000755000000000000000000000000012150130575010465 5ustar debian/source/format0000644000000000000000000000001411464531451011700 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020612147060743010221 0ustar version=3 https://svn.ganymede.ch/private/trunk/xfce4-linelight-plugin/releases/ \ xfce4-linelight-plugin-([\d\.]+)\.tar\.(?:gz|bz2)