--- rutilt-0.12.orig/debian/changelog +++ rutilt-0.12/debian/changelog @@ -0,0 +1,7 @@ +rutilt (0.12-0ubuntu1) edgy; urgency=low + + * Initial release. + Patch: 01_path_fix.dpatch - fixes the paths compiled into the binary. + + -- Nicholas Thomas Thu, 21 Sep 2006 01:48:58 +0100 + --- rutilt-0.12.orig/debian/compat +++ rutilt-0.12/debian/compat @@ -0,0 +1 @@ +5 --- rutilt-0.12.orig/debian/menu +++ rutilt-0.12/debian/menu @@ -0,0 +1 @@ +?package(rutilt):needs="X11" section="Apps/System" title="RutilT" command="rutilt" --- rutilt-0.12.orig/debian/rutilt.1 +++ rutilt-0.12/debian/rutilt.1 @@ -0,0 +1,47 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH RUTILT SECTION "September 21, 2006" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +rutilt \- GUI configuration tool for WEXT-compatible WLAN cards. +.SH SYNOPSIS +.B rutilt +.RI +.br +.SH DESCRIPTION +This manual page documents briefly the +.B rutilt +command. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBrutilt\fP is a program that configures WEXT-compatible wireless LAN +cards. It is compatible with Wireless Extensions v.17 and above, and +has special features for cards based on any of the RaLink chipsets. +.br +\fBrutilt\fP currently has basic support for gaining a DHCP IP address +upon connecting to a wireless network - to change this behaviour, +edit the "set_ip.sh" shell script ($PREFIX/share/rutilt/set_ip.sh) +appropriately +.SH OPTIONS +There are no command-line options. +.SH AUTHOR +rutilt was written by Romain BONDUE, with contributions from Neil +Armstrong, Nicolas Favre-Félix, Vincent Stehlé and Kirk Williams. +.PP +This manual page was written by Nicholas Thomas , +for the Debian project (but may be used by others). --- rutilt-0.12.orig/debian/patches/01_path-fix.dpatch +++ rutilt-0.12/debian/patches/01_path-fix.dpatch @@ -0,0 +1,49 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_path-fix.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: configure.sh takes "--prefix" as an environment variable and uses +## DP: this for two functions - generating a .h file with absolute paths +## DP: to be compiled into the binary, and to determine where to install +## DP: the various files into the file system. $DESTDIR doesn't exist. +## DP: This patch modifies the .h file created; it is slightly hackish +## DP: in that it won't work if the installation directory changes, but +## DP: it should work for the life of this package. + +@DPATCH@ + +diff -Nru rutilt-0.12/configure.sh rutilt-0.12-new/configure.sh +--- rutilt-0.12/configure.sh 2006-09-21 04:09:58.000000000 +0100 ++++ rutilt-0.12-new/configure.sh 2006-09-28 03:41:17.000000000 +0100 +@@ -201,20 +201,20 @@ + $launcher + const std::string UserConfigPrefix (\"$user_config_prefix\"); + const std::string UserConfigName (\"$user_config_name\"); +- const std::string HelperPrefix (\"$helper_prefix\"); ++ const std::string HelperPrefix (\"/usr/share/rutilt/\"); + const std::string HelperName (\"$helper_name\"); +- const std::string DhcpScriptPrefix (\"$ip_script_prefix\"); ++ const std::string DhcpScriptPrefix (\"/usr/share/rutilt/\"); + const std::string DhcpScriptName (\"$ip_script_name\"); +- const std::string TrayIconDisconnectedPath (\"$icon_prefix$tray_icon_disconnected_name\"); +- const std::string TrayIconLowPath (\"$icon_prefix$tray_icon_low_name\"); +- const std::string TrayIconMediumPath (\"$icon_prefix$tray_icon_medium_name\"); +- const std::string TrayIconHighPath (\"$icon_prefix$tray_icon_high_name\"); ++ const std::string TrayIconDisconnectedPath (\"/usr/share/rutilt/disconnected_tray.png\"); ++ const std::string TrayIconLowPath (\"/usr/share/rutilt/low_tray.png\"); ++ const std::string TrayIconMediumPath (\"/usr/share/rutilt/medium_tray.png\"); ++ const std::string TrayIconHighPath (\"/usr/share/rutilt/high_tray.png\"); + const std::string OptionsFileName (\"$options_name\"); +- const std::string Icon16Path (\"$icon_prefix$icon_16x16_name\"); +- const std::string Icon32Path (\"$icon_prefix$icon_32x32_name\"); +- const std::string Icon48Path (\"$icon_prefix$icon_48x48_name\"); +- const std::string Icon64Path (\"$icon_prefix$icon_64x64_name\"); +- const std::string Icon128Path (\"$icon_prefix$icon_128x128_name\"); ++ const std::string Icon16Path (\"/usr/share/rutilt/RutilT16x16.png\"); ++ const std::string Icon32Path (\"/usr/share/rutilt/RutilT32x32.png\"); ++ const std::string Icon48Path (\"/usr/share/rutilt/RutilT48x48.png\"); ++ const std::string Icon64Path (\"/usr/share/rutilt/RutilT64x64.png\"); ++ const std::string Icon128Path (\"/usr/share/rutilt/RutilT128x128.png\"); + + } // namespace nsCore + --- rutilt-0.12.orig/debian/patches/00list +++ rutilt-0.12/debian/patches/00list @@ -0,0 +1 @@ +01_path-fix.dpatch --- rutilt-0.12.orig/debian/copyright +++ rutilt-0.12/debian/copyright @@ -0,0 +1,53 @@ +This package was debianized by Nicholas Thomas on +Thu, 21 Sep 2006 01:48:58 +0100. + +It was downloaded from http://cbbk.free.fr/bonrom/ + +Upstream Author: Romain BONDUE + +Copyright: 2005-2006 Romain BONDUE + +License: + +RutilT is released under the GNU GPL (version 2 or later). + +RutilT is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +RutilT is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with RutilT; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +02110-1301 USA + +RutilT includes the eggtrayicon library, which is Copyright (C) +2002 Anders Carlsson and released under the +GNU LGPL (version 2 or later). + +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 Street, Fifth Floor +Boston, MA 02110-1301 USA + +The artwork was produced by Cyril BONDUE , +and has been placed in the public domain. + +The Debian packaging is Copyright (C) 2006, Nicholas Thomas + and is licensed under the GPL, see +`/usr/share/common-licenses/GPL'. --- rutilt-0.12.orig/debian/control +++ rutilt-0.12/debian/control @@ -0,0 +1,21 @@ +Source: rutilt +Section: x11 +Priority: optional +Maintainer: Nicholas Thomas +Build-Depends: debhelper (>= 5), libgtk2.0-dev, libatk1.0-dev, libpango1.0-dev, libfontconfig1-dev, linux-headers, dpatch +Standards-Version: 3.7.2 + +Package: rutilt +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GUI configuration utility for RaLink cards + RutilT is a GTK+ application which configures WLAN cards + with WEXT-compatible drivers. It also has special features + for configuring cards based on the RaLink rt2400, rt2500, + rt2570/rt2500usb, rt61/rt2560 and rt71/rt2571 chipsets. It + features AP scanning, profiles, graphical display of + connection statistics, graphical configuration of ESSID, WEP + and WPA. IP addresses are currently obtained via. DHCP, although + static IP addressing can be configured by directly editing the + set_ip.sh script. + --- rutilt-0.12.orig/debian/rules +++ rutilt-0.12/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# dpatch include +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: patch + dh_testdir + # Add here commands to configure the package. + + ./configure.sh --prefix=$(CURDIR)/debian/rutilt/usr --kernel_sources=/usr/src/linux-headers-`uname -r| cut -d- -f1,2` + + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp patch-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + rm -f Makefile_cst + rm -f include/StaticSettings.h + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/rutilt. + $(MAKE) install DESTDIR=$(CURDIR)/debian/rutilt + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman debian/rutilt.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- rutilt-0.12.orig/debian/docs +++ rutilt-0.12/debian/docs @@ -0,0 +1 @@ +README