From fc70b1e8e4396a0c2a4a3abc986daaa810e02ab1 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 23 Jan 2018 02:35:50 +0100 Subject: Switch to meson build system - Use Reverse Domain Name Notation where possible - Move libgd to subprojects/libgd - Use 'local-music' for running in meson build dir Final fix-ups by Marinus Schraal . Closes: #1 --- .gitignore | 3 +- .gitlab-ci.yml | 20 +- .gitmodules | 4 +- AUTHORS | 0 AUTHORS.in | 23 - COPYING | 351 -- ChangeLog | 0 INSTALL | 370 -- LICENSE | 351 ++ Makefile.am | 69 - NEWS | 1328 -------- NEWS.md | 1328 ++++++++ README | 1 - README.md | 12 + autogen.sh | 26 - configure.ac | 66 - data/AboutDialog.ui.in | 2 +- data/Makefile.am | 84 - data/gnome-music.gresource.xml | 22 - data/icons/hicolor/16x16/apps/gnome-music.png | Bin 1158 -> 0 bytes data/icons/hicolor/16x16/apps/org.gnome.Music.png | Bin 0 -> 1158 bytes data/icons/hicolor/22x22/apps/gnome-music.png | Bin 1536 -> 0 bytes data/icons/hicolor/22x22/apps/org.gnome.Music.png | Bin 0 -> 1536 bytes data/icons/hicolor/256x256/apps/gnome-music.png | Bin 93983 -> 0 bytes .../icons/hicolor/256x256/apps/org.gnome.Music.png | Bin 0 -> 93983 bytes data/icons/hicolor/32x32/apps/gnome-music.png | Bin 2595 -> 0 bytes data/icons/hicolor/32x32/apps/org.gnome.Music.png | Bin 0 -> 2595 bytes data/icons/hicolor/48x48/apps/gnome-music.png | Bin 4081 -> 0 bytes data/icons/hicolor/48x48/apps/org.gnome.Music.png | Bin 0 -> 4081 bytes data/icons/hicolor/gnome-music.blend | Bin 630969 -> 0 bytes data/icons/hicolor/gnome-music.svg | 3516 -------------------- data/icons/hicolor/org.gnome.Music.blend | Bin 0 -> 630969 bytes data/icons/hicolor/org.gnome.Music.svg | 3516 ++++++++++++++++++++ .../hicolor/symbolic/apps/gnome-music-symbolic.svg | 28 - .../symbolic/apps/org.gnome.Music-symbolic.svg | 28 + data/meson.build | 79 + data/org.gnome.Music.appdata.xml.in | 2 +- data/org.gnome.Music.desktop.in | 2 +- data/org.gnome.Music.gresource.xml | 22 + data/org.gnome.Music.gschema.xml | 2 +- gnome-music.in | 44 +- gnomemusic/Makefile.am | 19 - gnomemusic/views/Makefile.am | 13 - gnomemusic/widgets/Makefile.am | 12 - help/LINGUAS | 14 + help/Makefile.am | 22 - help/meson.build | 17 + libgd | 1 - meson.build | 93 + meson_post_conf.py | 12 + meson_post_install.py | 21 + po/Makevars | 78 - po/meson.build | 1 + subprojects/libgd | 1 + 54 files changed, 5528 insertions(+), 6075 deletions(-) delete mode 100644 AUTHORS delete mode 100644 AUTHORS.in delete mode 100644 COPYING delete mode 100644 ChangeLog delete mode 100644 INSTALL create mode 100644 LICENSE delete mode 100644 Makefile.am delete mode 100644 NEWS create mode 100644 NEWS.md delete mode 100644 README delete mode 100755 autogen.sh delete mode 100644 configure.ac delete mode 100644 data/Makefile.am delete mode 100644 data/gnome-music.gresource.xml delete mode 100644 data/icons/hicolor/16x16/apps/gnome-music.png create mode 100644 data/icons/hicolor/16x16/apps/org.gnome.Music.png delete mode 100644 data/icons/hicolor/22x22/apps/gnome-music.png create mode 100644 data/icons/hicolor/22x22/apps/org.gnome.Music.png delete mode 100644 data/icons/hicolor/256x256/apps/gnome-music.png create mode 100644 data/icons/hicolor/256x256/apps/org.gnome.Music.png delete mode 100644 data/icons/hicolor/32x32/apps/gnome-music.png create mode 100644 data/icons/hicolor/32x32/apps/org.gnome.Music.png delete mode 100644 data/icons/hicolor/48x48/apps/gnome-music.png create mode 100644 data/icons/hicolor/48x48/apps/org.gnome.Music.png delete mode 100644 data/icons/hicolor/gnome-music.blend delete mode 100644 data/icons/hicolor/gnome-music.svg create mode 100644 data/icons/hicolor/org.gnome.Music.blend create mode 100644 data/icons/hicolor/org.gnome.Music.svg delete mode 100644 data/icons/hicolor/symbolic/apps/gnome-music-symbolic.svg create mode 100644 data/icons/hicolor/symbolic/apps/org.gnome.Music-symbolic.svg create mode 100644 data/meson.build create mode 100644 data/org.gnome.Music.gresource.xml mode change 100644 => 100755 gnome-music.in delete mode 100644 gnomemusic/Makefile.am delete mode 100644 gnomemusic/views/Makefile.am delete mode 100644 gnomemusic/widgets/Makefile.am create mode 100644 help/LINGUAS delete mode 100644 help/Makefile.am create mode 100644 help/meson.build delete mode 160000 libgd create mode 100644 meson.build create mode 100755 meson_post_conf.py create mode 100755 meson_post_install.py delete mode 100644 po/Makevars create mode 100644 po/meson.build create mode 160000 subprojects/libgd diff --git a/.gitignore b/.gitignore index 2c302203..7200d973 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *~ -libgd/ +builddir/ +subprojects/libgd/ /*.bak /*.lo /*.o diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d427c5f..2f53a321 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,27 +5,27 @@ stages: - deploy variables: - DEPENDENCIES: python3 autoconf-archive gettext-devel git pygobject3 + DEPENDENCIES: python3 redhat-rpm-config gettext-devel git pygobject3 pygobject3-devel python3-gobject python3-cairo-devel - redhat-rpm-config gtk3-devel gobject-introspection-devel - tracker-devel gnome-common which libmediaart-devel grilo-devel - gnome-online-accounts-devel + gtk3-devel gobject-introspection-devel tracker-devel + which libmediaart-devel grilo-devel gnome-online-accounts-devel + meson ninja-build build: stage: build script: - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES - git submodule update --init - - ./autogen.sh - - make + - meson builddir + - ninja -C builddir deploy: stage: deploy script: - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES - git submodule update --init - - ./autogen.sh - - make distcheck + - meson builddir + - ninja dist -C builddir only: - tags @@ -33,11 +33,11 @@ pyflakes: stage: check script: - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck python3-pyflakes - - python3-pyflakes . + - python3-pyflakes gnomemusic/ pep8: stage: check script: - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck python3-pep8 - - python3-pep8 --ignore=W503,E402 --show-source --show-pep8 --exclude=mpris.py,grilo.py,query.py,player.py,window.py . + - python3-pep8 --ignore=W503,E402 --show-source --show-pep8 --exclude=mpris.py,grilo.py,query.py,player.py,window.py gnomemusic/ allow_failure: true diff --git a/.gitmodules b/.gitmodules index bfd964e3..e91a9d2e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "libgd"] - path = libgd +[submodule "subprojects/libgd"] + path = subprojects/libgd url = git://git.gnome.org/libgd diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index e69de29b..00000000 diff --git a/AUTHORS.in b/AUTHORS.in deleted file mode 100644 index 98d5366e..00000000 --- a/AUTHORS.in +++ /dev/null @@ -1,23 +0,0 @@ - GNOME Music Authors - =================== - -GNOME Music was initially written by: - - César García Tapia - Seif Lotfy - Vadim Rutkovsky - -GNOME Music is currently maintained by: - - Felipe Borges - Marinus Schraal - -"Magic of the vinyl" photo by Sami Pyylampi (License: CC-BY-SA 2.0) - -Patches have been received from: - -#authorslist# - - ... send patches to get your name here ... - --- End diff --git a/COPYING b/COPYING deleted file mode 100644 index 2dc06fe3..00000000 --- a/COPYING +++ /dev/null @@ -1,351 +0,0 @@ -# This GPL license have a exception clause added, see at the bottom of file -# for details. - - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. - -The GNOME Music authors hereby grant permission for non-GPL compatible -GStreamer plugins to be used and distributed together with GStreamer and -GNOME Music. This permission is above and beyond the permissions granted -by the GPL license by which GNOME Music is covered. If you modify this -code, you may extend this exception to your version of the code, but you -are not obligated to do so. If you do not wish to do so, delete this -exception statement from your version. - diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index e69de29b..00000000 diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 20998407..00000000 --- a/INSTALL +++ /dev/null @@ -1,370 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, -Inc. - - Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. This file is offered as-is, -without warranty of any kind. - -Basic Installation -================== - - Briefly, the shell command `./configure && make && make install' -should configure, build, and install this package. The following -more-detailed instructions are generic; see the `README' file for -instructions specific to this package. Some packages provide this -`INSTALL' file but do not implement all of the features documented -below. The lack of an optional feature in a given package is not -necessarily a bug. More recommendations for GNU packages can be found -in *note Makefile Conventions: (standards)Makefile Conventions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. Caching is -disabled by default to prevent problems with accidental use of stale -cache files. - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You need `configure.ac' if -you want to change it or regenerate `configure' using a newer version -of `autoconf'. - - The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. - - Running `configure' might take a while. While running, it prints - some messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package, generally using the just-built uninstalled binaries. - - 4. Type `make install' to install the programs and any data files and - documentation. When installing into a prefix owned by root, it is - recommended that the package be configured and built as a regular - user, and only the `make install' phase executed with root - privileges. - - 5. Optionally, type `make installcheck' to repeat any self-tests, but - this time using the binaries in their final installed location. - This target does not install anything. Running this target as a - regular user, particularly if the prior `make install' required - root privileges, verifies that the installation completed - correctly. - - 6. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - - 7. Often, you can also type `make uninstall' to remove the installed - files again. In practice, not all packages have tested that - uninstallation works correctly, even though it is required by the - GNU Coding Standards. - - 8. Some packages, particularly those that use Automake, provide `make - distcheck', which can by used by developers to test that all other - targets like `make install' and `make uninstall' work correctly. - This target is generally not run by end users. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c99 CFLAGS=-g LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you can use GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. This -is known as a "VPATH" build. - - With a non-GNU `make', it is safer to compile the package for one -architecture at a time in the source code directory. After you have -installed the package for one architecture, use `make distclean' before -reconfiguring for another architecture. - - On MacOS X 10.5 and later systems, you can create libraries and -executables that work on multiple system types--known as "fat" or -"universal" binaries--by specifying multiple `-arch' options to the -compiler but only a single `-arch' option to the preprocessor. Like -this: - - ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CPP="gcc -E" CXXCPP="g++ -E" - - This is not guaranteed to produce working output in all cases, you -may have to build one architecture at a time and combine the results -using the `lipo' tool if you have problems. - -Installation Names -================== - - By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX', where PREFIX must be an -absolute file name. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. In general, the -default for these options is expressed in terms of `${prefix}', so that -specifying just `--prefix' will affect all of the other directory -specifications that were not explicitly provided. - - The most portable way to affect installation locations is to pass the -correct locations to `configure'; however, many packages provide one or -both of the following shortcuts of passing variable assignments to the -`make install' command line to change installation locations without -having to reconfigure or recompile. - - The first method involves providing an override variable for each -affected directory. For example, `make install -prefix=/alternate/directory' will choose an alternate location for all -directory configuration variables that were expressed in terms of -`${prefix}'. Any directories that were specified during `configure', -but not in terms of `${prefix}', must each be overridden at install -time for the entire installation to be relocated. The approach of -makefile variable overrides for each directory variable is required by -the GNU Coding Standards, and ideally causes no recompilation. -However, some platforms have known limitations with the semantics of -shared libraries that end up requiring recompilation when using this -method, particularly noticeable in packages that use GNU Libtool. - - The second method involves providing the `DESTDIR' variable. For -example, `make install DESTDIR=/alternate/directory' will prepend -`/alternate/directory' before all installation names. The approach of -`DESTDIR' overrides is not required by the GNU Coding Standards, and -does not work on platforms that have drive letters. On the other hand, -it does better at avoiding recompilation issues, and works well even -when some directory options were not specified in terms of `${prefix}' -at `configure' time. - -Optional Features -================= - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - - Some packages offer the ability to configure how verbose the -execution of `make' will be. For these packages, running `./configure ---enable-silent-rules' sets the default to minimal output, which can be -overridden with `make V=1'; while running `./configure ---disable-silent-rules' sets the default to verbose, which can be -overridden with `make V=0'. - -Particular systems -================== - - On HP-UX, the default C compiler is not ANSI C compatible. If GNU -CC is not installed, it is recommended to use the following options in -order to use an ANSI C compiler: - - ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" - -and if that doesn't work, install pre-built binaries of GCC for HP-UX. - - HP-UX `make' updates targets which have the same time stamps as -their prerequisites, which makes it generally unusable when shipped -generated files such as `configure' are involved. Use GNU `make' -instead. - - On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot -parse its `' header file. The option `-nodtk' can be used as -a workaround. If GNU CC is not installed, it is therefore recommended -to try - - ./configure CC="cc" - -and if that doesn't work, try - - ./configure CC="cc -nodtk" - - On Solaris, don't put `/usr/ucb' early in your `PATH'. This -directory contains several dysfunctional programs; working variants of -these programs are available in `/usr/bin'. So, if you need `/usr/ucb' -in your `PATH', put it _after_ `/usr/bin'. - - On Haiku, software installed for all users goes in `/boot/common', -not `/usr/local'. It is recommended to use the following options: - - ./configure --prefix=/boot/common - -Specifying the System Type -========================== - - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS - KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). - -Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf limitation. Until the limitation is lifted, you can use -this workaround: - - CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash - -`configure' Invocation -====================== - - `configure' recognizes the following options to control how it -operates. - -`--help' -`-h' - Print a summary of all of the options to `configure', and exit. - -`--help=short' -`--help=recursive' - Print a summary of the options unique to this package's - `configure', and exit. The `short' variant lists options used - only in the top level, while the `recursive' variant lists options - also present in any nested packages. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`--prefix=DIR' - Use DIR as the installation prefix. *note Installation Names:: - for more details, including other options available for fine-tuning - the installation locations. - -`--no-create' -`-n' - Run the configure checks, but stop before creating any output - files. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..2dc06fe3 --- /dev/null +++ b/LICENSE @@ -0,0 +1,351 @@ +# This GPL license have a exception clause added, see at the bottom of file +# for details. + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. + +The GNOME Music authors hereby grant permission for non-GPL compatible +GStreamer plugins to be used and distributed together with GStreamer and +GNOME Music. This permission is above and beyond the permissions granted +by the GPL license by which GNOME Music is covered. If you modify this +code, you may extend this exception to your version of the code, but you +are not obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 8f038be4..00000000 --- a/Makefile.am +++ /dev/null @@ -1,69 +0,0 @@ -ACLOCAL_AMFLAGS = -I m4 -I libgd -NULL = - -bin_SCRIPTS = gnome-music - -SUBDIRS = libgd gnomemusic data po help - -EXTRA_DIST = \ - AUTHORS.in \ - README.md \ - gnome-music.in - $(NULL) - -CLEANFILES = \ - $(bin_SCRIPTS) - $(NULL) - -MAINTAINERCLEANFILES = \ - $(srcdir)/AUTHORS \ - $(srcdir)/INSTALL \ - $(srcdir)/aclocal.m4 \ - $(srcdir)/autoscan.log \ - $(srcdir)/compile \ - $(srcdir)/config.guess \ - $(srcdir)/config.h.in \ - $(srcdir)/config.sub \ - $(srcdir)/configure.scan \ - $(srcdir)/depcomp \ - $(srcdir)/install-sh \ - $(srcdir)/ltmain.sh \ - $(srcdir)/missing \ - $(srcdir)/mkinstalldirs \ - $(NULL) - -GITIGNOREFILES = \ - m4 \ - $(NULL) - -dist-hook: gen-AUTHORS - -gen-AUTHORS: - $(AM_V_GEN)if test -d $(srcdir)/.git; then \ - out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \ - perl -p -e "s/#authorslist#// and print '$$out'" \ - < $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp && \ - mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ; \ - fi - -gnome-music: gnome-music.in Makefile - $(AM_V_GEN)sed \ - -e s!\@srcdir\@!$(abs_top_srcdir)! \ - -e s!\@prefix\@!$(prefix)! \ - -e s!\@datadir\@!$(datadir)! \ - -e s!\@pkgdatadir\@!$(pkgdatadir)! \ - -e s!\@libexecdir\@!$(libexecdir)! \ - -e s!\@libdir\@!$(libdir)! \ - -e s!\@pkglibdir\@!$(pkglibdir)! \ - -e s!\@localedir\@!$(localedir)! \ - -e s!\@pythondir\@!$(pythondir)! \ - -e s!\@pyexecdir\@!$(pyexecdir)! \ - -e s!\@PACKAGE\@!$(PACKAGE)! \ - -e s!\@VERSION\@!$(VERSION)! \ - < $< > $@ - chmod a+x $@ - -all-local: gnome-music - --include $(top_srcdir)/git.mk - diff --git a/NEWS b/NEWS deleted file mode 100644 index 30fff6b2..00000000 --- a/NEWS +++ /dev/null @@ -1,1328 +0,0 @@ -Overview of changes in 3.27.90 -============================== - -* Lots of cleanup/refactoring -* Moved to Gitlab -* Add album scrobbling -* Dropped some more libgd use -* Add context menu to interact with playlist items -* Drag and drop reorder in playlists -* Add album scrobbling -* Rework notifications -* Rework art cache -* CI fixes -* Last bits of HiDPI support - -Bugs fixed: - Clicking on cancel button from selection bar crashses music (#142) - Crashed when trying to play music over UPnP (#46) - Playlists are not displayed (#127) - Fix deprecated accelerator call (#2) - Crash during startup in albumart lookup (#121) - Use stack for covers in player (#55) - Finish HiDPI support (#65) - Scale art more efficiently (#81) - Playlist not deleted after close (#106) - Allow undo on playlist track removal (#50) - Fix artist/album search return all songs (#4) - Replace deprecated override_color call (#3) - Allow access to host cache from flatpak (!15) - Reset song to clean on new playlist (#135) - Use context menu on playlist tracks (#48) - Replace deprecated add_accelerator call (#2) - Console spam on startup related to Spotify (#132) - -Thanks to our contributors this release: - Alberto Fanjul - Felipe Borges - Gyanesh Malhotra - Jean Felder - Marinus Schraal - Subhadip Jana - -Translations updated: - German - Polish - Friulian - Indonesian - Finnish - Swedish - Catalan - Hungarian - Esperanto - -Overview of changes in 3.27.4 -============================= - -Bugs fixed: - Migrate from intltool to gettext (#787272) - Add appstream metadata to non-deprecated location (#790869) - Playlist ordering in views (#772090) - Fix style of GdTaggedEntry (#791077) - PEP-8 fixes & cleanups (#791481,!7,!9,!10,!17,!18) - Update libgd (!8) - Fixes to navigating back (#777238) - Enable mouse button for navigating back (#771934) - Fix constructor deprecation warning (#790127) - Fix PyGObject deprecation warning (#788701) - Fix order in method call (!21) - Fix log decorator order (!22) - Use python3 style super() calls (!16) - DiscListBoxWidget update favourites (!23) - Add the ability to rename playlists (!11) - Update README.md (!12) - -Thanks to our contributors this release: - Abhinav Singh - Florian Darfeuille - Jean Felder - Jeremy Bicha - Kainaat Singh - Marinus Schraal - Niels De Graef - Phil Dawson - Piotr Drąg - Sambhav Kothari - -Translations updated: - Dutch - Romanian - Icelandic - Persian - Catalan (Valencian) - German - Czech - Friulian - Norwegian bokmål - Croatian - Indonesian - Serbian - Swedish - -Overview of changes in 3.26.0 -============================= - -Translations updated: - Catalan - French - Romanian - Danish - -Overview of changes in 3.25.92 -============================== - -Bugs fixed: - 786454 Wrong player.set_playlist call in albumwidget.py - 780548 Problem scrolling albums on wayland - 709073 Different icon in System Settings Sound pane - -Thanks to our contributors this release: - Jan-Michael Brummer - Jean Felder - Marinus Schraal - Robert Greener - -Translations updated: - Croatian - Italian - Danish - Vietnamese - -Overview of changes in 3.25.91 -============================== - -Bugs fixed: - 786541 Add missing logger imports - 786315 Make the playlist button a circle - -Thanks to our contributors this release: - Jean Felder - Jordan Petridis - -Translations updated: - Polish - French - -Overview of changes in 3.25.90 -============================== - -* Limit concurrent loading of coverart -* Fixes to appdata -* Use tracker:title-order for sorting - -Bugs fixed: - 783466 query: Use tracker:title-order() SPARQL function for title sorting - 785697 Remove comments from org.gnome.Music.json - -Thanks to our contributors this release: - Carlos Garnacho - Felipe Borges - Georges Basile Stavracas Neto - Kalev Lember - Marinus Schraal - Piotr Drąg - -Translations updated: - Turkish - Croatian - Czech - Malayalam - -Overview of changes in 3.25.4 -============================= - -* Build: depend on libtracker-sparql-2.0 -* Add Flatpak manifest -* Mark forgotten string for translation - -Bugs fixed: - 776668 fix minor seek stutter - 774500 refactor gnome-music.in to be more readable - 781684 playlistview artist field incorrect - 777346 allow seek using arrow keys - 781754 fix media-player-keys bus name - -Thanks to our contributors this release: - Abhinav Singh - Carlos Garnacho - Carlos Soriano - Felipe Borges - Marinus Schraal - Pablo Palácios - Piotr Drąg - -Translations updated: - Belarusian - Slovenian - Polish - Indonesian - - -Overview of changes in 3.24.1.1 -=============================== - -* Revert desktop file rename -* In turn revert Flatpak manifest addition - -Overview of changes in 3.24.1 -============================= - -* Add Flatpak manifest -* Fix crashers -* Up Grilo requirements - -Bugs fixed: - 780523 playlist dialog shows the playlist that is going to be deleted - 779905 build: Add a first version of Flatpak manifest - -Thanks to our contributors this release: - Abhinav Singh - Carlos Soriano - Marinus Schraal - -Translations updated: - Portuguese - Norwegian bokmål - Greek - Croatian - -Overview of changes in 3.24.0 -============================= - -Translations updated: - Russian - Latvian - Brazilian Portuguese - -Overview of changes in 3.23.92 -============================== - -* Code cleanups -* Local art retrieval added -* AppData screenshots updated - -Bugs fixed: - 779013 only one (older) screenshot in appdata file - 779585 Window is wider than 1024px - 777041 Unexpected behaviour of playlist notification actions, sometimes - deletes, sometimes not - 776668 double click on seek bar pauses the songs - 779052 MPRIS TrackList GoTo Method Crashes gnome-music - 779584 Handle coverart extraction in gnome-music - -Thanks to our contributors this release: - Abhinav Singh - Andreas Nilsson - Carlos Garnacho - Marinus Schraal - -Translations updated: - Hungarian - Slovak - Serbian - Galician - Lithuanian - Italian - Czech - Polish - Danish - Scottish Gaelic - Occitan - French - Korean - Indonesian - Basque - Icelandic - Swedish - Chinese (Taiwan) - Finnish - -Overview of changes in 3.23.91 -============================== - -* Code cleanups - -Bugs fixed: - 774470 Use song instead of track in the source codebase - 774449 Cleanup baseview.py - -Thanks to our contributors this release: - Marinus Schraal - Rashi Sah - Suyash Garg - -Translations updated: - Finnish - Kazakh - Danish - Norwegian bokmål - Slovak - Polish - Basque - Indonesian - Italian - Hungarian - Catalan - Friulian - Ukrainian - German - Brazilian Portuguese - Serbian - Spanish - -Overview of changes in 3.23.90 -============================== - -* Empty-state added for playlist dialog -* Cleanups - -Bugs fixed: - 772089 [playlist dialog] implement empty state dialog - 776680 'Select All' doesn't have an action in Artists tab - 777541 Crashes as soon as trying to play a song - 777219 PEP 8 fix : application.py - -Thanks to our contributors this release: - Abhinav Singh - Alberto Fanjul - Marinus Schraal - Yash Singh - -Translations updated: - Czech - Indonesian - German - Turkish - Catalan - Polish - Slovak - Friulian - -Overview of changes in 3.23.4 -============================= - -* Revamp notifications and drop GdNotification -* More cleanups - -Bugs fixed: - 776157 Improve notifications' interaction - 776849 Gnome-music crashes on clicking "select all" in album - 777127 Pressing back after no search results from single album view leads to - force close - 777235 Pressing back button when searching through a subview, should turn - search off and go back - 777216 PEP 8 fix : __init__.py - 776673 Recompile resources when builddir is not same as srcdir - 772975 In a playlist repeatSong/shuffle/repeatSong take effect from the next - song - -Thanks to our contributors this release: - Abhinav Singh - Alberto Fanjul - Georges Basile Stavracas Neto - Marinus Schraal - Sambhav Kothari - -Translations updated: - Finnish - Kazakh - Spanish - -Overview of changes in 3.23.3 -============================= - -* Start to use Grilo for storing metadata -* Rework starring widget -* DistListBox improvements -* Stop walking directories for no reason -* Finish move to tracker async calls - -Bugs fixed: - 774754 Use correct Grilo property for favourite tracking - 772689 Use tracker async queries - 775759 create_playlists cursor_callback method has a TypeError - 775930 Correct error variable names - -Thanks to our contributors: - Carlos Garnacho - Georges Basile Stavracas Neto - Marinus Schraal - Sambhav Kothari - Yash Singh - -Translations updated: - German - Hungarian - Russian - -Overview of changes in 3.23.2 -============================= - -* Rely on Cairo for cover scaling -* Smooth progressbar -* Make more tracker calls async -* General cleanups -* Tackle long-standing issues with album separation - -Bugs fixed: - 773478 artistviews: pep cleanup - 772263 Use unicode in translatable strings - 772698 async work - 774260 handle optional album-artist in queries - 774481 Add missing license header to gnome-music.in - 773769 songsview: pep cleanup - 772628 player: make progress scale move smoothly - -Thanks to our contributors: - Carlos Garnacho - Clayton G. Hobbs - Marinus Schraal - Pablo Palácios - Piotr Drąg - Suyash Garg - Yash Singh - -Translation updated: - Czech - Friulian - Hungarian - Norwegian bokmål - Slovenian - -Overview of changes in 3.23.1 -============================= - -* Rework art lookup -* Add HiDPI support (90% done) -* Add mnemonics -* Rework about dialog -* Split up views & widgets -* Rework the album widgets -* Show multi-disc albums as such -* Make playlist retrieval non-blocking -* Add composer label & search - -Bugs fixed: - 761185 Help should use tag when referring to application names - 771348 Use | as I18N separator - 772403 Album art: also consider height when scaling - 765476 Crashes upon opening with a GLib error - 719452 Provide proper output if gobject-introspection-devel is missing - 773192 Fix playlists loading time - 705094 Display more details on Album view - 750827 Album views - if an album has multiple disks, group tracks by disk - 761891 Weird interaction selection mode + favourites - -Thanks to our contributors: - Carlos Garnacho - Georges Basile Stavracas Neto - Konstantin PospelovSebastian Rasmussen - Marinus Schraal - Sebastian Rasmussen - -Translation updated: - Basque - Chinese (simplified) - Chinese (Taiwan) - Czech - Danish - Friulian - German - Italian - Swedish - -Overview of changes in 3.22.0 -============================= - -* Update mainters in doap - -Translations updated: - Ukrainian - Catalan - Scottish Gaelic - Persian - -Overview of changes in 3.21.92 -============================== - -* Fix keyboard play/pause handling -* Remove top separator in song lists -* Do not remove static playlists on Delete keypress - -Bugs fixes: - 771249 Static playlists should not be removed using the Delete key - 770178 Remove the first Songs row separator - 754096 Space doesn't always toggle pause/play - -Thanks to our contributors: - Konstantin Pospelov - Marinus Schraal - Yash Singh - -Translations updated: - Danish - Greek - Latvian - Galician - Swedish - Hebrew - Vietnamese - British English - Lithuanian - Kazakh - Korean - Friulian - Serbian - -Overview of changes in 3.21.90 -============================== - -* New keyboard shortcuts and a shortcuts window to go with it -* Move to cleanup the codebase style (PEP-8) & use docstrings, see README -* Better sorting in albums and artists view -* Playlist dialog enhanced with a 'new playlist' entry -* Move to GtkFlowBox for albums view, a significant performance improvement - -Bugs fixed: - 761502 Include playlists from Music dir only & order static playlists on top - 766115 Return songs only once - 746447 Require tracker 1.8 for titled playlists - 765609 Fix mpris repeatmode - 761625 Cleanup artist/author ambiguity - 747953 Don't leak information over http through Grilo & unregister sources - 754700 Require Grilo 0.3.1 and use the album-artist key if available - 742531 Ignore punctuation when sorting albums and artists, requires tracker 1.9 - 758637 Implement new keyboard shortcuts - 757833 Add GtkShortcut window - 769774 Fix sidelist shadow - 769772 Use GtkSearchBar for the searchbar + misc fixes - 744834 Add new playlist entry to playlist dialog + misc fixes - 760164 Use GtkFlowBox for albums view - -Thanks to our contributors: - Billy Barrow - Carlos Garnacho - Divyanshu Vishwakarma - Elias Entrup - Evandro Giovanini - Felipe Borges - Gaurav Narula - Georges Basile Stavracas Neto - Kevin Haller - Marinus Schraal - -Translations updated: - Occitan - Catalan - Spanish - French - Friulian - Slovak - Czech - Indonesian - Brazilian Portuguese - German - Hungarian - Finnish - Polish - Portuguese - -Overview of changes in 3.20.2 -============================= - -Bugs fixed: - 705069 Port to Gio GDBUS API - 763618 Clarify jhbuild instructions in README - 755089 Emit playback-status-changed after playlist ends - 744820 Accept response on row-activated in Playlist Dialog - 765598 Bump Gtk+ minimum version to 3.19.3 - 761961 Stop the player when destroying window - -Translations updated: - Swedish - Friulian - Esperanto - Brazilian Portuguese - Occitan - -Overview of changes in 3.20.0 -============================= - -Translations updated: - Danish - Hungarian - -Overview of changes in 3.19.92 -============================== - -Bugs fixed: - 762821 Update Grilo plugin ranks to 0.3 format - 761941 Fix Pango critical warnings on searchbar - 761890 Check if visible child is ArtistsAlbumsWidget on search toggle - 763304 Don't assume that nmm:MusicPieces will have a nie:url in playlists - 744821 Properly de/activate select button on PlaylistDialog when navigating w/ arrow keys - 744831 Fix crash while deleting multiple playlists - a173f2 Update libgd - -Translations updated: - Occitan - Korean - Slovenian - French - -Special thanks to the new contributors: - Gaurav Narula - Marinus Schraal - Prashant Tyagi - Saiful B. Khan - -Overview of changes in 3.19.91 -============================== - -Bugs fixed: - 744829 No more duplicate playlists on the sidebar - 762406 More Grilo 0.3 transition fixes - 762265 No more notifications on track changes - -Translations updated: - Slovak - Occitan - Ukrainian - -Overview of changes in 3.19.90 -============================== - -Bugs fixed: - 761173 Update tracker queries to sparql 1.1 syntax - 760170 Fix check button appearance on AlbumWidget - 760170 Fix check buttons appearance in Songs and Playlist view - 736463 Reposition the scrollbar in the search window - 760171 Resized songs list for better viewing in large window - -Translations updated: - Latvian - Bulgarian - -Overview of changes in 3.19.4 -============================= - -Bugs fixed: - Let GtkApplication automatically load the app-menu - Refactor the way we connect menu actions - 758942 Use grilo 0.3 for GNOME 3.20 - 758942 Fix deprecation warnings in GTK+ - Update libgd from master - Scale the playlist name to match the mockups - 759024 Use the path of the filter model in search results - 739924 Make search find strings with accents - 759882 Fix warnings when switching between stack pages - Add symbolic icon - 760033 Make albumart fetching truly asynchronous - 760033 Defer serialization of default icon - 760033 Set model on the view after all insertions happened - 760033 Remove check for dup jobs - 760033 Don't add items on idle - 760033 Depend on Tracker >= 1.7.1 - 759587 Rework songs, artists, playlists, and albums queries - Pass width/height during pixbuf loading - 751163 Restrict music catalog to the Music folder - 760381 Use GIO async APIs to download cover art - 734958 Increase the maximum width of the artist and track name - -Translations updated: - Spanish - Slovenian - -Overview of changes in 3.18.2 -============================= - -Bugs fixed: - 755601 Fix styling for entry tags (libgd) - 756256 Fix XML tag in help - 746446 Reset app title to Music after leaving album view - 756330 Fix crashes when coming back from search view - 757227 Fix missing toolbar when coming back from search result g - -Translations updated: - Serbian - German - Greek - Czech - Basque - Lithuanian - Hungarian - -Overview of changes in 3.18.0 -============================= - -Translations updated: - Danish - Swedish - - -Overview of changes in 3.17.92 -============================= - -Bugs fixed: - 744827 Empty stars in 'Search' view - 754654 Fixes for staticmethod definitions - 754702 Search drop-down doesn't show the right default source - 754836 Toggling search of when on a albumWidget doesn't make search view disappear - 754977 gnomemusic/widgets.py using depreciated PARAM_READWRITE - -Translations updated: - Added Icelandic - Finnish update - Fix FSF address in Polish - French - Kazakh - Korean - Lithuanian - Turkish - Persian - - -Overview of changes in 3.17.91 -============================= - -Bugs fixed: - 738516 Tags in search textbox are broken - -Translations updated: - Chinese (Taiwan) - French - Galician s - German - Greek - Indonesian - Italian - Polish - Update Catalan transation - - -Overview of changes in 3.17.90 -============================= - -Bugs fixed: - 744658 Playlists sidebar - border is cut off - 753488 Clicking on artist on search results does nothing - -Translations updated: - Brazilian Portuguese - Czech - Fix Portuguese desktop keywords - Friulian - Norwegian bokmål - Turkish - - -Overview of changes in 3.17.4 -============================= - -Bugs fixed: - 705070 Last.fm/libre.fm integration - 747233 Remove "All Artists" - 752591 Convert margin_right to margin_end - 752592 Trivial code formatting cleanups - -Several deprecations were removed -More performance improvements -Translations updated - - -Overview of changes in 3.17.3 -============================= - -Bugs fixed: - 743362 Give a nicer welcome - 744464 No results screen for Search - 747749 Cant't play favourite song in Album view - 748375 #!/bin/bash in autogen.sh - 749981 Tracks outside Music and Downloads are displayed in playlists - -Translations updated: - Added Occitan - Dutch 316 - Esperanto - Fix to Catalan - Greek - Norwegian bokmål - Slovak - Spanish - Tajik - Turkish - l10n: Update Japanese - update zh_CN - - -Overview of changes in 3.16.0 -============================= - -Translations updated: - Basque language - Finnish update - Fix a syntax error in desktop file keywords Bosnian - Indonesian - Tajik - Update Aragonese - Update Catalan - - -Overview of changes in 3.15.92 -============================= - -* Bug fix release - -Bugs fixed: - 744657 Loading in-app notification gets stuck - 745646 Improve sorting of "songs" view - 745647 shuffleHistory fixes - 745648 Song view elements jump around - 745650 Not Enough Space Given For Track Titles in Album View - -Translations updated: - Added Bosnian - Danish - German - Korean - Polish - Serbian - Slovenian - Swedish - Turkish - l10n: Update Japanese - - -Overview of changes in 3.15.91 -============================= - -* Bug fix release - -Bugs fixed: - 705852 Now playing indicator is lost on switching views / artists / artist albums - 729377 Convert menu of gear button in the Playlists view into a popover - 729525 Show a loading animation when Add to Playlist is clicked in Albums and Artists view - 743310 Updates to Smart Playlist functionality in 3.15.4 - 743883 Refresh Playlists/Songs view when star toggled - 743884 Protect smart playlists - 743901 Favorite Playlist and Starring implementation - 744005 stars in Album/Artist/Search views - 744655 Loading in-app notification is malformed - 744807 Last song on album view keeps repeating in "mix/no repeat" mode - 744832 Undo playlist delete --> reinsert at previous position - -Translations updated: - Basque language - Brazilian Portuguese - Chinese (Taiwan) - Czech - Fix German desktop file keyword - French - Galician s - Greek - Hebrew - Hungarian - Italian - Kazakh - Lithuanian - Norwegian bokmål from Åka Sikrom - Russian - Slovak - Spanish - Swedish - Ukrainian - Update Aragonese - - -Overview of changes in 3.15.90 -============================= - -* New smart playlist - Favourite tracks, all views updated to allow - making a track favourite -* All Artists is not selected by default - improves performance -* All smart playlists now retyurn max 50 items -* Playlists menu now uses popover -* Notification appears on loading operations -* Favourite songs are now displayed on search view -* GStreamer discoverer performance fixes from garnacho -* Minor UI fixes - - -* Bugs fixed: - 744005 stars in Album/Artist/Search views - 729525 Show a loading animation when Add to Playlist is clicked in Albums and Artists view - 729377 Convert menu of gear button in the Playlists view into a popover - 743310 Updates to Smart Playlist functionality in 3.15.4 - - -* Updated translations and help files - -Overview of changes in 3.15.4 -============================= - -* Smart playlists - Most Played, Never Played, Recently Played - The list is not yet final, stay tuned. Note that we use Last.fm's way - to count song as 'played' - more than 40% of song content should be played. -* Chunked loading was removed - scrolling should be faster -* Content is now hidden before fully loaded - notification on the progress will - land in master in next version. -* Playlists are remvoed after time out, removal can be undone -* Dependency cnahge: libmediaart-2.0.pc is now required -* Replaygain tags are now supported -* Overall performance fixes - -* Bugs fixed: - 729376 New Playlist in application menu doesn't do anything - 704257 Visible content loading - 742603 Regression: empty covers are oversized in playbar, still 'in-progress' on artists view - 742451 Support Undo when removing playlists - 733686 Gnome music will not launch - 726459 Crash on playlist tabs when new media has been scanned - 702519 Smart playlists - 742800 Playlist broken due to typo - 742123 Hitting 'cancel' while creating new playlist crashes program - 731613 gnome-music-3.12.2 fails to start if xdg default directories are not created - 742011 Query: add a/an to articles - 730269 ReplayGain support? - -* Updated translations and help files - -Overview of changes in 3.15.2 -============================= - -* Better thread handling while fetching album art -* Some UI/UX goodies -* Notification can now be disabled -* 'The' (and translation) is not disregarded during sorting -* MPRIS improvements - -* Bugs fixed: - 736925 Remove deprecation warnings from AlbumWidget.ui - 737142 Remove remaining gtk deprecation warnings - 737571 No covers loaded on libmediaart 0.6.0 - 736241 Prefer embedded album art over downloaded - 732151 High CPU and sluggish performance - 733473 Use "Alt + left arrow" to navigate back - 738465 Have a dconf switch to disable notifications - 731392 Nicer empty state - 729378 Disregard "The" in titles - 734513 play/pause is activated twice when pressing spacebar and play/pause button is active/selected - 729309 Add support for MPRIS Playlists - 740211 Add support for MPRIS TrackList - 740212 Bump MPRIS support to 2.2 - 740330 Album view - music icons are badly rendered - 740524 Missing license headers in playlists.py and searchbar.py - 731639 The pictures have different proportions, influencing the effect of alignment - 729459 under Artists, tracks in the same album are very far apart from each other - 740490 Music "forgets" search string, but search results remain - -* Updated translations and help files - -Overview of changes in 3.14.0 -============================= - -* Updated translations and help files - -Overview of changes in 3.13.92 -============================= - -* Bugs fixed: - 735890 Fix the icons in RTL with new GTK+ - -* Updated translations and help files - -Overview of changes in 3.13.90 -============================= - -* Ported to GtkActionbBar - now requires GTK+ 3.12 -* Correct icoin is displayed for playlist menu (https://wiki.gnome.org/Initiatives/GnomeGoals/GearIcons) -* Better search UI -* HighContrast icons -* Improved Back navigation -* Notifications now behave correctly when paused and less flicker - -* Bugs fixed: - 734786 center the search results - 734404 Missing high contrast icon - 734122 unable to switch to all albums view after return from search view - 734117 Pause button does not change to play button in the notification - 732150 Remove custom player bar styling - 732951 Don't use emblem-system-symbolic - -* Updated translations and help files - - -Overview of changes in 3.13.4 -============================= - -* Bump python3 requirement to 3.3 (due to str.casefold) - -* Bugs fixed: - 733095 Seeking in track above 36 minutes leads to crash - -* Updated translations and help files - - -Overview of changes in 3.13.3 -============================= - -* Playlists are now stored in Tracker -* Back button now returns back to Search if available - -* Bugs fixed: - 707461 add man page - 729311 Use Tracker to save Playlists - 728254 Incorrect item is removed in playlists if it has duplicates - 728255 Don't show playlists in Songs - 728330 Crash when the name of the new playlist contains special characters - -* Updated translations and help files - - -Overview of changes in 3.13.2 -============================= - -* Improved search with source and match type selection -* Remote sources support: Jamendo, Magnatune, UPnP/DLNA -* Player bar now looks better when window is small - -* Bugs fixed: - 729100 Media art in notifications is blank instead of symbolic when media art is not found - 729102 Notification doesn't show up when media art doesn't exist - 728255 Don't show playlists in Songs - 725949 gnome-music buttons have no tooltips - 728407 Enabling selection mode via right-click doesn't work inside albums in Albums view - 729521 Albums list in Artists view shouldn't be sensitive when in selection mode - 706948 Only show music from my ~/Music folder - 699807 PlayerToolbar - artist and track name can shrink to nothing - 730205 AttributeError: 'Stack' object has no attribute 'get_child_by_name' - 726713 Update of songs interferes with selection mode - -* Updated translations and help files - - -Overview of changes in 3.13.1 -============================= - -* Thumbnail fetching was reworked. now should be much faster -* New dependency: libmediaart -* Updated playlist UI -* Now requires GTK 3.10 -* Shuffle menu is now a popover -* Load More button was removed - -* Bugs fixed: - 724627 Playlists UX review - 726721 Some tracks are identified as 'MediaVideo' and crash in various places - 727444 gnome-music crashed with OSError in_on_source_added(): [Errno 5] I/O error - 727522 Accelerator for Select All doesn't work - 728323 Set the icon name of the window as "gnome-music" - 724112 Crashes when cannot connect to tracker - 702565 Load cover art on scroll in Albums and Artists view - 699832 Replace Load More with autoloading on pressure - 729096 Media art is not shown in MPRIS clients - -* Updated translations and help files - - -Overview of changes in 3.11.92 -============================= - -* Improved and tranlated help -* Space now plays/pauses the current song -* Minor UI updates to playlists - - -* Bugs fixed: - 707454 Space switches to next item - 724627 Make select button insensitive while creating New Playlist - 725904 Tracks don't appear in artists view for albums that have many tracks - - -* Updated translations - -Overview of changes in 3.11.91 -============================= - -* Initial help infrastructure -* More info is printed if the track cannot be played -* Last 10 played tracks are stored in shuffle history -* Other minor improvements and bug fixes - - -* Bugs fixed: - 707744 Song is being replayed when paused - 724228 Remove 'now playing' from the app menu - 707457 Restart current track when Previous button was clicked and position is more than 3 seconds - 725355 Do not crash if we happen to come across a filename we can't decode - 723942 Search on keypress function opens search bar even when pressing any key - 724954 Selecting all albums is not visible at first - 707376 Set the position of the view scrollbar to current song when a song is changed - - -* Updated translations: - Spanish - Norwegian bokmål - Tajik - Czech - Brazilian Portuguese - Hebrew - Chinese - Lithuanian - Italian - Hungarian - Finnish - -Overview of changes in 3.11.90 -============================= - -* Initial playlists support -* Filter-as-you-type -* Misc fixes and improvements - - -* Bugs fixed: - 700022 app no longer fits half maximized - 721297 Shuffle is not random enough - 723765 Static spinner superimposed over album artwork - 708154 Crash when Search button is toggled on No Music view - 724027 theme: actionbar has a doubleborder - 724025 searchbar isn't styled properly - 724016 don't segment artist list sidebar - 721595 Typing should trigger a search - 723750 The stack switcher is gone when run gnome-music with GTK+ 3.11 - 709234 Music cannot be run via ssh forwarding - - -* Added translations: - Aragonese - Esperanto - -* Updated translations: - Hebrew - Lithuanian - Traditional Chinese - Norwegian bokmål - Turkish - Finnish - Czech - Greek - Brazilian Portuguese - Galician - Chinese simplified - Slovenian - German - Italian - Spanish - Tajik - - -Overview of changes in 3.11.2 -============================= - -* Exit selection mode on pressing Esc -* Pep8 compatibility -* Broken AppData file was removed from sources - -* Bugs fixed: - 707590 Fix app menu accelerator conflict - 708279 Make the cancel button as center vertically - 709033 Album Cover art not displayed in the notifications - 707399 Add translator comment to not translate GSettings values - 705853 Enter selection mode on right-click - 707633 Save window position, size and maximization state - 709465 Update position while switching songs - -* Added translations: - Afrikaans - Catalan (Valencian) - Malayalam - Telugu - -* Updated translations: - Norwegian bokmål - Turkish - Persian - Simplified Chinese - Slovenian - Tajik - Spanish - Galician - Greek - Dutch - - -Overview of changes in 3.10.0 -============================= - -* Added translations: - Estonian - Belarusian - -* Updated translations: - Assamese - Portuguese - Latvian - Slovak - Ukrainian - Traditional Chinese - Catalan - Kannada - Indonesian - Hebrew - - -Overview of changes in 3.9.92 -============================= - -* Added AppData description - -* Icons are now RTL-compatible - -* Notifications appear during the playback - -* All views can be filtered via search button or Ctrl+F shortcut - -* URLs with no FileDataObject (*.cue) are now filtered - -* Fixed MPRIS commands: close, play, thumbnail display - -* Songs view now displays 'Unknown Album' for tracks with no album set - -* Gnome Music notifies about startup - - -* Bugs fixed: - 702377 Add support for notifications - 703303 Music doesn't properly tell MPRIS clients that the song is replayed when in repeat song mode - 706576 Repeat/Shuffle icons should have RTL variants - 707388 Add AppData description - 707632 MPRIS Close command is broken - 707824 No notification when Music starts - 707937 freeze-break branch | Crash when try to start song - 707938 gnome-music crashes with TypeError: Argument 0 does not allow None as a value - 708102 Thumbnail no longer shows up in MPRIS clients - 708103 Playing default playlist is broken - 708116 Crash in notification when the current track gets hidden while searching - 708117 Use RTL variants of buttons in notifications on RTL languages - 708159 Empty album column when an album title is unknown - -* Added translations: - Basque - British English - Catalan - Danish - Dutch - French - Indonesian - Korean - Latvian - Traditional Chinese - -* Updated translations: - Brazilian Portuguese - Czech - Finnish - Galician - German - Hungarian - Italian - Lithuanian - Norwegian bokmål - Polish - Russian - Serbian - Slovak - Slovenian - Spanish - Tajik - - -Overview of changes in 3.9.91 -============================= - -* All songs will now be loaded in Songs view after switching to it - for the first time - -* First song in Songs view will play if Play is executed in MPRIS and - there is no current playlist - -* The URIs are now discovered asynchronously, to make loading songs - faster - -* An error icon will now show up when the file is deleted - -* The message when no music files are found is now more verbose - -* Bugs fixed: - 700776 Licensing problems - 705855 Crash when attempting to get properties over DBus - 706019 Don't use the discoverer if we don't care of the results - 706294 Duration in Albums view increases every time an album is se... - 706353 About box changes size when license button is toggled on, l... - 706457 Invalid copyright headers - 706533 More explanation when Music says "No Music Found" - 706800 Cancel button in toolbar shouldn't be emphasized - 706947 Can't shuffle my entire library without clicking "load more... - -* Added translations: - Irish - Tajik - -* Updated translations: - Brazilian Portuguese - Czech - Galician - Italian - Lithuanian - Norwegian bokmål - Polish - Slovak - Slovenian - Spanish - - -Overview of changes in 3.9.90 -============================= - -* Initial release diff --git a/NEWS.md b/NEWS.md new file mode 100644 index 00000000..30fff6b2 --- /dev/null +++ b/NEWS.md @@ -0,0 +1,1328 @@ +Overview of changes in 3.27.90 +============================== + +* Lots of cleanup/refactoring +* Moved to Gitlab +* Add album scrobbling +* Dropped some more libgd use +* Add context menu to interact with playlist items +* Drag and drop reorder in playlists +* Add album scrobbling +* Rework notifications +* Rework art cache +* CI fixes +* Last bits of HiDPI support + +Bugs fixed: + Clicking on cancel button from selection bar crashses music (#142) + Crashed when trying to play music over UPnP (#46) + Playlists are not displayed (#127) + Fix deprecated accelerator call (#2) + Crash during startup in albumart lookup (#121) + Use stack for covers in player (#55) + Finish HiDPI support (#65) + Scale art more efficiently (#81) + Playlist not deleted after close (#106) + Allow undo on playlist track removal (#50) + Fix artist/album search return all songs (#4) + Replace deprecated override_color call (#3) + Allow access to host cache from flatpak (!15) + Reset song to clean on new playlist (#135) + Use context menu on playlist tracks (#48) + Replace deprecated add_accelerator call (#2) + Console spam on startup related to Spotify (#132) + +Thanks to our contributors this release: + Alberto Fanjul + Felipe Borges + Gyanesh Malhotra + Jean Felder + Marinus Schraal + Subhadip Jana + +Translations updated: + German + Polish + Friulian + Indonesian + Finnish + Swedish + Catalan + Hungarian + Esperanto + +Overview of changes in 3.27.4 +============================= + +Bugs fixed: + Migrate from intltool to gettext (#787272) + Add appstream metadata to non-deprecated location (#790869) + Playlist ordering in views (#772090) + Fix style of GdTaggedEntry (#791077) + PEP-8 fixes & cleanups (#791481,!7,!9,!10,!17,!18) + Update libgd (!8) + Fixes to navigating back (#777238) + Enable mouse button for navigating back (#771934) + Fix constructor deprecation warning (#790127) + Fix PyGObject deprecation warning (#788701) + Fix order in method call (!21) + Fix log decorator order (!22) + Use python3 style super() calls (!16) + DiscListBoxWidget update favourites (!23) + Add the ability to rename playlists (!11) + Update README.md (!12) + +Thanks to our contributors this release: + Abhinav Singh + Florian Darfeuille + Jean Felder + Jeremy Bicha + Kainaat Singh + Marinus Schraal + Niels De Graef + Phil Dawson + Piotr Drąg + Sambhav Kothari + +Translations updated: + Dutch + Romanian + Icelandic + Persian + Catalan (Valencian) + German + Czech + Friulian + Norwegian bokmål + Croatian + Indonesian + Serbian + Swedish + +Overview of changes in 3.26.0 +============================= + +Translations updated: + Catalan + French + Romanian + Danish + +Overview of changes in 3.25.92 +============================== + +Bugs fixed: + 786454 Wrong player.set_playlist call in albumwidget.py + 780548 Problem scrolling albums on wayland + 709073 Different icon in System Settings Sound pane + +Thanks to our contributors this release: + Jan-Michael Brummer + Jean Felder + Marinus Schraal + Robert Greener + +Translations updated: + Croatian + Italian + Danish + Vietnamese + +Overview of changes in 3.25.91 +============================== + +Bugs fixed: + 786541 Add missing logger imports + 786315 Make the playlist button a circle + +Thanks to our contributors this release: + Jean Felder + Jordan Petridis + +Translations updated: + Polish + French + +Overview of changes in 3.25.90 +============================== + +* Limit concurrent loading of coverart +* Fixes to appdata +* Use tracker:title-order for sorting + +Bugs fixed: + 783466 query: Use tracker:title-order() SPARQL function for title sorting + 785697 Remove comments from org.gnome.Music.json + +Thanks to our contributors this release: + Carlos Garnacho + Felipe Borges + Georges Basile Stavracas Neto + Kalev Lember + Marinus Schraal + Piotr Drąg + +Translations updated: + Turkish + Croatian + Czech + Malayalam + +Overview of changes in 3.25.4 +============================= + +* Build: depend on libtracker-sparql-2.0 +* Add Flatpak manifest +* Mark forgotten string for translation + +Bugs fixed: + 776668 fix minor seek stutter + 774500 refactor gnome-music.in to be more readable + 781684 playlistview artist field incorrect + 777346 allow seek using arrow keys + 781754 fix media-player-keys bus name + +Thanks to our contributors this release: + Abhinav Singh + Carlos Garnacho + Carlos Soriano + Felipe Borges + Marinus Schraal + Pablo Palácios + Piotr Drąg + +Translations updated: + Belarusian + Slovenian + Polish + Indonesian + + +Overview of changes in 3.24.1.1 +=============================== + +* Revert desktop file rename +* In turn revert Flatpak manifest addition + +Overview of changes in 3.24.1 +============================= + +* Add Flatpak manifest +* Fix crashers +* Up Grilo requirements + +Bugs fixed: + 780523 playlist dialog shows the playlist that is going to be deleted + 779905 build: Add a first version of Flatpak manifest + +Thanks to our contributors this release: + Abhinav Singh + Carlos Soriano + Marinus Schraal + +Translations updated: + Portuguese + Norwegian bokmål + Greek + Croatian + +Overview of changes in 3.24.0 +============================= + +Translations updated: + Russian + Latvian + Brazilian Portuguese + +Overview of changes in 3.23.92 +============================== + +* Code cleanups +* Local art retrieval added +* AppData screenshots updated + +Bugs fixed: + 779013 only one (older) screenshot in appdata file + 779585 Window is wider than 1024px + 777041 Unexpected behaviour of playlist notification actions, sometimes + deletes, sometimes not + 776668 double click on seek bar pauses the songs + 779052 MPRIS TrackList GoTo Method Crashes gnome-music + 779584 Handle coverart extraction in gnome-music + +Thanks to our contributors this release: + Abhinav Singh + Andreas Nilsson + Carlos Garnacho + Marinus Schraal + +Translations updated: + Hungarian + Slovak + Serbian + Galician + Lithuanian + Italian + Czech + Polish + Danish + Scottish Gaelic + Occitan + French + Korean + Indonesian + Basque + Icelandic + Swedish + Chinese (Taiwan) + Finnish + +Overview of changes in 3.23.91 +============================== + +* Code cleanups + +Bugs fixed: + 774470 Use song instead of track in the source codebase + 774449 Cleanup baseview.py + +Thanks to our contributors this release: + Marinus Schraal + Rashi Sah + Suyash Garg + +Translations updated: + Finnish + Kazakh + Danish + Norwegian bokmål + Slovak + Polish + Basque + Indonesian + Italian + Hungarian + Catalan + Friulian + Ukrainian + German + Brazilian Portuguese + Serbian + Spanish + +Overview of changes in 3.23.90 +============================== + +* Empty-state added for playlist dialog +* Cleanups + +Bugs fixed: + 772089 [playlist dialog] implement empty state dialog + 776680 'Select All' doesn't have an action in Artists tab + 777541 Crashes as soon as trying to play a song + 777219 PEP 8 fix : application.py + +Thanks to our contributors this release: + Abhinav Singh + Alberto Fanjul + Marinus Schraal + Yash Singh + +Translations updated: + Czech + Indonesian + German + Turkish + Catalan + Polish + Slovak + Friulian + +Overview of changes in 3.23.4 +============================= + +* Revamp notifications and drop GdNotification +* More cleanups + +Bugs fixed: + 776157 Improve notifications' interaction + 776849 Gnome-music crashes on clicking "select all" in album + 777127 Pressing back after no search results from single album view leads to + force close + 777235 Pressing back button when searching through a subview, should turn + search off and go back + 777216 PEP 8 fix : __init__.py + 776673 Recompile resources when builddir is not same as srcdir + 772975 In a playlist repeatSong/shuffle/repeatSong take effect from the next + song + +Thanks to our contributors this release: + Abhinav Singh + Alberto Fanjul + Georges Basile Stavracas Neto + Marinus Schraal + Sambhav Kothari + +Translations updated: + Finnish + Kazakh + Spanish + +Overview of changes in 3.23.3 +============================= + +* Start to use Grilo for storing metadata +* Rework starring widget +* DistListBox improvements +* Stop walking directories for no reason +* Finish move to tracker async calls + +Bugs fixed: + 774754 Use correct Grilo property for favourite tracking + 772689 Use tracker async queries + 775759 create_playlists cursor_callback method has a TypeError + 775930 Correct error variable names + +Thanks to our contributors: + Carlos Garnacho + Georges Basile Stavracas Neto + Marinus Schraal + Sambhav Kothari + Yash Singh + +Translations updated: + German + Hungarian + Russian + +Overview of changes in 3.23.2 +============================= + +* Rely on Cairo for cover scaling +* Smooth progressbar +* Make more tracker calls async +* General cleanups +* Tackle long-standing issues with album separation + +Bugs fixed: + 773478 artistviews: pep cleanup + 772263 Use unicode in translatable strings + 772698 async work + 774260 handle optional album-artist in queries + 774481 Add missing license header to gnome-music.in + 773769 songsview: pep cleanup + 772628 player: make progress scale move smoothly + +Thanks to our contributors: + Carlos Garnacho + Clayton G. Hobbs + Marinus Schraal + Pablo Palácios + Piotr Drąg + Suyash Garg + Yash Singh + +Translation updated: + Czech + Friulian + Hungarian + Norwegian bokmål + Slovenian + +Overview of changes in 3.23.1 +============================= + +* Rework art lookup +* Add HiDPI support (90% done) +* Add mnemonics +* Rework about dialog +* Split up views & widgets +* Rework the album widgets +* Show multi-disc albums as such +* Make playlist retrieval non-blocking +* Add composer label & search + +Bugs fixed: + 761185 Help should use tag when referring to application names + 771348 Use | as I18N separator + 772403 Album art: also consider height when scaling + 765476 Crashes upon opening with a GLib error + 719452 Provide proper output if gobject-introspection-devel is missing + 773192 Fix playlists loading time + 705094 Display more details on Album view + 750827 Album views - if an album has multiple disks, group tracks by disk + 761891 Weird interaction selection mode + favourites + +Thanks to our contributors: + Carlos Garnacho + Georges Basile Stavracas Neto + Konstantin PospelovSebastian Rasmussen + Marinus Schraal + Sebastian Rasmussen + +Translation updated: + Basque + Chinese (simplified) + Chinese (Taiwan) + Czech + Danish + Friulian + German + Italian + Swedish + +Overview of changes in 3.22.0 +============================= + +* Update mainters in doap + +Translations updated: + Ukrainian + Catalan + Scottish Gaelic + Persian + +Overview of changes in 3.21.92 +============================== + +* Fix keyboard play/pause handling +* Remove top separator in song lists +* Do not remove static playlists on Delete keypress + +Bugs fixes: + 771249 Static playlists should not be removed using the Delete key + 770178 Remove the first Songs row separator + 754096 Space doesn't always toggle pause/play + +Thanks to our contributors: + Konstantin Pospelov + Marinus Schraal + Yash Singh + +Translations updated: + Danish + Greek + Latvian + Galician + Swedish + Hebrew + Vietnamese + British English + Lithuanian + Kazakh + Korean + Friulian + Serbian + +Overview of changes in 3.21.90 +============================== + +* New keyboard shortcuts and a shortcuts window to go with it +* Move to cleanup the codebase style (PEP-8) & use docstrings, see README +* Better sorting in albums and artists view +* Playlist dialog enhanced with a 'new playlist' entry +* Move to GtkFlowBox for albums view, a significant performance improvement + +Bugs fixed: + 761502 Include playlists from Music dir only & order static playlists on top + 766115 Return songs only once + 746447 Require tracker 1.8 for titled playlists + 765609 Fix mpris repeatmode + 761625 Cleanup artist/author ambiguity + 747953 Don't leak information over http through Grilo & unregister sources + 754700 Require Grilo 0.3.1 and use the album-artist key if available + 742531 Ignore punctuation when sorting albums and artists, requires tracker 1.9 + 758637 Implement new keyboard shortcuts + 757833 Add GtkShortcut window + 769774 Fix sidelist shadow + 769772 Use GtkSearchBar for the searchbar + misc fixes + 744834 Add new playlist entry to playlist dialog + misc fixes + 760164 Use GtkFlowBox for albums view + +Thanks to our contributors: + Billy Barrow + Carlos Garnacho + Divyanshu Vishwakarma + Elias Entrup + Evandro Giovanini + Felipe Borges + Gaurav Narula + Georges Basile Stavracas Neto + Kevin Haller + Marinus Schraal + +Translations updated: + Occitan + Catalan + Spanish + French + Friulian + Slovak + Czech + Indonesian + Brazilian Portuguese + German + Hungarian + Finnish + Polish + Portuguese + +Overview of changes in 3.20.2 +============================= + +Bugs fixed: + 705069 Port to Gio GDBUS API + 763618 Clarify jhbuild instructions in README + 755089 Emit playback-status-changed after playlist ends + 744820 Accept response on row-activated in Playlist Dialog + 765598 Bump Gtk+ minimum version to 3.19.3 + 761961 Stop the player when destroying window + +Translations updated: + Swedish + Friulian + Esperanto + Brazilian Portuguese + Occitan + +Overview of changes in 3.20.0 +============================= + +Translations updated: + Danish + Hungarian + +Overview of changes in 3.19.92 +============================== + +Bugs fixed: + 762821 Update Grilo plugin ranks to 0.3 format + 761941 Fix Pango critical warnings on searchbar + 761890 Check if visible child is ArtistsAlbumsWidget on search toggle + 763304 Don't assume that nmm:MusicPieces will have a nie:url in playlists + 744821 Properly de/activate select button on PlaylistDialog when navigating w/ arrow keys + 744831 Fix crash while deleting multiple playlists + a173f2 Update libgd + +Translations updated: + Occitan + Korean + Slovenian + French + +Special thanks to the new contributors: + Gaurav Narula + Marinus Schraal + Prashant Tyagi + Saiful B. Khan + +Overview of changes in 3.19.91 +============================== + +Bugs fixed: + 744829 No more duplicate playlists on the sidebar + 762406 More Grilo 0.3 transition fixes + 762265 No more notifications on track changes + +Translations updated: + Slovak + Occitan + Ukrainian + +Overview of changes in 3.19.90 +============================== + +Bugs fixed: + 761173 Update tracker queries to sparql 1.1 syntax + 760170 Fix check button appearance on AlbumWidget + 760170 Fix check buttons appearance in Songs and Playlist view + 736463 Reposition the scrollbar in the search window + 760171 Resized songs list for better viewing in large window + +Translations updated: + Latvian + Bulgarian + +Overview of changes in 3.19.4 +============================= + +Bugs fixed: + Let GtkApplication automatically load the app-menu + Refactor the way we connect menu actions + 758942 Use grilo 0.3 for GNOME 3.20 + 758942 Fix deprecation warnings in GTK+ + Update libgd from master + Scale the playlist name to match the mockups + 759024 Use the path of the filter model in search results + 739924 Make search find strings with accents + 759882 Fix warnings when switching between stack pages + Add symbolic icon + 760033 Make albumart fetching truly asynchronous + 760033 Defer serialization of default icon + 760033 Set model on the view after all insertions happened + 760033 Remove check for dup jobs + 760033 Don't add items on idle + 760033 Depend on Tracker >= 1.7.1 + 759587 Rework songs, artists, playlists, and albums queries + Pass width/height during pixbuf loading + 751163 Restrict music catalog to the Music folder + 760381 Use GIO async APIs to download cover art + 734958 Increase the maximum width of the artist and track name + +Translations updated: + Spanish + Slovenian + +Overview of changes in 3.18.2 +============================= + +Bugs fixed: + 755601 Fix styling for entry tags (libgd) + 756256 Fix XML tag in help + 746446 Reset app title to Music after leaving album view + 756330 Fix crashes when coming back from search view + 757227 Fix missing toolbar when coming back from search result g + +Translations updated: + Serbian + German + Greek + Czech + Basque + Lithuanian + Hungarian + +Overview of changes in 3.18.0 +============================= + +Translations updated: + Danish + Swedish + + +Overview of changes in 3.17.92 +============================= + +Bugs fixed: + 744827 Empty stars in 'Search' view + 754654 Fixes for staticmethod definitions + 754702 Search drop-down doesn't show the right default source + 754836 Toggling search of when on a albumWidget doesn't make search view disappear + 754977 gnomemusic/widgets.py using depreciated PARAM_READWRITE + +Translations updated: + Added Icelandic + Finnish update + Fix FSF address in Polish + French + Kazakh + Korean + Lithuanian + Turkish + Persian + + +Overview of changes in 3.17.91 +============================= + +Bugs fixed: + 738516 Tags in search textbox are broken + +Translations updated: + Chinese (Taiwan) + French + Galician s + German + Greek + Indonesian + Italian + Polish + Update Catalan transation + + +Overview of changes in 3.17.90 +============================= + +Bugs fixed: + 744658 Playlists sidebar - border is cut off + 753488 Clicking on artist on search results does nothing + +Translations updated: + Brazilian Portuguese + Czech + Fix Portuguese desktop keywords + Friulian + Norwegian bokmål + Turkish + + +Overview of changes in 3.17.4 +============================= + +Bugs fixed: + 705070 Last.fm/libre.fm integration + 747233 Remove "All Artists" + 752591 Convert margin_right to margin_end + 752592 Trivial code formatting cleanups + +Several deprecations were removed +More performance improvements +Translations updated + + +Overview of changes in 3.17.3 +============================= + +Bugs fixed: + 743362 Give a nicer welcome + 744464 No results screen for Search + 747749 Cant't play favourite song in Album view + 748375 #!/bin/bash in autogen.sh + 749981 Tracks outside Music and Downloads are displayed in playlists + +Translations updated: + Added Occitan + Dutch 316 + Esperanto + Fix to Catalan + Greek + Norwegian bokmål + Slovak + Spanish + Tajik + Turkish + l10n: Update Japanese + update zh_CN + + +Overview of changes in 3.16.0 +============================= + +Translations updated: + Basque language + Finnish update + Fix a syntax error in desktop file keywords Bosnian + Indonesian + Tajik + Update Aragonese + Update Catalan + + +Overview of changes in 3.15.92 +============================= + +* Bug fix release + +Bugs fixed: + 744657 Loading in-app notification gets stuck + 745646 Improve sorting of "songs" view + 745647 shuffleHistory fixes + 745648 Song view elements jump around + 745650 Not Enough Space Given For Track Titles in Album View + +Translations updated: + Added Bosnian + Danish + German + Korean + Polish + Serbian + Slovenian + Swedish + Turkish + l10n: Update Japanese + + +Overview of changes in 3.15.91 +============================= + +* Bug fix release + +Bugs fixed: + 705852 Now playing indicator is lost on switching views / artists / artist albums + 729377 Convert menu of gear button in the Playlists view into a popover + 729525 Show a loading animation when Add to Playlist is clicked in Albums and Artists view + 743310 Updates to Smart Playlist functionality in 3.15.4 + 743883 Refresh Playlists/Songs view when star toggled + 743884 Protect smart playlists + 743901 Favorite Playlist and Starring implementation + 744005 stars in Album/Artist/Search views + 744655 Loading in-app notification is malformed + 744807 Last song on album view keeps repeating in "mix/no repeat" mode + 744832 Undo playlist delete --> reinsert at previous position + +Translations updated: + Basque language + Brazilian Portuguese + Chinese (Taiwan) + Czech + Fix German desktop file keyword + French + Galician s + Greek + Hebrew + Hungarian + Italian + Kazakh + Lithuanian + Norwegian bokmål from Åka Sikrom + Russian + Slovak + Spanish + Swedish + Ukrainian + Update Aragonese + + +Overview of changes in 3.15.90 +============================= + +* New smart playlist - Favourite tracks, all views updated to allow + making a track favourite +* All Artists is not selected by default - improves performance +* All smart playlists now retyurn max 50 items +* Playlists menu now uses popover +* Notification appears on loading operations +* Favourite songs are now displayed on search view +* GStreamer discoverer performance fixes from garnacho +* Minor UI fixes + + +* Bugs fixed: + 744005 stars in Album/Artist/Search views + 729525 Show a loading animation when Add to Playlist is clicked in Albums and Artists view + 729377 Convert menu of gear button in the Playlists view into a popover + 743310 Updates to Smart Playlist functionality in 3.15.4 + + +* Updated translations and help files + +Overview of changes in 3.15.4 +============================= + +* Smart playlists - Most Played, Never Played, Recently Played + The list is not yet final, stay tuned. Note that we use Last.fm's way + to count song as 'played' - more than 40% of song content should be played. +* Chunked loading was removed - scrolling should be faster +* Content is now hidden before fully loaded - notification on the progress will + land in master in next version. +* Playlists are remvoed after time out, removal can be undone +* Dependency cnahge: libmediaart-2.0.pc is now required +* Replaygain tags are now supported +* Overall performance fixes + +* Bugs fixed: + 729376 New Playlist in application menu doesn't do anything + 704257 Visible content loading + 742603 Regression: empty covers are oversized in playbar, still 'in-progress' on artists view + 742451 Support Undo when removing playlists + 733686 Gnome music will not launch + 726459 Crash on playlist tabs when new media has been scanned + 702519 Smart playlists + 742800 Playlist broken due to typo + 742123 Hitting 'cancel' while creating new playlist crashes program + 731613 gnome-music-3.12.2 fails to start if xdg default directories are not created + 742011 Query: add a/an to articles + 730269 ReplayGain support? + +* Updated translations and help files + +Overview of changes in 3.15.2 +============================= + +* Better thread handling while fetching album art +* Some UI/UX goodies +* Notification can now be disabled +* 'The' (and translation) is not disregarded during sorting +* MPRIS improvements + +* Bugs fixed: + 736925 Remove deprecation warnings from AlbumWidget.ui + 737142 Remove remaining gtk deprecation warnings + 737571 No covers loaded on libmediaart 0.6.0 + 736241 Prefer embedded album art over downloaded + 732151 High CPU and sluggish performance + 733473 Use "Alt + left arrow" to navigate back + 738465 Have a dconf switch to disable notifications + 731392 Nicer empty state + 729378 Disregard "The" in titles + 734513 play/pause is activated twice when pressing spacebar and play/pause button is active/selected + 729309 Add support for MPRIS Playlists + 740211 Add support for MPRIS TrackList + 740212 Bump MPRIS support to 2.2 + 740330 Album view - music icons are badly rendered + 740524 Missing license headers in playlists.py and searchbar.py + 731639 The pictures have different proportions, influencing the effect of alignment + 729459 under Artists, tracks in the same album are very far apart from each other + 740490 Music "forgets" search string, but search results remain + +* Updated translations and help files + +Overview of changes in 3.14.0 +============================= + +* Updated translations and help files + +Overview of changes in 3.13.92 +============================= + +* Bugs fixed: + 735890 Fix the icons in RTL with new GTK+ + +* Updated translations and help files + +Overview of changes in 3.13.90 +============================= + +* Ported to GtkActionbBar - now requires GTK+ 3.12 +* Correct icoin is displayed for playlist menu (https://wiki.gnome.org/Initiatives/GnomeGoals/GearIcons) +* Better search UI +* HighContrast icons +* Improved Back navigation +* Notifications now behave correctly when paused and less flicker + +* Bugs fixed: + 734786 center the search results + 734404 Missing high contrast icon + 734122 unable to switch to all albums view after return from search view + 734117 Pause button does not change to play button in the notification + 732150 Remove custom player bar styling + 732951 Don't use emblem-system-symbolic + +* Updated translations and help files + + +Overview of changes in 3.13.4 +============================= + +* Bump python3 requirement to 3.3 (due to str.casefold) + +* Bugs fixed: + 733095 Seeking in track above 36 minutes leads to crash + +* Updated translations and help files + + +Overview of changes in 3.13.3 +============================= + +* Playlists are now stored in Tracker +* Back button now returns back to Search if available + +* Bugs fixed: + 707461 add man page + 729311 Use Tracker to save Playlists + 728254 Incorrect item is removed in playlists if it has duplicates + 728255 Don't show playlists in Songs + 728330 Crash when the name of the new playlist contains special characters + +* Updated translations and help files + + +Overview of changes in 3.13.2 +============================= + +* Improved search with source and match type selection +* Remote sources support: Jamendo, Magnatune, UPnP/DLNA +* Player bar now looks better when window is small + +* Bugs fixed: + 729100 Media art in notifications is blank instead of symbolic when media art is not found + 729102 Notification doesn't show up when media art doesn't exist + 728255 Don't show playlists in Songs + 725949 gnome-music buttons have no tooltips + 728407 Enabling selection mode via right-click doesn't work inside albums in Albums view + 729521 Albums list in Artists view shouldn't be sensitive when in selection mode + 706948 Only show music from my ~/Music folder + 699807 PlayerToolbar - artist and track name can shrink to nothing + 730205 AttributeError: 'Stack' object has no attribute 'get_child_by_name' + 726713 Update of songs interferes with selection mode + +* Updated translations and help files + + +Overview of changes in 3.13.1 +============================= + +* Thumbnail fetching was reworked. now should be much faster +* New dependency: libmediaart +* Updated playlist UI +* Now requires GTK 3.10 +* Shuffle menu is now a popover +* Load More button was removed + +* Bugs fixed: + 724627 Playlists UX review + 726721 Some tracks are identified as 'MediaVideo' and crash in various places + 727444 gnome-music crashed with OSError in_on_source_added(): [Errno 5] I/O error + 727522 Accelerator for Select All doesn't work + 728323 Set the icon name of the window as "gnome-music" + 724112 Crashes when cannot connect to tracker + 702565 Load cover art on scroll in Albums and Artists view + 699832 Replace Load More with autoloading on pressure + 729096 Media art is not shown in MPRIS clients + +* Updated translations and help files + + +Overview of changes in 3.11.92 +============================= + +* Improved and tranlated help +* Space now plays/pauses the current song +* Minor UI updates to playlists + + +* Bugs fixed: + 707454 Space switches to next item + 724627 Make select button insensitive while creating New Playlist + 725904 Tracks don't appear in artists view for albums that have many tracks + + +* Updated translations + +Overview of changes in 3.11.91 +============================= + +* Initial help infrastructure +* More info is printed if the track cannot be played +* Last 10 played tracks are stored in shuffle history +* Other minor improvements and bug fixes + + +* Bugs fixed: + 707744 Song is being replayed when paused + 724228 Remove 'now playing' from the app menu + 707457 Restart current track when Previous button was clicked and position is more than 3 seconds + 725355 Do not crash if we happen to come across a filename we can't decode + 723942 Search on keypress function opens search bar even when pressing any key + 724954 Selecting all albums is not visible at first + 707376 Set the position of the view scrollbar to current song when a song is changed + + +* Updated translations: + Spanish + Norwegian bokmål + Tajik + Czech + Brazilian Portuguese + Hebrew + Chinese + Lithuanian + Italian + Hungarian + Finnish + +Overview of changes in 3.11.90 +============================= + +* Initial playlists support +* Filter-as-you-type +* Misc fixes and improvements + + +* Bugs fixed: + 700022 app no longer fits half maximized + 721297 Shuffle is not random enough + 723765 Static spinner superimposed over album artwork + 708154 Crash when Search button is toggled on No Music view + 724027 theme: actionbar has a doubleborder + 724025 searchbar isn't styled properly + 724016 don't segment artist list sidebar + 721595 Typing should trigger a search + 723750 The stack switcher is gone when run gnome-music with GTK+ 3.11 + 709234 Music cannot be run via ssh forwarding + + +* Added translations: + Aragonese + Esperanto + +* Updated translations: + Hebrew + Lithuanian + Traditional Chinese + Norwegian bokmål + Turkish + Finnish + Czech + Greek + Brazilian Portuguese + Galician + Chinese simplified + Slovenian + German + Italian + Spanish + Tajik + + +Overview of changes in 3.11.2 +============================= + +* Exit selection mode on pressing Esc +* Pep8 compatibility +* Broken AppData file was removed from sources + +* Bugs fixed: + 707590 Fix app menu accelerator conflict + 708279 Make the cancel button as center vertically + 709033 Album Cover art not displayed in the notifications + 707399 Add translator comment to not translate GSettings values + 705853 Enter selection mode on right-click + 707633 Save window position, size and maximization state + 709465 Update position while switching songs + +* Added translations: + Afrikaans + Catalan (Valencian) + Malayalam + Telugu + +* Updated translations: + Norwegian bokmål + Turkish + Persian + Simplified Chinese + Slovenian + Tajik + Spanish + Galician + Greek + Dutch + + +Overview of changes in 3.10.0 +============================= + +* Added translations: + Estonian + Belarusian + +* Updated translations: + Assamese + Portuguese + Latvian + Slovak + Ukrainian + Traditional Chinese + Catalan + Kannada + Indonesian + Hebrew + + +Overview of changes in 3.9.92 +============================= + +* Added AppData description + +* Icons are now RTL-compatible + +* Notifications appear during the playback + +* All views can be filtered via search button or Ctrl+F shortcut + +* URLs with no FileDataObject (*.cue) are now filtered + +* Fixed MPRIS commands: close, play, thumbnail display + +* Songs view now displays 'Unknown Album' for tracks with no album set + +* Gnome Music notifies about startup + + +* Bugs fixed: + 702377 Add support for notifications + 703303 Music doesn't properly tell MPRIS clients that the song is replayed when in repeat song mode + 706576 Repeat/Shuffle icons should have RTL variants + 707388 Add AppData description + 707632 MPRIS Close command is broken + 707824 No notification when Music starts + 707937 freeze-break branch | Crash when try to start song + 707938 gnome-music crashes with TypeError: Argument 0 does not allow None as a value + 708102 Thumbnail no longer shows up in MPRIS clients + 708103 Playing default playlist is broken + 708116 Crash in notification when the current track gets hidden while searching + 708117 Use RTL variants of buttons in notifications on RTL languages + 708159 Empty album column when an album title is unknown + +* Added translations: + Basque + British English + Catalan + Danish + Dutch + French + Indonesian + Korean + Latvian + Traditional Chinese + +* Updated translations: + Brazilian Portuguese + Czech + Finnish + Galician + German + Hungarian + Italian + Lithuanian + Norwegian bokmål + Polish + Russian + Serbian + Slovak + Slovenian + Spanish + Tajik + + +Overview of changes in 3.9.91 +============================= + +* All songs will now be loaded in Songs view after switching to it + for the first time + +* First song in Songs view will play if Play is executed in MPRIS and + there is no current playlist + +* The URIs are now discovered asynchronously, to make loading songs + faster + +* An error icon will now show up when the file is deleted + +* The message when no music files are found is now more verbose + +* Bugs fixed: + 700776 Licensing problems + 705855 Crash when attempting to get properties over DBus + 706019 Don't use the discoverer if we don't care of the results + 706294 Duration in Albums view increases every time an album is se... + 706353 About box changes size when license button is toggled on, l... + 706457 Invalid copyright headers + 706533 More explanation when Music says "No Music Found" + 706800 Cancel button in toolbar shouldn't be emphasized + 706947 Can't shuffle my entire library without clicking "load more... + +* Added translations: + Irish + Tajik + +* Updated translations: + Brazilian Portuguese + Czech + Galician + Italian + Lithuanian + Norwegian bokmål + Polish + Slovak + Slovenian + Spanish + + +Overview of changes in 3.9.90 +============================= + +* Initial release diff --git a/README b/README deleted file mode 100644 index 96dc92fb..00000000 --- a/README +++ /dev/null @@ -1 +0,0 @@ -See README.md diff --git a/README.md b/README.md index 5fea6d22..41efa9cd 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,18 @@ You can join the developers on IRC: [#gnome-music](irc://irc.gnome.org/gnome-mus Follow the guide at https://wiki.gnome.org/Newcomers/ and choose Music as your project. There are bugs labeled for newcomers, which should provide an easy entry point. Of course, feel free to pick something more challenging. Pick bugs if you can, the goal is to make the current Music experience sound & stable and only then extend it's functionality. +### Build Music + +Music uses the [meson](http://mesonbuild.com/) build system. + +``` +meson builddir +cd builddir +ninja +``` + +Then you can either run in the build dir by doing `./local-music` or install system-wide by doing `ninja install`. + # Coding style GNOME Music is written in Python and aspires to adhere to the coding style described in the python style guide [PEP-8](https://www.python.org/dev/peps/pep-0008/). diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 89b6c7b2..00000000 --- a/autogen.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# Run this to generate all the initial makefiles, etc. - -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -ACLOCAL_FLAGS="-I libgd ${ACLOCAL_FLAGS}" - -test -f $srcdir/configure.ac || { - echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" - echo " top-level gnome-music directory" - exit 1 -} - -which gnome-autogen.sh || { - echo "You need to install gnome-common from GNOME Git (or from" - echo "your OS vendor's package manager)." - exit 1 -} - -(cd "$srcdir" ; -test -d m4 || mkdir m4/ ; -git submodule update --init --recursive ; -) -touch AUTHORS -. gnome-autogen.sh diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 89855d55..00000000 --- a/configure.ac +++ /dev/null @@ -1,66 +0,0 @@ -AC_PREREQ(2.63) -AC_INIT([gnome-music], - [3.27.90], - [https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-music], - [gnome-music], - [https://wiki.gnome.org/Apps/Music]) -AC_CONFIG_MACRO_DIR([m4]) -AC_CONFIG_SRCDIR([Makefile.am]) -AC_CONFIG_HEADERS(config.h) -AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip -Wno-portability subdir-objects]) -AM_MAINTAINER_MODE([enable]) -m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) - -AM_PATH_PYTHON([3.3]) - -AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.19.8]) -GETTEXT_PACKAGE=gnome-music -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", - [The prefix for our gettext translation domains.]) - -YELP_HELP_INIT - -AC_PROG_CC -AM_PROG_CC_C_O -LT_INIT([disable-static]) - -LIBGD_INIT([main-view gir tagged-entry]) - -PKG_PROG_PKG_CONFIG([0.22]) - -GLIB_GSETTINGS -AX_REQUIRE_DEFINED([GOBJECT_INTROSPECTION_CHECK]) -GOBJECT_INTROSPECTION_CHECK([1.35.9]) -PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.19.3]) -PKG_CHECK_MODULES([MEDIAART], [libmediaart-2.0 >= 1.9.1]) -PKG_CHECK_MODULES([GOA], [goa-1.0]) - -PYGOBJECT_MIN_VERSION=3.21.1 -PKG_CHECK_MODULES(PYGOBJECT, [pygobject-3.0 >= $PYGOBJECT_MIN_VERSION]) - -PYCAIRO_MIN_VERSION=1.14.0 -PKG_CHECK_MODULES(PYCAIRO, [py3cairo >= $PYCAIRO_MIN_VERSION]) - -TRACKER_MIN_VERSION=1.99.1 -PKG_CHECK_MODULES(TRACKER, [tracker-sparql-2.0 >= $TRACKER_MIN_VERSION]) - -GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0` -AC_SUBST(GLIB_COMPILE_RESOURCES) - -GRL_MIN_VERSION=0.3.4 -PKG_CHECK_MODULES(GRL, grilo-0.3 >= $GRL_MIN_VERSION) - -AC_CONFIG_FILES([ - Makefile - data/Makefile - help/Makefile - data/AboutDialog.ui - gnomemusic/Makefile - gnomemusic/views/Makefile - gnomemusic/widgets/Makefile - po/Makefile.in - libgd/Makefile -]) -AC_OUTPUT diff --git a/data/AboutDialog.ui.in b/data/AboutDialog.ui.in index ed299dbb..9dc9f294 100644 --- a/data/AboutDialog.ui.in +++ b/data/AboutDialog.ui.in @@ -127,7 +127,7 @@ Yosef Or Boczko Yuras Shumovich Yuri Myasoedov - gnome-music + org.gnome.Music True diff --git a/data/Makefile.am b/data/Makefile.am deleted file mode 100644 index 264e33e9..00000000 --- a/data/Makefile.am +++ /dev/null @@ -1,84 +0,0 @@ -resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --sourcedir=$(builddir) --generate-dependencies $(srcdir)/gnome-music.gresource.xml) -gnome-music.gresource: gnome-music.gresource.xml $(resource_files) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --sourcedir=$(builddir) $< - -resourcedir = $(pkgdatadir) -resource_DATA = gnome-music.gresource - -appsdir = $(datadir)/applications -apps_in_files = org.gnome.Music.desktop.in -apps_DATA = $(apps_in_files:.desktop.in=.desktop) -$(apps_DATA): $(apps_in_files) - $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ - -appdatadir = $(datadir)/metainfo -appdata_in_files = org.gnome.Music.appdata.xml.in -appdata_DATA = $(appdata_in_files:.xml.in=.xml) -$(appdata_DATA): $(appdata_in_files) - $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ - -man1_MANS = gnome-music.1 - -# hicolor icons -hicolor_icon16dir = $(datadir)/icons/hicolor/16x16/apps -hicolor_icon16_DATA = icons/hicolor/16x16/apps/gnome-music.png -hicolor_icon22dir = $(datadir)/icons/hicolor/22x22/apps -hicolor_icon22_DATA = icons/hicolor/22x22/apps/gnome-music.png -hicolor_icon32dir = $(datadir)/icons/hicolor/32x32/apps -hicolor_icon32_DATA = icons/hicolor/32x32/apps/gnome-music.png -hicolor_icon48dir = $(datadir)/icons/hicolor/48x48/apps -hicolor_icon48_DATA = icons/hicolor/48x48/apps/gnome-music.png -hicolor_icon256dir = $(datadir)/icons/hicolor/256x256/apps -hicolor_icon256_DATA = icons/hicolor/256x256/apps/gnome-music.png -hicolor_iconsymbolicdir = $(datadir)/icons/hicolor/symbolic/apps -hicolor_iconsymbolic_DATA = icons/hicolor/symbolic/apps/gnome-music-symbolic.svg -hicolor_icon_files = \ - $(hicolor_icon16_DATA) \ - $(hicolor_icon22_DATA) \ - $(hicolor_icon32_DATA) \ - $(hicolor_icon48_DATA) \ - $(hicolor_icon256_DATA) \ - $(hicolor_iconsymbolic_DATA) \ - icons/hicolor/gnome-music.svg - -install-data-hook: update-icon-cache -uninstall-hook: update-icon-cache -update-icon-cache: - @-if test -z "$(DESTDIR)"; then \ - echo "Updating Gtk hicolor icon cache."; \ - $(gtk_update_hicolor_icon_cache); \ - else \ - echo "*** Icon cache not updated. After (un)install, run this:"; \ - echo "*** $(gtk_update_hicolor_icon_cache)"; \ - fi - - -gsettings_SCHEMAS = org.gnome.Music.gschema.xml - -# For uninstalled use -gschemas.compiled: $(gsettings_SCHEMAS) Makefile - $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) $(builddir) - -@GSETTINGS_RULES@ - -EXTRA_DIST = \ - $(hicolor_icon_files) \ - $(resource_files) \ - org.gnome.Music.appdata.xml.in \ - org.gnome.Music.desktop.in \ - gnome-music.gresource.xml \ - org.gnome.Music.gschema.xml \ - $(man1_MANS) \ - $(NULL) - -CLEANFILES = \ - gnome-music.gresource \ - org.gnome.Music.appdata.xml \ - $(apps_DATA) \ - *.valid \ - gschemas.compiled \ - $(NULL) - -all-local: gschemas.compiled - --include $(top_srcdir)/git.mk diff --git a/data/gnome-music.gresource.xml b/data/gnome-music.gresource.xml deleted file mode 100644 index d98bb47d..00000000 --- a/data/gnome-music.gresource.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - AboutDialog.ui - app-menu.ui - help-overlay.ui - application.css - initial-state.png - AlbumCover.ui - AlbumWidget.ui - ArtistAlbumWidget.ui - ArtistAlbumsWidget.ui - PlayerToolbar.ui - SelectionToolbar.ui - headerbar.ui - TrackWidget.ui - NoMusic.ui - PlaylistContextMenu.ui - PlaylistControls.ui - PlaylistDialog.ui - - diff --git a/data/icons/hicolor/16x16/apps/gnome-music.png b/data/icons/hicolor/16x16/apps/gnome-music.png deleted file mode 100644 index 23056cc4..00000000 Binary files a/data/icons/hicolor/16x16/apps/gnome-music.png and /dev/null differ diff --git a/data/icons/hicolor/16x16/apps/org.gnome.Music.png b/data/icons/hicolor/16x16/apps/org.gnome.Music.png new file mode 100644 index 00000000..23056cc4 Binary files /dev/null and b/data/icons/hicolor/16x16/apps/org.gnome.Music.png differ diff --git a/data/icons/hicolor/22x22/apps/gnome-music.png b/data/icons/hicolor/22x22/apps/gnome-music.png deleted file mode 100644 index 91ddd106..00000000 Binary files a/data/icons/hicolor/22x22/apps/gnome-music.png and /dev/null differ diff --git a/data/icons/hicolor/22x22/apps/org.gnome.Music.png b/data/icons/hicolor/22x22/apps/org.gnome.Music.png new file mode 100644 index 00000000..91ddd106 Binary files /dev/null and b/data/icons/hicolor/22x22/apps/org.gnome.Music.png differ diff --git a/data/icons/hicolor/256x256/apps/gnome-music.png b/data/icons/hicolor/256x256/apps/gnome-music.png deleted file mode 100644 index e66ecb3c..00000000 Binary files a/data/icons/hicolor/256x256/apps/gnome-music.png and /dev/null differ diff --git a/data/icons/hicolor/256x256/apps/org.gnome.Music.png b/data/icons/hicolor/256x256/apps/org.gnome.Music.png new file mode 100644 index 00000000..e66ecb3c Binary files /dev/null and b/data/icons/hicolor/256x256/apps/org.gnome.Music.png differ diff --git a/data/icons/hicolor/32x32/apps/gnome-music.png b/data/icons/hicolor/32x32/apps/gnome-music.png deleted file mode 100644 index 580266fe..00000000 Binary files a/data/icons/hicolor/32x32/apps/gnome-music.png and /dev/null differ diff --git a/data/icons/hicolor/32x32/apps/org.gnome.Music.png b/data/icons/hicolor/32x32/apps/org.gnome.Music.png new file mode 100644 index 00000000..580266fe Binary files /dev/null and b/data/icons/hicolor/32x32/apps/org.gnome.Music.png differ diff --git a/data/icons/hicolor/48x48/apps/gnome-music.png b/data/icons/hicolor/48x48/apps/gnome-music.png deleted file mode 100644 index 06f91cc2..00000000 Binary files a/data/icons/hicolor/48x48/apps/gnome-music.png and /dev/null differ diff --git a/data/icons/hicolor/48x48/apps/org.gnome.Music.png b/data/icons/hicolor/48x48/apps/org.gnome.Music.png new file mode 100644 index 00000000..06f91cc2 Binary files /dev/null and b/data/icons/hicolor/48x48/apps/org.gnome.Music.png differ diff --git a/data/icons/hicolor/gnome-music.blend b/data/icons/hicolor/gnome-music.blend deleted file mode 100644 index 500aab38..00000000 Binary files a/data/icons/hicolor/gnome-music.blend and /dev/null differ diff --git a/data/icons/hicolor/gnome-music.svg b/data/icons/hicolor/gnome-music.svg deleted file mode 100644 index c6a779c3..00000000 --- a/data/icons/hicolor/gnome-music.svg +++ /dev/null @@ -1,3516 +0,0 @@ - - - - - Music - - - - image/svg+xml - - Music - - - Jakub Steiner - - - - - Lapo Calamandrei - - - - - - - - 2013-4-4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/icons/hicolor/org.gnome.Music.blend b/data/icons/hicolor/org.gnome.Music.blend new file mode 100644 index 00000000..500aab38 Binary files /dev/null and b/data/icons/hicolor/org.gnome.Music.blend differ diff --git a/data/icons/hicolor/org.gnome.Music.svg b/data/icons/hicolor/org.gnome.Music.svg new file mode 100644 index 00000000..c6a779c3 --- /dev/null +++ b/data/icons/hicolor/org.gnome.Music.svg @@ -0,0 +1,3516 @@ + + + + + Music + + + + image/svg+xml + + Music + + + Jakub Steiner + + + + + Lapo Calamandrei + + + + + + + + 2013-4-4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/hicolor/symbolic/apps/gnome-music-symbolic.svg b/data/icons/hicolor/symbolic/apps/gnome-music-symbolic.svg deleted file mode 100644 index 95db22b2..00000000 --- a/data/icons/hicolor/symbolic/apps/gnome-music-symbolic.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - diff --git a/data/icons/hicolor/symbolic/apps/org.gnome.Music-symbolic.svg b/data/icons/hicolor/symbolic/apps/org.gnome.Music-symbolic.svg new file mode 100644 index 00000000..95db22b2 --- /dev/null +++ b/data/icons/hicolor/symbolic/apps/org.gnome.Music-symbolic.svg @@ -0,0 +1,28 @@ + + + + + + + + image/svg+xml + + Gnome Symbolic Icon Theme + + + + + + + Gnome Symbolic Icon Theme + + + + + + + + + + + diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 00000000..a74290af --- /dev/null +++ b/data/meson.build @@ -0,0 +1,79 @@ +# Compiling the resources +about_dialog_conf = configuration_data() +about_dialog_conf.set('PACKAGE_VERSION', meson.project_version()) +about_dialog_conf.set('PACKAGE_URL', PACKAGE_URL) + +gnome.compile_resources( + PROJECT_RDNN_NAME, + PROJECT_RDNN_NAME + '.gresource.xml', + gresource_bundle: true, + source_dir: '.', + install_dir: PKGDATA_DIR, + install: true, + dependencies: configure_file( + input: 'AboutDialog.ui.in', + output: 'AboutDialog.ui', + configuration: about_dialog_conf + ) +) + +# Installing the schema file +install_data( + PROJECT_RDNN_NAME + '.gschema.xml', + install_dir: 'share/glib-2.0/schemas' +) + +# Merging the translations with the desktop file +i18n.merge_file( + output: PROJECT_RDNN_NAME + '.desktop', + input: PROJECT_RDNN_NAME + '.desktop.in', + po_dir: join_paths(meson.source_root(), 'po'), + type: 'desktop', + install: true, + install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'applications') +) + +# Validating the desktop file +desktop_file_validate = find_program('desktop-file-validate', required:false) +if desktop_file_validate.found() + test ( + 'Validate desktop file', + desktop_file_validate, + args: join_paths(meson.current_build_dir (), PROJECT_RDNN_NAME + '.desktop') + ) +endif + +# Merging the translations with the appdata file +i18n.merge_file( + output: PROJECT_RDNN_NAME + '.appdata.xml', + input: PROJECT_RDNN_NAME + '.appdata.xml.in', + po_dir: join_paths(meson.source_root(), 'po'), + install: true, + install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'metainfo') +) + +# Validating the appdata file +appstreamcli = find_program(['appstreamcli', 'appstream-util'], required: false) +if appstreamcli.found() + test ( + 'Validate appdata file', + appstreamcli, + args: ['validate', join_paths(meson.current_build_dir (), PROJECT_RDNN_NAME + '.appdata.xml')] + ) +endif + +# Installing the icons +icon_sizes = ['16', '22', '32', '48', '256'] + +foreach i : icon_sizes + install_data( + join_paths('icons/hicolor', i + 'x' + i, 'apps', PROJECT_RDNN_NAME + '.png'), + install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons', 'hicolor', i + 'x' + i, 'apps') + ) +endforeach + +# Installing the symbolic icon +install_data( + join_paths('icons/hicolor/symbolic/apps', PROJECT_RDNN_NAME + '-symbolic.svg'), + install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons/hicolor/symbolic/apps') +) \ No newline at end of file diff --git a/data/org.gnome.Music.appdata.xml.in b/data/org.gnome.Music.appdata.xml.in index 031c4361..88c198f5 100644 --- a/data/org.gnome.Music.appdata.xml.in +++ b/data/org.gnome.Music.appdata.xml.in @@ -38,5 +38,5 @@ mschraal@gnome.org - gnome-music + org.gnome.Music diff --git a/data/org.gnome.Music.desktop.in b/data/org.gnome.Music.desktop.in index 013cba67..7dfc4e78 100644 --- a/data/org.gnome.Music.desktop.in +++ b/data/org.gnome.Music.desktop.in @@ -3,7 +3,7 @@ Name=Music GenericName=Music Player Comment=Play and organize your music collection # Translators: Do NOT translate or transliterate this text (this is an icon file name)! -Icon=gnome-music +Icon=org.gnome.Music Exec=gnome-music Terminal=false Type=Application diff --git a/data/org.gnome.Music.gresource.xml b/data/org.gnome.Music.gresource.xml new file mode 100644 index 00000000..d98bb47d --- /dev/null +++ b/data/org.gnome.Music.gresource.xml @@ -0,0 +1,22 @@ + + + + AboutDialog.ui + app-menu.ui + help-overlay.ui + application.css + initial-state.png + AlbumCover.ui + AlbumWidget.ui + ArtistAlbumWidget.ui + ArtistAlbumsWidget.ui + PlayerToolbar.ui + SelectionToolbar.ui + headerbar.ui + TrackWidget.ui + NoMusic.ui + PlaylistContextMenu.ui + PlaylistControls.ui + PlaylistDialog.ui + + diff --git a/data/org.gnome.Music.gschema.xml b/data/org.gnome.Music.gschema.xml index 7ccefe1f..467d1d53 100644 --- a/data/org.gnome.Music.gschema.xml +++ b/data/org.gnome.Music.gschema.xml @@ -6,7 +6,7 @@ - + [768, 600] Window size diff --git a/gnome-music.in b/gnome-music.in old mode 100644 new mode 100755 index a62d35f7..6a379bdf --- a/gnome-music.in +++ b/gnome-music.in @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016 The GNOME Music Developers +# Copyright © 2018 The GNOME Music Developers # # GNOME Music is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,6 +36,12 @@ sys.path.insert(1, '@pyexecdir@') # Make sure we'll find the gnomemusic module, even in JHBuild sys.path.insert(1, '@pythondir@') +_LOCAL = @local_build@ + +# In the local use case the installed schemas go in /data +if _LOCAL: + os.environ["XDG_DATA_DIRS"] = '@schemasdir@:' + os.environ["XDG_DATA_DIRS"] + import gi gi.require_version('Gtk', '3.0') @@ -45,38 +51,20 @@ from gi.repository import GIRepository, Gio, Gtk, Gst Gst.init(None) -import gnomemusic - - -SOURCE_DIR = os.path.abspath( - os.path.join(os.path.dirname(gnomemusic.__file__), '..')) - -# Defines if we are running from inside project source. This is -# necessary so we can set data and libgd directories correctly. -_LOCAL = os.path.exists(os.path.join(SOURCE_DIR, 'gnome-music.doap')) - -# Directory settings LOCALE_DIR = '@localedir@' -PKGDATA_DIR = os.path.join(SOURCE_DIR, 'data') if _LOCAL else '@pkgdatadir@' +PKGDATA_DIR = '@pkgdatadir@' # Log settings LOG_FORMAT = '%(asctime)s %(levelname)s\t%(message)s' LOG_DATE_FORMAT = '%H:%M:%S' -def set_environment_variables(): - """Sets application environment variables.""" - if _LOCAL: - os.environ.setdefault('GSETTINGS_SCHEMA_DIR', PKGDATA_DIR) - - def set_libgd(): """Configures application to run our own libgd copy.""" + libgd_libdir = '@pkglibdir@' if _LOCAL: - libgd_libdir = os.path.join(SOURCE_DIR, 'libgd', '.libs') - libgd_typelibdir = os.path.join(SOURCE_DIR, 'libgd') + libgd_typelibdir = '@pkglibdir@' else: - libgd_libdir = '@pkglibdir@' libgd_typelibdir = '@pkglibdir@/girepository-1.0' GIRepository.Repository.prepend_search_path(libgd_typelibdir) @@ -117,16 +105,16 @@ def set_log_level(): def set_internationalization(): """Sets application internationalization.""" - locale.bindtextdomain('gnome-music', LOCALE_DIR) - locale.textdomain('gnome-music') - gettext.bindtextdomain('gnome-music', LOCALE_DIR) - gettext.textdomain('gnome-music') + locale.bindtextdomain('@rdnn_name@', LOCALE_DIR) + locale.textdomain('@rdnn_name@') + gettext.bindtextdomain('@rdnn_name@', LOCALE_DIR) + gettext.textdomain('@rdnn_name@') def set_resources(): """Sets application ressource file.""" resource = Gio.resource_load( - os.path.join(PKGDATA_DIR, 'gnome-music.gresource')) + os.path.join(PKGDATA_DIR, '@rdnn_name@.gresource')) Gio.Resource._register(resource) # nopep8 @@ -141,7 +129,6 @@ def run_application(): def main(): """Sets environment and runs GNOME Music.""" - set_environment_variables() set_libgd() set_exception_hook() set_log_level() @@ -149,7 +136,6 @@ def main(): set_resources() return run_application() - if __name__ == '__main__': if _LOCAL: print('Running from source tree, using local files.') diff --git a/gnomemusic/Makefile.am b/gnomemusic/Makefile.am deleted file mode 100644 index dff6325b..00000000 --- a/gnomemusic/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -SUBDIRS = views widgets - -appdir = $(pythondir)/gnomemusic/ - -app_PYTHON = \ - albumartcache.py \ - application.py \ - __init__.py \ - player.py \ - mpris.py \ - notification.py \ - toolbar.py \ - grilo.py \ - playlists.py\ - utils.py \ - query.py \ - scrobbler.py \ - searchbar.py \ - window.py diff --git a/gnomemusic/views/Makefile.am b/gnomemusic/views/Makefile.am deleted file mode 100644 index 3f9c1ca8..00000000 --- a/gnomemusic/views/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -appdir = $(pythondir)/gnomemusic/views/ - -app_PYTHON = \ - __init__.py \ - albumsview.py \ - artistsview.py \ - baseview.py \ - emptyview.py \ - emptysearchview.py \ - initialstateview.py \ - playlistview.py \ - searchview.py \ - songsview.py diff --git a/gnomemusic/widgets/Makefile.am b/gnomemusic/widgets/Makefile.am deleted file mode 100644 index 69b259c0..00000000 --- a/gnomemusic/widgets/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -appdir = $(pythondir)/gnomemusic/widgets/ - -app_PYTHON = \ - __init__.py \ - albumwidget.py \ - artistalbumswidget.py \ - artistalbumwidget.py \ - coverstack.py \ - disclistboxwidget.py \ - notificationspopup.py \ - playlistdialog.py \ - starhandlerwidget.py diff --git a/help/LINGUAS b/help/LINGUAS new file mode 100644 index 00000000..c228c5db --- /dev/null +++ b/help/LINGUAS @@ -0,0 +1,14 @@ +ca +cs +da +de +el +es +fr +gl +hu +ko +pl +pt_BR +ro +sv \ No newline at end of file diff --git a/help/Makefile.am b/help/Makefile.am deleted file mode 100644 index 5e245456..00000000 --- a/help/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -@YELP_HELP_RULES@ - -HELP_ID = gnome-music - -HELP_FILES = \ - introduction.page \ - index.page \ - play-music.page \ - playlist-create-albums.page \ - playlist-create-songs.page \ - playlist-create-artists.page \ - playlist-delete.page \ - playlist-remove-songs.page \ - playlist-repeat.page \ - playlist-shuffle.page \ - search.page \ - legal.xml - -HELP_MEDIA = \ - figures/gnome-music-3.12.png - -HELP_LINGUAS = ca cs da de el es fr gl hu ko pl pt_BR ro sv diff --git a/help/meson.build b/help/meson.build new file mode 100644 index 00000000..f56079e8 --- /dev/null +++ b/help/meson.build @@ -0,0 +1,17 @@ +gnome.yelp(meson.project_name(), + sources: [ + 'introduction.page', + 'index.page', + 'play-music.page', + 'playlist-create-albums.page', + 'playlist-create-songs.page', + 'playlist-create-artists.page', + 'playlist-delete.page', + 'playlist-remove-songs.page', + 'playlist-repeat.page', + 'playlist-shuffle.page', + 'search.page', + 'legal.xml' + ], + media: 'figures/gnome-music-3.12.png' +) \ No newline at end of file diff --git a/libgd b/libgd deleted file mode 160000 index 4e0f712f..00000000 --- a/libgd +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4e0f712f570716886ebb6983e6fae5411d82d30c diff --git a/meson.build b/meson.build new file mode 100644 index 00000000..9fa28fb9 --- /dev/null +++ b/meson.build @@ -0,0 +1,93 @@ +project('gnome-music', + version: '3.27.90' +) + +# Importing modules +gnome = import('gnome') +i18n = import('i18n') +python = import('python3') + +# Make sure Python is installed and found +if not python.find_python().found() + error('No valid python3 binary found') +endif + +# Constants +PACKAGE_URL = 'https://wiki.gnome.org/Apps/Music' +PACKAGE_URL_BUG = 'https://gitlab.gnome.org/GNOME/gnome-music' +PROJECT_RDNN_NAME='org.gnome.Music' + +PYTHON_DIR = join_paths(get_option('prefix'), python.sysconfig_path('purelib')) +PKGDATA_DIR = join_paths(get_option('prefix'), get_option('datadir'), PROJECT_RDNN_NAME) +PKGLIB_DIR = join_paths(PKGDATA_DIR, 'libs') + +# Dependencies +dependency('gobject-introspection-1.0', version: '>= 1.35.0') +dependency('gtk+-3.0', version: '>= 3.19.3') +dependency('libmediaart-2.0', version: '>= 1.9.1') +dependency('tracker-sparql-2.0', version: '>= 1.99.1') +dependency('pygobject-3.0', version: '>= 3.21.1') +dependency('py3cairo', version: '>= 1.14.0') +dependency('grilo-0.3', version: '>= 0.3.4') + +subproject('libgd', + default_options: [ + 'with-introspection=true', + 'with-main-view=true', + 'with-tagged-entry=true', + 'with-gtk-hacks=true', + 'static=false', + 'pkgdatadir=' + PKGDATA_DIR, + 'pkglibdir=' + PKGLIB_DIR + ]) + +subdir('data') +subdir('help') +subdir('po') + +install_subdir( + 'gnomemusic', + install_dir: PYTHON_DIR +) + +# Install the executable file +bin_config = configuration_data() +bin_config.set('rdnn_name', PROJECT_RDNN_NAME) +bin_config.set('pkgdatadir', PKGDATA_DIR) +bin_config.set('localedir', join_paths(get_option('prefix'), get_option('datadir'), 'locale')) +bin_config.set('pythondir', PYTHON_DIR) +bin_config.set('pyexecdir', join_paths(get_option('prefix'), python.sysconfig_path('stdlib'))) +bin_config.set('schemasdir', '') +# Used for libgd +bin_config.set('pkglibdir', PKGLIB_DIR) + +bin_config.set('local_build', 'False') + +configure_file( + input: 'gnome-music.in', + output: 'gnome-music', + configuration: bin_config, + install_dir: get_option('bindir') +) + +# Install the builddir executable +local_config = configuration_data() +local_config.set('rdnn_name', PROJECT_RDNN_NAME) +local_config.set('pkgdatadir', join_paths(meson.build_root(), 'data')) +local_config.set('localedir', join_paths(get_option('prefix'), get_option('datadir'), 'locale')) +local_config.set('pythondir', meson.source_root()) +local_config.set('pyexecdir', meson.source_root()) +local_config.set('schemasdir', join_paths(meson.build_root(), 'data')) +# Used for libgd +local_config.set('pkglibdir', join_paths(meson.build_root(), 'subprojects', 'libgd', 'libgd')) + +local_config.set('local_build', 'True') + +configure_file( + input: 'gnome-music.in', + output: 'local-music', + configuration: local_config +) + +meson.add_postconf_script('meson_post_conf.py') +meson.add_install_script('meson_post_install.py') \ No newline at end of file diff --git a/meson_post_conf.py b/meson_post_conf.py new file mode 100755 index 00000000..8bf048cb --- /dev/null +++ b/meson_post_conf.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python3 + +import os +import subprocess + +build_root = os.environ.get('MESON_BUILD_ROOT') +source_root = os.environ.get('MESON_SOURCE_ROOT') + +print('Install schemas in build dir...') +subprocess.call(['glib-compile-schemas', source_root + '/data/']) +subprocess.call(['mkdir', '-p', build_root + '/data/glib-2.0/schemas']) +subprocess.call(['mv', source_root + '/data/gschemas.compiled', build_root + '/data/glib-2.0/schemas']) \ No newline at end of file diff --git a/meson_post_install.py b/meson_post_install.py new file mode 100755 index 00000000..4c3a2b72 --- /dev/null +++ b/meson_post_install.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python3 + +import os +import subprocess + +prefix = os.environ.get('MESON_INSTALL_PREFIX', '/usr/local') +datadir = os.path.join(prefix, 'share') + +# Packaging tools define DESTDIR and this isn't needed for them +if 'DESTDIR' not in os.environ: + print('Updating icon cache...') + icon_cache_dir = os.path.join(datadir, 'icons', 'hicolor') + subprocess.call(['gtk-update-icon-cache', '-qtf', icon_cache_dir]) + + print("Compiling the schema...") + schemas_dir = os.path.join(datadir, 'glib-2.0/schemas') + subprocess.call(['glib-compile-schemas', schemas_dir]) + + print('Updating desktop database...') + desktop_database_dir = os.path.join(datadir, 'applications') + subprocess.call(['update-desktop-database', '-q', desktop_database_dir]) diff --git a/po/Makevars b/po/Makevars deleted file mode 100644 index b1c1c516..00000000 --- a/po/Makevars +++ /dev/null @@ -1,78 +0,0 @@ -# Makefile variables for PO directory in any package using GNU gettext. - -# Usually the message domain is the same as the package name. -DOMAIN = $(PACKAGE) - -# These two variables depend on the location of this directory. -subdir = po -top_builddir = .. - -# These options get passed to xgettext. -XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments - -# This is the copyright holder that gets inserted into the header of the -# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding -# package. (Note that the msgstr strings, extracted from the package's -# sources, belong to the copyright holder of the package.) Translators are -# expected to transfer the copyright for their translations to this person -# or entity, or to disclaim their copyright. The empty string stands for -# the public domain; in this case the translators are expected to disclaim -# their copyright. -COPYRIGHT_HOLDER = GNOME Music contributors - -# This tells whether or not to prepend "GNU " prefix to the package -# name that gets inserted into the header of the $(DOMAIN).pot file. -# Possible values are "yes", "no", or empty. If it is empty, try to -# detect it automatically by scanning the files in $(top_srcdir) for -# "GNU packagename" string. -PACKAGE_GNU = no - -# This is the email address or URL to which the translators shall report -# bugs in the untranslated strings: -# - Strings which are not entire sentences, see the maintainer guidelines -# in the GNU gettext documentation, section 'Preparing Strings'. -# - Strings which use unclear terms or require additional context to be -# understood. -# - Strings which make invalid assumptions about notation of date, time or -# money. -# - Pluralisation problems. -# - Incorrect English spelling. -# - Incorrect formatting. -# It can be your email address, or a mailing list address where translators -# can write to without being subscribed, or the URL of a web page through -# which the translators can contact you. -MSGID_BUGS_ADDRESS = https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-music&keywords=I18N+L10N&component=general - -# This is the list of locale categories, beyond LC_MESSAGES, for which the -# message catalogs shall be used. It is usually empty. -EXTRA_LOCALE_CATEGORIES = - -# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' -# context. Possible values are "yes" and "no". Set this to yes if the -# package uses functions taking also a message context, like pgettext(), or -# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. -USE_MSGCTXT = yes - -# These options get passed to msgmerge. -# Useful options are in particular: -# --previous to keep previous msgids of translated messages, -# --quiet to reduce the verbosity. -MSGMERGE_OPTIONS = - -# These options get passed to msginit. -# If you want to disable line wrapping when writing PO files, add -# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and -# MSGINIT_OPTIONS. -MSGINIT_OPTIONS = - -# This tells whether or not to regenerate a PO file when $(DOMAIN).pot -# has changed. Possible values are "yes" and "no". Set this to no if -# the POT file is checked in the repository and the version control -# program ignores timestamps. -PO_DEPENDS_ON_POT = no - -# This tells whether or not to forcibly update $(DOMAIN).pot and -# regenerate PO files on "make dist". Possible values are "yes" and -# "no". Set this to no if the POT file and PO files are maintained -# externally. -DIST_DEPENDS_ON_UPDATE_PO = no diff --git a/po/meson.build b/po/meson.build new file mode 100644 index 00000000..0fe4c170 --- /dev/null +++ b/po/meson.build @@ -0,0 +1 @@ +i18n.gettext(PROJECT_RDNN_NAME, preset:'glib') \ No newline at end of file diff --git a/subprojects/libgd b/subprojects/libgd new file mode 160000 index 00000000..4e0f712f --- /dev/null +++ b/subprojects/libgd @@ -0,0 +1 @@ +Subproject commit 4e0f712f570716886ebb6983e6fae5411d82d30c -- cgit v1.2.3