Coder Social home page Coder Social logo

wedesoft / anymeal Goto Github PK

View Code? Open in Web Editor NEW
56.0 5.0 4.0 2.02 MB

AnyMeal is a free and open source recipe management software developed using SQLite3 and Qt5. It can manage a cookbook with more than 250,000 MealMaster recipes, thereby allowing to import, export, search, display, edit, and print them. AnyMeal is available for GNU/Linux and Microsoft Windows.

Home Page: https://wedesoft.github.io/anymeal

License: GNU General Public License v3.0

Makefile 1.78% C++ 83.25% Shell 0.12% M4 8.91% LLVM 3.54% NSIS 1.96% Roff 0.45%
recipe cooking cooking-recipes

anymeal's Introduction

AnyMeal is a free and open source recipe management software developed using SQLite3 and Qt5. It can manage a cookbook with more than 250,000 MealMaster recipes, thereby allowing to import, export, search, display, edit, and print them. AnyMeal is available for GNU/Linux and Microsoft Windows.

For Mealmaster recipes to download see:

Install from source

Install latest release on Debian based distribution

Download the *.tar.xz file of the latest release. You can then install the software under GNU/Linux as follows:

tar xJf anymeal-*.tar.xz
cd anymeal-*/
sudo apt-get install build-essential autoconf libtool flex googletest libsqlite3-dev qtbase5-dev-tools qttools5-dev-tools qtbase5-dev
./configure --prefix=/usr
make clean
make all
sudo make install
cd ..

You can then run anymeal:

anymeal

Install current software from Git repository (Debian based)

Installation from Git repository requires additional installation of autoconf and creation of the configure script:

git clone https://github.com/wedesoft/anymeal.git
cd anymeal
sudo apt-get install build-essential autoconf libtool flex googletest libsqlite3-dev qtbase5-dev-tools qttools5-dev-tools qtbase5-dev
sh ./autogen.sh
./configure --prefix=/usr
make clean
make all
sudo make install
cd ..

Install latest release on openSuSE

Download the *.tar.xz file of the latest release. Install GoogleTest from here.

tar xJf anymeal-*.tar.xz
cd anymeal-*/
sudo zypper in -t pattern devel_C_C++ devel_qt5
sudo zypper in flex sqlite3-devel
export PATH=/usr/lib64/qt5/bin:$PATH
configure --prefix=/usr
make clean
make all
sudo make install
cd ..

Deinstallation

cd anymeal-*/
sudo make uninstall
cd ..

The database can be removed as follows:

rm $HOME/.local/share/anymeal/anymeal.sqlite

Install on GNU/Linux using AppImage

Installation

Download the *.AppImage file of the latest release. After downloading you just need to make the software executable: Right-click on AppImage file, open preferences, and enable executable permission.

You can then run anymeal by left-clicking on the AppImage file.

Deinstallation

Simply delete the app image.

The database can be removed by navigating to /home/<USER>/.local/share/anymeal and then deleting the anymeal.sqlite file.

Use installer for Microsoft Windows

Installation

Download and run the *.exe installer of the latest release. By default the installer will create a Start Menu shortcut and a desktop shortcut.

Deinstallation

Open the Control Panel and select the applet for Programs and Features. Select AnyMeal, then right-click and select Uninstall to remove the program.

To remove the database open the file explorer and open C:\Users\<USER>\AppData\Roaming\anymeal. Then select the anymeal.sqlite file, right-click, and choose Delete from the pop-up menu.

AnyMeal Links

anymeal's People

Contributors

anzepintar avatar bkmgit avatar hosiet avatar vistaus avatar wedesoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

anymeal's Issues

Add option to choose app language

Please add an option to choose the language in which is app displayed, I believe it currently works by locale preferences on linux and possibly something similar on windows.
Related: Pull request: #56 - Slovenian translation

Build Failure for v1.29 - Linux Mint Cinnamon 21.3

Extracted the file latest file and followed all the commands in the readme until arrive at the below - this has never happened before, all previous versions on this machine have installed on the same commands flawlessly.

~/Downloads/anymeal-1.29$ ./configure --prefix=/usr
bash: ./configure: No such file or directory

The commands was copied and pasted - any idea?

Dan

CRLF lost when importing from mml file

Hi,
I am just new to AnyMeal, and try to import my recipes from another software.
I used mml format to import my recipes, and I lost all carriage return from the instructions field. I have checked the exported file and CRLF are presents.

Example in mml file :

Faire chauffer l'huile dans la poêle et faire revenir le blanc de l'oignon, la poitrine fumée et les champignons pendant 5 minutes.
Verser la crème et faire chauffer une minute.
Casser les œufs dans la poêle sans crever les jaunes. Laisser cuire 3 à 5 minutes, à feu moyen. Le blanc des œufs doit être cuit.
Saler, poivre, et servir parsemé du vert de l'oignon et de ciboulette ciselée.

Result in AnyMeal

Faire chauffer l'huile dans la poêle et faire revenir le blanc de l'oignon, la poitrine fumée et les champignons pendant 5 minutes. Verser la crème et faire chauffer une minute. Casser les œufs dans la poêle sans crever les jaunes. Laisser cuire 3 à 5 minutes, à feu moyen. Le blanc des œufs doit être cuit. Saler, poivre, et servir parsemé du vert de l'oignon et de ciboulette ciselée.

File encoding used is ISO-8859-1

MealMaster export

The application should allow to export selected recipes in MealMaster format (with chosen encoding).

Licensing

  • Would it be possible to add the license text at the top of every source file? Can make a pull request with this if ok.
  • If so, should all files be GPL-3.0-only or GPL-3.0-or-later?

Search to exclude categories

I am using Anymeal extensively. I find it just perfect and the absence of bloat is very welcome.
I wonder if it is feasible to add a search with/without for the categories as well as ingredients? - or allow REGEX in the search field/box?

I have a specific example. I have 400+ recipes. Sometimes I need to filter to find something which does not have the category "Shelfish" or "Nuts" due someone's intolerance. I know I can achieve this by filtering out all the individual ingredients that are Shellfish or Nuts, but there are so many it takes for ever. However, I do have categories, Shelfish, Meat, Nuts, Cakes etc. Being able to search for entries without those would be so very much quicker.

Stay Safe,
Dan

Debian package

The software should be packaged and submitted to Debian.

Problem with version 1.14

If I install Anymeal on computer there isn't italian traslation files or folder(so the gui isn't in italian).

Export fails not listed in error file

I carried out an export of the entire database to create an offsite backup of my data. Some recipes failed, but I cannot identify what the errors are or what recipes not exported.

Steps:

  1. Show All recipes
  2. Choosing toolbar icon to export
  3. Message appears showing progress
  4. Export concludes showing 19 recipes failed
  5. Failed recipes do not appear in "/tmp/errors.mmf" - or indeed anywhere

As I have a 2620 recipe database a manual search without a clue to search for is a non starter.
In the past when I only exported a small number I was (possibly) able to find an error - the export routine did not seem to like the following in the Description: "sauté," - the comma was significant and subsequently removed manually. Changing the region code did not help either.

Regardless of the error cause at this time, it would be helpful to identify the problem recipes to identify with certainty the reason for the fail and eliminate - be it user error or bug etc

Regards

Does not run on Ubuntu xenial

Please build on Ubuntu xenial or earlier, so that the AppImage can run on all still-supported versions of Ubuntu. Thank you very much!

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /run/firejail/appimage/.appimage-9355/usr/bin/../lib/libsqlite3.so.0

Reference:
AppImage/appimage.github.io#2299

Translation

I would translate the software. How can do It(Ex. Crowdin, Weblate, etc...)?

Category management dialog (was "Drop Down 'Pick' List For Categories not in A-Z order")

The Drop Down Category list order is probably in the order of creation by date at the moment - so, when typing in the selection box a search item for Categories the list appears random. There are 2 useful reason for reordering in to A-Z

  1. You know where to scroll to to get your item of preference and most importantly:
  2. You can see categories which are very similar in spelling which can result in totally different search results such as "Bell pepper - Green" or "Bell Pepper-Green" - An A-Z sort provides a means to see spelling errors etc. The alternative now is to Type in this Instance "B" then see every listed item to find pairs or more of categories meant to be the same scattered through the list. This is quite difficult.

Feature Request: Custom units

I sometimes like to use a different unit than the options the selection gives me. Would it be possible to make also a blank line for user defined units.

For example, I would like to use the unit: jar, flat teaspoon, etc.
It would be really great if it would be possible to program this.

Enhancement: Anymeal to remember last selected Encodings

I have to select UTF-8 for both imports and exports every-time this function is required. I am importing lots of hand edited single recipes from selected large lists avail online. In a session I might import 20 or so times, on each import I have to select the Encoding, and it is always the same one. I know I could aggregate and save them for a single bulk import, but my work flow is better suited to importing and assessing the result for errors and mistakes before moving on to the next recipe.

If the program could carry an encoding setting - so that all imports and exports are held to one standard that would be great.

Windows icon

The application icon under Windows needs to be set.

"New Recipe" option is not avail in any Menu or the Toolbar

Like others, I have been importing recipes. But today I have wanted to write one from scratch, copying from hand written notes

To create a new recipe the only way I could find is to right click on an existing recipe (previously imported?), select "Edit Recipe ", and then select "Edit New"

"Edit New" is missing from the Edit selection Header bar menu

This sequence will not be obvious to new users.

May I respectfully suggest that an "Edit (or preferably Create) New" entry to "Edit" header bar selections and a Toolbar button is added.

Additionally, the shortcut keys to be remapped so that Ctrl+N opens the Edit(Create)New Recipe creation page, and the "Convert Unit" window given another key combination (maybe Ctrl+U).

Unable to complete 'make' command - compiler issue, maybe?

Hello. I'm trying to install your application on Ubuntu 18.04 and I'm getting an error while trying to execute the MAKE command. It's quite possible I'm doing something wrong, since I'm a complete n00b. Here is the error I'm getting....
make all-recursive
make[1]: Entering directory '/home/joe/Downloads/anymeal-1.4'
Making all in anymeal
make[2]: Entering directory '/home/joe/Downloads/anymeal-1.4/anymeal'
make all-recursive
make[3]: Entering directory '/home/joe/Downloads/anymeal-1.4/anymeal'
Making all in locale
make[4]: Entering directory '/home/joe/Downloads/anymeal-1.4/anymeal/locale'
Making all in de
make[5]: Entering directory '/home/joe/Downloads/anymeal-1.4/anymeal/locale/de'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/joe/Downloads/anymeal-1.4/anymeal/locale/de'
make[5]: Entering directory '/home/joe/Downloads/anymeal-1.4/anymeal/locale'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/joe/Downloads/anymeal-1.4/anymeal/locale'
make[4]: Leaving directory '/home/joe/Downloads/anymeal-1.4/anymeal/locale'
make[4]: Entering directory '/home/joe/Downloads/anymeal-1.4/anymeal'
g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR="/usr/share/locale" -I/usr/include -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="/tmp" -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -g -O2 -MT anymeal-moc_main_window.o -MD -MP -MF .deps/anymeal-moc_main_window.Tpo -c -o anymeal-moc_main_window.o test -f 'moc_main_window.cc' || echo './'moc_main_window.cc
moc_main_window.cc:149:1: error: ‘QT_INIT_METAOBJECT’ does not name a type; did you mean ‘Q_INIT_RESOURCE’?
QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = {
^~~~~~~~~~~~~~~~~~
Q_INIT_RESOURCE
Makefile:875: recipe for target 'anymeal-moc_main_window.o' failed
make[4]: *** [anymeal-moc_main_window.o] Error 1
make[4]: Leaving directory '/home/joe/Downloads/anymeal-1.4/anymeal'
Makefile:1183: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/joe/Downloads/anymeal-1.4/anymeal'
Makefile:535: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/joe/Downloads/anymeal-1.4/anymeal'
Makefile:423: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/joe/Downloads/anymeal-1.4'
Makefile:355: recipe for target 'all' failed
make: *** [all] Error 2

Blank line instead of line break

Whenever I insert a line break, it turns into a blank line.
Could you please change this so that I only make a line break with [Enter]?
Or is there another key combination for this?

Error Report empty after Import failure when "No MMMMM at end of record"

Importing a single file after editing, I received a "0 files imported, 0 files failed" dialogue.

Inspection of /tmp/import-errors.mmf showed the file existed, but was empty.

Manually reviewing the file for import, I noticed the original edited recipe did not have "MMMMM" as the last line.

It took me ages to spot this (bad brain day I think), Adding this missing element allowed the import.

I expected the Error Dialogue to show "0 files imported, 1 file failed" and the import-errors.mmf to say something about end of file missing.

Not urgent or important but I thought I would report here to be useful.

Version 1.28 - New Category Editor, how to use?

The install went perfectly, Version 1.28 is show in the help, but I can find no reference to the new much anticipated Category editor. Nothing new shows in tool bar, nor the drop down menus.

I expect I am just missing it somehow. Can you please advise how this facility is accessed?

many thanks

Dan

Cannot Edit imported recipe

Hi, still new to AnyMeal ! ;-)

I cannot Edit imported recipe. As soon as modifying ingredients or instructions, OK button is greyed out.

I can edit a new recipe created with AnyMeal though.

Columns for Ingredients need more padding and headers placed appropriately

Hi, I hope you are well during this pandemic.
I show below how the ingredients look like on Anymeal 1.12

Screenshot Anymeal

  1. The 1st two columns (see 2 below as well) could do with a bit of padding to separate the unit "tablespoon" etc more as they do look very close to the next column.

  2. Also the Header labels would view better (imho) if they were left aligned - If you agree, that is why the 1st column will need padding so that heading "amount" does not butt up to "unit"

Cheers, Stay safe

Printing selected recipes only prints the last one in list

Hi,
I am selecting several recipes to print, however, only the last one in the list is being printed.

Actually the print preview also only shows one page also.

This is printer independent. I am also having the same issue when using Cups print to PDF.

Meal master import

anymeal 1.5
Debian GNU/Linux 10 (buster) x86_64

gourmet export 1 recipe as a test in mealmaster format. Attemptng to move recipes to anymeal

attached is the test file that fails with this error, taken from /tmp/errors.mmf

Rejected recipe: Problem in state 6 and line 5: unexpected character 'P'
MMMMM----- Recipe via Meal-Master (tm)

Title: 04 - kimchi
Categories: Asian/Korean, Health
Preparation Time: 25 minutes
Link: http://www.chowhound.com/recipes/basic-napa-cabbage-kimchi-kimchee-29505

 1    (2-pound) napa cabbage

1/2 c kosher salt
12 c cold water, plus more as needed
8 oz daikon radish, peeled and cut into 2-inch matchsticks
4 md scallions, ends trimmed, cut into 1-inch pieces (use all parts)
1/4 c fish sauce
1/4 c peeled and minced fresh ginger (from about a 2-ounce piece)
1 tb minced garlic cloves (from 6 to 8 medium cloves)
2 t Korean salted shrimp, minced
1 1/2 t granulated sugar

1: Cut the cabbage in half lengthwise, then crosswise into 2-inch
pieces, discarding the root end. Place in a large bowl, sprinkle with
the salt, and toss with your hands until the cabbage is coated. Add
enough cold water to just cover (about 12 cups), making sure the
cabbage is submerged (it’s OK if a few leaves break the surface).
/assets/2014/10/29505_kimchee_inline_640_1.jpg! Cover with plastic
wrap or a baking sheet and let sit at room temperature at least 12
hours and up to 24 hours.

2: Place a colander in the sink, drain the cabbage, and rinse
with cold water. Gently squeeze out the excess liquid and transfer to
a medium bowl; set aside.

3: Place the remaining ingredients in a large bowl and stir to
combine. Add the cabbage and toss with your hands until evenly
combined and the cabbage is thoroughly coated with the mixture. Pack
the mixture tightly into a clean 2-quart or 2-liter glass jar with a
tightfitting lid and seal the jar. Let sit in a cool, dark place for
24 hours (the mixture may bubble). Open the jar to let the gases
escape, then reseal and refrigerate at least 48 hours before eating
(kimchi is best after fermenting about 1 week). Refrigerate for up to
1 month.

Rating: 4.5/5 stars

Summary

Kimchi is a traditional Korean dish of fermented vegetables, the most
common of which are napa cabbage and daikon radish. In addition to
being served as banchan, Korean side dishes presented as part of a
meal, it can also be used in a variety of cooked dishes. Try it as a
sauce for Brussels sprouts or braised with short ribs. The versatility
of kimchi makes it great to use in everyday cooking.

Game plan: Kimchi needs time to ferment, so we recommend starting a
batch about a week before you plan to use it.

What to buy: Korean red pepper powder or kochukaru is what gives
kimchee its spiciness. It can be found in Korean markets in large
resealable plastic bags, in different grades of coarseness and
spiciness. Choose a grade based on your personal preference.

Also known as saeujeot, Korean salted shrimp are very small, naturally
fermented shrimp that impart authentic flavor to kimchi. They are sold
in jars and can be found in the refrigerator case of Korean markets.

Special equipment: You will need a clean 2-quart or 2-liter glass jar
with a tightfitting lid to hold the kimchi while it ferments. Do not
use plastic, as the odors from the kimchi can be hard to remove from
plastic.

More kimchi recipes.

by Christine Gallary

MMMMM

kimchi.mmf.txt

recipe editing

It should be possible to edit existing and new recipes.

AppImage won't function

I downloaded the AppImage. Made the file executable, however it fails to run at all on my Linux system, openSUSE 15.2

The following messages were returned at the command line:

  • /tmp/.mount_anymeaEJpLru/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.mount_anymeaEJpLru/usr/bin/../lib/libsqlite3.so.0)
  • /tmp/.mount_anymeaEJpLru/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.mount_anymeaEJpLru/usr/bin/../lib/libQt5Core.so.5)
  • /tmp/.mount_anymeaEJpLru/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.mount_anymeaEJpLru/usr/bin/../lib/libsystemd.so.0)
  • /tmp/.mount_anymeaEJpLru/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /tmp/.mount_anymeaEJpLru/usr/bin/../lib/libsystemd.so.0

Do you have any suggestions to overcome this issue? I would truly like to give anymeal a fair try. All reports indicate that it should well fit my needs.

Thanks for any help.

Mike

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.