[arch-commits] Commit in gtkpod/repos (8 files)

Tom Gundersen tomegun at nymeria.archlinux.org
Sat May 11 16:04:22 UTC 2013


    Date: Saturday, May 11, 2013 @ 18:04:21
  Author: tomegun
Revision: 90338

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gtkpod/repos/community-staging-i686/
  gtkpod/repos/community-staging-i686/PKGBUILD
    (from rev 90337, gtkpod/trunk/PKGBUILD)
  gtkpod/repos/community-staging-i686/gtkpod-2.1.3-gdl-3.6.patch
    (from rev 90337, gtkpod/trunk/gtkpod-2.1.3-gdl-3.6.patch)
  gtkpod/repos/community-staging-i686/gtkpod.install
    (from rev 90337, gtkpod/trunk/gtkpod.install)
  gtkpod/repos/community-staging-x86_64/
  gtkpod/repos/community-staging-x86_64/PKGBUILD
    (from rev 90337, gtkpod/trunk/PKGBUILD)
  gtkpod/repos/community-staging-x86_64/gtkpod-2.1.3-gdl-3.6.patch
    (from rev 90337, gtkpod/trunk/gtkpod-2.1.3-gdl-3.6.patch)
  gtkpod/repos/community-staging-x86_64/gtkpod.install
    (from rev 90337, gtkpod/trunk/gtkpod.install)

-----------------------------------------------------+
 community-staging-i686/PKGBUILD                     |   40 ++++++++++++
 community-staging-i686/gtkpod-2.1.3-gdl-3.6.patch   |   59 ++++++++++++++++++
 community-staging-i686/gtkpod.install               |   12 +++
 community-staging-x86_64/PKGBUILD                   |   40 ++++++++++++
 community-staging-x86_64/gtkpod-2.1.3-gdl-3.6.patch |   59 ++++++++++++++++++
 community-staging-x86_64/gtkpod.install             |   12 +++
 6 files changed, 222 insertions(+)

Copied: gtkpod/repos/community-staging-i686/PKGBUILD (from rev 90337, gtkpod/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-05-11 16:04:21 UTC (rev 90338)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer:  Federico Cinelli <cinelli at aur.archlinux.org>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=gtkpod
+pkgver=2.1.3
+pkgrel=4
+pkgdesc="A platform independent GUI for Apple's iPod using GTK3"
+arch=('i686' 'x86_64')
+url="http://gtkpod.sourceforge.net"
+license=('GPL')
+depends=('libanjuta' 'curl' 'flac' 'libid3tag' 'libgpod' 'awk' 'hicolor-icon-theme' 'libwebkit3')
+makedepends=('flex' 'intltool' 'faad2' 'libvorbis')
+optdepends=('libmp4v2: MP4/h264 support'
+            'vorbis-tools: OGG support'
+	    'libvorbis: OGG support'
+            'id3v2: mp3 conversion support'
+            'faad2: m4a conversion support')
+install=gtkpod.install
+options=('!libtool')
+source=("http://downloads.sourceforge.net/gtkpod/$pkgname-$pkgver.tar.gz"
+	gtkpod-2.1.3-gdl-3.6.patch)
+md5sums=('57f04578de6e3262a436ec574422b144'
+	 '94a4cc0b47ba8895c0a51e53e94da517')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -p1 -i "$srcdir/gtkpod-2.1.3-gdl-3.6.patch"
+  sed -i 's#python#python2#' scripts/sync-palm-jppy.py
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: gtkpod/repos/community-staging-i686/gtkpod-2.1.3-gdl-3.6.patch (from rev 90337, gtkpod/trunk/gtkpod-2.1.3-gdl-3.6.patch)
===================================================================
--- community-staging-i686/gtkpod-2.1.3-gdl-3.6.patch	                        (rev 0)
+++ community-staging-i686/gtkpod-2.1.3-gdl-3.6.patch	2013-05-11 16:04:21 UTC (rev 90338)
@@ -0,0 +1,59 @@
+Index: gtkpod-2.1.3/src/anjuta-action-callbacks.c
+===================================================================
+--- gtkpod-2.1.3.orig/src/anjuta-action-callbacks.c
++++ gtkpod-2.1.3/src/anjuta-action-callbacks.c
+@@ -65,7 +65,7 @@ void
+ on_layout_lock_toggle (GtkAction *action, AnjutaApp *app)
+ {
+ 	if (app->layout_manager)
+-		g_object_set (app->layout_manager->master, "locked",
++		g_object_set (gdl_dock_layout_get_master (app->layout_manager), "locked",
+ 					  gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)),
+ 					  NULL);
+ }
+Index: gtkpod-2.1.3/src/anjuta-app.c
+===================================================================
+--- gtkpod-2.1.3.orig/src/anjuta-app.c
++++ gtkpod-2.1.3/src/anjuta-app.c
+@@ -252,7 +252,7 @@ static void on_gdl_style_changed(GSettin
+     else if (g_strcmp0(pr_style, "Tabs") == 0)
+         style = GDL_SWITCHER_STYLE_TABS;
+ 
+-    g_object_set(G_OBJECT(app->layout_manager->master), "switcher-style", style, NULL);
++    g_object_set(G_OBJECT(gdl_dock_layout_get_master (app->layout_manager)), "switcher-style", style, NULL);
+     g_free(pr_style);
+ }
+ 
+@@ -478,14 +478,14 @@ static void anjuta_app_instance_init(Anj
+     gtk_widget_show(app->dock);
+     gtk_box_pack_end(GTK_BOX (hbox), app->dock, TRUE, TRUE, 0);
+ 
+-    dockbar = gdl_dock_bar_new(GDL_DOCK(app->dock));
++    dockbar = gdl_dock_bar_new(G_OBJECT(app->dock));
+     gtk_widget_show(dockbar);
+     gtk_box_pack_start(GTK_BOX (hbox), dockbar, FALSE, FALSE, 0);
+ 
+-    app->layout_manager = gdl_dock_layout_new(GDL_DOCK (app->dock));
++    app->layout_manager = gdl_dock_layout_new(G_OBJECT (app->dock));
+     g_signal_connect (app->layout_manager, "notify::dirty",
+             G_CALLBACK (on_layout_dirty_notify), app);
+-    g_signal_connect (app->layout_manager->master, "notify::locked",
++    g_signal_connect (gdl_dock_layout_get_master (app->layout_manager), "notify::locked",
+             G_CALLBACK (on_layout_locked_notify), app);
+ 
+     /* UI engine */
+Index: gtkpod-2.1.3/src/gtkpod.c
+===================================================================
+--- gtkpod-2.1.3.orig/src/gtkpod.c
++++ gtkpod.2.1.3/src/gtkpod.c
+@@ -235,8 +235,8 @@ void
+     session_dir = get_user_session_dir();
+     anjuta_shell_session_save(ANJUTA_SHELL(app), session_dir, NULL);
+     g_free(session_dir);
+-
+-    anjuta_shell_notify_exit(ANJUTA_SHELL(app), NULL);
++    
++    /* anjuta_shell_notify_exit(ANJUTA_SHELL(app), NULL); */
+ 
+     if (!gtkpod_cleanup_quit()) {
+         // Dont want to quit so avoid signalling any destroy event

Copied: gtkpod/repos/community-staging-i686/gtkpod.install (from rev 90337, gtkpod/trunk/gtkpod.install)
===================================================================
--- community-staging-i686/gtkpod.install	                        (rev 0)
+++ community-staging-i686/gtkpod.install	2013-05-11 16:04:21 UTC (rev 90338)
@@ -0,0 +1,12 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: gtkpod/repos/community-staging-x86_64/PKGBUILD (from rev 90337, gtkpod/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-05-11 16:04:21 UTC (rev 90338)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer:  Federico Cinelli <cinelli at aur.archlinux.org>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=gtkpod
+pkgver=2.1.3
+pkgrel=4
+pkgdesc="A platform independent GUI for Apple's iPod using GTK3"
+arch=('i686' 'x86_64')
+url="http://gtkpod.sourceforge.net"
+license=('GPL')
+depends=('libanjuta' 'curl' 'flac' 'libid3tag' 'libgpod' 'awk' 'hicolor-icon-theme' 'libwebkit3')
+makedepends=('flex' 'intltool' 'faad2' 'libvorbis')
+optdepends=('libmp4v2: MP4/h264 support'
+            'vorbis-tools: OGG support'
+	    'libvorbis: OGG support'
+            'id3v2: mp3 conversion support'
+            'faad2: m4a conversion support')
+install=gtkpod.install
+options=('!libtool')
+source=("http://downloads.sourceforge.net/gtkpod/$pkgname-$pkgver.tar.gz"
+	gtkpod-2.1.3-gdl-3.6.patch)
+md5sums=('57f04578de6e3262a436ec574422b144'
+	 '94a4cc0b47ba8895c0a51e53e94da517')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -p1 -i "$srcdir/gtkpod-2.1.3-gdl-3.6.patch"
+  sed -i 's#python#python2#' scripts/sync-palm-jppy.py
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: gtkpod/repos/community-staging-x86_64/gtkpod-2.1.3-gdl-3.6.patch (from rev 90337, gtkpod/trunk/gtkpod-2.1.3-gdl-3.6.patch)
===================================================================
--- community-staging-x86_64/gtkpod-2.1.3-gdl-3.6.patch	                        (rev 0)
+++ community-staging-x86_64/gtkpod-2.1.3-gdl-3.6.patch	2013-05-11 16:04:21 UTC (rev 90338)
@@ -0,0 +1,59 @@
+Index: gtkpod-2.1.3/src/anjuta-action-callbacks.c
+===================================================================
+--- gtkpod-2.1.3.orig/src/anjuta-action-callbacks.c
++++ gtkpod-2.1.3/src/anjuta-action-callbacks.c
+@@ -65,7 +65,7 @@ void
+ on_layout_lock_toggle (GtkAction *action, AnjutaApp *app)
+ {
+ 	if (app->layout_manager)
+-		g_object_set (app->layout_manager->master, "locked",
++		g_object_set (gdl_dock_layout_get_master (app->layout_manager), "locked",
+ 					  gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)),
+ 					  NULL);
+ }
+Index: gtkpod-2.1.3/src/anjuta-app.c
+===================================================================
+--- gtkpod-2.1.3.orig/src/anjuta-app.c
++++ gtkpod-2.1.3/src/anjuta-app.c
+@@ -252,7 +252,7 @@ static void on_gdl_style_changed(GSettin
+     else if (g_strcmp0(pr_style, "Tabs") == 0)
+         style = GDL_SWITCHER_STYLE_TABS;
+ 
+-    g_object_set(G_OBJECT(app->layout_manager->master), "switcher-style", style, NULL);
++    g_object_set(G_OBJECT(gdl_dock_layout_get_master (app->layout_manager)), "switcher-style", style, NULL);
+     g_free(pr_style);
+ }
+ 
+@@ -478,14 +478,14 @@ static void anjuta_app_instance_init(Anj
+     gtk_widget_show(app->dock);
+     gtk_box_pack_end(GTK_BOX (hbox), app->dock, TRUE, TRUE, 0);
+ 
+-    dockbar = gdl_dock_bar_new(GDL_DOCK(app->dock));
++    dockbar = gdl_dock_bar_new(G_OBJECT(app->dock));
+     gtk_widget_show(dockbar);
+     gtk_box_pack_start(GTK_BOX (hbox), dockbar, FALSE, FALSE, 0);
+ 
+-    app->layout_manager = gdl_dock_layout_new(GDL_DOCK (app->dock));
++    app->layout_manager = gdl_dock_layout_new(G_OBJECT (app->dock));
+     g_signal_connect (app->layout_manager, "notify::dirty",
+             G_CALLBACK (on_layout_dirty_notify), app);
+-    g_signal_connect (app->layout_manager->master, "notify::locked",
++    g_signal_connect (gdl_dock_layout_get_master (app->layout_manager), "notify::locked",
+             G_CALLBACK (on_layout_locked_notify), app);
+ 
+     /* UI engine */
+Index: gtkpod-2.1.3/src/gtkpod.c
+===================================================================
+--- gtkpod-2.1.3.orig/src/gtkpod.c
++++ gtkpod.2.1.3/src/gtkpod.c
+@@ -235,8 +235,8 @@ void
+     session_dir = get_user_session_dir();
+     anjuta_shell_session_save(ANJUTA_SHELL(app), session_dir, NULL);
+     g_free(session_dir);
+-
+-    anjuta_shell_notify_exit(ANJUTA_SHELL(app), NULL);
++    
++    /* anjuta_shell_notify_exit(ANJUTA_SHELL(app), NULL); */
+ 
+     if (!gtkpod_cleanup_quit()) {
+         // Dont want to quit so avoid signalling any destroy event

Copied: gtkpod/repos/community-staging-x86_64/gtkpod.install (from rev 90337, gtkpod/trunk/gtkpod.install)
===================================================================
--- community-staging-x86_64/gtkpod.install	                        (rev 0)
+++ community-staging-x86_64/gtkpod.install	2013-05-11 16:04:21 UTC (rev 90338)
@@ -0,0 +1,12 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}




More information about the arch-commits mailing list