aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gcstar/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-03-19 21:30:57 +0800
committerpav <pav@FreeBSD.org>2009-03-19 21:30:57 +0800
commit1122f330e3e20c99831464701bb4f88db1337d6c (patch)
treefc683965bcfddc99206108fa450911b6684654a3 /misc/gcstar/files
parent1374f2932df9ca745a5f48ab35622cbc11b7e6ad (diff)
downloadfreebsd-ports-gnome-1122f330e3e20c99831464701bb4f88db1337d6c.tar.gz
freebsd-ports-gnome-1122f330e3e20c99831464701bb4f88db1337d6c.tar.zst
freebsd-ports-gnome-1122f330e3e20c99831464701bb4f88db1337d6c.zip
- Update to 1.4.3
PR: ports/132276 Submitted by: Dominique Goncalves <dominique.goncalves@gmail.com> (maintainer)
Diffstat (limited to 'misc/gcstar/files')
-rw-r--r--misc/gcstar/files/patch-GCDiscogs.pm10
-rw-r--r--misc/gcstar/files/patch-GCmusics.gcm11
-rw-r--r--misc/gcstar/files/patch-install31
3 files changed, 41 insertions, 11 deletions
diff --git a/misc/gcstar/files/patch-GCDiscogs.pm b/misc/gcstar/files/patch-GCDiscogs.pm
new file mode 100644
index 000000000000..d6f31b4a912f
--- /dev/null
+++ b/misc/gcstar/files/patch-GCDiscogs.pm
@@ -0,0 +1,10 @@
+--- lib/gcstar/GCPlugins/GCmusics/GCDiscogs.pm.orig 2008-12-29 14:20:09.000000000 +0100
++++ lib/gcstar/GCPlugins/GCmusics/GCDiscogs.pm 2008-12-29 14:23:04.000000000 +0100
+@@ -165,6 +165,7 @@
+ $self->{curInfo}->{origin} =~ s/,$//;
+ $self->{curInfo}->{format} = $xml->{release}->{formats}->{format}->{name};
+ $self->{curInfo}->{format} =~ s/,$//;
++ $self->{curInfo}->{web} = "http://www.discogs.com/release/" . $xml->{release}->{id};
+ }
+ }
+
diff --git a/misc/gcstar/files/patch-GCmusics.gcm b/misc/gcstar/files/patch-GCmusics.gcm
deleted file mode 100644
index 419b169839f5..000000000000
--- a/misc/gcstar/files/patch-GCmusics.gcm
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/gcstar/GCModels/GCmusics.gcm.orig 2008-06-12 23:16:01.000000000 +0200
-+++ lib/gcstar/GCModels/GCmusics.gcm 2008-06-12 23:17:20.000000000 +0200
-@@ -56,7 +56,7 @@
- <field value="unique" group="main" init="" label="Unique" type="short text" />
- <field value="title" group="main" init="NewItem" label="Title" type="short text" imported="true"/>
- <field value="cover" default="view" group="main" init="" label="Cover" type="image" imported="true"/>
-- <field value="backpic" type="image" label="ContextImgBack" init="" group="info" linkedto="cover" imported="true"/>
-+ <field value="backpic" type="image" label="ContextImgBack" init="" group="main" linkedto="cover" imported="true"/>
- <field value="artist" group="main" init="" label="Artist" type="short text" imported="true" />
- <field value="format" group="main" init="" label="Format" type="history text" />
- <field value="origin" group="main" init="" label="Origin" type="history text" />
diff --git a/misc/gcstar/files/patch-install b/misc/gcstar/files/patch-install
new file mode 100644
index 000000000000..3c5e04041a0a
--- /dev/null
+++ b/misc/gcstar/files/patch-install
@@ -0,0 +1,31 @@
+--- install.old 2008-09-15 09:43:39.000000000 +0200
++++ install 2008-09-15 09:44:04.000000000 +0200
+@@ -151,28 +151,6 @@
+
+ sub installMenu
+ {
+- my $home = $ENV{HOME};
+-
+- if (-w '/usr/share/applications')
+- {
+- verbosePrint $lang{InstallCopyDesktop}, '/usr/share/applications';
+- copy 'share/applications/gcstar.desktop', '/usr/share/applications';
+- }
+- else
+- {
+- verbosePrint $lang{InstallCopyDesktop}, $home.'/.local/share/applications';
+- copy 'share/applications/gcstar.desktop', $home.'/.local/share/applications';
+- }
+-
+- copy 'share/gcstar/icons/gcstar_48x48.png', '/usr/share/pixmaps/gcstar.png'
+- if (-w '/usr/share/pixmaps');
+-
+- copy 'share/applications/gcstar.xml', '/usr/share/mime/packages'
+- if (-w '/usr/share/mime/packages');
+-
+- system 'update-desktop-database';
+- system 'update-mime-database /usr/share/mime';
+-
+ }
+
+ sub doInstall