Bug#677974: eclipse-egit: FTBFS with eclipse 3.8.0 (git version)

2012-06-19 Thread Jakub Adam

Hi Niels,

in your build log I see:

  dpkg-buildpackage: source package eclipse-egit
  dpkg-buildpackage: source version 1.1.0-1
  dpkg-buildpackage: source changed by Jakub Adam jakub.a...@ktknet.cz

Why are you using such an old version? Current eclipse-egit in sid is 1.3.0-1,
I tried to compile it with eclipse 3.8.0 and it builds without problems.

Obviously your build failure is because in sid there is libjgit-java 1.3.0-2, 
but
eclipse-egit 1.1.0-1 requires also 1.1.0 jgit.

Regards,

Jakub



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#644438: [libsvn-java] Add OSGi metadata to the java binding

2012-06-12 Thread Jakub Adam

Hi Peter,

I see you are preparing a package for Subversion 1.6.18 in experimental.
Would you please consider including the patch from #644438 [1] into the final
upload? I'd like to finally package eclipse-subclipse before Wheezy is frozen.

Thanks,

Jakub

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644438



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670756: Tuxguitar does not start

2012-05-16 Thread Jakub Adam

Hi Tony,

On 16.5.2012 17:01, tony mancill wrote:

In any event, I'm still able to run tuxguitar on sid with both 3.5 and 3
packages installed, so I'm not convinced we've ironed out the precise
cause of the bug.


Ok, I will try to describe it more thoroughly:

The direct cause of crash is that required JNI library libswt-cairo-gtk-3555.so
(from package libswt-cairo-gtk-3.5-jni) is not installed when it has to be.

On a clean system where neither SWT nor tuxguitar is installed we can get into
this situation with following sequence of events:

(1) Install tuxguitar:

  $ apt-get install tuxguitar
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
libswt-cairo-gtk-3-jni libswt-gtk-3-java
  Suggested packages:
libswt-gtk-3-java-gcj tuxguitar-jsa lilypond
  Recommended packages:
tuxguitar-alsa tuxguitar-oss
  The following NEW packages will be installed:
libswt-cairo-gtk-3-jni libswt-gtk-3-java tuxguitar
  0 upgraded, 3 newly installed, 0 to remove and 15 not upgraded.
  ...
  Setting up libswt-gtk-3-java (3.7.2-2) ...
  update-alternatives: using /usr/share/java/swt-gtk-3.7.jar to provide 
/usr/share/java/swt.jar (swt.jar) in auto mode.
  ...

  Now we have libswt-gtk-3-java, libswt-cairo-gtk-3-jni and 
/usr/share/java/swt.jar
  is provided by swt-gtk-3.7.jar. So far good, we can successfully launch 
tuxguitar
  and it will use SWT 3.7

(2) Now let's add libswt-gtk-3.5-java to the installation

  $ apt-get install libswt-gtk-3.5-java
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
libswt-gtk-3.5-jni
  Suggested packages:
libswt-gtk-3.5-java-gcj libswt-gnome-gtk-3.5-jni
  The following NEW packages will be installed:
libswt-gtk-3.5-java libswt-gtk-3.5-jni
  0 upgraded, 2 newly installed, 0 to remove and 15 not upgraded.
  ...

  We have libswt-gtk-3.5-java installed, *BUT NOT* libswt-cairo-gtk-3.5-jni and
  /usr/share/java/swt.jar is symlinked to swt-gtk-3.5.1.jar. When you now try to
  start tuxguitar, it will use SWT 3.5 and crashes with exception we already 
know
  from Grant:

  Exception in thread main org.eclipse.swt.SWTException: Unable to load 
graphics library [Cairo is required]
  (java.lang.UnsatisfiedLinkError: no swt-cairo-gtk-3555 or swt-cairo-gtk in 
swt.library.path, java.library.path
  or the jar file)

(3) To fix this, we can manually install libswt-cairo-gtk-3.5-jni. Then 
tuxguitar
finally runs also with SWT 3.5 - this is most probably your (Tony's) situation,
when you have both SWTs and application is working:

||/ NameVersion Description
+++-===-===-
ii  libswt-cairo-gtk-3-jni  3.7.2-2 Standard Widget 
Toolkit for GTK+ Cairo JNI library
ii  libswt-cairo-gtk-3.5-jni3.5.1-2.1   Standard Widget 
Toolkit for GTK+ Cairo JNI library
un  libswt-gnome-gtk-3-jni  none  (no description 
available)
un  libswt-gnome-gtk-3.5-jninone  (no description 
available)
ii  libswt-gtk-3-java   3.7.2-2 Standard Widget 
Toolkit for GTK+ Java library
un  libswt-gtk-3-java-gcj   none  (no description 
available)
ii  libswt-gtk-3-jni3.7.2-2 Standard Widget 
Toolkit for GTK+ JNI library
ii  libswt-gtk-3.5-java 3.5.1-2.1   Standard Widget 
Toolkit for GTK+ Java library
un  libswt-gtk-3.5-java-gcj none  (no description 
available)
ii  libswt-gtk-3.5-jni  3.5.1-2.1   Standard Widget 
Toolkit for GTK+ JNI library
ii  libswt-webkit-gtk-3-jni 3.7.2-2 Standard Widget 
Toolkit for GTK+ WebKit JNI library

It's that tuxguitar sometimes needs libswt-cairo-gtk-3.5-jni, but it's
not depending on it in any way.

Do you see where is the problem now or did I confuse you even more? :)


So I think we would have to change its Depends to something like:

   Depends: libswt-gtk-3-java | libswt-gtk-3.5-java,
libswt-cairo-gtk-3-jni | libswt-cairo-gtk-3.5-jni,
... etc



That change to depends won't have the desired effect.  All that
expresses is either libswt-gtk-3-java or libswt-gtk-3.5-java or both
which is what we are trying to avoid.  I believe you want to express an
exclusive (XOR) in there - one or other, but not both.


You are right, my change is not sufficient. XOR might work, but I'm not
sure if this can be expressed in Depends.


When you say get rid of the alternatives, I'm not sure what you mean.
  Tuxguitar only lists the following swt dependencies:
libswt-gtk-3-java, libswt-cairo-gtk-3-jni, and libswt-webkit-gtk-3-jni.
  It sounds like we might be back to conflicting with 

Bug#670756: Tuxguitar does not start

2012-05-15 Thread Jakub Adam

On 15.5.2012 07:52, Niels Thykier wrote:

On 2012-05-15 06:38, tony mancill wrote:

On 05/14/2012 08:18 AM, Jakub Adam wrote:

In my opinion libswt-gtk-3.5-java and libswt-3-gtk-java are not in
conflict,
generally it's ok to have them installed both. The problem is in tuxguitar
package itself which will not work with SWT 3.5.

So I suggest that we make tuxguitar to conflict with libswt-gtk-3.5-java
(and maybe also with libswt-gtk-3.4-java and libswt-gtk-3.6-java I see
in Grant's package list too).


Hi Jakub,

There are times in the past when tuxguitar explicitly depended on
libswt-gtk-3.5-jar, so it seems odd to say that tuxguitar won't work
with it.  What seems to be the case is that tuxguitar won't work when
both -3.5 and -3 packages are install.


Sorry, I was wrong with my statement. I thought libswt-cairo-gtk-3555.so
was for some reason not built in swt-gtk 3.5, but I missed it is packaged
separately in libswt-cairo-gtk-3.5-jni.



I believe that swt uses alternatives for the swt.jar, so if you have an
older version of libswt-*-java providing the alternative without (all)
the relevant -jni package =  boom.  Now that should not be possible to
do, but it is...



un  libswt-gnome-gtk-3.5-jninone   [...]
un  libswt-gnome-gtk-3.6-jninone   [...]
[...]
ii  libswt-gtk-3.5-java 3.5.1-5 [...]
ii  libswt-gtk-3.6-java 3.6.2-1 [...]


Presumably the dependency relations on the old -jni packages (or on the
old -java packages) are not strong enough.


I'd like to note that even the most recent libswt-gtk-3-java doesn't have a
strong dependency on all its -jni packages. For example libswt-cairo-gtk-3-jni
is neither a dependency nor a suggestion in any other package created from
swt-gtk (except -gcj which is not relevant in this case I suppose). If it was
meant to be changed in the past, presumably it wasn't done.

I don't think this is something wrong, as it allows to install only what is
really needed, as long as applications list all the -jni packages they require.
Tuxguitar does this, but only for libswt-gtk-3-java and doesn't expect that
any alternative can be present, therefore it may crash.

So I think we would have to change its Depends to something like:

  Depends: libswt-gtk-3-java | libswt-gtk-3.5-java,
   libswt-cairo-gtk-3-jni | libswt-cairo-gtk-3.5-jni,
   ... etc

... or get rid of the alternatives.


Personally, I think the swt alternatives is... weird at best.  So I
would vote for breaking the old packages to force their removal and then
remove the usage of alternatives in Wheezy+1.


I support this



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670756: Tuxguitar does not start

2012-05-14 Thread Jakub Adam

In my opinion libswt-gtk-3.5-java and libswt-3-gtk-java are not in conflict,
generally it's ok to have them installed both. The problem is in tuxguitar
package itself which will not work with SWT 3.5.

So I suggest that we make tuxguitar to conflict with libswt-gtk-3.5-java
(and maybe also with libswt-gtk-3.4-java and libswt-gtk-3.6-java I see
in Grant's package list too).

On 14.5.2012 06:08, Grant Diffey wrote:

so my installed package list is

nevyn@cetacea:~$ dpkg -l libswt*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersion Description
+++-===-===-==
ii  libswt-cairo-gtk-3-jni  3.7.2-2 Standard 
Widget Toolkit for GTK+ Cairo JNI library
ii  libswt-glx-gtk-3-jni3.7.2-2 Standard 
Widget Toolkit for GTK+ GLX JNI library
ii  libswt-gnome-gtk-3-jni  3.7.2-2 Standard 
Widget Toolkit for GTK+ GNOME JNI library
un  libswt-gnome-gtk-3.5-jni none  (no description 
available)
un  libswt-gnome-gtk-3.6-jni none  (no description 
available)
ii  libswt-gtk-3-java   3.7.2-2 Standard 
Widget Toolkit for GTK+ Java library
un  libswt-gtk-3-java-gcj none  (no description 
available)
ii  libswt-gtk-3-jni3.7.2-2 Standard 
Widget Toolkit for GTK+ JNI library
un  libswt-gtk-3.4-java none  (no description 
available)
un  libswt-gtk-3.4-jni none  (no description 
available)
ii  libswt-gtk-3.5-java 3.5.1-5 Standard 
Widget Toolkit for GTK+ Java library
un  libswt-gtk-3.5-java-gcj none  (no description 
available)
ii  libswt-gtk-3.5-jni  3.5.1-5 Standard 
Widget Toolkit for GTK+ JNI library
ii  libswt-gtk-3.6-java 3.6.2-1 Standard 
Widget Toolkit for GTK+ Java library
un  libswt-gtk-3.6-java-gcj none  (no description 
available)
ii  libswt-gtk-3.6-jni  3.6.2-1 Standard 
Widget Toolkit for GTK+ JNI library
ii  libswt-webkit-gtk-3-jni 3.7.2-2 Standard 
Widget Toolkit for GTK+ WebKit JNI library
un  libswt3.2-gtk-gcj none  (no description available)
un  libswt3.2-gtk-java none  (no description 
available)
un  libswt3.2-gtk-jni none  (no description available)



so yes

ii  libswt-gtk-3.5-jni  3.5.1-5 Standard 
Widget Toolkit for GTK+ JNI library

is installed.

if this breaks with the new version of

libswt-3-gtk-java should it not conflict?






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671652: ITP: calendar-exchange-provider -- MS Exchange support for iceowl-extension

2012-05-05 Thread Jakub Adam

Package: wnpp
Severity: wishlist

--- Please fill out the fields below. ---

   Package name: calendar-exchange-provider
Version: 1.8.5
Upstream Author: Michel Verbraak i...@1st-setup.nl
URL: http://www.1st-setup.nl/wordpress/?page_id=133
License: GPL-3
Description: MS Exchange support for iceowl-extension

 This plugin allows one to communicate with an Exchange 2007 or 2010 server
 using the Exchange Web Service (EWS) interface.
 .
 Plugin works with the Exchange Webservice Server of Exchange 2007 or 2010 or
 that from Microsoft Office 365.
 .
 With this plugin, you can perform these tasks from within Icedove/Thunderbird:
 .
  * Sync Calendar and Task/Todo items from an EWS (Exchange) server. Syncing is
done on a user settable poll interval. It will track changes on the server
and update the local memory cache.
  * Create, modify and delete calendar events and Task/Todo items. They will get
synced immediately with the EWS server.
  * During creation of a new calendar you can use the Exchange Autodiscover
functionality (when enabled on the Exchange server) to find the right server
and mailbox settings. Selecting the right folder is easy with the build-in
folder browser.
  * Access any Calendar or Task folder on your EWS server as long as you have
the right primary SMTP or alias email address and access permissions.
  * Poll your inbox for meeting invitation request or cancellations. They will
show up in your calendar.
  * Manage how meeting invitations or cancellations are automatically handled
(responded to).
  * Add as many calendar objects as you wish and iceowl-extension will allow.
  * Manage Out of Office settings for each calendar mailbox
  * Import ICS files.
  * Manage and view attachments.
  * Look at user availability (Free/Busy) information.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671660: RFS: calendar-exchange-provider/1.8.5-1 -- MS Exchange support for iceowl-extension

2012-05-05 Thread Jakub Adam

Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for package calendar-exchange-provider.

 * Package name: calendar-exchange-provider
   Version : 1.8.5-1
   Upstream Author : Michel Verbraak i...@1st-setup.nl
 * URL : http://www.1st-setup.nl/wordpress/?page_id=133
 * License : GPL-3
   Section : mail

It builds those binary packages:

 calendar-exchange-provider - MS Exchange support for iceowl-extension

Package source code can be accessed at collab-maint git repository:

 http://git.debian.org/?p=collab-maint/calendar-exchange-provider.git

This plugin allows one to communicate with an Exchange 2007 or 2010 server
 using the Exchange Web Service (EWS) interface.
 .
 Plugin works with the Exchange Webservice Server of Exchange 2007 or 2010 or
 that from Microsoft Office 365.
 .
 With this plugin, you can perform these tasks from within Icedove/Thunderbird:
 .
  * Sync Calendar and Task/Todo items from an EWS (Exchange) server. Syncing is
done on a user settable poll interval. It will track changes on the server
and update the local memory cache.
  * Create, modify and delete calendar events and Task/Todo items. They will get
synced immediately with the EWS server.
  * During creation of a new calendar you can use the Exchange Autodiscover
functionality (when enabled on the Exchange server) to find the right server
and mailbox settings. Selecting the right folder is easy with the build-in
folder browser.
  * Access any Calendar or Task folder on your EWS server as long as you have
the right primary SMTP or alias email address and access permissions.
  * Poll your inbox for meeting invitation request or cancellations. They will
show up in your calendar.
  * Manage how meeting invitations or cancellations are automatically handled
(responded to).
  * Add as many calendar objects as you wish and iceowl-extension will allow.
  * Manage Out of Office settings for each calendar mailbox
  * Import ICS files.
  * Manage and view attachments.
  * Look at user availability (Free/Busy) information.

I would be glad if someone uploaded this package for me.

Kind regards,

Jakub



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670756: Tuxguitar does not start

2012-04-29 Thread Jakub Adam

Hi Grant,

from the fact that SWT is looking for swt-cairo-gtk-3555 I suspect you have
still libswt-gtk-3.5-java and libswt-gtk-3.5-java-jni installed. Removing these
packages should solve the problem.

Regards,

Jakub



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669916: ITP: swtchart -- Chart drawing SWT component

2012-04-21 Thread Jakub Adam

Package: wnpp
Severity: wishlist

--- Please fill out the fields below. ---

   Package name: swtchart
Version: 0.8.0
Upstream Author: SWTChart project
URL: http://www.swtchart.org
License: EPL-1.0
Description: Chart drawing SWT component

 SWTChart is a chart component which has following basic functionalities:
  * line chart
  * scatter chart
  * stack chart
  * log scale
  * category axis
  * multiple axes
  * bar chart
  * area chart
  * step chart
  * axis orientation
  * series label
 .
 All of widgets in SWTChart are composed of SWT, so that you can easily hock
 listeners to widgets, and also you can easily extend the functionality without
 expertise of AWT.
 .
 SWTChart provides an ability to handle large data size of series. Even if
 showing 1,000,000 data points, repainting or resizing chart panel doesn't take
 long time. The internal algorithm is not to simply sample the data with a
 certain interval but to thin out only the data which doesn't make sense to show
 in current screen resolution. Therefore, even if there are prominent peaks in
 large data points, the peaks won't be lost in the screen.
 .
 SWTChart has minimum basic functionalities. SWTChart doesn't have any
 dependencies other than SWT, and even JFace is not required.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669565: RFS: gammaray/1.1.0-1 -- Tool for examining the internals of Qt application

2012-04-19 Thread Jakub Adam

Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for package gammaray.

 * Package name: gammaray
   Version : 1.1.0-1
   Upstream Author : Klarälvdalens Datakonsult AB
 * URL : http://www.kdab.com/gammaray
 * License : GPL-2+
   Section : devel

It builds those binary packages:

 gammaray - Tool for examining the internals of Qt application
 gammaray-dbg - debugging symbols for gammaray

Package source code can be accessed at collab-maint git repository:

 http://anonscm.debian.org/gitweb/?p=collab-maint/gammaray.git

GammaRay is a tool for examining the internals of a Qt application and
to some extent also manipulate it. GammaRay uses injection methods to
hook into an application at runtime and provide access to a wide variety
of interesting information. It provides easy ways of navigating through
the complex internal structures you find in some Qt frameworks, such as
QGraphicsView, model/view, QTextDocument, state machines and more.

I would be glad if someone uploaded this package for me.

Kind regards,

Jakub Adam



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669000: Patch applied

2012-04-17 Thread Jakub Adam

Hi Peter,

thanks for your patch, it is applied[1] and will be in the next release.

Regards

Jakub

[1] 
http://anonscm.debian.org/gitweb/?p=pkg-java/eclipse.git;a=commit;h=cb7bec8e9145eaf72dc7d54f499261d2680082bc



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#666455: [libhttpcore-java] Please add OSGi metadata to httpcore.jar manifest

2012-03-30 Thread Jakub Adam

Package: libhttpcore-java
Version: 4.1.4-2
Severity: normal
Tags: patch

--- Please enter the report below this line. ---

Please add OSGi metadata to the manifest of httpcore.jar, so that the library
can be used as Eclipse plugin (Mylyn Hudson integration requires it as a 
dependency).

Attached patch uses maven-bundle-plugin to generate required metadata into 
MANIFEST.MF.

Thanks

Jakub

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.2.0-2-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 testing security.debian.org
  500 testing ftp.debian-multimedia.org
  500 testing ftp.cz.debian.org
  500 testing emdebian.org
  500 stable  ftp.cz.debian.org
1 experimentalftp.cz.debian.org

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.



diff --git a/debian/control b/debian/control
index 151c190..f42051e 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@
  , libmaven-site-plugin-java
  , libmaven-assembly-plugin-java (= 2.2~beta5)
  , libmaven-antrun-plugin-java
+ , libmaven-bundle-plugin-java
  , libsurefire-java
  , maven-debian-helper
  , openjdk-6-jdk
diff --git a/debian/patches/01-generate_osgi_metadata.patch b/debian/patches/01-generate_osgi_metadata.patch
new file mode 100644
index 000..d742e83
--- /dev/null
+++ b/debian/patches/01-generate_osgi_metadata.patch
@@ -0,0 +1,52 @@
+From: Jakub Adam jakub.a...@ktknet.cz
+Date: Tue, 27 Mar 2012 18:15:01 +0200
+Subject: add-maven-bundle-plugin
+
+---
+ httpcore/pom.xml |   33 +
+ 1 files changed, 33 insertions(+), 0 deletions(-)
+
+diff --git a/httpcore/pom.xml b/httpcore/pom.xml
+index 9d7783a..65db968 100644
+--- a/httpcore/pom.xml
 b/httpcore/pom.xml
+@@ -93,6 +93,39 @@
+   jvm${httpcore.surefire.java}/jvm
+ /configuration
+   /plugin
++  plugin
++groupIdorg.apache.felix/groupId
++artifactIdmaven-bundle-plugin/artifactId
++version2.3.5/version
++executions
++  execution
++idbundle-manifest/id
++phaseprocess-classes/phase
++goals
++  goalmanifest/goal
++/goals
++  /execution
++/executions
++configuration
++  instructions
++Bundle-NameApache ${project.name}/Bundle-Name
++Bundle-SymbolicName${project.groupId}.httpcore/Bundle-SymbolicName
++Import-Package!org.apache.http*,*/Import-Package
++_exportcontentsorg.apache.http.*;version=${project.version}/_exportcontents
++Embed-Dependency*;scope=compile|runtime;inline=true/Embed-Dependency
++!-- Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd --
++_removeheadersJAVA_1_3_HOME,JAVA_1_4_HOME/_removeheaders
++  /instructions
++/configuration
++  /plugin
++  plugin
++artifactIdmaven-jar-plugin/artifactId
++configuration
++  archive
++manifestFile${project.build.outputDirectory}/META-INF/MANIFEST.MF/manifestFile
++  /archive
++/configuration
++  /plugin
+ /plugins
+   /build
+ 
diff --git a/debian/patches/series b/debian/patches/series
index b75ec23..d39b602 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 00-fix_build.patch
+01-generate_osgi_metadata.patch

Bug#663335: [eclipse] Eclipse missing java development funcionality

2012-03-10 Thread Jakub Adam

Hi,

this is a known problem, from your package information:

Depends(Version) | Installed
-+-==
sat4j (= 2.3.0) | 2.3.1-1

You should downgrade this library to 2.3.0-3 for the time being
(the version is available in testing).

Fix for the compatibility problem with newer sat4j will be included in
the next eclipse package update.

Regards,

Jakub



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#662976: [sat4j] Delay sat4j 2.3.1-1 transition to testing - breaks eclipse plugins

2012-03-07 Thread Jakub Adam

Package: sat4j
Version: 2.3.1-1
Severity: serious

--- Please enter the report below this line. ---

Eclipse running with sat4j 2.3.1-1 will not load any plugins[1]. Problem has to 
be
fixed in eclipse package, this bug is only to prevent new sat4j to enter testing
prematurely. Once my update for eclipse is in place, I will close it.

Regards

Jakub

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662153



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#662153: [eclipse-cdt] CDT not working after upgrading from 8.0.1-1 to 8.0.2-1

2012-03-06 Thread Jakub Adam

Hi Vincent,

this problem seems to be caused by recent update of sat4j package[1]. It's not 
just CDT specific
but affects all plugins installed in dropins folder. I'm working on an update 
to Eclipse package
where the fix will be included and will finish it asap.

In the meantime downgrade of sat4j to version 2.3.0-3, which is now in testing 
should workaround the
problem.

Regards,

Jakub

[1] http://packages.debian.org/sid/sat4j



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#662153: [eclipse-cdt] CDT not working after upgrading from 8.0.1-1 to 8.0.2-1

2012-03-04 Thread Jakub Adam

Hi Szymon,

did you try to remove your ~/.eclipse directory after upgrade?

(keep backup of course)

BR

Jakub



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#660688: [jenkins] Please enable maven-plugin

2012-02-20 Thread Jakub Adam

Package: jenkins
Version: 1.424.2+dfsg-2
Severity: wishlist

--- Please enter the report below this line. ---

Please enable building and packaging of maven-plugin (and possibly other 
Jenkins plugins
that are part of the core tarball). Jenkins Maven plugin is a dependency of 
another plugin
that I'd like to package (Copy Artifact Plugin).

Thanks

Jakub

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.2.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends (Version) | Installed
=-+-===
adduser   | 3.113+nmu1
default-jre-headless  | 1:1.6-46
 OR java6-runtime-headless|
jenkins-common| 1.424.2+dfsg-2
daemon| 0.6.4-1
psmisc| 22.15-2


Package's Recommends field is empty.

Package's Suggests field is empty.






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#660010: ITP: jenkins-git-plugin -- allows use of Git as a build SCM

2012-02-15 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: jenkins-git-plugin
Version: 1.1.15
Upstream Author: CloudBees, Inc and others
License: MIT
Description: Jenkins Git plugin

 This plugin allows use of Git as a build SCM.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659908: ITP: jenkins-parametrized-trigger-plugin -- Triggers new Jenkins builds when a build has completed

2012-02-14 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: jenkins-parametrized-trigger-plugin
Version: 2.13
Upstream Author: Kohsuke Kawaguchi and others
License: MIT
Description: Triggers new Jenkins builds when a build has completed

 This plugin lets you trigger new builds when your build has completed, with
 various ways of specifying parameters for the new build.
 .
 You can add multiple configurations: each has a list of projects to trigger,
 a condition for when to trigger them (based on the result of the current
 build), and a parameters section.
 .
 The parameters section can contain a combination of one or more of
 the following:
 .
  * a set of predefined properties
  * properties from a properties file read from the workspace of the triggering
build
  * the parameters of the current build
  * Subversion revision: makes sure the triggered projects are built with the
same revision(s) of the triggering build. You still have to make sure those
projects are actually configured to checkout the right Subversion URLs.
 .
 The parameter section is itself pluggable, and other plugins can contribute
 other sources of parameters.
 .
 This triggering mechanism can be used both as a post-build step or as a build
 step, in which case you can also block for the completion of the triggered
 builds. This lets you create a function call like semantics.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659819: ITP: jenkins-subversion-plugin -- Subversion integration for Jenkins

2012-02-13 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: jenkins-subversion-plugin
Version: 1.37
Upstream Author: Kohsuke Kawaguchi and others
License: MIT
Description: Jenkins Subversion Plugin (Java artifacts)

 This plugin adds the Subversion support (via SVNKit) to Jenkins.
 .
 Once this plugin is installed, you'll see Subversion as one of the options in
 the SCM.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659634: ITP: libsequence-library-java -- Java library for manipulation with character sequences

2012-02-12 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: libsequence-library-java
Version: 1.0.0
Upstream Author: SyntEvo GmbH
License: Sequence Library License
Description: Java library for manipulation with character sequences

 This library provides utility classes allowing manipulation with sequences of
 characters such as searching for longest common subsequence of two strings,
 finding common blocks and creating text or binary diff files.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659649: ITP: libjenkins-svnkit-java -- Pure Java Subversion client library (Jenkins fork)

2012-02-12 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: libjenkins-svnkit-java
Version: 1.3.6.1-jenkins-2
Upstream Author: TMate Software Ltd.
License: The TMate Open Source License
Description: Pure Java Subversion client library

 SVNKit provides APIs to work with Subversion repositories and working copies.
 The SVNKit library features direct repository access as well as support for all
 high level Subversion operations available via the command-line Subversion
 client.
 .
 This package contains the branch used/maintained by Jenkins CI.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659525: ITP: jenkins-token-macro-plugin -- Adds reusable macro expansion capability for other Jenkins plugins

2012-02-11 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: jenkins-token-macro-plugin
Version: 1.5.1
Upstream Author: CloudBees, Inc
URL: https://wiki.jenkins-ci.org/display/JENKINS/Token+Macro+Plugin
License: MIT
Description: Adds reusable macro expansion capability for other Jenkins 
plugins

 In various Jenkins plugins, such as email-ext and description-setter, an user
 is asked to provide an expression that evaluates to text. For example, in the
 case of the email-ext plugin, the whole email content is one big expression, so
 is the subject. This often includes some kind of macro tokens, which evaluates
 to things like build number, cause, the current branch being built, etc. In the
 description-setter plugin, the user configures a similar expression that
 evaluates to the string that becomes a build string. In instant messenger
 plugin, one might configure the template that controls what messages the user
 will receive.

 All these plugins share the common concept of token expansions, where something
 like ${SUBVERSION_REVISION} expands to some textual values, and since this
 notion is useful beyond any single use case, it makes sense to define it
 elsewhere. And this is exactly what this plugin does — to define the mechanism
 for plugins to define tokens (and their parameters) and their evaluation, and
 allow this mechanism to be reused by different plugin



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#649912: eclipse 3.7.1 armel - build success

2012-02-02 Thread Jakub Adam

Hi,

FYI I received a message from Xerxes Rånby that he was able to build Eclipse 
3.7.1 on armel with this configuration:

xranby@panda-oneiric:~$ uname -a
Linux panda-oneiric 3.0.0-1206-omap4 #15-Ubuntu SMP PREEMPT Wed Jan 4 13:17:27 
UTC 2012 armv7l armv7l armv7l GNU/Linux
xranby@panda-oneiric:~$ java -version
java version 1.6.0_24
OpenJDK Runtime Environment (IcedTea6 1.11.1pre+ra5c946d5f4bc) (Ubuntu build 
1.6.0_24-b24)
OpenJDK Zero VM (build 20.0-b12, mixed mode)

(It is a pandaboard running oneiric.)

His .deb files can be downloaded at[1]

Our current openjdk in armel sid is:

debian-armel:~# java -version
java version 1.6.0_24
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b24~pre4-1)
OpenJDK Zero VM (build 20.0-b12, mixed mode)

Thanks Xerxes!

Regards

Jakub

[1] http://labb.zafena.se/eclipse/deb/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#658071: [jenkins] Please enable libjenkins-plugin-parent-java

2012-01-30 Thread Jakub Adam

Package: jenkins
Version: 1.409.3+dfsg-2
Severity: wishlist

--- Please enter the report below this line. ---

Hi,

d/control contains definition of binary package libjenkins-plugin-parent-java 
that was
disabled because it was not currently installable due to broken upstream 
maven-hpi-plugin.

Is it possible to enable this after recent upload of libmaven-hpi-plugin-java 
(1.79-1) so
that Jenkins plugins can be built and packaged?

Regards,

Jakub

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.1.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends (Version) | Installed
=-+-===
adduser   | 3.113
daemon| 0.6.4-1
psmisc| 22.13-1
default-jre-headless  | 1:1.6-46
 OR java6-runtime-headless|
jenkins-common| 1.409.3+dfsg-2


Package's Recommends field is empty.

Package's Suggests field is empty.






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657782: ITP: eclipse-anyedit -- Adds additional tools to the context menu of text-based Eclipse editors

2012-01-28 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: eclipse-anyedit
Version: 2.4.0
Upstream Author: Andrey Loskutov
URL: http://andrei.gmxhome.de/anyedit/
License: EPL-1.0
Description: Adds additional tools to the context menu of text-based 
Eclipse editors

 AnyEdit plugin adds several new tools to the context menu of text-based Eclipse
 editors, to output consoles, to Eclipse main menu and editor toolbar. AnyEdit
 contributes also Import/Export working sets wizards.
 .
 AnyEdit can:
 .
  * show the withespace (tabs vs spaces) in editors and may use custom project
settings for tab-spaces auto-convert-on-save feature.
  * perform tabs - spaces convert on multiple files or entire directories and
supports also file exclusion filter for tabs - spaces action.
  * automatically remove trailing whitespaces and/or perform tabs-spaces
conversion on a save action in all text-based Eclipse editors. It can
automatically create a new line at the end of the file if the last line was
not terminated by new line.
 .
 Also adds additional actions to menus and toolbars:
 .
  * Save All, Open File and Show whitespace in editor buttons to the
global Eclipse toolbar.
  * Open File, Open Type and Save to file... actions to supported output
consoles and Save to file... toolbar button to the Console view.
  * four new context menu actions to Compare With and Replace With menus
in both editors and files.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#644438: Fwd: Re: Add OSGi metadata to the java binding

2012-01-26 Thread Jakub Adam

Hi Laurent,

upstream accepted my OSGi metadata patch for JavaHL and commited to trunk.
Until this version is released and packaged, could you please add the attached
file to debian/patches? Changes are the same as negotiated with Mark Phippard,
I only updated Export-Package attribute that is different in currently packaged
1.6 branch of Subversion.

This is the only thing that prevents me from completing packaging of Subclipse.

Thanks

Jakub

On 23.1.2012 17:04, Mark Phippard wrote:

On Sun, Jan 22, 2012 at 2:32 PM, Jakub Adamjakub.a...@ktknet.cz  wrote:

Hi Mark,


On Fri, Jan 20, 2012 at 9:17 AM, Laurent Bigonvillebi...@debian.org
wrote:


Could you please considere adding OSGi information to the java
binding.

These meta informations seems to be required to be able to built
eclipse completely from the source.



I maintain Subclipse and contribute to the maintenance of JavaHL in
Subversion.  I do not really have any objections to the concept but it
would be helpful to have a patch created as a patch to Subversion
itself and the trunk version.  It looks like the patch in the link is
to the Debian-specific packaging (and for an older version of SVN).



I'm the original author of Debian packaging of Subclipse. As you requested,
here is attached a patch against Subversion trunk. Also I improved it a bit
so that Bundle-Version attribute in manifest is correctly set during build.

It would be nice if this can be also commited to 1.6.x and 1.7.x branches if
they are still supported (Debian now packages versions from 1.6). As far as
I tested, the patch should apply without problems.



The link also says this:

This jar is a dependency of eclipse-subclipse package. Attached patch
adds the needed metadata.

I have no idea what Debian might be doing in its own packaging but in
Subclipse itself this is not true.  Subclipse does not use the
svn-javahl.jar file from Subversion.  The JavaHL API is wrapped in an
Eclipse plugin that Subclipse itself provides and this plugin of
course has all of the OSGI information included since it is a plugin.



I'm aware of that, but in Debian we prefer to reuse already packaged
libraries
rather than bundle their code with applications, so Subclipse is patched to
depend on external javahl jar. I think the change we are requesting here
doesn't have any impact on the way Subclipse upstream uses javaHL, so you
can
still bundle it inside the plugin if you like.

Thanks for your cooperation.


I made some tweaks but have committed the patch.  See:

http://svn.apache.org/viewvc?view=revisionrevision=1234864

From 68c6263439df9466f47fcce37eb0847a2787da2e Mon Sep 17 00:00:00 2001
From: Jakub Adam jakub.a...@ktknet.cz
Date: Thu, 26 Jan 2012 21:02:44 +0100
Subject: [PATCH] add-osgi-metadata

---
 Makefile.in|5 -
 subversion/bindings/javahl/Manifest.in |7 +++
 2 files changed, 11 insertions(+), 1 deletions(-)
 create mode 100644 subversion/bindings/javahl/Manifest.in

diff --git a/Makefile.in b/Makefile.in
index aecebad..5b70910 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -260,8 +260,11 @@ SWIG_RB_SRC_DIR = $(abs_srcdir)/subversion/bindings/swig/ruby
 
 ### Automate JAR creation using Makefile generator's javahl-java.jar
 ### property.  Enhance generator to support JAR installation.
+JAVAHL_MANIFEST_IN = $(abs_srcdir)/subversion/bindings/javahl/Manifest.in
+JAVAHL_MANIFEST = subversion/bindings/javahl/Manifest
 INSTALL_EXTRA_JAVAHL_JAVA=\
-	$(JAR) cf $(JAVAHL_JAR) -C subversion/bindings/javahl/classes org; \
+	sed s/%bundleVersion/$(PACKAGE_VERSION)/ $(JAVAHL_MANIFEST_IN)  $(JAVAHL_MANIFEST); \
+	$(JAR) cfm $(JAVAHL_JAR) $(JAVAHL_MANIFEST) -C subversion/bindings/javahl/classes org; \
 	$(INSTALL_DATA) $(JAVAHL_JAR) $(DESTDIR)$(javahl_javadir);
 
 INSTALL_EXTRA_JAVAHL_LIB=@INSTALL_EXTRA_JAVAHL_LIB@
diff --git a/subversion/bindings/javahl/Manifest.in b/subversion/bindings/javahl/Manifest.in
new file mode 100644
index 000..0e290b3
--- /dev/null
+++ b/subversion/bindings/javahl/Manifest.in
@@ -0,0 +1,7 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Apache Subversion JavaHL API
+Bundle-Vendor: Apache Subversion
+Bundle-SymbolicName: org.apache.subversion.javahl
+Bundle-Version: %bundleVersion
+Export-Package: org.tigris.subversion.javahl
-- 
1.7.8.3



Bug#654949: ITP: libgoogle-gson-java -- Converts Java objects into their JSON representation

2012-01-06 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: libgoogle-gson-java
Version: 2.1
Upstream Author: Google Inc.
URL: http://code.google.com/p/google-gson/
License: Apache-2.0
Description: Converts Java objects into their JSON representation

 Gson is a Java library that can be used to convert Java Objects into their JSON
 representation. It can also be used to convert a JSON string to an equivalent
 Java object. Gson can work with arbitrary Java objects including pre-existing
 objects that you do not have source-code of.
 .
 Gson Goals
 .
  * Provide simple toJson() and fromJson() methods to convert Java objects to
JSON and vice-versa
  * Allow pre-existing unmodifiable objects to be converted to and from JSON
  * Extensive support of Java Generics
  * Allow custom representations for objects
  * Support arbitrarily complex objects (with deep inheritance hierarchies and
extensive use of generic types).



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654667: ITP: gammaray -- Tool for examining the internals of Qt application

2012-01-04 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: gammaray
Version: 1.0.1
Upstream Author: Klarälvdalens Datakonsult AB
URL: http://www.kdab.com/gammaray
License: GPL-2+
Description: Tool for examining the internals of Qt application

GammaRay is a tool for examining the internals of a Qt application and
to some extent also manipulate it. GammaRay uses injection methods to
hook into an application at runtime and provide access to a wide variety
of interesting information. It provides easy ways of navigating through
the complex internal structures you find in some Qt frameworks, such as
QGraphicsView, model/view, QTextDocument, state machines and more.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654418: ITP: eclipse-cdt-qt -- Qt integration for Eclipse CDT

2012-01-03 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: eclipse-cdt-qt
Version: 1.6.1
Upstream Author: Nokia
URL: http://qt.nokia.com/products/eclipse-integration/
License: LGPL-2.1
Description: Qt integration for Eclipse CDT

This plugin allows one to use standard Qt development tools from inside of
Eclipse environment. The main features of the integration are:

 * Fully integrated form editor (Qt Designer)
 * Wizards for creating new Qt projects and classes
 * Integrated .pro file editor
 * Automated build setup for moc, uic, and rcc



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#653190: ITP: eclipse-gef -- Eclipse Graphical Editing Framework

2011-12-24 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: eclipse-gef
Version: 3.7.1
Upstream Author: IBM and others
URL: http://www.eclipse.org/gef/
License: EPL-1.0
Description: Eclipse Graphical Editing Framework

The Graphical Editing Framework (GEF) provides technology to create rich
graphical editors and views for the Eclipse Workbench UI. It bundles three
components:

 * Draw2d (org.eclipse.draw2d) - A layout and rendering toolkit for displaying
   graphics on an SWT Canvas.
 * GEF (MVC) (org.eclipse.gef) - An interactive model-view-controler (MVC)
   framework, which fosters the implementation of SWT-based tree and
   Draw2d-based graphical editors for the Eclipse Workbench UI.
 * Zest (org.eclipse.zest) - A visualization toolkit based on Draw2d, which
   enables implementation of graphical views for the Eclipse Workbench UI.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#638693: Packaging dita-ot

2011-12-12 Thread Jakub Adam

Hi,

during my work on packaging eclipse-wtp[1] I went into a need to package 
dita-ot[2] to be able to rebuild
eclipse html help from DITA files. I never used this tool before and my sole 
purpose of its packaging is to
have it as eclipse-wtp's build-dep which works for me well now, but I found 
that there is an existing
dita-ot RFP[3] which is marked as blocking another bugreport[4].

So before my RFS, I'd like to give people involved in [3] and [4] a chance to 
review the package if in its
current shape is usable for them or needs further improvements. It is available 
in pkg-java git[5].

Regards,

Jakub

[1] http://eclipse.org/webtools
[2] http://dita-ot.sourceforge.net
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555635
[4] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638693
[5] http://anonscm.debian.org/gitweb/?p=pkg-java/dita-ot.git



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#649123: ITP: eclipse-mercurialeclipse -- Mercurial version control integration for Eclipse

2011-11-17 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: eclipse-mercurialeclipse
Version: 1.9.0
Upstream Author: Zingo Andersen and others
URL: http://www.javaforge.com/project/HGE
License: EPL-1.0
Description: Mercurial version control integration for Eclipse

MercurialEclipse is a plugin providing support for the highly popular Mercurial
distributed version control system within the Eclipse IDE.

MercurialEclipse supports:

 * cloning repositories and importing them as Eclipse projects
 * push, pull and convenient syncronization
 * working with branches (branch, merge and rebase)
 * tags
 * undo (backout, rollback and strip)
 * diffs
 * histories
 * patches
 * Mercurial extensions (mqueue, transplant and such)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#647930: Unable to build jgit with protobuf

2011-11-14 Thread Jakub Adam

Hi Thomas,

do you need org.eclipse.jgit.generated.storage.dht.proto artifact for your 
gerrit packaging efforts?
For now I'd like to upload a package without DHT storage and enable it later 
when fix for
protobuf is shipped [1], probably together with next jgit upstream release.

BR

Jakub

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648672



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648672: libprotobuf-java: Maven repo POMs should be installed without reference to parent POM

2011-11-13 Thread Jakub Adam

Package: libprotobuf-java
Version: 2.4.1-1
Severity: normal
Tags: patch

Hi,

when I try to compile JGit library that depends on libprotobuf-java, Maven fails
with following error:

[INFO] Error building POM (may not be this project's POM).


Project ID: com.google.protobuf:protobuf-java:jar:debian

Reason: Cannot find parent: com.google:google for project: com.google.protobuf:protobuf-java:jar:debian for project 
com.google.protobuf:protobuf-java:jar:debian



This is because POM files installed with libprotobuf-java are referencing a 
nonexistent
parent POM. These references should be stripped, simple patch that fixes the 
problem is attached.

BR

Jakub Adam

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libprotobuf-java depends on:
ii  default-jre [java5-runtime]1:1.6-43
ii  gcj-4.6-jre [java5-runtime]4.6.1-9
ii  gcj-jre [java5-runtime]4:4.6.1-3
ii  openjdk-6-jre [java5-runtime]  6b23~pre11-1
ii  openjdk-7-jre [java5-runtime]  7~b147-2.0-1

Versions of packages libprotobuf-java recommends:
pn  protobuf-compiler  none

libprotobuf-java suggests no packages.

-- no debconf information

From 13565709f2ab3d31036596176e3d711af0a6408f Mon, 14 Nov 2011 00:10:21 +0100
From: Jakub Adam jakub.a...@ktknet.cz
Date: Wed, 9 Nov 2011 20:26:09 +0100
Subject: [PATCH] Fix maven repo installed POM


diff --git a/debian/libprotobuf-java.poms b/debian/libprotobuf-java.poms
index f0b7484..8b6d241 100644
--- a/debian/libprotobuf-java.poms
+++ b/debian/libprotobuf-java.poms
@@ -1 +1 @@
-java/pom.xml --artifact=java/target/protobuf.jar --java-lib
+java/pom.xml --artifact=java/target/protobuf.jar --java-lib --no-parent

Bug#647930: Other jgit artifacts

2011-11-08 Thread Jakub Adam
Hi Thomas,

I'd like to look at this. As you already mentioned at [1], there are some 
problems with protobuf related to jgit. I'll check what's the status of that 
package and hopefully upload new jgit soon.

BR

Jakub

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600171#40


Bug#647009: Known upstream bug

2011-11-01 Thread Jakub Adam
Hi Thomas,

thanks for your interest in eclipse-egit. Problem you described is a known 
upstream bug [1]. Fix has not been released yet, I will package a new version 
of egit ASAP when it is out.

BR

Jakub

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=349752


Bug#646058: [librome-java] Missing OSGi metadata in jar manifest

2011-10-20 Thread Jakub Adam

Package: librome-java
Version: 1.0-2
Severity: normal

--- Please enter the report below this line. ---

Hello,

librome-java 1.0-1 supplied OSGi metadata inside jar META-INF/MANIFEST.MF. 
These additional
fields were removed at 1.0-2 because of bug #585578. As I'm packaging an 
Eclipse plugin that
has librome-java as its dependency and needs metadata for compilation, I'd like 
to get
them back.

I reproduced the invalid header field error described in #585578 and found out 
it was caused
by manifest fields with values longer than 72 bytes, that according to jar spec 
should be
split into multiple lines. In such cases jh_manifest added an extra line break 
immediately
after the attribute name, resulting in malformed manfest file.

After rebuilding the package with current version of javahelper in use, this 
bug occurs no
more, so I think there should be no problem with re-enabling insertion of the 
additional
fields into manifest.

Also I noticed that #585578 was fixed by removing jh_manifest from 
debian/rules, but it seems
current javahelper always calls jh_manifest in the build process, so the change 
has no effect
anymore. Because of this, rebuild of 1.0-2 package using the newest tools 
should be enough
to get OSGi metadata back to manifest.

Thank you in advance

Jakub

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends(Version) | Installed
-+-===
libjdom1-java| 1.1.1+dfsg-5


Package's Recommends field is empty.

Suggests  (Version) | Installed
===-+-===
librome-java-doc  (= 1.0-3) |







--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#644654: ITP: eclipse-cdt-pkg-config -- pkg-config support for Eclipse CDT

2011-10-07 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: eclipse-cdt-pkg-config
Version: 0.5.2+svn195
Upstream Author: Petri Tuononen petri.tuono...@gmail.com
URL: http://code.google.com/p/pkg-config-support-for-eclipse-cdt/
License: EPL-1.0
Description: pkg-config support for Eclipse CDT

The aim of the Eclipse plug-in is to provide automation of configuration needed
for projects using pkg-config, such as GTK+ and gtkmm.

The plug-in will set options and switches automatically that gcc needs to add
in the selected packages - specifically the header file paths, the libraries,
and some other gcc switches.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#644535: ITP: eclipse-autotools -- Eclipse Linux Tools: Autotools support for CDT

2011-10-06 Thread Jakub Adam

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

--- Please fill out the fields below. ---

   Package name: eclipse-autotools
Version: 1.0.1
Upstream Author: Eclipse Linux Tools project linuxtools-...@eclipse.org
URL: http://www.eclipse.org/linuxtools/projectPages/autotools/
License: EPL-1.0
Description: Eclipse Linux Tools: Autotools support for CDT

The Autotools suite of plugins add support to the CDT (C/C++ Development Tools) for building and maintaining C/C++ 
projects that use autotools. Using autotools is very common in the world of Open Source projects such as those hosted at 
http://www.gnu.org. With this additional support, a vast repository of C/C++ code can be checked out, built, and 
maintained under the CDT rather easily without having to resort to the command line.


In conjunction with the CDT, the plugin can do the following:

 * Build a C/C++ project that uses a configure script or an autogen script or a 
Makefile.cvs script
 * Create a simple C or C++ hello world Autotools project via a template
 * Allow configuration parameters to be set via a gui and to rebuild when 
configuration parameters are changed
 * Colorized editing of configuration files such as configure.in, configure.ac, 
Makefile.am, and Makefile.in
   with full hover help for autoconf/automake macros
 * Allow specification of multiple build configurations for a single project
 * Run autotools such as autoconf, automake, or aclocal directly using a gui 
interface
 * Help for autoconf and automake



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#644438: [libsvn-java] Missing OSGi metadata

2011-10-05 Thread Jakub Adam

Package: libsvn-java
Version: 1.6.17dfsg-2
Severity: normal
Tags: patch

--- Please enter the report below this line. ---

Hi,

We are trying to make eclipse build from source using the jars from
Debian packages instead of the ones shipped together with eclipse;
however eclipse needs some OSGi metadata in the manifest file of the
jar files.

We believe that this package ships following jar files without this
OSGi-metadata (See [1] for more info):

svn-javahl.jar

This jar is a dependency of eclipse-subclipse package. Attached patch
adds the needed metadata.

--
Thank you in advance,
Debian Orbital Alignment Team
(The team packaging eclipse)

[1] http://lists.debian.org/debian-java/2009/11/msg00106.html

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends   (Version) | Installed
===-+-=
libsvn1(= 1.6.17dfsg-2) | 1.6.17dfsg-2
libapr1  (= 1.2.7) | 1.4.5-1
libc6(= 2.2.5) | 2.13-21
libgcc1(= 1:4.1.1) | 1:4.6.1-11
libstdc++6 (= 4.6) | 4.6.1-11


Package's Recommends field is empty.

Package's Suggests field is empty.
From 8f091e3db1903ee52c01f4a2301ff3dde028b73b Mon Sep 17 00:00:00 2001
From: Jakub Adam jakub.a...@ktknet.cz
Date: Wed, 5 Oct 2011 20:37:30 +0200
Subject: [PATCH] Add OSGi metadata

---
 debian/javahl.manifest   |5 +
 debian/patches/add-osgi-metadata |   22 ++
 debian/patches/series|1 +
 3 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 debian/javahl.manifest
 create mode 100644 debian/patches/add-osgi-metadata

diff --git a/debian/javahl.manifest b/debian/javahl.manifest
new file mode 100644
index 000..352c2fc
--- /dev/null
+++ b/debian/javahl.manifest
@@ -0,0 +1,5 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: org.tigris.subversion.javahl
+Bundle-Version: 1.6.17
+Export-Package: org.tigris.subversion.javahl
diff --git a/debian/patches/add-osgi-metadata b/debian/patches/add-osgi-metadata
new file mode 100644
index 000..2fa9358
--- /dev/null
+++ b/debian/patches/add-osgi-metadata
@@ -0,0 +1,22 @@
+e01c3ab8cffa8abbf968a3c5368352f0993a6caf
+ Makefile.in|3 ++-
+ 1 file changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index aecebad..649e24a 100644
+--- a/Makefile.in
 b/Makefile.in
+@@ -261,7 +261,7 @@ SWIG_RB_SRC_DIR = $(abs_srcdir)/subversion/bindings/swig/ruby
+ ### Automate JAR creation using Makefile generator's javahl-java.jar
+ ### property.  Enhance generator to support JAR installation.
+ INSTALL_EXTRA_JAVAHL_JAVA=\
+-	$(JAR) cf $(JAVAHL_JAR) -C subversion/bindings/javahl/classes org; \
++	$(JAR) cfm $(JAVAHL_JAR) ../debian/javahl.manifest -C subversion/bindings/javahl/classes org; \
+ 	$(INSTALL_DATA) $(JAVAHL_JAR) $(DESTDIR)$(javahl_javadir);
+ 
+ INSTALL_EXTRA_JAVAHL_LIB=@INSTALL_EXTRA_JAVAHL_LIB@
+@@ -808,3 +808,4 @@ clean-ctypes-python:
+ 	  $(PYTHON) setup.py clean --all
+ 
+ extraclean-ctypes-python: clean-ctypes-python
++
diff --git a/debian/patches/series b/debian/patches/series
index 8508b6c..0a0a9a0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -30,3 +30,4 @@ perl-compiler-flags
 sasl-mem-handling
 python-exception-syntax
 po
+add-osgi-metadata
-- 
1.7.6.3



Bug#600171: eclipse-jgit uploaded to mentors.debian.net

2011-09-28 Thread Jakub Adam

Hi Niels,


Have you considered putting this under the Debian Java Team?  Most
(all?) existing eclipse packages are maintained the team in pkg-java's
git repository.


I will ask to join pkg-java project on Alioth and put my changes to git
once my request is accepted (I'm new to Debian packaging, so I hope this
is the right procedure).



Out of curiousity, why do you use debhelper compat 5?


As a starting point I reused debian/ directory from other project,
think it was eclipse-cdt, and it was already there. Neither lintian nor
mentors.debian.org reported this as an error or warning so I left this
untouched. I will update packaging to use the newest recommended
compatibility level.

Jakub



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#600171: eclipse-jgit uploaded to mentors.debian.net

2011-09-27 Thread Jakub Adam

I put JGit package to mentors.debian.net, please review and consider sponsoring 
an upload

http://mentors.debian.net/package/eclipse-jgit

BR,

Jakub



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#640835: [pidgin-libnotify] Use transient hint for event notifications

2011-09-07 Thread Jakub Adam

Package: pidgin-libnotify
Version: 0.14-6
Severity: minor
Tags: patch

--- Please enter the report below this line. ---

notification-daemon somewhere around 0.6.0 release added a 'dock' for 
notifications,
where popups are placed after their timeout expires. User can access the dock by
clicking an envelope icon on gnome panel to view missed events and than has to 
close
each of them manually.

This is useful for important events that need user's attention even after their 
timeout
expired, but can be very annoying with low priority notifications that happen 
very often
just like pidgin-libnotify incoming message notifications. Each received IM 
places a single
bubble to the dock that is then flooded with many uninteresting items and forces
user to open it from time to time and clean the trash. Not only this is 
distracting
but user can even overlook some more important notification amidst the tons of 
IM popups.

I suggest to add transient hint to pidgin notifications, which forces 
notification daemon
to bypass dock and remove the message immediately after its timeout expires. 
User is still
notified of an incoming message by blinking Pidgin's icon on the panel.

The patch expects changes from #640728 to be applied before, reworking it is 
trivial.

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends  (Version) | Installed
==-+-
libatk1.0-0(= 1.12.4) | 2.0.1-2
libc6   (= 2.2.5) | 2.13-18
libcairo2   (= 1.2.4) | 1.10.2-6.1
libfontconfig1  (= 2.8.0) | 2.8.0-3
libfreetype6(= 2.2.1) | 2.4.6-2
libgdk-pixbuf2.0-0 (= 2.22.0) | 2.23.5-3
libglib2.0-0   (= 2.28.0) | 2.28.6-1
libgtk2.0-0 (= 2.8.0) | 2.24.4-3
libnotify4  (= 0.7.0) | 0.7.3-2
libpango1.0-0  (= 1.14.0) | 1.28.4-3
pidgin( 3.0) | 2.10.0-1
pidgin   (= 2.10) | 2.10.0-1


Package's Recommends field is empty.

Package's Suggests field is empty.



From 09e785724200120776a418566c5e8630d7afda36 Mon Sep 17 00:00:00 2001
From: Jakub Adam jakub.a...@ktknet.cz
Date: Wed, 7 Sep 2011 21:47:22 +0200
Subject: [PATCH] Set transient hint on event notifications

It is better to remove them automatically from the stack than forcing
user to clear them manually whenever new message arrives.
---
 src/pidgin-libnotify.c |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/pidgin-libnotify.c b/src/pidgin-libnotify.c
index 161f8f9..bd603e3 100644
--- a/src/pidgin-libnotify.c
+++ b/src/pidgin-libnotify.c
@@ -338,6 +338,9 @@ notify (const gchar *title,
 		notify_notification_add_action (notification, show, _(Show), action_cb, NULL, NULL);
 	}
 
+	notify_notification_set_hint (notification, transient,
+  g_variant_new_boolean (TRUE));
+
 	notification_show (notification);
 }
 
-- 
1.7.5.4



Bug#640728: [pidgin-libnotify] Optionally use libnotify instead of Pidgin action request dialogs

2011-09-06 Thread Jakub Adam

Package: pidgin-libnotify
Version: 0.14-6
Severity: wishlist
Tags: l10n patch

--- Please enter the report below this line. ---

Pidgin uses simple dialog windows to request user action on some events like 
voice call or
accepting an incoming file transfer. These dialogs

- might get easily obscured by other windows or simply get unnoticed on a 
desktop with many open windows
  and many virtual desktops
- may seem ugly to some people

Libnotify popups can be optionally used instead, because

- they are more noticeable on the screen and better attract user's attention to 
important events
- their usage contributes to more consistent desktop environment and thus 
improving user experience

This patch replaces Pidgin's action request dialogs, the ones displayed by 
calling purple_request_action()
or purple_request_action_with_icon(), with libnotify popup bubbles. User then 
interacts with the request
by pressing one of the buttons on the bubble. Correct function requires that

- user enabled the feature in pidgin-libnotify plugin configuration
- notification daemon implementing Desktop Notifications Specification DBUS 
interface is running
- the daemon supports actions server capability and so is able to display 
action buttons on the
  notification bubble

If any of these conditions is not met, plugin's behavior reverts back to 
displaying standard Pidgin
action request dialogs.


--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends  (Version) | Installed
==-+-
libatk1.0-0(= 1.12.4) | 2.0.1-2
libc6   (= 2.2.5) | 2.13-18
libcairo2   (= 1.2.4) | 1.10.2-6.1
libfontconfig1  (= 2.8.0) | 2.8.0-3
libfreetype6(= 2.2.1) | 2.4.6-2
libgdk-pixbuf2.0-0 (= 2.22.0) | 2.23.5-3
libglib2.0-0   (= 2.28.0) | 2.28.6-1
libgtk2.0-0 (= 2.8.0) | 2.24.4-3
libnotify4  (= 0.7.0) | 0.7.3-2
libpango1.0-0  (= 1.14.0) | 1.28.4-3
pidgin( 3.0) | 2.10.0-1
pidgin   (= 2.10) | 2.10.0-1


Package's Recommends field is empty.

Package's Suggests field is empty.



From 9c39dfc1c415d017057f8a87d503b9a3f9f26603 Mon Sep 17 00:00:00 2001
From: Jakub Adam jakub.a...@ktknet.cz
Date: Tue, 6 Sep 2011 22:58:23 +0200
Subject: [PATCH] replace-pidgin-action-requests.diff

---
 po/cs.po   |   20 +++--
 src/Makefile.am|3 +
 src/common.c   |   67 ++
 src/common.h   |   38 ++
 src/pidgin-libnotify.c |   37 +-
 src/request.c  |  182 
 6 files changed, 320 insertions(+), 27 deletions(-)
 create mode 100644 src/common.c
 create mode 100644 src/common.h
 create mode 100644 src/request.c

diff --git a/po/cs.po b/po/cs.po
index 4cb2ea7..c213260 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -6,7 +6,7 @@
 msgid 
 msgstr 
 Project-Id-Version: pidgin-libnotify\n
-POT-Creation-Date: 2011-08-21 12:58+0200\n
+POT-Creation-Date: 2011-09-06 22:17+0200\n
 PO-Revision-Date: 2011-08-21 00:00::00+GMT\n
 Last-Translator: Jakub Adam jakub.a...@ktknet.cz\n
 MIME-Version: 1.0\n
@@ -45,34 +45,38 @@ msgstr Kamarád se odhlásil
 msgid Only when available
 msgstr Jen, když jsem k dispozici
 
-#: ../src/pidgin-libnotify.c:342
+#: ../src/pidgin-libnotify.c:102
+msgid Replace Pidgin request dialogs with libnotify popups
+msgstr Nahradit dotazovací dialogy Pidginu
+
+#: ../src/pidgin-libnotify.c:338
 msgid Show
 msgstr Ukaž
 
-#: ../src/pidgin-libnotify.c:375
+#: ../src/pidgin-libnotify.c:368
 #, c-format
 msgid %s signed on
 msgstr %s se přihlásil
 
-#: ../src/pidgin-libnotify.c:407
+#: ../src/pidgin-libnotify.c:400
 #, c-format
 msgid %s signed off
 msgstr %s se odhlásil
 
-#: ../src/pidgin-libnotify.c:434
+#: ../src/pidgin-libnotify.c:427
 #, c-format
 msgid %s says:
 msgstr %s napsal:
 
-#: ../src/pidgin-libnotify.c:610
+#: ../src/pidgin-libnotify.c:606
 msgid Libnotify Popups
 msgstr Vyskakovací okna libnotify
 
-#: ../src/pidgin-libnotify.c:611
+#: ../src/pidgin-libnotify.c:607
 msgid Displays popups via libnotify.
 msgstr Zobrazuje vyskakovací okna pomocí libnotify
 
-#: ../src/pidgin-libnotify.c:612
+#: ../src/pidgin-libnotify.c:608
 msgid 
 Pidgin-libnotify:\n
 Displays popups via libnotify.
diff --git a/src/Makefile.am b/src/Makefile.am
index ea0d757..ca00c87 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,6 +8,9 @@ gd_LTLIBRARIES = pidgin-libnotify.la
 
 pidgin_libnotify_la_SOURCES = \
 	pidgin-libnotify.c \
+	common.h \ 
+	common.c \
+	request.c \
 	gln_intl.h
 
 pidgin_libnotify_la_LIBADD = $(LIBNOTIFY_LIBS

Bug#635614: Problems with fix-notify-osd.patch

2011-08-22 Thread Jakub Adam

Hi everyone,

the patch linked above is already included in Debian. Still, we have another problem with 
Show button.

I see several problems within fix-notify-osd.diff:

* The name of discussed server capability is actions not action, according to 
http://developer.gnome.org/notification-spec/ (see Table 5. Server Capabilities)

* g_list_index() finds value by comparing pointers, not strings, so search for 
a string constant always returns -1

Because if these two, the Show button is not displayed by *any* notification 
server, even if it supports actions.

* List of capabilities obtained by calling notify_get_server_caps() should be freed after use, (see 
http://developer.gnome.org/libnotify/0.7/libnotify-notify.html#notify-get-server-caps)


Attached file is meant as a replacement for current fix-notify-osd.diff in 
debian/patches

BR

Jakub
From: Jakub Adam jakub.a...@ktknet.cz
Date: Sun, 21 Aug 2011 20:01:57 +0200
Subject: fix-notify-osd.diff

---
 src/pidgin-libnotify.c |7 ++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/pidgin-libnotify.c b/src/pidgin-libnotify.c
index 9e2194d..fc24d4b 100644
--- a/src/pidgin-libnotify.c
+++ b/src/pidgin-libnotify.c
@@ -264,6 +264,7 @@ notify (const gchar *title,
 	PurpleBuddyIcon *buddy_icon;
 	gchar *tr_body;
 	PurpleContact *contact;
+	GList *caps;
 
 	contact = purple_buddy_get_contact (buddy);
 
@@ -318,7 +319,11 @@ notify (const gchar *title,
 
 	notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
 
-	notify_notification_add_action (notification, show, _(Show), action_cb, NULL, NULL);
+	caps = notify_get_server_caps ();
+	if (g_list_find_custom (caps, actions, (GCompareFunc)g_strcmp0)) {
+		notify_notification_add_action (notification, show, _(Show), action_cb, NULL, NULL);
+	}
+	g_list_free_full (caps, g_free);
 
 	if (!notify_notification_show (notification, NULL)) {
 		purple_debug_error (PLUGIN_ID, notify(), failed to send notification\n);
-- 


Bug#638899: [pidgin-libnotify] Compiler warnings in purple_debug_info format strings

2011-08-22 Thread Jakub Adam

Package: pidgin-libnotify
Version: 0.14-5+b1
Severity: minor
Tags: patch

--- Please enter the report below this line. ---

When building the plugin, gcc issues following warning several times:

format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type 
‘struct NotifyNotification *’ [-Wformat]

Attached patch fixes these warnings. As pidgin-libnotify upstream seems 
inactive for some time already,
I am posting it at least here.

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends  (Version) | Installed
==-+-
libatk1.0-0(= 1.12.4) | 2.0.1-2
libc6   (= 2.2.5) | 2.13-16
libcairo2   (= 1.2.4) | 1.10.2-6.1
libfontconfig1  (= 2.8.0) | 2.8.0-3
libfreetype6(= 2.2.1) | 2.4.6-1
libgdk-pixbuf2.0-0 (= 2.22.0) | 2.23.5-3
libglib2.0-0   (= 2.16.0) | 2.28.6-1
libgtk2.0-0 (= 2.8.0) | 2.24.4-3
libnotify4  (= 0.7.0) | 0.7.3-2
libpango1.0-0  (= 1.14.0) | 1.28.4-1
pidgin( 3.0) | 2.9.0-3
pidgin(= 2.9) | 2.9.0-3


Package's Recommends field is empty.

Package's Suggests field is empty.



From: Jakub Adam jakub.a...@ktknet.cz
Date: Sat, 20 Aug 2011 21:49:14 +0200
Subject: fix-printf-warnings.diff

Fix compiler warnings - replace 0x%x - %p in printf format strings

Signed-off-by: Jakub Adam jakub.a...@ktknet.cz
---
 src/pidgin-libnotify.c |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/pidgin-libnotify.c b/src/pidgin-libnotify.c
index 5290584..ab166d1 100644
--- a/src/pidgin-libnotify.c
+++ b/src/pidgin-libnotify.c
@@ -181,7 +181,7 @@ action_cb (NotifyNotification *notification,
 	PurpleConversation *conv = NULL;
 
 	purple_debug_info (PLUGIN_ID, action_cb(), 
-	notification: 0x%x, action: '%s', notification, action);
+	notification: %p, action: '%s', notification, action);
 
 	buddy = (PurpleBuddy *)g_object_get_data (G_OBJECT(notification), buddy);
 
@@ -207,7 +207,7 @@ closed_cb (NotifyNotification *notification)
 {
 	PurpleContact *contact;
 
-	purple_debug_info (PLUGIN_ID, closed_cb(), notification: 0x%x\n, notification);
+	purple_debug_info (PLUGIN_ID, closed_cb(), notification: %p\n, notification);
 
 	contact = (PurpleContact *)g_object_get_data (G_OBJECT(notification), contact);
 	if (contact)
@@ -449,13 +449,13 @@ notify_new_message_cb (PurpleAccount *account,
 
 #ifndef DEBUG /* in debug mode, always show notifications */
 	if (conv  purple_conversation_has_focus (conv)) {
-		purple_debug_info (PLUGIN_ID, Conversation has focus 0x%x\n, conv);
+		purple_debug_info (PLUGIN_ID, Conversation has focus %p\n, conv);
 		return;
 	}
 #endif
 
 	if (conv  purple_prefs_get_bool (/plugins/gtk/libnotify/newconvonly)) {
-		purple_debug_info (PLUGIN_ID, Conversation is not new 0x%x\n, conv);
+		purple_debug_info (PLUGIN_ID, Conversation is not new %p\n, conv);
 		return;
 	}
 
-- 


Bug#638901: [pidgin-libnotify] Make check for presence of my nick in chat message optional

2011-08-22 Thread Jakub Adam

Package: pidgin-libnotify
Version: 0.14-5+b1
Severity: normal
Tags: patch

--- Please enter the report below this line. ---

Upon receiving a new chat message, pidgin-libnotify checks whether my nick is 
present in the message body
and only then lets the notification popup to be displayed. This is useful in 
chatrooms with many
participants and high message traffic, buy might not be desirable in every 
usage scenario.

As I often miss important messages because of this feature, I would really like 
to make it optional.

Attached patch adds to the plugin two new configuration options, one for 
disabling the check-for-a-nick and
second allowing to separately disable all notifications for chat messages, as 
there was no such option before
(as a counterpart for disabling IM notifications).

Default values of both switches are set so that there will be no changes in 
behavior of existing
installations, until user explicitly modifies the settings.

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends  (Version) | Installed
==-+-
libatk1.0-0(= 1.12.4) | 2.0.1-2
libc6   (= 2.2.5) | 2.13-16
libcairo2   (= 1.2.4) | 1.10.2-6.1
libfontconfig1  (= 2.8.0) | 2.8.0-3
libfreetype6(= 2.2.1) | 2.4.6-1
libgdk-pixbuf2.0-0 (= 2.22.0) | 2.23.5-3
libglib2.0-0   (= 2.16.0) | 2.28.6-1
libgtk2.0-0 (= 2.8.0) | 2.24.4-3
libnotify4  (= 0.7.0) | 0.7.3-2
libpango1.0-0  (= 1.14.0) | 1.28.4-1
pidgin( 3.0) | 2.9.0-3
pidgin(= 2.9) | 2.9.0-3


Package's Recommends field is empty.

Package's Suggests field is empty.



From: Jakub Adam jakub.a...@ktknet.cz
Date: Sat, 20 Aug 2011 22:16:09 +0200
Subject: chat-nick-test-optional.diff

Made check for nick in chat message optional

Signed-off-by: Jakub Adam jakub.a...@ktknet.cz
---
 src/pidgin-libnotify.c |   44 +++-
 1 files changed, 31 insertions(+), 13 deletions(-)

diff --git a/src/pidgin-libnotify.c b/src/pidgin-libnotify.c
index ab166d1..3317610 100644
--- a/src/pidgin-libnotify.c
+++ b/src/pidgin-libnotify.c
@@ -58,7 +58,17 @@ get_plugin_pref_frame (PurplePlugin *plugin)
 
 	ppref = purple_plugin_pref_new_with_name_and_label (
 /plugins/gtk/libnotify/newmsg,
-_(New messages));
+_(New IM messages));
+	purple_plugin_pref_frame_add (frame, ppref);
+
+	ppref = purple_plugin_pref_new_with_name_and_label (
+			/plugins/gtk/libnotify/newchat,
+			_(New chat messages));
+	purple_plugin_pref_frame_add (frame, ppref);
+
+	ppref = purple_plugin_pref_new_with_name_and_label (
+			/plugins/gtk/libnotify/chat_check_nick,
+			_(Notify chat only when someone says my username));
 	purple_plugin_pref_frame_add (frame, ppref);
 
 	ppref = purple_plugin_pref_new_with_name_and_label (
@@ -466,20 +476,26 @@ notify_new_message_cb (PurpleAccount *account,
 }
 
 static void
-notify_chat_nick (PurpleAccount *account,
-  const gchar *sender,
-  const gchar *message,
-  PurpleConversation *conv,
-  gpointer data)
+notify_new_chat_cb (PurpleAccount *account,
+	const gchar *sender,
+	const gchar *message,
+	PurpleConversation *conv,
+	gpointer data)
 {
-	gchar *nick;
 
-	nick = (gchar *)purple_conv_chat_get_nick (PURPLE_CONV_CHAT(conv));
-	if (nick  !strcmp (sender, nick))
+	if (!purple_prefs_get_bool (/plugins/gtk/libnotify/newchat))
 		return;
 
-	if (!g_strstr_len (message, strlen(message), nick))
-		return;
+	if (purple_prefs_get_bool (/plugins/gtk/libnotify/chat_check_nick)) {
+		gchar *nick;
+
+		nick = (gchar *)purple_conv_chat_get_nick (PURPLE_CONV_CHAT(conv));
+		if (nick  !strcmp (sender, nick))
+			return;
+
+		if (!g_strstr_len (message, strlen(message), nick))
+			return;
+	}
 
 	notify_msg_sent (account, sender, message);
 }
@@ -510,7 +526,7 @@ plugin_load (PurplePlugin *plugin)
 		PURPLE_CALLBACK(notify_new_message_cb), NULL);
 
 	purple_signal_connect (conv_handle, received-chat-msg, plugin,
-		PURPLE_CALLBACK(notify_chat_nick), NULL);
+		PURPLE_CALLBACK(notify_new_chat_cb), NULL);
 
 	/* used just to not display the flood of guifications we'd get */
 	purple_signal_connect (conn_handle, signed-on, plugin,
@@ -538,7 +554,7 @@ plugin_unload (PurplePlugin *plugin)
 			PURPLE_CALLBACK(notify_new_message_cb));
 
 	purple_signal_disconnect (conv_handle, received-chat-msg, plugin,
-			PURPLE_CALLBACK(notify_chat_nick));
+			PURPLE_CALLBACK(notify_new_chat_cb

Bug#638902: [pidgin-libnotify] Czech (cs) translation

2011-08-22 Thread Jakub Adam

Package: pidgin-libnotify
Version: 0.14-5+b1
Severity: normal
Tags: l10n

--- Please enter the report below this line. ---

Attached patch adds Czech (cs) translation to pidgin-libnotify. It expects that 
patch from Bug#638901 is
applied before.

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstableftp.cz.debian.org
  500 unstableemdebian.org
  500 testing www.debian-multimedia.org
  500 testing security.debian.org
  500 testing ftp.cz.debian.org
1 experimentalftp.debian.org

--- Package information. ---
Depends  (Version) | Installed
==-+-
libatk1.0-0(= 1.12.4) | 2.0.1-2
libc6   (= 2.2.5) | 2.13-16
libcairo2   (= 1.2.4) | 1.10.2-6.1
libfontconfig1  (= 2.8.0) | 2.8.0-3
libfreetype6(= 2.2.1) | 2.4.6-1
libgdk-pixbuf2.0-0 (= 2.22.0) | 2.23.5-3
libglib2.0-0   (= 2.16.0) | 2.28.6-1
libgtk2.0-0 (= 2.8.0) | 2.24.4-3
libnotify4  (= 0.7.0) | 0.7.3-2
libpango1.0-0  (= 1.14.0) | 1.28.4-1
pidgin( 3.0) | 2.9.0-3
pidgin(= 2.9) | 2.9.0-3


Package's Recommends field is empty.

Package's Suggests field is empty.



From: Jakub Adam jakub.a...@ktknet.cz
Date: Mon, 22 Aug 2011 22:17:16 +0200
Subject: add-cs-translation.diff

---
 configure.ac |2 +-
 po/cs.po |   81 ++
 2 files changed, 82 insertions(+), 1 deletions(-)
 create mode 100644 po/cs.po

diff --git a/configure.ac b/configure.ac
index 8bf8d78..3dc90db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,7 +36,7 @@ AH_BOTTOM([
 AC_PROG_INTLTOOL
 GETTEXT_PACKAGE=pidgin-libnotify
 AC_SUBST(GETTEXT_PACKAGE)
-ALL_LINGUAS=es fr it nl pl pt pt_BR sl hu zh_CN ro gl ru bg de sv
+ALL_LINGUAS=bg cs de es fr gl hu it nl pl pt pt_BR ro ru sl sv zh_CN
 AM_GLIB_GNU_GETTEXT
 
 #
diff --git a/po/cs.po b/po/cs.po
new file mode 100644
index 000..4cb2ea7
--- /dev/null
+++ b/po/cs.po
@@ -0,0 +1,81 @@
+# Czech (cs) translation of pidgin-libnotify
+# Copyright (C) 2011 Jakub Adam
+# This file is distributed under the same license as the pidgin-libnotify package.
+# Jakub Adam jakub.a...@ktknet.cz, 2011.
+#
+msgid 
+msgstr 
+Project-Id-Version: pidgin-libnotify\n
+POT-Creation-Date: 2011-08-21 12:58+0200\n
+PO-Revision-Date: 2011-08-21 00:00::00+GMT\n
+Last-Translator: Jakub Adam jakub.a...@ktknet.cz\n
+MIME-Version: 1.0\n
+Content-Type: text/plain; charset=utf-8\n
+Content-Transfer-Encoding: 8bit\n
+
+#: ../src/pidgin-libnotify.c:62
+msgid New IM messages
+msgstr Nové zprávy
+
+#: ../src/pidgin-libnotify.c:67
+msgid New chat messages
+msgstr Nové příspěvky v chatu
+
+#: ../src/pidgin-libnotify.c:72
+msgid Notify chat only when someone says my username
+msgstr Upozornit na chat jen pokud někdo napíše mé uživatelské jméno
+
+#: ../src/pidgin-libnotify.c:77
+msgid Only new conversations
+msgstr Pouze nové konverzace
+
+#: ../src/pidgin-libnotify.c:82
+msgid Ignore events from blocked users
+msgstr Ignorovat události od blokovaných uživatelů
+
+#: ../src/pidgin-libnotify.c:87
+msgid Buddy signs on
+msgstr Kamarád se přihlásil
+
+#: ../src/pidgin-libnotify.c:92
+msgid Buddy signs off
+msgstr Kamarád se odhlásil
+
+#: ../src/pidgin-libnotify.c:97
+msgid Only when available
+msgstr Jen, když jsem k dispozici
+
+#: ../src/pidgin-libnotify.c:342
+msgid Show
+msgstr Ukaž
+
+#: ../src/pidgin-libnotify.c:375
+#, c-format
+msgid %s signed on
+msgstr %s se přihlásil
+
+#: ../src/pidgin-libnotify.c:407
+#, c-format
+msgid %s signed off
+msgstr %s se odhlásil
+
+#: ../src/pidgin-libnotify.c:434
+#, c-format
+msgid %s says:
+msgstr %s napsal:
+
+#: ../src/pidgin-libnotify.c:610
+msgid Libnotify Popups
+msgstr Vyskakovací okna libnotify
+
+#: ../src/pidgin-libnotify.c:611
+msgid Displays popups via libnotify.
+msgstr Zobrazuje vyskakovací okna pomocí libnotify
+
+#: ../src/pidgin-libnotify.c:612
+msgid 
+Pidgin-libnotify:\n
+Displays popups via libnotify.
+msgstr 
+Pidgin-libnotify:\n
+Upozorňuje na příchozí zprávy a další události pomocí vyskakovacích oken.
-- 


Bug#571703: acpi-support: Check for Asus laptop fails in asus-wireless.sh

2010-02-27 Thread Jakub Adam

Subject: acpi-support: Check for Asus laptop fails in asus-wireless.sh
Package: acpi-support
Version: 0.132-2
Severity: important
Tags: patch

Hi,

on some (older?) Asus laptops, DMI table manufacturer string contains ASUSTeK Computer Inc., so the newly introduced 
check fails. Code in /etc/acpi/asus-wireless.sh should be changed to something like


if [ -x /usr/sbin/dmidecode ]; then
VENDOR=`dmidecode -s system-manufacturer`

# On some systems, DMI tables contain manufacturer string
# with trailing space characters. Strip them here.
VENDOR=`echo $VENDOR | sed 's/ *^//g'`

test $VENDOR = Asus \
|| test $VENDOR = ASUSTeK Computer Inc. \
|| exit 0
fi

Observed on Asus A3AC.

Best regards

Jakub Adam




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpi-support depends on:
ii  acpi-support-base0.132-2 scripts for handling base ACPI eve
ii  acpid1:2.0.2-1   Advanced Configuration and Power I
ii  libc62.10.2-2GNU C Library: Shared libraries
ii  lsb-base 3.2-23  Linux Standard Base 3.2 init scrip
ii  pm-utils 1.3.0~rc3-2 utilities and scripts for power ma
ii  x11-xserver-utils7.5+1+b1X server utilities

Versions of packages acpi-support recommends:
ii  dbus  1.2.20-2   simple interprocess messaging syst
ii  dmidecode 2.9-1.2Dump Desktop Management Interface
ii  gnome-screensaver 2.28.0-2   GNOME screen saver and locker
ii  hal   0.5.14-2   Hardware Abstraction Layer
pn  radeontoolnone (no description available)
ii  vbetool   1.1-2  run real-mode video BIOS code to a

Versions of packages acpi-support suggests:
ii  rfkill0.4-1  tool for enabling and disabling wi
pn  toshset   none (no description available)
ii  xinput1.5.0-2Runtime configuration and test of

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#562696: libgloox7: Too short receive timeout causes gloox to busy wait

2009-12-26 Thread Jakub Adam

Subject: libgloox7: Too short receive timeout causes gloox to busy wait
Package: libgloox7
Version: 0.9.9.5-1.2
Severity: normal
Tags: patch

In ConnectionTCPBase::receive(), there is a line:

while( !m_cancel  ( err = recv( 10 ) ) == ConnNoError )

This is a timeout of 10 microseconds, which causes recv() to immediately timeout and  in fact busy-wait, uselessly 
eating significant amount of CPU time. More sane timeout value should be used.


Bug can be solved with following small patch or by updating the package to version in upstream  SVN branch 1.0, where 
this is already fixed.



--- gloox-0.9.9.5/src/connectiontcpbase.cpp 2008-04-26 13:47:24.0 
+0200
+++ connectiontcpbase.cpp   2009-12-27 02:40:39.940853288 +0100
@@ -107,7 +107,7 @@
   return ConnNotConnected;

 ConnectionError err = ConnNoError;
-while( !m_cancel  ( err = recv( 10 ) ) == ConnNoError )
+while( !m_cancel  ( err = recv( 100 ) ) == ConnNoError )
   ;
 return err == ConnNoError ? ConnNotConnected : err;
   }



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgloox7 depends on:
ii  libc6  2.10.2-2  GNU C Library: Shared libraries
ii  libgcc11:4.4.2-3 GCC support library
ii  libgnutls262.8.5-2   the GNU TLS library - runtime libr
ii  libidn11   1.15-2GNU Libidn library, implementation
ii  libstdc++6 4.4.2-3   The GNU Standard C++ Library v3
ii  zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime

libgloox7 recommends no packages.

libgloox7 suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#561953: Broken package build

2009-12-25 Thread Jakub Adam

acpi-support binary package version 0.131-3 does not fix the issue, because
file asus-wireless-wlan is not copied into /etc/acpi/events.

Line

debian/addons/events/asus-wireless-wlan /etc/acpi/events

should be added to debian/acpi-support.install in source package.

With rebuilt package installed, the wifi button starts to work correctly.



smime.p7s
Description: S/MIME Cryptographic Signature


Bug#562080: xul-ext-traybiff: mail LED notification does not work on Asus laptops

2009-12-22 Thread Jakub Adam

Subject: xul-ext-traybiff: mail LED notification does not work on Asus laptops
Package: xul-ext-traybiff
Version: 1.2.3-7
Severity: normal
Tags: patch

This plugin is able to autodetect LEDs present on some laptops and use them for 
notifications on new mail
arrival (in addition to icon in system panel). Unfortunately this functionality 
will not work on
Asus laptops, because the position of special file used to control the LED 
state changed.
Following little patch can be used to fix the issue:

--- traybiff-1.2.3/components/nsMessengerFreeDesktopIntegration.cpp 
2007-05-19 10:01:55.0 +0200
+++ nsMessengerFreeDesktopIntegration.cpp   2009-12-22 00:29:35.0 
+0100
@@ -93,6 +93,8 @@
 const char* HW_INDICATOR_CONTROL_FILENAMES[] = {
// ASUS laptop led on Linux
/proc/acpi/asus/mled,
+   // ASUS laptop led on Linux, newer interface
+   /sys/class/leds/asus::mail/brightness,
// ACER New Mail led on Linux
/proc/driver/acerhk/led
 };

Also, to work properly, file /sys/class/leds/asus::mail/brightness must be 
writable by regular users.
Permissions must be changed after every boot and this can be done by following 
init script

--- begin of /etc/init.d/mailled-permissions ---

#! /bin/sh
### BEGIN INIT INFO
# Provides:  mailled-permissions
# Required-Start:$remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop:  0 1 6
# Short-Description: Allows control of mail leds on some laptops by regular 
users
# Description:   Sets permissions of special files in /proc and /sys to 
make them
#writable by all users, so applications as mail clients can 
use
#the leds for notification on incoming mail.
### END INIT INFO

# Author: Jakub Adam jakub.a...@ktknet.cz

PATH=/sbin:/usr/sbin:/bin:/usr/bin
SCRIPTNAME=/etc/init.d/mailled-permissions

MAIL_LED_FILES=
 /proc/acpi/asus/mled
 /sys/class/leds/asus::mail/brightness
 /proc/driver/acerhk/led

case $1 in
  start)
for LED in $MAIL_LED_FILES; do
if [ -f $LED ]; then
chmod 666 $LED
fi
done;
exit 0;
;;
  *)
echo Usage: $SCRIPTNAME {start} 2
exit 3
;;
esac

--- end of /etc/init.d/mailled-permissions ---



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xul-ext-traybiff depends on:
ii  libatk1.0-0   1.28.0-1   The ATK accessibility toolkit
ii  libc6 2.10.2-2   GNU C Library: Shared libraries
ii  libcairo2 1.8.8-2The Cairo 2D vector graphics libra
ii  libfontconfig12.6.0-4.2  generic font configuration library
ii  libfreetype6  2.3.11-1   FreeType 2 font engine, shared lib
ii  libgcc1   1:4.4.2-3  GCC support library
ii  libglib2.0-0  2.22.3-1   The GLib library of C routines
ii  libgtk2.0-0   2.18.3-1   The GTK+ graphical user interface
ii  libnspr4-0d   4.8.2-1NetScape Portable Runtime Library
ii  libpango1.0-0 1.26.1-1   Layout and rendering of internatio
ii  libstdc++64.4.2-3The GNU Standard C++ Library v3

Versions of packages xul-ext-traybiff recommends:
ii  icedove 2.0.0.22-0lenny1 free/unbranded thunderbird mail/ne

Versions of packages xul-ext-traybiff suggests:
pn  gnome-desktop-environment | i none (no description available)

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#561953: acpi-support: wireless control button does not work on Asus A3A

2009-12-21 Thread Jakub Adam

Subject: acpi-support: wireless control button does not work on Asus A3A
Package: acpi-support
Version: 0.130-1
Severity: normal
Tags: patch

Hi,

I had some trouble get wireless control button (Fn+F2) on my Asus A3A laptop to 
work and managed to wrote a patch for this functionality,
hope you find it useful.

I use ipw2200 driver with my wifi.

Basic changes done:

/usr/share/acpi-support/state-funcs
- /sys/class/net/*/wireless directory does not exist in my system, reading 
through some forum posts I found that this interface is deprecated,
so probably it was removed some time ago. As a workaround, I obtained names of 
wireless interfaces by parsing /proc/net/wireless file.

added new file /etc/acpi/events/asus-wireless-toggle
- event generated by the button was not recognized by acpid, this file handles 
the event calling /etc/acpi/asus-wireless.sh with no arguments


--- /usr/share/acpi-support/state-funcs 2009-12-20 21:45:57.0 +0100
+++ /home/haakon/state-funcs2009-12-21 14:30:57.0 +0100
@@ -1,28 +1,30 @@
 # Paul Sladen, 2006-03-28, 2007-03-26
 # Library functions to check/change status of wireless

+IFACE_NAMES=`cut -d: -f1 -s /proc/net/wireless`
+
 # Return 0 if there is, allowing you to write   if isAnyWirelessPoweredOn; 
then ...
 isAnyWirelessPoweredOn()
 {
-for DEVICE in /sys/class/net/* ; do
-   if [ -d $DEVICE/wireless ]; then
-   for RFKILL in $DEVICE/phy80211/rfkill*/state 
$DEVICE/device/rfkill/rfkill*/state
-   do
-   if [ -r $RFKILL ]  [ $(cat $RFKILL) -eq 1 ]
-   then
-   return 0
-   fi
-   done
-   # if any of the wireless devices are turned on then return success
-   if [ -r $DEVICE/device/power/state ]  [ `cat 
$DEVICE/device/power/state` -eq 0 ]
-   then
-   return 0
-   fi
-   if [ -r $DEVICE/device/rf_kill ]  [ `cat 
$DEVICE/device/rf_kill` -eq 0 ]
-   then
-   return 0
-   fi
-   fi
+for NET_IF in $IFACE_NAMES ; do
+DEVICE=/sys/class/net/$NET_IF
+
+for RFKILL in $DEVICE/phy80211/rfkill*/state 
$DEVICE/device/rfkill/rfkill*/state
+do
+if [ -r $RFKILL ]  [ $(cat $RFKILL) -eq 1 ]
+then
+return 0
+fi
+done
+# if any of the wireless devices are turned on then return success
+if [ -r $DEVICE/device/power/state ]  [ `cat 
$DEVICE/device/power/state` -eq 0 ]
+then
+return 0
+fi
+if [ -r $DEVICE/device/rf_kill ]  [ `cat $DEVICE/device/rf_kill` 
-eq 0 ]
+then
+return 0
+fi
 done

 # otherwise return failure
@@ -35,75 +37,72 @@
 # will fail on =2.6.18 kernels since upstream removed the functionality...
 toggleAllWirelessStates()
 {
-for DEVICE in /sys/class/net/* ; do
-   if [ -d $DEVICE/wireless ] ; then
-   # $DEVICE is a wireless device.
-   NET_IF=`echo $DEVICE | cut -d \/ -f 5`
-
-   FOUND=
-   # Yes, that's right... the new interface reverses the truth values.
-   ON=1
-   OFF=0
-   for CONTROL in $DEVICE/phy80211/rfkill*/state 
$DEVICE/device/rfkill/rfkill*/state; do
-   if [ -w $CONTROL ]; then
-   FOUND=1
-
-   if [ $(cat $CONTROL) = $ON ] ; then
-   # It's powered on. Switch it off.
-   echo -n $OFF  $CONTROL
-   else
-   # It's powered off. Switch it on.
-   echo -n $ON  $CONTROL
-   fi
-   fi
-   done
-   # it might be safe to assume that a device only supports one
-   # interface at a time; but just in case, we short-circuit
-   # here to avoid toggling the power twice
-   if [ -n $FOUND ]; then
-   continue
-   fi
-
-   ON=0
-   OFF=1  # 1 for rf_kill, 2 for power/state
-   for CONTROL in $DEVICE/device/rf_kill $DEVICE/device/power/state ; 
do
-   if [ -w $CONTROL ] ; then
-   # We have a way of controlling the device, lets try
-   if [ `cat $CONTROL` = 0 ] ; then
-   # It's powered on. Switch it off.
-   if echo -n $OFF  $CONTROL ; then
-   ifdown ${NET_IF}
-   break
-   else
-   OFF=2 # for power/state, second time around
-   fi
-   else
-   # It's powered off. Switch it on.
-   if echo -n $ON  $CONTROL ; then
-   ifup ${NET_IF}
-   if [ -x /sbin/wpa_cli ]; then
-   wpa_cli scan
-   fi
-   break
-   fi
-   

<    1   2