On Sat, 20 Jul 2013, Sebastian Ramacher escribió:

> Hi Rodolfo,
> 
> On 2013-07-20 01:31:13, Rodolfo García Peñas wrote:
> > On Fri, 19 Jul 2013, Sebastian Ramacher escribió:
> > 
> > > On 2013-07-19 08:21:21, Rodolfo García Peñas (kix) wrote:
> > > > I am not familiar with NMU uploads, but IMHO you can contact with me
> > > > again or tell me that you will do an NMU first, but anyway, it is done
> > > > now :-) I will create a new version for this package this weekend, I
> > > > need to include other changes, like the maintainer email from
> > > > k...@kix.es to k...@debian.org. Please, increase the delay from
> > > > DELAYED/1 to (at least) DELAYED/4.
> > > 
> > > Done, rescheduled to DELAYED/4. If you want me to delay the upload 
> > > further or
> > > cancel it, please say so and I'll happily reschedule or cancel it.
> > > 
> > > Regards
> > > -- 
> > > Sebastian Ramacher
> > 
> > Hi Sebastian,
> > 
> > the patch proposed is not valid :-( With your patch, wmauda could be 
> > builded, but the application cannot run:
> > 
> > --------8<--------------
> > kix@osaka:~/src$ wmauda
> > 
> > (wmauda:30782): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and 
> > GTK+ 3 in the same process is not supported
> > `trap' para punto de parada/seguimiento
> 
> You've dropped -Wl,--as-needed from the flags used to build wmauda in
> debian/rules. This causes wmauda to be uselessly linked against
> libaudgui.so.1 which is linked against libgtk-3.so.0. Now wmauda is
> linked against both versions of GTK+ and this leads to the error
> message.
> 
> Hope this helps
> -- 
> Sebastian Ramacher

Thanks a lot Sebastian,

the new debian/rules file is:

---------8<--------
#!/usr/bin/make -f
#export DH_VERBOSE=1

export CFLAGS=$(shell dpkg-buildflags --get CFLAGS) -Wl,--as-needed
export DEB_CFLAGS_MAINT_APPEND += $(shell dpkg-buildflags --get LDFLAGS)

%:
        dh $@

override_dh_auto_build:
        CFLAGS="$(CFLAGS)" $(MAKE)

override_dh_auto_install:
        # Add here commands to install the package into debian/wmauda.
        $(MAKE) DESTDIR=$(CURDIR)/debian/wmauda PREFIX=/usr install
---------8<--------

And now it seems to be ok:

- No problems about hardening
- No problems with linking

I will make some checks before upload it, but it seems to be OK.

Again, thanks a lot for your help.
Rodolfo.
-- 
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/


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

Reply via email to