diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-22 10:28:18 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-22 10:28:18 +0100 |
commit | 89da12a4917a580d24a76582283195a364de5d2c (patch) | |
tree | 239bdb76d33dae8ad8ad5406e0db27925862fe5a /extra | |
parent | 4199888a832fe0d15a95ab2bd60ae5d4957f86c0 (diff) | |
parent | 0ab7960ba6a457b7dd3ed5ede0cdb93e816d29a4 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/easytag/PKGBUILD
extra/ffmpeg/PKGBUILD
extra/openmpi/PKGBUILD
extra/potrace/PKGBUILD
extra/ptlib/PKGBUILD
libre/linux-libre/PKGBUILD
Diffstat (limited to 'extra')
-rw-r--r-- | extra/easytag/PKGBUILD | 37 | ||||
-rw-r--r-- | extra/easytag/easytag-2.1.7-new_libmp4v2.patch | 535 | ||||
-rw-r--r-- | extra/easytag/easytag-2.1.8-fix_mime_directory_association.patch | 11 | ||||
-rw-r--r-- | extra/easytag/easytag-2.1.8-fix_mixed_declarations_and_code.patch | 43 | ||||
-rw-r--r-- | extra/easytag/easytag.install | 3 | ||||
-rw-r--r-- | extra/ekiga/PKGBUILD | 10 | ||||
-rw-r--r-- | extra/ffmpeg/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/ffmpeg/h264-vdpau.patch | 26 | ||||
-rw-r--r-- | extra/gnome-shell/PKGBUILD | 17 | ||||
-rw-r--r-- | extra/gnome-shell/fs33855.patch | 65 | ||||
-rw-r--r-- | extra/gnome-shell/main-Dont-mess-up-the-modal-stack-when-the-focus-a.patch | 29 | ||||
-rw-r--r-- | extra/opal/PKGBUILD | 14 | ||||
-rw-r--r-- | extra/openmpi/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/postfix/PKGBUILD | 15 | ||||
-rw-r--r-- | extra/potrace/PKGBUILD | 17 | ||||
-rw-r--r-- | extra/ptlib/PKGBUILD | 8 |
16 files changed, 193 insertions, 659 deletions
diff --git a/extra/easytag/PKGBUILD b/extra/easytag/PKGBUILD index 430469d5e..bef1e4ae1 100644 --- a/extra/easytag/PKGBUILD +++ b/extra/easytag/PKGBUILD @@ -1,29 +1,46 @@ -# $Id: PKGBUILD 171355 2012-11-17 09:20:41Z eric $ -# Maintainer: +# $Id: PKGBUILD 178421 2013-02-21 20:49:20Z guillaume $ +# Maintainer: Guillaume ALAUX <guillaume@archlinux.org> # Contributor: Kevin Piche <kevin@archlinux.org> # Contributor: Aaron Griffin <aaron@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> pkgname=easytag -pkgver=2.1.7 -pkgrel=3.1 -pkgdesc="Utility for viewing, editing and writing ID3 tags of your MP3 files" +pkgver=2.1.8 +pkgrel=2 +pkgdesc='Utility for viewing and editing tags for most audio formats' arch=('i686' 'x86_64' 'mips64el') license=('GPL') url='http://easytag.sourceforge.net/' -depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'speex' 'wavpack' 'libmp4v2' 'desktop-file-utils') +makedepends=('intltool') +depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'speex' 'wavpack' 'taglib' + 'desktop-file-utils' 'hicolor-icon-theme') install=${pkgname}.install -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2" easytag-2.1.7-new_libmp4v2.patch) -md5sums=('9df3e800d80e754670642f2ba5e03539' - '0d01887de463585d944777b638a28c85') +source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz + easytag-2.1.8-fix_mixed_declarations_and_code.patch + easytag-2.1.8-fix_mime_directory_association.patch) +sha256sums=('1a2f75c9a70aeb7a404dfaa96e0df0eaaa325df301c58f0f708d0da4c08e65a9' + '453d2a102cf482d6d1586b11e531bf267f302aab3ee6b8c43b6bcc61cfa2ede5' + '693da67f0c96d51ad363bb9e70a22b402bc7c5058d648981919a115381700cd3') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -p0 -i "${srcdir}/easytag-2.1.7-new_libmp4v2.patch" + + # Already fixed upstream + # http://git.gnome.org/browse/easytag/commit/src/wavpack_tag.c?id=17a33964c32035f6b9986e13726ae3582a126244 + patch -p0 -i ${srcdir}/easytag-2.1.8-fix_mixed_declarations_and_code.patch + + # Bad Easytag! Bad! You don't know your place! + patch -p0 -i ${srcdir}/easytag-2.1.8-fix_mime_directory_association.patch + ./configure --prefix=/usr make } +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -k check +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install diff --git a/extra/easytag/easytag-2.1.7-new_libmp4v2.patch b/extra/easytag/easytag-2.1.7-new_libmp4v2.patch deleted file mode 100644 index 4a6c315c2..000000000 --- a/extra/easytag/easytag-2.1.7-new_libmp4v2.patch +++ /dev/null @@ -1,535 +0,0 @@ -Compability with libmp4v2.so.2 (upstream revision r479) - -http://bugs.gentoo.org/409281 - ---- src/mp4_header.c -+++ src/mp4_header.c -@@ -204,7 +204,7 @@ - /* Get size of file */ - ETFileInfo->size = Get_File_Size(filename); - -- if ((file = MP4Read(filename, 0)) == MP4_INVALID_FILE_HANDLE ) -+ if ((file = MP4Read(filename)) == MP4_INVALID_FILE_HANDLE ) - { - gchar *filename_utf8 = filename_to_display(filename); - //g_print(_("ERROR while opening file: '%s' (%s)."),filename_utf8,g_strerror(errno)); -@@ -218,7 +218,7 @@ - { - gchar *filename_utf8 = filename_to_display(filename); - Log_Print(LOG_ERROR,_("ERROR while opening file: '%s' (%s)."),filename_utf8,("Contains no audio track")); -- MP4Close(file); -+ MP4Close(file, 0); - g_free(filename_utf8); - return FALSE; - } -@@ -243,7 +243,7 @@ - ETFileInfo->mode = MP4GetTrackAudioChannels(file, trackId); - ETFileInfo->duration = MP4ConvertFromTrackDuration(file, trackId, MP4GetTrackDuration(file, trackId), MP4_SECS_TIME_SCALE); - -- MP4Close(file); -+ MP4Close(file, 0); - return TRUE; - } - ---- src/mp4_tag.c -+++ src/mp4_tag.c -@@ -80,15 +80,9 @@ - { - FILE *file; - MP4FileHandle mp4file = NULL; -- uint16_t track, track_total; -- uint16_t disk, disktotal; -- u_int8_t *coverArt; -- u_int32_t coverSize; - Picture *prev_pic = NULL; --#ifdef NEWMP4 - gint pic_num; --#endif -- -+ - if (!filename || !FileTag) - return FALSE; - -@@ -102,7 +96,7 @@ - fclose(file); // We close it cause mp4 opens/closes file itself - - /* Get data from tag */ -- mp4file = MP4Read(filename, 0); -+ mp4file = MP4Read(filename); - if (mp4file == MP4_INVALID_FILE_HANDLE) - { - gchar *filename_utf8 = filename_to_display(filename); -@@ -111,109 +105,134 @@ - return FALSE; - } - -+ const MP4Tags* tags = MP4TagsAlloc(); -+ MP4TagsFetch(tags, mp4file); -+ - /* TODO Add error detection */ - - /********* - * Title * - *********/ -- MP4GetMetadataName(mp4file, &FileTag->title); -+ if (tags->name) -+ { -+ FileTag->title = Try_To_Validate_Utf8_String(tags->name); -+ } - - /********** - * Artist * - **********/ -- MP4GetMetadataArtist(mp4file, &FileTag->artist); -+ if (tags->artist) -+ { -+ FileTag->artist = Try_To_Validate_Utf8_String(tags->artist); -+ } -+ -+ /**************** -+ * Album Artist * -+ ****************/ -+ if (tags->albumArtist) -+ { -+ FileTag->album_artist = Try_To_Validate_Utf8_String(tags->albumArtist); -+ } - - /********* - * Album * - *********/ -- MP4GetMetadataAlbum(mp4file, &FileTag->album); -+ if (tags->album) -+ { -+ FileTag->album = Try_To_Validate_Utf8_String(tags->album); -+ } - - /********************** - * Disk / Total Disks * - **********************/ -- if (MP4GetMetadataDisk(mp4file, &disk, &disktotal)) -+ if (tags->disk) - { -- if (disk != 0 && disktotal != 0) -- FileTag->disc_number = g_strdup_printf("%d/%d",(gint)disk,(gint)disktotal); -- else if (disk != 0) -- FileTag->disc_number = g_strdup_printf("%d",(gint)disk); -- else if (disktotal != 0) -- FileTag->disc_number = g_strdup_printf("/%d",(gint)disktotal); -- //if (disktotal != 0) -- // FileTag->disk_number_total = g_strdup_printf("%d",(gint)disktotal); -+ if (tags->disk->index != 0 && tags->disk->total != 0) -+ FileTag->disc_number = g_strdup_printf("%d/%d",(gint)tags->disk->index,(gint)tags->disk->total); -+ else if (tags->disk->index != 0) -+ FileTag->disc_number = g_strdup_printf("%d",(gint)tags->disk->index); -+ else if (tags->disk->total != 0) -+ FileTag->disc_number = g_strdup_printf("/%d",(gint)tags->disk->total); - } - - /******** - * Year * - ********/ -- MP4GetMetadataYear(mp4file, &FileTag->year); -+ if (tags->releaseDate) -+ { -+ FileTag->year = Try_To_Validate_Utf8_String(tags->releaseDate); -+ } - - /************************* - * Track and Total Track * - *************************/ -- if (MP4GetMetadataTrack(mp4file, &track, &track_total)) -+ if (tags->track) - { -- if (track != 0) -- FileTag->track = g_strdup_printf("%.*d",NUMBER_TRACK_FORMATED_SPIN_BUTTON,(gint)track); // Just to have numbers like this : '01', '05', '12', ... -- if (track_total != 0) -- FileTag->track_total = g_strdup_printf("%.*d",NUMBER_TRACK_FORMATED_SPIN_BUTTON,(gint)track_total); // Just to have numbers like this : '01', '05', '12', ... -+ if (tags->track->index != 0) -+ FileTag->track = g_strdup_printf("%.*d",NUMBER_TRACK_FORMATED_SPIN_BUTTON,(gint)tags->track->index); // Just to have numbers like this : '01', '05', '12', ... -+ if (tags->track->total != 0) -+ FileTag->track_total = g_strdup_printf("%.*d",NUMBER_TRACK_FORMATED_SPIN_BUTTON,(gint)tags->track->total); // Just to have numbers like this : '01', '05', '12', ... - } - - /********* - * Genre * - *********/ -- MP4GetMetadataGenre(mp4file, &FileTag->genre); -+ if (tags->genre) -+ { -+ FileTag->genre = Try_To_Validate_Utf8_String(tags->genre); -+ } - - /*********** - * Comment * - ***********/ -- MP4GetMetadataComment(mp4file, &FileTag->comment); -+ if (tags->comments) -+ { -+ FileTag->comment = Try_To_Validate_Utf8_String(tags->comments); -+ } - - /********************** - * Composer or Writer * - **********************/ -- MP4GetMetadataWriter(mp4file, &FileTag->composer); -+ if (tags->composer) -+ { -+ FileTag->composer = Try_To_Validate_Utf8_String(tags->composer); -+ } - - /***************** - * Encoding Tool * - *****************/ -- MP4GetMetadataTool(mp4file, &FileTag->encoded_by); -- -- /* Unimplemented -- Tempo / BPM -- MP4GetMetadataTempo(file, &string) -- */ -+ if (tags->encodedBy) -+ { -+ FileTag->encoded_by = Try_To_Validate_Utf8_String(tags->encodedBy); -+ } - - /*********** - * Picture * - ***********/ --#ifdef NEWMP4 -- // There version can handle multiple pictures! -- // Version 1.6 of libmp4v2 introduces an index argument for MP4GetMetadataCoverart -- for (pic_num = 0; (MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize,pic_num )); pic_num++) --#else -- // There version handle only one picture! -- if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize ) ) --#endif -- { -- Picture *pic; -- -- pic = Picture_Allocate(); -- if (!prev_pic) -- FileTag->picture = pic; -- else -- prev_pic->next = pic; -- prev_pic = pic; -- -- pic->size = coverSize; -- pic->data = coverArt; -- pic->type = PICTURE_TYPE_FRONT_COVER; -- pic->description = NULL; -+ if (tags->artworkCount) { -+ const MP4TagArtwork* art = tags->artwork; /* artwork != NULL when artworkCount > 0 */ -+ for (pic_num = 0; pic_num < tags->artworkCount; pic_num++, art++) -+ { -+ Picture *pic; -+ -+ pic = Picture_Allocate(); -+ if (!prev_pic) -+ FileTag->picture = pic; -+ else -+ prev_pic->next = pic; -+ prev_pic = pic; -+ -+ pic->size = art->size; -+ pic->data = g_memdup(art->data, pic->size); -+ pic->type = PICTURE_TYPE_FRONT_COVER; -+ pic->description = NULL; -+ } - } - - - /* Free allocated data */ -- MP4Close(mp4file); -+ MP4TagsFree(tags); -+ MP4Close(mp4file, 0); - - return TRUE; - } -@@ -235,6 +254,7 @@ - FILE *file; - MP4FileHandle mp4file = NULL; - gint error = 0; -+ gint pic_num; - - if (!ETFile || !ETFile->FileTag) - return FALSE; -@@ -252,23 +272,25 @@ - fclose(file); - - /* Open file for writing */ -- mp4file = MP4Modify(filename,0,0); -+ mp4file = MP4Modify(filename, 0); - if (mp4file == MP4_INVALID_FILE_HANDLE) - { - Log_Print(LOG_ERROR,_("ERROR while opening file: '%s' (%s)."),filename_utf8,_("MP4 format invalid")); - return FALSE; - } - -+ const MP4Tags* tags = MP4TagsAlloc(); -+ MP4TagsFetch(tags, mp4file); -+ - /********* - * Title * - *********/ - if (FileTag->title && g_utf8_strlen(FileTag->title, -1) > 0) - { -- MP4SetMetadataName(mp4file, FileTag->title); -+ MP4TagsSetName(tags, FileTag->title); - }else - { -- //MP4DeleteMetadataName(mp4file); // Not available on mpeg4ip-1.2 (only in 1.3) -- MP4SetMetadataName(mp4file, ""); -+ MP4TagsSetName(tags, ""); - } - - /********** -@@ -276,11 +298,21 @@ - **********/ - if (FileTag->artist && g_utf8_strlen(FileTag->artist, -1) > 0) - { -- MP4SetMetadataArtist(mp4file, FileTag->artist); -+ MP4TagsSetArtist(tags, FileTag->artist); -+ }else -+ { -+ MP4TagsSetArtist(tags, ""); -+ } -+ -+ /**************** -+ * Album Artist * -+ ****************/ -+ if (FileTag->artist && g_utf8_strlen(FileTag->artist, -1) > 0) -+ { -+ MP4TagsSetAlbumArtist(tags, FileTag->album_artist); - }else - { -- //MP4DeleteMetadataArtist(mp4file); -- MP4SetMetadataArtist(mp4file, ""); -+ MP4TagsSetAlbumArtist(tags, ""); - } - - /********* -@@ -288,22 +320,19 @@ - *********/ - if (FileTag->album && g_utf8_strlen(FileTag->album, -1) > 0) - { -- MP4SetMetadataAlbum(mp4file, FileTag->album); -+ MP4TagsSetAlbum(tags, FileTag->album); - }else - { -- //MP4DeleteMetadataAlbum(mp4file); -- MP4SetMetadataAlbum(mp4file, ""); -+ MP4TagsSetAlbum(tags, ""); - } - - /********************** - * Disk / Total Disks * - **********************/ -+ MP4TagDisk td; - if (FileTag->disc_number && g_utf8_strlen(FileTag->disc_number, -1) > 0) - //|| FileTag->disc_number_total && g_utf8_strlen(FileTag->disc_number_total, -1) > 0) - { -- uint16_t disk = 0; -- uint16_t disktotal = 0; -- - /* At the present time, we manage only disk number like '1' or '1/2', we - * don't use disk number total... so here we try to decompose */ - if (FileTag->disc_number) -@@ -314,27 +343,24 @@ - { - // A disc_number_total was entered - if ( (tmp+1) && atoi(tmp+1) ) -- disktotal = atoi(tmp+1); -+ td.total = atoi(tmp+1); - - // Fill disc_number - *tmp = '\0'; -- disk = atoi(dn_tmp); -+ td.index = atoi(dn_tmp); - }else - { -- disk = atoi(FileTag->disc_number); -+ td.index = atoi(FileTag->disc_number); -+ td.total = NULL; - } - g_free(dn_tmp); - } -- /*if (FileTag->disc_number) -- disk = atoi(FileTag->disc_number); -- if (FileTag->disc_number_total) -- disktotal = atoi(FileTag->disc_number_total); -- */ -- MP4SetMetadataDisk(mp4file, disk, disktotal); -+ MP4TagsSetDisk(tags, &td); - }else - { -- //MP4DeleteMetadataDisk(mp4file); -- MP4SetMetadataDisk(mp4file, 0, 0); -+ td.index = NULL; -+ td.total = NULL; -+ MP4TagsSetDisk(tags, &td); - } - - /******** -@@ -342,30 +368,29 @@ - ********/ - if (FileTag->year && g_utf8_strlen(FileTag->year, -1) > 0) - { -- MP4SetMetadataYear(mp4file, FileTag->year); -+ MP4TagsSetReleaseDate(tags, FileTag->year); - }else - { -- //MP4DeleteMetadataYear(mp4file); -- MP4SetMetadataYear(mp4file, ""); -+ MP4TagsSetReleaseDate(tags, ""); - } - - /************************* - * Track and Total Track * - *************************/ -+ MP4TagTrack tt; - if ( (FileTag->track && g_utf8_strlen(FileTag->track, -1) > 0) - || (FileTag->track_total && g_utf8_strlen(FileTag->track_total, -1) > 0) ) - { -- uint16_t track = 0; -- uint16_t track_total = 0; - if (FileTag->track) -- track = atoi(FileTag->track); -+ tt.index = atoi(FileTag->track); - if (FileTag->track_total) -- track_total = atoi(FileTag->track_total); -- MP4SetMetadataTrack(mp4file, track, track_total); -+ tt.total = atoi(FileTag->track_total); -+ MP4TagsSetTrack(tags, &tt); - }else - { -- //MP4DeleteMetadataTrack(mp4file); -- MP4SetMetadataTrack(mp4file, 0, 0); -+ tt.index = NULL; -+ tt.total = NULL; -+ MP4TagsSetTrack(tags, &tt); - } - - /********* -@@ -373,11 +398,10 @@ - *********/ - if (FileTag->genre && g_utf8_strlen(FileTag->genre, -1) > 0 ) - { -- MP4SetMetadataGenre(mp4file, FileTag->genre); -+ MP4TagsSetGenre(tags, FileTag->genre); - }else - { -- //MP4DeleteMetadataGenre(mp4file); -- MP4SetMetadataGenre(mp4file, ""); -+ MP4TagsSetGenre(tags, ""); - } - - /*********** -@@ -385,11 +409,10 @@ - ***********/ - if (FileTag->comment && g_utf8_strlen(FileTag->comment, -1) > 0) - { -- MP4SetMetadataComment(mp4file, FileTag->comment); -+ MP4TagsSetComments(tags, FileTag->comment); - }else - { -- //MP4DeleteMetadataComment(mp4file); -- MP4SetMetadataComment(mp4file, ""); -+ MP4TagsSetComments(tags, ""); - } - - /********************** -@@ -397,11 +420,10 @@ - **********************/ - if (FileTag->composer && g_utf8_strlen(FileTag->composer, -1) > 0) - { -- MP4SetMetadataWriter(mp4file, FileTag->composer); -+ MP4TagsSetComposer(tags, FileTag->composer); - }else - { -- //MP4DeleteMetadataWriter(mp4file); -- MP4SetMetadataWriter(mp4file, ""); -+ MP4TagsSetComposer(tags, ""); - } - - /***************** -@@ -409,33 +431,39 @@ - *****************/ - if (FileTag->encoded_by && g_utf8_strlen(FileTag->encoded_by, -1) > 0) - { -- MP4SetMetadataTool(mp4file, FileTag->encoded_by); -+ MP4TagsSetEncodedBy(tags, FileTag->encoded_by); - }else - { -- //MP4DeleteMetadataTool(mp4file); -- MP4SetMetadataTool(mp4file, ""); -+ MP4TagsSetEncodedBy(tags, ""); - } - - /*********** - * Picture * - ***********/ -+ Picture *pic = FileTag->picture; -+ const gint artworkCount = tags->artworkCount; -+ -+ for (pic_num = 0; pic_num < artworkCount; pic_num++) - { -- // Can handle only one picture... -- Picture *pic; -+ MP4TagsRemoveArtwork(tags, 0); -+ } - -- //MP4DeleteMetadataCoverArt(mp4file); -- MP4SetMetadataCoverArt(mp4file, NULL, 0); -- for( pic = FileTag->picture; pic; pic = pic->next ) -+ while (pic) -+ { -+ if (pic->data) - { -- if( pic->type == PICTURE_TYPE_FRONT_COVER ) -- { -- MP4SetMetadataCoverArt(mp4file, pic->data, pic->size); -- } -+ MP4TagArtwork art; -+ art.data = pic->data; -+ art.size = pic->size; -+ art.type = MP4_ART_UNDEFINED; // delegate typing to libmp4v2 -+ MP4TagsAddArtwork(tags, &art); - } -+ pic = pic->next; - } - -- -- MP4Close(mp4file); -+ MP4TagsStore(tags, mp4file); -+ MP4TagsFree(tags); -+ MP4Close(mp4file, 0); - - if (error) return FALSE; - else return TRUE; ---- src/picture.c -+++ src/picture.c -@@ -326,24 +326,7 @@ - else if (MESSAGE_BOX_POSITION_MOUSE) - gtk_window_set_position(GTK_WINDOW(FileSelectionWindow),GTK_WIN_POS_MOUSE); - -- // Behaviour following the tag type... -- switch (ETCore->ETFileDisplayed->ETFileDescription->TagType) -- { -- case MP4_TAG: -- { -- // Only one file can be selected -- gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(FileSelectionWindow), FALSE); -- break; -- } -- -- // Other tag types -- default: -- { -- gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(FileSelectionWindow), TRUE); -- break; -- } -- } -- -+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(FileSelectionWindow), TRUE); - gtk_dialog_set_default_response(GTK_DIALOG(FileSelectionWindow), GTK_RESPONSE_OK); - - // Starting directory (the same of the current file) diff --git a/extra/easytag/easytag-2.1.8-fix_mime_directory_association.patch b/extra/easytag/easytag-2.1.8-fix_mime_directory_association.patch new file mode 100644 index 000000000..49bcd72da --- /dev/null +++ b/extra/easytag/easytag-2.1.8-fix_mime_directory_association.patch @@ -0,0 +1,11 @@ +--- easytag.desktop.in.orig 2013-02-21 21:34:14.651046456 +0100 ++++ easytag.desktop.in 2013-02-21 21:34:29.327914099 +0100 +@@ -6,7 +6,7 @@ + Type=Application + Icon=easytag + Categories=GTK;AudioVideo;AudioVideoEditing; +-MimeType=x-directory/normal;inode/directory;audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape; ++MimeType=audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape; + Exec=easytag %F + Terminal=false + StartupNotify=true diff --git a/extra/easytag/easytag-2.1.8-fix_mixed_declarations_and_code.patch b/extra/easytag/easytag-2.1.8-fix_mixed_declarations_and_code.patch new file mode 100644 index 000000000..ff7a52a94 --- /dev/null +++ b/extra/easytag/easytag-2.1.8-fix_mixed_declarations_and_code.patch @@ -0,0 +1,43 @@ +--- src/wavpack_tag.c ++++ src/wavpack_tag.c +@@ -82,15 +82,15 @@ gboolean Wavpack_Tag_Write_File (FILE *file_in, gchar *filename_in, vcedit_state + */ + gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag) + { +- if (!filename || !FileTag) +- return FALSE; +- + WavpackContext *wpc; + gchar *field, *field2; + guint length; + + int open_flags = OPEN_TAGS; + ++ if (!filename || !FileTag) ++ return FALSE; ++ + wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0); + + if ( wpc == NULL ) { +@@ -271,9 +271,6 @@ gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag) + + gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile) + { +- if (!ETFile || !ETFile->FileTag) +- return FALSE; +- + WavpackContext *wpc; + + gchar *filename = ((File_Name *)((GList *)ETFile->FileNameCur)->data)->value; +@@ -282,6 +279,9 @@ gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile) + + int open_flags = OPEN_EDIT_TAGS; + ++ if (!ETFile || !ETFile->FileTag) ++ return FALSE; ++ + wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0); + + if ( wpc == NULL ) { +-- +cgit v0.9.1 diff --git a/extra/easytag/easytag.install b/extra/easytag/easytag.install index 660593cf5..18405f04c 100644 --- a/extra/easytag/easytag.install +++ b/extra/easytag/easytag.install @@ -1,5 +1,6 @@ post_install() { - update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + update-desktop-database -q } post_upgrade() { diff --git a/extra/ekiga/PKGBUILD b/extra/ekiga/PKGBUILD index 942c210d7..cff5090d8 100644 --- a/extra/ekiga/PKGBUILD +++ b/extra/ekiga/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 176284 2013-01-28 16:48:16Z stephane $ +# $Id: PKGBUILD 178391 2013-02-21 05:39:42Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Tom K <tomk@runbox.com> pkgname=ekiga -pkgver=4.0.0 -pkgrel=2 +pkgver=4.0.1 +pkgrel=1 pkgdesc="VOIP/Videoconferencing app with full SIP and H.323 support (GnomeMeeting expanded and renamed)" url="http://www.ekiga.org" license=(GPL) @@ -16,13 +16,13 @@ options=(!emptydirs) groups=('gnome-extra') install=ekiga.install source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('69c544fb0f2e9cb425b9dae131b01e256ad20fd597f1faf0c28f5930b0f1d998') +sha256sums=('5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b') build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-schemas-install \ - --disable-scrollkeeper --enable-dbus + --disable-scrollkeeper --enable-dbus --enable-avahi make } diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index 3230809f3..7eed96c2c 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 178128 2013-02-16 22:48:47Z ioni $ +# $Id: PKGBUILD 178409 2013-02-21 12:49:48Z ioni $ # Maintainer : Ionut Biru <ibiru@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Contributor: Paul Mattal <paul@archlinux.org> pkgname=ffmpeg pkgver=1.1.2 -pkgrel=2 +pkgrel=3 epoch=1 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" arch=('i686' 'x86_64' 'mips64el') @@ -21,8 +21,10 @@ if [ "${CARCH}" != "mips64el" ]; then depends+=('libva') makedepends=('yasm' 'libvdpau') fi -source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2) -sha256sums=('dc91e4a2499b05740cfddc2b679694e5c0f2ca20c94191de82d7eb200e8c48ce') +source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2 + h264-vdpau.patch) +sha256sums=('dc91e4a2499b05740cfddc2b679694e5c0f2ca20c94191de82d7eb200e8c48ce' + 'f55f31a40627ac375fa903c958f34af0f4c72dd9f64dd5f4f64320bb6f126f42') build() { cd $pkgname-$pkgver @@ -36,6 +38,7 @@ build() { extraconf="" fi + patch -Np1 -i ../h264-vdpau.patch ./configure \ --prefix=/usr \ --disable-debug \ diff --git a/extra/ffmpeg/h264-vdpau.patch b/extra/ffmpeg/h264-vdpau.patch new file mode 100644 index 000000000..75ebe306f --- /dev/null +++ b/extra/ffmpeg/h264-vdpau.patch @@ -0,0 +1,26 @@ +X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Fh264.c;h=da749a241d5647751cb5a961429abb6657a79a00;hp=56ef1092bd4509697f11b76ae97757bbc03aef14;hb=c6f59b95c529baf2ea6729ab9089fddce3ddd86a;hpb=6407800521d26b103db4c22d9de709e957381e4b + +diff --git a/libavcodec/h264.c b/libavcodec/h264.c +index 56ef109..da749a2 100644 +--- a/libavcodec/h264.c ++++ b/libavcodec/h264.c +@@ -2537,11 +2537,17 @@ static enum PixelFormat get_pixel_format(H264Context *h) + return s->avctx->color_range == AVCOL_RANGE_JPEG ? AV_PIX_FMT_YUVJ422P + : AV_PIX_FMT_YUV422P; + } else { +- return s->avctx->get_format(s->avctx, s->avctx->codec->pix_fmts ? ++ int i; ++ const enum AVPixelFormat * fmt = s->avctx->codec->pix_fmts ? + s->avctx->codec->pix_fmts : + s->avctx->color_range == AVCOL_RANGE_JPEG ? + hwaccel_pixfmt_list_h264_jpeg_420 : +- ff_hwaccel_pixfmt_list_420); ++ ff_hwaccel_pixfmt_list_420; ++ ++ for (i=0; fmt[i] != AV_PIX_FMT_NONE; i++) ++ if (fmt[i] == s->avctx->pix_fmt) ++ return fmt[i]; ++ return s->avctx->get_format(s->avctx, fmt); + } + break; + default: diff --git a/extra/gnome-shell/PKGBUILD b/extra/gnome-shell/PKGBUILD index c64b21700..32a537b56 100644 --- a/extra/gnome-shell/PKGBUILD +++ b/extra/gnome-shell/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 178051 2013-02-14 18:47:31Z heftig $ +# $Id: PKGBUILD 178416 2013-02-21 17:18:12Z heftig $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: Flamelab <panosfilip@gmail.com pkgname=gnome-shell -pkgver=3.6.3 +pkgver=3.6.3.1 pkgrel=2 pkgdesc="The next generation GNOME Shell" arch=(i686 x86_64 mips64el) @@ -17,14 +17,17 @@ optdepends=('gnome-control-center: System settings' options=('!libtool' '!emptydirs') install=gnome-shell.install groups=(gnome) -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz - fs33855.patch) -sha256sums=('05b2341a0f84835644881743873d3eaccaed12f00aa7b424d876780e81723db2' - '259e69256ae597f1d04c7a0070c1c90cec20afbf494d6b89e72d86b8b9c7f0ba') +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz + main-Dont-mess-up-the-modal-stack-when-the-focus-a.patch) +sha256sums=('4e0328d43ac443e7cc0c43bb67895112643952f14cd20fff1109c6cc5849d603' + '968245e7db1c6921627cf0fbce4e4504cffbdb24898f834769a23a254ed6e125') build() { cd $pkgname-$pkgver - patch -Np1 -i ../fs33855.patch + + # FS#32410 + patch -Np1 -i ../main-Dont-mess-up-the-modal-stack-when-the-focus-a.patch + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/gnome-shell \ --localstatedir=/var --disable-static \ diff --git a/extra/gnome-shell/fs33855.patch b/extra/gnome-shell/fs33855.patch deleted file mode 100644 index b935e0923..000000000 --- a/extra/gnome-shell/fs33855.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 9d931b5e013475be5733fc92bd105b3a691a4097 Mon Sep 17 00:00:00 2001 -From: Giovanni Campagna <gcampagna@src.gnome.org> -Date: Fri, 30 Nov 2012 15:05:38 +0000 -Subject: MessageTray: fix notification height expansion - -MessageTray._tween removes all tweens now, so it removes also -those setting the height to expanded for critical notifications. - -This is a regression from 1a27d7dfc02c06bd0ccf4258a9108207b8832ce4 - -https://bugzilla.gnome.org/show_bug.cgi?id=689295 ---- -diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js -index ce61e25..ef0cc02 100644 ---- a/js/ui/messageTray.js -+++ b/js/ui/messageTray.js -@@ -2200,40 +2200,28 @@ const MessageTray = new Lang.Class({ - _updateShowingNotification: function() { - this._notification.acknowledged = true; - -- Tweener.removeTweens(this._notificationWidget); -- - // We auto-expand notifications with CRITICAL urgency. -- // We use Tweener.removeTweens() to remove a tween that was hiding the notification we are -- // updating, in case that notification was in the process of being hidden. However, -- // Tweener.removeTweens() would also remove a tween that was updating the position of the -- // notification we are updating, in case that notification was already expanded and its height -- // changed. Therefore we need to call this._expandNotification() for expanded notifications -- // to make sure their position is updated. -- if (this._notification.urgency == Urgency.CRITICAL || this._notification.expanded) -+ if (this._notification.urgency == Urgency.CRITICAL) - this._expandNotification(true); - - // We tween all notifications to full opacity. This ensures that both new notifications and - // notifications that might have been in the process of hiding get full opacity. - // -- // We tween any notification showing in the banner mode to banner height -- // (this._notificationWidget.y = -this._notificationWidget.height). -+ // We tween any notification showing in the banner mode to the appropriate height -+ // (which is banner height or expanded height, depending on the notification state) - // This ensures that both new notifications and notifications in the banner mode that might -- // have been in the process of hiding are shown with the banner height. -+ // have been in the process of hiding are shown with the correct height. - // - // We use this._showNotificationCompleted() onComplete callback to extend the time the updated - // notification is being shown. -- // -- // We don't set the y parameter for the tween for expanded notifications because -- // this._expandNotification() will result in getting this._notificationWidget.y set to the appropriate -- // fully expanded value. -+ - let tweenParams = { opacity: 255, -+ y: -this._notificationWidget.height, - time: ANIMATION_TIME, - transition: 'easeOutQuad', - onComplete: this._showNotificationCompleted, - onCompleteScope: this - }; -- if (!this._notification.expanded) -- tweenParams.y = -this._notificationWidget.height; - - this._tween(this._notificationWidget, '_notificationState', State.SHOWN, tweenParams); - }, --- -cgit v0.9.0.2 diff --git a/extra/gnome-shell/main-Dont-mess-up-the-modal-stack-when-the-focus-a.patch b/extra/gnome-shell/main-Dont-mess-up-the-modal-stack-when-the-focus-a.patch new file mode 100644 index 000000000..b1471ce54 --- /dev/null +++ b/extra/gnome-shell/main-Dont-mess-up-the-modal-stack-when-the-focus-a.patch @@ -0,0 +1,29 @@ +From 742587dce258adf436f360eed183a7ca0c58fa18 Mon Sep 17 00:00:00 2001 +From: "Jasper St. Pierre" <jstpierre@mecheye.net> +Date: Wed, 2 Jan 2013 09:05:32 -0500 +Subject: [PATCH] main: Don't mess up the modal stack when the focus actor is + destroyed + +This seems to be an incorrect conversion when we moved from an array +to an object of keys in 3a6b4f3. + +https://bugzilla.gnome.org/show_bug.cgi?id=690965 +--- + js/ui/main.js | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/js/ui/main.js b/js/ui/main.js +index 12daee2..1334d58 100644 +--- a/js/ui/main.js ++++ b/js/ui/main.js +@@ -553,7 +553,7 @@ function pushModal(actor, params) { + curFocusDestroyId = curFocus.connect('destroy', function() { + let index = _findModal(actor); + if (index >= 0) +- modalActorFocusStack[index].actor = null; ++ modalActorFocusStack[index].focus = null; + }); + } + modalActorFocusStack.push({ actor: actor, +-- +1.8.0.2
\ No newline at end of file diff --git a/extra/opal/PKGBUILD b/extra/opal/PKGBUILD index 759e76182..732fc7890 100644 --- a/extra/opal/PKGBUILD +++ b/extra/opal/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 178139 2013-02-16 22:48:57Z ioni $ +# $Id: PKGBUILD 178390 2013-02-21 05:35:59Z heftig $ # Maintainer: Jan de Groot <jan@archlinux.org> # Contributor: Tom K <tomk@runbox.com> pkgname=opal -pkgver=3.10.9 -pkgrel=2 +pkgver=3.10.10 +pkgrel=1 pkgdesc="Open Phone Abstraction Library" arch=(i686 x86_64 'mips64el') url="http://www.opalvoip.org" -license=('GPL') -depends=('ptlib' 'libtheora' 'x264' 'speex' 'gsm') -makedepends=('ffmpeg') +license=(GPL) +depends=(ptlib libtheora x264 speex gsm celt) +makedepends=(ffmpeg) options=(!makeflags) source=(http://ftp.gnome.org/pub/GNOME/sources/opal/${pkgver%.*}/opal-$pkgver.tar.xz opal-ffmpeg.patch) -sha256sums=('86c717a881f5283cfb58a5d52573c337b904115b90fa3e53c77fc543605e7950' +sha256sums=('f208985003461b2743575eccac13ad890b3e5baac35b68ddef17162460aff864' 'd81542907ace54015b7c69c275b0c67f449eeb252ba971ba6ca728a5e20db231') build() { diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD index 78dfbc75b..e5f34756a 100644 --- a/extra/openmpi/PKGBUILD +++ b/extra/openmpi/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 170075 2012-10-31 21:09:28Z stephane $ +# $Id: PKGBUILD 178423 2013-02-21 21:29:02Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> pkgname=openmpi -pkgver=1.6.3 -pkgrel=1.1 +pkgver=1.6.4 +pkgrel=1 pkgdesc="High performance message passing library (MPI)" arch=('i686' 'x86_64' 'mips64el') url="http://www.open-mpi.org" @@ -12,7 +12,7 @@ depends=('gcc-fortran' 'openssh' 'libltdl' 'hwloc') makedepends=('inetutils') options=(!libtool) source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('a61aa2dee4c47d93d88e49ebed36de25df4f6492') +sha1sums=('38095d3453519177272f488d5058a98f7ebdbf10') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -57,9 +57,6 @@ package() { # Openmpi's otfinfo conflicts with the one from texlive mv "${pkgdir}"/usr/bin/otfinfo{,mpi} - # Openmpi's otfdump conflicts with the one from libotf - mv "${pkgdir}"/usr/bin/otfdump{,ompi} - # Remove dangling symlink rm "${pkgdir}"/usr/share/man/man1/orteCC.1 diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD index dac0a1c5e..cee1d1651 100644 --- a/extra/postfix/PKGBUILD +++ b/extra/postfix/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 178150 2013-02-17 00:23:28Z bisson $ +# $Id: PKGBUILD 178407 2013-02-21 10:10:12Z bisson $ # Contributor: Jeff Brodnax <tullyarcher@bellsouth.net> # Contributor: Paul Mattal <paul@archlinux.org> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=postfix pkgver=2.10.0 -pkgrel=2 +pkgrel=3 pkgdesc='Fast, easy to administer, secure mail server' url='http://www.postfix.org/' license=('custom') @@ -38,6 +38,10 @@ build() { -DHAS_PGSQL -I/usr/include/postgresql \ -DHAS_SQLITE \ -DHAS_CDB \ + -DDEF_MANPAGE_DIR=\"/usr/share/man\" \ + -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \ + -DDEF_SAMPLE_DIR=\"/etc/postfix/sample\" \ + -DDEF_README_DIR=\"/usr/share/doc/postfix\" \ ' AUXLIBS=' \ -lsasl2 \ -lldap -llber \ @@ -54,12 +58,7 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" - sh postfix-install -non-interactive \ - install_root="${pkgdir}" \ - daemon_directory="/usr/lib/${pkgname}" \ - sample_directory="/etc/${pkgname}/sample" \ - manpage_directory="/usr/share/man" \ - readme_directory="/usr/share/doc/${pkgname}" \ + sh postfix-install -non-interactive install_root="${pkgdir}" install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" diff --git a/extra/potrace/PKGBUILD b/extra/potrace/PKGBUILD index 48f6111a7..370447a21 100644 --- a/extra/potrace/PKGBUILD +++ b/extra/potrace/PKGBUILD @@ -1,22 +1,27 @@ -# $Id: PKGBUILD 135877 2011-08-20 01:28:52Z bisson $ +# $Id: PKGBUILD 178385 2013-02-21 05:07:45Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Damir Perisa <damir@archlinux.org> pkgname=potrace -pkgver=1.10 -pkgrel=1.1 +pkgver=1.11 +pkgrel=1 pkgdesc='Utility for tracing a bitmap (input: PBM,PGM,PPM,BMP; output: EPS,PS,PDF,SVG,DXF,PGM,Gimppath,XFig)' url='http://potrace.sourceforge.net/' arch=('i686' 'x86_64' 'mips64el') license=('GPL') -depends=('zlib') options=('!libtool') source=("http://potrace.sourceforge.net/download/${pkgname}-${pkgver}.tar.gz") -sha1sums=('e6e8b64d85d30b4695d197a79187ac98c2b236f9') +sha1sums=('7296baf27bf35298263cb3ed3df34a38fed0b441') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --mandir=/usr/share/man --with-libpotrace + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-libpotrace \ + --disable-static \ + make } diff --git a/extra/ptlib/PKGBUILD b/extra/ptlib/PKGBUILD index 3b91baba7..896725a0c 100644 --- a/extra/ptlib/PKGBUILD +++ b/extra/ptlib/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 172101 2012-11-28 10:32:09Z jgc $ +# $Id: PKGBUILD 178389 2013-02-21 05:32:58Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=ptlib -pkgver=2.10.9 -pkgrel=1.1 +pkgver=2.10.10 +pkgrel=1 pkgdesc="Portable Windows Library" arch=('i686' 'x86_64' 'mips64el') url="http://www.opalvoip.org" @@ -12,7 +12,7 @@ depends=('sdl' 'libpulse' 'v4l-utils' 'libldap') replaces=('pwlib') conflicts=('pwlib') source=(http://ftp.gnome.org/pub/GNOME/sources/ptlib/${pkgver%.*}/ptlib-$pkgver.tar.xz) -sha256sums=('d948e326ce238880ce9b52f9f0cd76a4897618e17cc08a347e4a713f36a575fe') +sha256sums=('7fcaabe194cbd3bc0b370b951dffd19cfe7ea0298bfff6aecee948e97f3207e4') build() { cd "${srcdir}/${pkgname}-${pkgver}" |