Changeset 8

Show
Ignore:
Timestamp:
11/07/06 17:06:17 (2 years ago)
Author:
inz
Message:

Fix compile and linking errors, clean up final package.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • maemo-blog/trunk/Makefile

    r6 r8  
    3636 
    3737maemo_blog_CFLAGS += $(shell if pkg-config hildon-fm --exists; then pkg-config hildon-fm --cflags; echo -DHILDON_FM; fi) 
    38 maemo_blog_LIBS += $(shell if pkg-config hildon-fm --exists; then pkg-config hildon-fm --libs; fi) 
     38maemo_blog_LDFLAGS += $(shell if pkg-config hildon-fm --exists; then pkg-config hildon-fm --libs; fi) 
    3939maemo_blog_CFLAGS += $(shell if pkg-config hildon-libs --exists; then pkg-config hildon-libs --cflags; echo -DHILDON; else pkg-config gtk+-2.0 --cflags; fi) 
    4040maemo_blog_LDFLAGS += $(shell if pkg-config hildon-libs --exists; then pkg-config hildon-libs --libs; else pkg-config gtk+-2.0 --libs; fi) 
  • maemo-blog/trunk/debian/rules

    r2 r8  
    5757 
    5858        # Add here commands to install the package into debian/maemo-blog. 
    59         $(MAKE) install DESTDIR=$(CURDIR)/debian/maemo-blog 
     59        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 
    6060 
    6161 
     
    7272        dh_installexamples 
    7373        dh_installman 
     74        dh_install --sourcedir=debian/tmp 
    7475        dh_link 
    7576        dh_strip 
  • maemo-blog/trunk/gui.c

    r6 r8  
    188188{ 
    189189#ifdef HILDON_FM 
    190         GtkWidget *dialog = hildon_file_chooser_dialog_new("Open file...", 
     190        GtkWidget *dialog = hildon_file_chooser_dialog_new( 
    191191                        GTK_WINDOW(gtk_widget_get_toplevel( 
    192192                                        GTK_WIDGET(object))), 
    193193                        GTK_FILE_CHOOSER_ACTION_OPEN); 
     194        gtk_window_set_title(GTK_WINDOW(dialog), "Open file..."); 
    194195        gtk_dialog_add_buttons(GTK_DIALOG(dialog), 
    195196                        "Ok", GTK_RESPONSE_OK,