New version of moserial available upstream

Bug #713931 reported by Tarun K. Mall
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
moserial (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: moserial

New version of package moserial available upstream.
Current package needs upgradation.
Thank you

Tarun K. Mall (c2tarun)
Changed in moserial (Ubuntu):
status: New → Confirmed
assignee: nobody → TARUN KUMAR MALL (c2tarun)
Micah Gersten (micahg)
Changed in moserial (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Tarun K. Mall (c2tarun) wrote :

this is my work on this bug.
Looking forward to the reviews
Thank you

Tarun K. Mall (c2tarun)
Changed in moserial (Ubuntu):
assignee: TARUN KUMAR MALL (c2tarun) → nobody
Tarun K. Mall (c2tarun)
Changed in moserial (Ubuntu):
assignee: nobody → TARUN KUMAR MALL (c2tarun)
assignee: TARUN KUMAR MALL (c2tarun) → nobody
Revision history for this message
Angel Abad (angelabad) wrote :

Hi Tarun, this package ftbfs with nattys current valac:

   dh_auto_build
make[1]: se ingresa al directorio «/tmp/aaa/moserial-2.30.0»
/usr/bin/valac -C --pkg gtk+-2.0 --pkg gdk-2.0 --pkg Config --pkg posix --pkg gconf-2.0 --vapidir src/ --basedir . src/MainWindow.vala src/Main.vala src/SettingsDialog.vala src/Settings.vala src/SendProgressDialog.vala src/ReceiveChooserDialog.vala src/ReceiveProgressDialog.vala src/RecordDialog.vala src/PreferencesDialog.vala src/SerialConnection.vala src/HexTextBuffer.vala src/SerialStreamRecorder.vala src/InputParser.vala src/Rzwrapper.vala src/XmodemFilenameDialog.vala src/SendChooserDialog.vala src/Szwrapper.vala src/AutoScroll.vala src/Preferences.vala src/Profile.vala src/DefaultPaths.vala src/MoUtils.vala
posix.vapi:217.17-217.20: warning: deprecated syntax, use `unowned` modifier
  public static weak string to_string (int err_no);
                ^^^^
posix.vapi:471.31-471.37: warning: deprecated syntax, use [CCode (has_target = false)]
  public static delegate void Handler (int sig_num);
                              ^^^^^^^
posix.vapi:505.31-505.43: warning: deprecated syntax, use [CCode (has_target = false)]
  public static delegate void ActionHandler (int sig_num, Info info, void* context);
                              ^^^^^^^^^^^^^
src/MainWindow.vala:719.31-719.36: error: `Action' is an ambiguous reference between `GLib.Action' and `Gtk.Action'
 private void showHelpAction (Action a) {
                              ^^^^^^
src/MainWindow.vala:874.24-874.29: error: `Action' is an ambiguous reference between `GLib.Action' and `Gtk.Action'
 private void editMenu(Action a) {
                       ^^^^^^
src/MainWindow.vala:127.32-127.37: error: `Action' is an ambiguous reference between `GLib.Action' and `Gtk.Action'
                Action quit = (Action)builder.get_object("menubar_quit");
                               ^^^^^^
src/MainWindow.vala:127.17-127.22: error: `Action' is an ambiguous reference between `GLib.Action' and `Gtk.Action'
                Action quit = (Action)builder.get_object("menubar_quit");
                ^^^^^^
src/MainWindow.vala:129.34-129.39: error: `Action' is an ambiguous reference between `GLib.Action' and `Gtk.Action'
                Action saveAs = (Action)builder.get_object("menubar_save_settings_as");

I got this error applying your debdiff, thanks for your work.

Revision history for this message
Micah Gersten (micahg) wrote :

Please resubscribe ubuntu-sponsors when this is fixed.

Changed in moserial (Ubuntu):
assignee: nobody → TARUN KUMAR MALL (c2tarun)
status: Confirmed → Incomplete
Revision history for this message
mjc (mjc-avtechpulse) wrote :

Maybe someone can test upstream moserial from git master. It should fix the above issues. If it does, I'll release it as 2.32.0.

- Mike

Revision history for this message
Angel Abad (angelabad) wrote :
Download full text (5.0 KiB)

Hi Michael with valac 0.11.5-0ubuntu1, I got this error in natty with git master branch.

# make
valac -C --pkg gtk+-2.0 --pkg gdk-2.0 --pkg Config --pkg posix --pkg gconf-2.0 --vapidir src/ --basedir . src/MainWindow.vala src/Main.vala src/SettingsDialog.vala src/Settings.vala src/SendProgressDialog.vala src/ReceiveChooserDialog.vala src/ReceiveProgressDialog.vala src/RecordDialog.vala src/PreferencesDialog.vala src/SerialConnection.vala src/HexTextBuffer.vala src/SerialStreamRecorder.vala src/InputParser.vala src/Rzwrapper.vala src/XmodemFilenameDialog.vala src/SendChooserDialog.vala src/Szwrapper.vala src/AutoScroll.vala src/Preferences.vala src/Profile.vala src/DefaultPaths.vala src/MoUtils.vala
src/Profile.vala:103.14-103.17: error: Argument 1: Cannot convert from `string?' to `uint8[]'
   fos.write(data, s, null);
             ^^^^
src/InputParser.vala:31.2-31.31: error: error type `HexParseError` is less accessible than method `InputParser.parseHex`
 public static uchar[] parseHex(string s) throws HexParseError {
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/SendChooserDialog.vala:35.36-35.51: warning: Gtk.STOCK_CANCEL has been deprecated since vala-0.12. Use Gtk.Stock.CANCEL
                dialog.add_buttons(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.ACCEPT, null);
                                   ^^^^^^^^^^^^^^^^
src/SendChooserDialog.vala:35.79-35.90: warning: Gtk.STOCK_OK has been deprecated since vala-0.12. Use Gtk.Stock.OK
                dialog.add_buttons(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.ACCEPT, null);
                                                                              ^^^^^^^^^^^^
src/ReceiveChooserDialog.vala:36.36-36.51: warning: Gtk.STOCK_CANCEL has been deprecated since vala-0.12. Use Gtk.Stock.CANCEL
                dialog.add_buttons(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.ACCEPT, null);
                                   ^^^^^^^^^^^^^^^^
src/ReceiveChooserDialog.vala:36.79-36.90: warning: Gtk.STOCK_OK has been deprecated since vala-0.12. Use Gtk.Stock.OK
                dialog.add_buttons(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.ACCEPT, null);
                                                                              ^^^^^^^^^^^^
src/SerialStreamRecorder.vala:49.18-49.18: error: Argument 2: Cannot convert from `int' to `GLib.Cancellable?'
    fos.write(o, 1, null);
                 ^
src/RecordDialog.vala:40.36-40.51: warning: Gtk.STOCK_CANCEL has been deprecated since vala-0.12. Use Gtk.Stock.CANCEL
                dialog.add_buttons(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_SAVE, Gtk.ResponseType.ACCEPT, null);
                                   ^^^^^^^^^^^^^^^^
src/RecordDialog.vala:40.79-40.92: warning: Gtk.STOCK_SAVE has been deprecated since vala-0.12. Use Gtk.Stock.SAVE
                dialog.add_buttons(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_SAVE, Gtk.ResponseType.ACCEPT, null);
                                                                              ^^^^^^^^^^^^^^
src/Rzwrapper.vala:172.9-172.20: warning: string.str is deprecated. Use stri...

Read more...

Tarun K. Mall (c2tarun)
Changed in moserial (Ubuntu):
status: Incomplete → In Progress
Tarun K. Mall (c2tarun)
Changed in moserial (Ubuntu):
assignee: TARUN KUMAR MALL (c2tarun) → nobody
status: In Progress → Confirmed
Revision history for this message
mjc (mjc-avtechpulse) wrote :

There is a 2.32.0 release now, which should hopefully build cleanly on Ubuntu. It builds on Fedora 14, anyway.

- Mike

Revision history for this message
Tarun K. Mall (c2tarun) wrote :

@Michael Chudobiak
Thanks a lot for telling.
I'll look into it and upload as soon as possible.

Tarun K. Mall (c2tarun)
Changed in moserial (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → TARUN KUMAR MALL (c2tarun)
Revision history for this message
Tarun K. Mall (c2tarun) wrote :
Download full text (14.4 KiB)

@Michael Chudobiak

The new version is also not building cleanly. There are some errors.
Here is the output of my debuild.
 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package moserial
dpkg-buildpackage: source version 2.32.0-0ubuntu1
dpkg-buildpackage: source changed by Tarun Kumar Mall <email address hidden>
 dpkg-source --before-build moserial-2.32.0
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh --with quilt clean
   dh_testdir
   dh_auto_clean
make[1]: Entering directory `/home/tarun/source/moserial/moserial-2.32.0'
Making distclean in po
make[2]: Entering directory `/home/tarun/source/moserial/moserial-2.32.0/po'
rm -f *.pox moserial.pot *.old.po cat-id-tbl.tmp
rm -f .intltool-merge-cache
rm -f Makefile Makefile.in POTFILES stamp-it
rm -f *.mo *.msg *.cat *.cat.m *.gmo
make[2]: Leaving directory `/home/tarun/source/moserial/moserial-2.32.0/po'
Making distclean in doc
make[2]: Entering directory `/home/tarun/source/moserial/moserial-2.32.0/doc'
rm -rf .libs _libs
rm -f moserial-C.omf moserial-cs.omf moserial-de.omf moserial-es.omf moserial-sl.omf moserial-sv.omf moserial-html-C.omf moserial-html-cs.omf moserial-html-de.omf moserial-html-es.omf moserial-html-sl.omf moserial-html-sv.omf
rm -f cs/moserial.xml de/moserial.xml es/moserial.xml sl/moserial.xml sv/moserial.xml
rm -f cs/cs.mo de/de.mo es/es.mo sl/sl.mo sv/sv.mo
rm -f *.lo
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f Makefile
make[2]: Leaving directory `/home/tarun/source/moserial/moserial-2.32.0/doc'
Making distclean in data
make[2]: Entering directory `/home/tarun/source/moserial/moserial-2.32.0/data'
Making distclean in icons
make[3]: Entering directory `/home/tarun/source/moserial/moserial-2.32.0/data/icons'
Making distclean in 48x48
make[4]: Entering directory `/home/tarun/source/moserial/moserial-2.32.0/data/icons/48x48'
Making distclean in apps
make[5]: Entering directory `/home/tarun/source/moserial/moserial-2.32.0/data/icons/48x48/apps'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f Makefile
make[5]: Leaving directory `/home/tarun/source/moserial/moserial-2.32.0/data/icons/48x48/apps'
Making distclean in .
make[5]: Entering directory `/home/tarun/source/moserial/moserial-2.32.0/data/icons/48x48'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[5]: Leaving directory `/home/tarun/source/moserial/moserial-2.32.0/data/icons/48x48'
rm -f Makefile
make[4]: Leaving directory `/home/tarun/source/moserial/moserial-2.32.0/data/icons/48x48'
Making distclean in .
make[4]: Entering directory `/ho...

Changed in moserial (Ubuntu):
status: In Progress → Confirmed
assignee: TARUN KUMAR MALL (c2tarun) → nobody
Revision history for this message
mjc (mjc-avtechpulse) wrote :

Sigh. It looks like lots has changed in vala 0.12.x. We'll need to add lots of:

#if VALA_0_12
... Code for Vala >= 0.11
#else
... Code for older Vala
#endif

I'm not sure when that will happen. Patches, anyone?

- Mike

Revision history for this message
mjc (mjc-avtechpulse) wrote :

There is a 3.0.0 release of moserial now, which should build on vala 0.12/0.13.

- Mike

Revision history for this message
Ilya Barygin (randomaction) wrote :

3.0.1 is in Oneiric.

Changed in moserial (Ubuntu):
status: Confirmed → Fix Released
tags: added: upgrade-software-version
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.